:root{--r-navy:#071b3b;--r-deep:#04142d;--r-blue:#176bff;--r-ink:#091b35;--r-muted:#66758b;--r-line:#dce5ef;--r-soft:#f3f7fc;--r-green:#13a678;--r-purple:#7657e8;--r-cyan:#0e9ebd;--r-orange:#ed8530}
.reference-page{font-family:'Manrope',sans-serif;color:var(--r-ink);background:#fff}.reference-page .nav-current{color:#fff}.ref-shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}.ref-section{padding:110px 0}.ref-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.17em;color:var(--r-blue);margin:0 0 18px}.ref-kicker.light{color:#75a8ff}.ref-heading{max-width:760px;margin-bottom:52px}.ref-heading.centered{text-align:center;margin-inline:auto}.ref-heading h2,.integration-heading h2,.principle-copy h2{font-size:clamp(35px,4.2vw,52px);line-height:1.12;letter-spacing:-.055em}.ref-heading p,.integration-heading>p,.principle-copy>p{font-size:12px;line-height:1.85;color:var(--r-muted);max-width:680px}.ref-heading.centered p{margin-inline:auto}

.ref-hero{position:relative;overflow:hidden;background:var(--r-navy);color:#fff}.ref-grid-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(99,150,219,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(99,150,219,.06) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to right,#000,transparent)}.ref-glow{position:absolute;border-radius:50%;filter:blur(15px)}.glow-a{width:680px;height:680px;background:rgba(23,107,255,.15);right:-220px;top:-280px}.glow-b{width:360px;height:360px;background:rgba(118,87,232,.1);left:35%;bottom:-250px}.ref-hero-layout{min-height:700px;display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center;position:relative}.ref-hero-copy h1{font-size:clamp(48px,5.2vw,72px);line-height:1.02;letter-spacing:-.06em;color:#fff}.ref-hero-copy h1 span{color:#79aaff}.ref-lead{font-size:14px;line-height:1.85;color:#a7b7cc;max-width:590px;margin:24px 0}.ref-status{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(120,163,224,.26);border-radius:30px;padding:7px 12px;color:#a9bad1;font-size:8px;font-weight:800;letter-spacing:.08em;margin-bottom:27px}.ref-status i{width:7px;height:7px;background:#56a0ff;border-radius:50%;box-shadow:0 0 0 5px rgba(86,160,255,.13)}.ref-actions{display:flex;gap:10px;margin-top:28px}.ref-proof{display:flex;gap:25px;margin-top:28px;color:#7f92ac;font-size:8px}.ref-proof span{display:flex;align-items:center;gap:6px}.ref-proof b{font-size:15px;color:#fff}
.ref-device-stage{position:relative;min-height:490px}.ref-browser{position:absolute;width:650px;right:-70px;top:25px;background:#fff;border:7px solid #193655;border-radius:17px;box-shadow:0 35px 75px rgba(0,0,0,.35);overflow:hidden;color:var(--r-ink);transform:perspective(1200px) rotateY(-4deg)}.browser-bar{height:34px;background:#edf2f8;display:flex;align-items:center;padding:0 11px}.browser-bar>span{display:flex;gap:5px}.browser-bar i{width:7px;height:7px;border-radius:50%;background:#ff746b}.browser-bar i:nth-child(2){background:#ffc75a}.browser-bar i:nth-child(3){background:#46cc7d}.browser-bar small{margin:auto;background:#fff;border-radius:4px;color:#8a97a8;font-size:6px;padding:4px 75px}.browser-bar>b{width:21px;height:21px;background:#dce8ff;color:var(--r-blue);border-radius:50%;display:grid;place-items:center;font-size:6px}.browser-body{height:375px;display:grid;grid-template-columns:128px 1fr}.browser-body aside{background:#f5f8fc;border-right:1px solid #e4eaf2;padding:17px 11px;display:flex;flex-direction:column;gap:5px}.browser-body aside>strong{display:flex;align-items:center;gap:6px;font-size:9px;margin-bottom:15px}.browser-body aside>strong b{width:20px;height:20px;border-radius:5px;background:var(--r-blue);color:#fff;display:grid;place-items:center}.browser-body aside>span{font-size:6px;color:#718096;padding:8px;border-radius:5px}.browser-body aside>span.active{color:var(--r-blue);background:#e7efff;font-weight:800}.web-main{padding:20px;background:#fbfcfe}.web-title{display:flex;justify-content:space-between}.web-title>span{display:flex;flex-direction:column}.web-title small{font-size:5px;color:#8492a3}.web-title strong{font-size:14px}.web-title em{font-size:6px;font-style:normal;color:#718096;border:1px solid #dfe6ef;border-radius:5px;padding:5px 7px;height:max-content}.web-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.web-metrics span{border:1px solid #e5eaf1;background:#fff;border-radius:7px;padding:11px;display:flex;flex-direction:column}.web-metrics small{font-size:5px;color:#8592a2}.web-metrics b{font-size:17px}.web-metrics i{font-size:5px;color:var(--r-green);font-style:normal}.web-chart{border:1px solid #e5eaf1;background:#fff;border-radius:8px;padding:14px;height:205px}.web-chart>small{font-size:6px;font-weight:800}.web-chart>div{height:155px;display:flex;align-items:end;gap:12px;border-bottom:1px solid #dfe6ef}.web-chart i{height:var(--h);flex:1;border-radius:4px 4px 0 0;background:linear-gradient(#4e91f2,#c6dcfb)}.ref-phone{position:absolute;z-index:3;width:190px;height:375px;left:5px;bottom:-15px;border:8px solid #152f4f;border-radius:28px;background:#fff;color:var(--r-ink);padding:31px 14px 14px;box-shadow:0 25px 50px rgba(0,0,0,.3);transform:rotate(-4deg)}.phone-top{position:absolute;top:7px;left:50%;transform:translateX(-50%);width:55px;height:5px;background:#17324f;border-radius:5px}.ref-phone>small{font-size:5px;color:#8190a3}.ref-phone h3{font-size:14px;margin:4px 0 18px}.phone-child{display:flex;align-items:center;gap:7px;background:#f3f6f9;padding:9px;border-radius:8px}.phone-child>b{width:28px;height:28px;border-radius:50%;background:#e3f7ef;color:var(--r-green);display:grid;place-items:center;font-size:7px}.phone-child span{display:flex;flex-direction:column}.phone-child strong{font-size:7px}.phone-child small{font-size:5px}.phone-alert{background:#e3f7ef;color:#13845e;border-radius:7px;padding:10px 7px;font-size:6px;margin:10px 0}.phone-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px}.phone-stats span{border:1px solid #e2e8ef;border-radius:7px;padding:9px;display:flex;flex-direction:column}.phone-stats b{font-size:14px}.phone-stats small{font-size:5px}.coming-chip{position:absolute;right:5px;bottom:23px;z-index:4;background:var(--r-blue);color:#fff;border:5px solid #0c294f;border-radius:30px;padding:9px 14px;font-size:8px;font-weight:800;letter-spacing:.1em;box-shadow:0 12px 30px rgba(0,0,0,.3)}
.ref-section-nav{position:sticky;top:0;z-index:800;height:52px;background:rgba(255,255,255,.95);backdrop-filter:blur(15px);border-bottom:1px solid var(--r-line)}.ref-section-nav .ref-shell{height:100%;display:flex;justify-content:center;align-items:center;gap:38px}.ref-section-nav a{font-size:9px;font-weight:800;color:#738096}.ref-section-nav a:hover{color:var(--r-blue)}

.ref-overview{background:#fff}.overview-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--r-line);border-radius:15px;overflow:hidden}.overview-grid article{min-height:240px;padding:28px;border-right:1px solid var(--r-line)}.overview-grid article:last-child{border:0}.overview-grid b{font-size:8px;color:var(--r-blue)}.overview-grid h3{font-size:16px;margin:52px 0 12px}.overview-grid p{font-size:9px;line-height:1.75;color:var(--r-muted)}
.ref-dashboard{background:linear-gradient(125deg,#071b3b,#0b356b);color:#fff}.ref-dashboard .ref-heading h2{color:#fff}.ref-dashboard .ref-heading p{color:#91a4bd}.role-grid-ref{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.role-card{position:relative;background:#fff;color:var(--r-ink);border-radius:14px;padding:28px;overflow:hidden}.role-card:after{content:'';position:absolute;width:120px;height:120px;border:35px solid rgba(23,107,255,.045);border-radius:50%;right:-65px;top:-65px}.role-card-top{display:flex;justify-content:space-between;align-items:center}.role-card-top>span{width:42px;height:42px;border-radius:10px;background:#e7efff;color:var(--r-blue);display:grid;place-items:center;font-size:10px;font-weight:800}.role-card-top em,.soon-label{font-size:6px;font-style:normal;font-weight:800;letter-spacing:.09em;color:#7c8ca2;background:#eef2f6;border-radius:20px;padding:5px 8px}.role-card>small{display:block;font-size:6px;color:#8391a3;font-weight:800;letter-spacing:.12em;margin-top:18px}.role-card h3{font-size:22px;margin:5px 0 9px}.role-card>p{font-size:9px;line-height:1.75;color:var(--r-muted);max-width:500px}.role-card dl{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--r-line);border-bottom:1px solid var(--r-line);margin:20px 0}.role-card dl>div{padding:13px 10px 13px 0}.role-card dt{font-size:6px;color:var(--r-blue);font-weight:800;margin-bottom:5px}.role-card dd{font-size:7px;line-height:1.6;margin:0;color:#5f6f84}.role-card>ul{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}.role-card>ul li{font-size:6px;font-weight:700;background:#f0f4f8;border-radius:20px;padding:5px 8px}.role-dinas .role-card-top>span{color:var(--r-purple);background:#eeeaff}.role-head .role-card-top>span,.role-parent .role-card-top>span{color:var(--r-green);background:#e1f7ef}.role-tu .role-card-top>span{color:var(--r-cyan);background:#e3f6f9}.role-teacher .role-card-top>span{color:#7854d9;background:#eeeaff}.role-student .role-card-top>span{color:#256bd4;background:#e7efff}.role-canteen .role-card-top>span{color:var(--r-orange);background:#fff0e4}.mini-ui{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mini-ui span{padding:10px;background:#edf4ff;border-radius:7px;display:flex;flex-direction:column}.mini-ui b{font-size:16px}.mini-ui small{font-size:5px}.mini-bars{height:55px;display:flex;flex-direction:column;justify-content:center;gap:6px}.mini-bars i{height:6px;width:var(--w);background:linear-gradient(90deg,var(--r-purple),#c8bdf5);border-radius:5px}.mini-donut{height:64px;display:flex;align-items:center;gap:12px}.mini-donut b{width:60px;height:60px;border-radius:50%;background:conic-gradient(var(--r-green) 94%,#dfe8e5 0);display:grid;place-items:center;color:#fff;font-size:13px}.mini-donut span{font-size:7px}.mini-list{display:grid;gap:5px}.mini-list span{display:flex;justify-content:space-between;font-size:7px;padding:8px 10px;background:#eff8fa;border-radius:5px}.mini-list b{color:var(--r-cyan)}.mini-class{padding:11px;background:#f2effd;border-radius:7px;display:grid;grid-template-columns:1fr auto}.mini-class b{font-size:10px}.mini-class span,.mini-class i{font-size:6px}.mini-class i{grid-column:1/-1;color:#7657e8;font-style:normal;margin-top:5px}.mini-progress>span{height:7px;background:#e4eaf2;border-radius:5px;display:block;overflow:hidden}.mini-progress i{display:block;width:var(--p);height:100%;background:var(--r-blue)}.mini-progress small{font-size:6px}.mini-notice{background:#e3f7ef;color:#13845e;border-radius:7px;padding:11px;font-size:8px;display:flex;flex-direction:column}.mini-notice small{font-size:5px}.mini-pos{display:flex;justify-content:space-between;align-items:center;background:#fff1e6;border-radius:7px;padding:11px}.mini-pos span{display:flex;flex-direction:column}.mini-pos b{font-size:15px}.mini-pos small,.mini-pos em{font-size:6px}.mini-pos em{font-style:normal;color:var(--r-orange)}

.ref-mobile{background:var(--r-soft)}.mobile-grid{display:grid;gap:22px}.mobile-card{min-height:540px;background:#fff;border:1px solid var(--r-line);border-radius:18px;padding:45px 65px;display:grid;grid-template-columns:1fr 330px;align-items:center;gap:80px;overflow:hidden;position:relative}.mobile-card:nth-child(even) .app-copy{order:2}.mobile-card:nth-child(even) .app-phone{order:1}.mobile-card:before{content:'';position:absolute;width:420px;height:420px;border-radius:50%;background:#eaf1ff;right:-150px;top:-140px}.mobile-card:nth-child(even):before{right:auto;left:-150px}.app-copy,.app-phone{position:relative;z-index:1}.app-badge{font-size:7px;font-weight:800;letter-spacing:.1em;color:var(--r-blue);background:#e9f1ff;border-radius:20px;padding:6px 9px}.app-copy h3{font-size:34px;letter-spacing:-.04em;margin:18px 0 10px}.app-copy>p{font-size:11px;line-height:1.8;color:var(--r-muted)}.app-purpose{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.app-purpose span{font-size:8px;line-height:1.65;border-left:2px solid var(--r-blue);padding-left:12px;color:#5d6d82}.app-purpose small{display:block;font-size:6px;text-transform:uppercase;color:var(--r-blue);font-weight:800;margin-bottom:4px}.app-copy ul{display:grid;grid-template-columns:1fr 1fr;gap:9px}.app-copy li{font-size:8px;padding-left:16px;position:relative}.app-copy li:before{content:'✓';position:absolute;left:0;color:var(--r-green);font-weight:800}.app-phone{justify-self:center;width:240px;height:480px;border:9px solid #17324f;border-radius:34px;background:#fff;box-shadow:0 28px 55px rgba(15,45,80,.22);padding:38px 18px 18px;overflow:hidden}.app-phone>small{font-size:6px;color:#8492a3;font-weight:800}.app-phone h4{font-size:20px;margin:5px 0 22px}.app-phone nav{position:absolute;bottom:0;left:0;right:0;height:48px;border-top:1px solid var(--r-line);display:flex;justify-content:space-around;align-items:center;color:#8a98a9;font-size:10px}.app-phone nav i{font-style:normal}.app-calendar{display:flex;gap:10px;align-items:center;background:#eaf1ff;border-radius:9px;padding:13px}.app-calendar>b{font-size:11px;color:var(--r-blue)}.app-calendar span{display:flex;flex-direction:column;font-size:8px;font-weight:800}.app-calendar small{font-size:5px;color:#77869a}.app-task{margin-top:15px}.app-task>span{height:8px;background:#e4eaf1;border-radius:6px;display:block;overflow:hidden}.app-task i{display:block;width:var(--p);height:100%;background:var(--r-blue)}.app-task b{font-size:7px}.parent-app:before{background:#e4f7f0}.parent-app .app-badge{color:var(--r-green);background:#e3f7ef}.parent-app .app-purpose span{border-color:var(--r-green)}.parent-app .app-purpose small{color:var(--r-green)}.parent-arrive{font-size:7px;color:#13845e;background:#e3f7ef;border-radius:8px;padding:12px}.parent-score{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0}.parent-score span{border:1px solid var(--r-line);padding:11px;border-radius:7px;display:flex;flex-direction:column}.parent-score b{font-size:16px}.parent-score small{font-size:5px}.parent-bill-ref{background:#f3f6f9;border-radius:8px;padding:12px;display:flex;flex-direction:column}.parent-bill-ref small{font-size:5px}.parent-bill-ref b{font-size:13px}.teacher-app:before{background:#f0edfd}.teacher-app .app-badge{color:var(--r-purple);background:#eeeaff}.teacher-app .app-purpose span{border-color:var(--r-purple)}.teacher-app .app-purpose small{color:var(--r-purple)}.teacher-class{background:#f1eefc;padding:13px;border-radius:8px;display:flex;flex-direction:column}.teacher-class b{font-size:11px}.teacher-class span{font-size:6px}.attendance-row{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0}.attendance-row span{font-size:5px;text-align:center;border:1px solid var(--r-line);border-radius:6px;padding:7px}.attendance-row i{display:block;font-size:12px;font-style:normal;color:var(--r-purple);font-weight:800}.teacher-action{background:var(--r-purple);color:#fff;text-align:center;border-radius:7px;padding:10px;font-size:7px;font-weight:800}.tenant-app:before{background:#fff0e4}.tenant-app .app-badge{color:var(--r-orange);background:#fff0e4}.tenant-app .app-purpose span{border-color:var(--r-orange)}.tenant-app .app-purpose small{color:var(--r-orange)}.tap-card{height:135px;background:#fff0e4;border:1px dashed #efb785;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--r-orange);font-size:22px}.tap-card strong{font-size:8px;color:var(--r-ink);margin-top:5px}.tap-card small{font-size:5px}.sales-total{display:flex;justify-content:space-between;align-items:center;margin-top:10px;background:#f5f7f9;border-radius:8px;padding:11px}.sales-total span{display:flex;flex-direction:column}.sales-total small{font-size:5px}.sales-total b{font-size:14px}.sales-total em{font-size:6px;font-style:normal;color:var(--r-orange)}

.ref-integrations{background:var(--r-navy);color:#fff}.integration-heading{display:grid;grid-template-columns:1fr .75fr;gap:90px;align-items:end;margin-bottom:52px}.integration-heading h2{color:#fff}.integration-heading>p{color:#91a4bd}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.integration-grid article{background:#fff;color:var(--r-ink);border-radius:14px;padding:30px;position:relative}.integration-icon{width:46px;height:46px;border-radius:11px;background:#e7efff;color:var(--r-blue);display:grid;place-items:center;font-size:11px;font-weight:800}.soon-label{position:absolute;right:28px;top:28px}.integration-grid h3{font-size:20px;margin:24px 0 9px}.integration-grid article>p{font-size:9px;line-height:1.75;color:var(--r-muted);min-height:48px}.integration-grid dl{margin:20px 0}.integration-grid dl>div{display:grid;grid-template-columns:95px 1fr;border-top:1px solid var(--r-line);padding:10px 0}.integration-grid dt{font-size:6px;color:var(--r-blue);font-weight:800}.integration-grid dd{font-size:7px;line-height:1.55;margin:0}.integration-flow,.device-dots,.sync-view,.payment-view{min-height:55px;background:#f3f7fc;border-radius:8px;padding:10px;display:flex;align-items:center;justify-content:center;gap:8px}.integration-flow span,.sync-view span,.payment-view span{font-size:6px;font-weight:800;background:#fff;border:1px solid var(--r-line);border-radius:5px;padding:7px}.integration-flow i{font-style:normal;color:var(--r-blue)}.device-dots span{width:34px;height:34px;border-radius:50%;background:#e7efff;color:var(--r-blue);display:grid;place-items:center;font-size:7px;font-weight:800}.sync-view span{display:flex;align-items:center;gap:5px}.sync-view span i{width:6px;height:6px;border-radius:50%;background:var(--r-green)}.sync-view b{color:var(--r-blue)}.payment-view i{width:15px;border-top:1px dashed var(--r-blue)}
.ref-principles{background:#fff}.principle-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:100px;align-items:center}.principle-copy .button{margin-top:20px}.principle-list{border-top:1px solid var(--r-line)}.principle-list article{display:grid;grid-template-columns:48px 1fr;gap:16px;padding:22px 0;border-bottom:1px solid var(--r-line)}.principle-list article>b{width:38px;height:38px;background:#e7efff;color:var(--r-blue);border-radius:8px;display:grid;place-items:center;font-size:8px}.principle-list h3{font-size:14px;margin:0 0 5px}.principle-list p{font-size:8px;line-height:1.7;color:var(--r-muted);margin:0}.ref-final{position:relative;background:var(--r-deep);color:#fff;text-align:center;padding:105px 0;overflow:hidden}.ref-final .ref-shell{position:relative}.ref-final h2{font-size:clamp(39px,5vw,59px);color:#fff;letter-spacing:-.055em;max-width:850px;margin:0 auto 18px}.ref-final p{color:#93a5bd;font-size:12px;max-width:650px;margin:0 auto 20px}.ref-final .button{margin:8px 4px}

@media(max-width:1100px){.ref-hero-layout{grid-template-columns:1fr;padding:85px 0 100px}.ref-hero-copy{text-align:center}.ref-lead{margin-inline:auto}.ref-actions,.ref-proof{justify-content:center}.ref-device-stage{width:min(720px,100%);margin:auto}.ref-browser{right:0}.role-grid-ref{grid-template-columns:1fr}.mobile-card{gap:35px;padding:45px}.integration-heading{grid-template-columns:1fr;gap:20px}.ref-section{padding:90px 0}}
@media(max-width:800px){.ref-browser{width:100%;right:auto}.ref-phone{left:-5px}.overview-grid{grid-template-columns:1fr 1fr}.overview-grid article:nth-child(2){border-right:0}.overview-grid article{border-bottom:1px solid var(--r-line)}.mobile-card,.mobile-card:nth-child(even){grid-template-columns:1fr;padding:40px 25px;gap:35px}.mobile-card:nth-child(even) .app-copy,.mobile-card:nth-child(even) .app-phone{order:initial}.app-copy{text-align:center}.app-purpose{text-align:left}.app-phone{order:2!important}.integration-grid{grid-template-columns:1fr}.principle-layout{grid-template-columns:1fr;gap:50px}.ref-section-nav .ref-shell{justify-content:flex-start;overflow-x:auto;gap:25px}.ref-section-nav a{white-space:nowrap}}
@media(max-width:600px){.ref-shell{width:min(100% - 28px,1180px)}.ref-hero-layout{padding-top:65px;min-height:auto}.ref-hero-copy h1{font-size:42px}.ref-lead{font-size:12px}.ref-actions{flex-direction:column}.ref-proof{gap:12px;flex-wrap:wrap}.ref-device-stage{min-height:400px;margin-top:25px}.ref-browser{border-width:5px}.browser-body{grid-template-columns:85px 1fr;height:300px}.browser-body aside{padding:10px 6px}.browser-body aside>span{font-size:5px;padding:6px 3px}.web-main{padding:12px}.web-metrics{gap:4px}.web-metrics span{padding:7px}.web-metrics b{font-size:11px}.web-chart{height:145px}.web-chart>div{height:105px;gap:5px}.ref-phone{width:140px;height:280px;border-width:6px;padding:26px 10px 10px}.ref-phone h3{font-size:10px}.coming-chip{bottom:48px;font-size:6px}.overview-grid{grid-template-columns:1fr}.overview-grid article{border-right:0;min-height:auto}.overview-grid h3{margin-top:28px}.role-card{padding:22px}.role-card dl{grid-template-columns:1fr}.role-card dl>div{padding:9px 0}.mobile-card{padding:35px 18px}.app-purpose,.app-copy ul{grid-template-columns:1fr}.app-phone{width:220px}.integration-grid article{padding:23px}.integration-grid dl>div{grid-template-columns:1fr;gap:4px}.integration-flow,.sync-view,.payment-view{gap:4px}.integration-flow span,.sync-view span,.payment-view span{padding:5px;font-size:5px}.ref-section{padding:75px 0}}
@media(prefers-reduced-motion:reduce){.ref-browser,.ref-phone{transform:none}}

/* Symmetrical reference secondary navigation. */
@media(min-width:801px){.ref-section-nav .ref-shell{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px}.ref-section-links{display:flex;justify-content:center;align-items:center;gap:30px}.ref-section-brand{justify-self:start;font-size:14px!important;color:var(--r-ink)!important}.ref-section-cta{justify-self:end;background:var(--r-blue);color:#fff!important;padding:8px 13px;border-radius:8px;font-size:12px!important}.ref-section-cta:hover{background:#4085ff;color:#fff!important}}
@media(max-width:800px){.ref-section-nav .ref-shell{display:flex;justify-content:flex-start;overflow-x:auto;gap:0}.ref-section-brand{display:none}.ref-section-links{display:flex;gap:24px}.ref-section-links a{white-space:nowrap}.ref-section-cta{position:sticky;right:0;margin-left:18px;background:var(--r-blue);color:#fff!important;padding:8px 12px;border-radius:8px;white-space:nowrap;box-shadow:-12px 0 15px #fff}}
.reference-detail-links{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:22px}.reference-detail-links.single{grid-template-columns:1fr}.reference-detail-links a{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid var(--r-line);border-radius:10px;padding:17px;color:var(--r-ink)}.reference-detail-links a:hover{border-color:var(--r-blue);transform:translateY(-2px)}.reference-detail-links span{font-size:6px;font-weight:800;letter-spacing:.1em;color:var(--r-blue)}.reference-detail-links strong{font-size:9px}.reference-detail-links.dark a{background:rgba(255,255,255,.05);border-color:rgba(120,160,215,.24);color:#fff}.reference-detail-links.dark span{color:#75a8ff}@media(max-width:800px){.reference-detail-links{grid-template-columns:1fr 1fr}}@media(max-width:480px){.reference-detail-links{grid-template-columns:1fr}}

/* Readability pass — browser, phone, and mini-dashboard visuals stay compact. */
@media (min-width: 761px) {
  .ref-kicker { font-size: 12px; }
  .ref-status { font-size: 11.5px; }
  .ref-lead { font-size: 18px; }
  .ref-proof { font-size: 13px; }
  .ref-heading p, .integration-heading > p, .principle-copy > p { font-size: 15px; line-height: 1.8; }
  .ref-section-nav a { font-size: 12.5px; }
  .overview-grid b { font-size: 11.5px; }
  .overview-grid h3, .principle-list h3 { font-size: 19px; }
  .overview-grid p, .principle-list p { font-size: 15px; line-height: 1.75; }
  .role-card-top em, .soon-label, .role-card > small { font-size: 11.5px; }
  .role-card > p { font-size: 15px; line-height: 1.75; }
  .role-card dt { font-size: 12px; }
  .role-card dd { font-size: 14px; line-height: 1.7; }
  .role-card > ul li { font-size: 12.5px; }
  .app-badge { font-size: 11.5px; }
  .app-copy > p { font-size: 15px; line-height: 1.8; }
  .app-purpose span { font-size: 14px; line-height: 1.7; }
  .app-purpose small { font-size: 12px; }
  .app-copy li { font-size: 14px; }
  .integration-grid article > p { font-size: 15px; line-height: 1.75; }
  .integration-grid dt { font-size: 12px; }
  .integration-grid dd { font-size: 14px; line-height: 1.7; }
  .ref-final p { font-size: 15.5px; }
  .reference-detail-links span { font-size: 11.5px; }
  .reference-detail-links strong { font-size: 14px; }
}

@media (max-width: 800px) {
  .ref-kicker { font-size: 11px; }
  .ref-status, .overview-grid b, .role-card-top em, .soon-label, .role-card > small, .app-badge, .reference-detail-links span { font-size: 11.5px; }
  .ref-lead { font-size: 17px; line-height: 1.75; }
  .ref-proof { font-size: 12.5px; }
  .ref-heading p, .integration-heading > p, .principle-copy > p, .overview-grid p, .principle-list p, .role-card > p, .app-copy > p, .integration-grid article > p, .ref-final p { font-size: 15px; line-height: 1.8; }
  .overview-grid h3, .principle-list h3 { font-size: 18px; }
  .role-card dt, .app-purpose small, .integration-grid dt { font-size: 12px; }
  .role-card dd, .app-purpose span, .app-copy li, .integration-grid dd, .reference-detail-links strong { font-size: 14px; line-height: 1.7; }
  .role-card > ul li { font-size: 12.5px; }
  .ref-section-nav { top: 60px; height: 46px; }
  .ref-section-nav .ref-shell { height: 100%; scrollbar-width: none; }
  .ref-section-nav .ref-shell::-webkit-scrollbar { display: none; }
  .ref-section-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12.5px; }
  .ref-section-cta { min-height: 40px; display: inline-flex; align-items: center; font-size: 12px !important; }
}
/* Secondary nav consistency: horizontal only, active item visible. */
.ref-section-nav {
  overflow: hidden;
}

.ref-section-nav .ref-shell {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.ref-section-links a {
  position: relative;
}

.ref-section-links a.active {
  color: var(--r-blue) !important;
}

.ref-section-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  border-radius: 2px;
  background: var(--r-blue);
}

@media (max-width: 800px) {
  .ref-section-links a.active::after {
    bottom: 0;
  }
}
