/* tesujian.id — one stylesheet for the whole site. Tokens follow indonesia/cpns/docs/DESIGN.md. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plus-jakarta-sans-regular.woff2) format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/plus-jakarta-sans-bold.woff2) format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/plus-jakarta-sans-extrabold.woff2) format("woff2")}
/* Metric-matched fallback: keeps layout stable while the web font loads (no CLS). */
@font-face{font-family:"PJS Fallback";src:local("Arial"),local("Roboto"),local("Helvetica");size-adjust:102%;ascent-override:102%;descent-override:22%;line-gap-override:0%}

:root{
  --red:#D0281B;--red-pressed:#B3160A;--red-text:#A3170C;--red-soft:#FCEBE8;
  --gold-soft:#FCF3DC;--bg:#F7F6F4;--surface:#FFFFFF;--ink:#18161A;--ink-soft:#5E5E66;
  --line:#ECEAE7;--success-text:#117542;
  --twk:#2458B6;--tiu:#6A3CC8;--tkp:#B9461E;
  --r-card:20px;--r-btn:16px;
  --font:"Plus Jakarta Sans","PJS Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--font);text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-text);text-underline-offset:2px}
a:hover{color:var(--red-pressed)}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
h1,h2,h3{line-height:1.25;margin:0 0 12px;letter-spacing:-.01em}
h1{font-size:30px;font-weight:800}
h2{font-size:23px;font-weight:800;margin-top:40px}
h3{font-size:19px;font-weight:700;margin-top:28px}
p,ul,ol{margin:0 0 16px}
li{margin-bottom:6px}
strong{font-weight:700}
.skip{position:absolute;left:-999px;top:8px;background:var(--surface);padding:8px 12px;z-index:9}
.skip:focus{left:8px}

/* Header */
.site-head{background:var(--surface);border-bottom:1px solid var(--line)}
.head-in{max-width:1040px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;color:var(--ink);text-decoration:none;margin-right:auto}
.brand img{width:36px;height:36px;border-radius:9px}
.brand small{display:block;font-size:13px;font-weight:400;color:var(--ink-soft);line-height:1.2}
.nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px;width:calc(100% + 40px)}
.nav::-webkit-scrollbar{display:none}
.nav a{flex:none;padding:8px 12px;border-radius:999px;color:var(--ink);text-decoration:none;font-size:15px;font-weight:700;white-space:nowrap}
.nav a:hover{background:var(--bg)}
.nav a[aria-current="page"]{background:var(--red-soft);color:var(--red-text)}
@media(min-width:900px){.nav{width:auto;margin:0;padding:0}}

/* Layout */
main{display:block}
.wrap{max-width:760px;margin:0 auto;padding:24px 20px 48px}
.wrap-wide{max-width:1040px;margin:0 auto;padding:24px 20px 48px}
.col{max-width:760px}
.crumbs{font-size:14px;color:var(--ink-soft);margin:0 0 16px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:4px}
.crumbs li{margin:0}
.crumbs li+li::before{content:"›";margin-right:4px;color:var(--ink-soft)}
.crumbs a{color:var(--ink-soft)}
.lead{font-size:19px;line-height:1.55;color:var(--ink)}
.meta{font-size:14px;color:var(--ink-soft);margin:-4px 0 20px}
.meta a{color:var(--ink-soft)}

/* Hero */
.hero{display:grid;gap:20px;align-items:center;padding:8px 0 8px}
.hero img{width:240px;height:240px;justify-self:center}
@media(min-width:760px){.hero{grid-template-columns:1fr 300px}.hero img{width:300px;height:300px}h1{font-size:38px}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 24px;border-radius:var(--r-btn);background:var(--red);color:#fff;font-weight:700;font-size:17px;text-decoration:none;border:0}
.btn:hover{background:var(--red-pressed);color:#fff}
.btn-soon{background:var(--surface);color:var(--ink);border:1px solid var(--line);cursor:default}
.btn-soon:hover{background:var(--surface);color:var(--ink)}
.btn svg{width:22px;height:22px;flex:none}
.cta-note{font-size:14px;color:var(--ink-soft);margin-top:10px}

/* Cards */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:20px;margin:0 0 16px}
.card h2,.card h3{margin-top:0}
.grid{display:grid;gap:16px;margin:0 0 16px}
@media(min-width:640px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}}
.tile{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:18px 20px;color:var(--ink);text-decoration:none}
.tile:hover{border-color:#d9d5d0;color:var(--ink)}
.tile strong{display:block;font-size:18px;margin-bottom:4px}
.tile span{display:block;color:var(--ink-soft);font-size:15px;line-height:1.5}
.feat{list-style:none;padding:0;display:grid;gap:12px}
.feat li{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 16px 14px 52px;position:relative;margin:0}
.feat li::before{content:"✓";position:absolute;left:16px;top:14px;width:24px;height:24px;border-radius:50%;background:var(--red-soft);color:var(--red-text);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}

/* Chips */
.chip{display:inline-block;font-size:13px;font-weight:700;line-height:1;padding:5px 9px;border-radius:999px;vertical-align:1px}
.chip-twk{background:#E8EFFB;color:var(--twk)}
.chip-tiu{background:#EFE9FB;color:var(--tiu)}
.chip-tkp{background:#FBEDE7;color:var(--tkp)}

/* Tables */
.table-wrap{overflow-x:auto;margin:0 0 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.45}
caption{text-align:left;font-weight:700;padding:14px 16px 0}
th,td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-weight:700;background:#FBFAF9}
tr:last-child td{border-bottom:0}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Callouts */
.note{background:var(--gold-soft);border-radius:16px;padding:16px 18px;margin:0 0 16px;font-size:16px}
.note p:last-child{margin:0}
.disclaimer{font-size:15px;color:var(--ink-soft);border-left:3px solid var(--line);padding-left:14px}

/* Sample questions */
.q{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:20px;margin:0 0 16px}
.q-tag{font-size:15px;color:var(--ink-soft);margin-bottom:10px}
.q-stem{font-size:18px;line-height:1.6}
.q-opts{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:8px}
.q-opts li{margin:0;border:1px solid var(--line);border-radius:14px;padding:10px 14px 10px 48px;position:relative;line-height:1.5}
.q-l{position:absolute;left:12px;top:9px;width:26px;height:26px;border-radius:50%;background:var(--bg);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
details{border-top:1px solid var(--line);padding-top:4px}
details+details{margin-top:0}
summary{cursor:pointer;font-weight:700;color:var(--red-text);padding:10px 0;min-height:44px;list-style-position:outside}
summary:hover{color:var(--red-pressed)}
details[open] summary{margin-bottom:6px}
.q-key{font-size:17px}
.q-why{padding-left:18px;font-size:16px}
.q-scores,.q-src{font-size:15px;color:var(--ink-soft)}
.q-take{background:var(--bg);border-radius:12px;padding:12px 14px;font-size:16px}

/* Calculator */
.calc{display:grid;gap:12px}
.calc label{display:grid;gap:6px;font-weight:700;font-size:16px}
.calc input{font:inherit;font-size:18px;padding:12px 14px;border:1px solid #d6d2cd;border-radius:12px;background:#fff;width:100%;min-height:48px}
.calc output{display:block;background:var(--bg);border-radius:12px;padding:14px 16px;font-size:16px;line-height:1.6}
.calc output strong{font-variant-numeric:tabular-nums}

/* FAQ */
.faq h2{font-size:20px;margin-top:32px}

/* Footer */
.site-foot{background:var(--surface);border-top:1px solid var(--line);font-size:15px;color:var(--ink-soft)}
.foot-in{max-width:1040px;margin:0 auto;padding:28px 20px 36px}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:0 0 16px}
.foot-links li{margin:0}
.foot-links a{color:var(--ink);font-weight:700;text-decoration:none}
.foot-links a:hover{text-decoration:underline}
.site-foot p{margin:0 0 8px}
.site-foot a{color:var(--ink-soft)}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.site-head,.site-foot,.btn{display:none}body{background:#fff}}
@media(max-width:479px){th,td{padding:10px 10px}table{font-size:15px}.hero img{width:180px;height:180px}h1{font-size:28px}}
.nw{white-space:nowrap}

/* ---------- Landing components (home, /cpns/) ---------- */
.site-head{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.9);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px)}
.head-cta{display:none}
@media(min-width:900px){.head-cta{display:inline-flex;min-height:44px;padding:0 18px;font-size:15px;border-radius:12px}}
.accent{color:var(--red)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--red-text);background:var(--red-soft);border-radius:999px;padding:6px 12px;margin:0 0 16px}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgba(208,40,27,.18)}
.l-hero{position:relative;overflow:hidden;padding:32px 0 8px}
.l-hero::before{content:"";position:absolute;right:-180px;top:-120px;width:720px;height:720px;border-radius:50%;background:radial-gradient(closest-side,rgba(208,40,27,.22),rgba(252,231,0,.10) 55%,transparent);pointer-events:none}
.l-hero-in{position:relative;max-width:1080px;margin:0 auto;padding:0 20px;display:grid;gap:28px;align-items:center}
@media(min-width:900px){.l-hero-in{grid-template-columns:1.05fr .95fr;gap:40px}.l-hero{padding:56px 0 24px}}
.l-h1{font-size:clamp(34px,7.4vw,60px);line-height:1.04;font-weight:800;letter-spacing:-.025em;margin:0 0 18px}
.l-lead{font-size:clamp(18px,2.2vw,21px);line-height:1.55;color:#3b3a40;margin:0 0 24px;max-width:36em}
.l-ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:18px}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid #dcd8d3}
.btn-ghost:hover{background:#fff;color:var(--ink)}
.btn-light{background:#fff;color:var(--red-pressed)}
.btn-light:hover{background:#fff7d6;color:var(--red-pressed)}
.ticks{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:15px;color:var(--ink-soft)}
.ticks li{margin:0;display:flex;align-items:center;gap:6px}
.ticks li::before{content:"✓";color:var(--success-text);font-weight:800}

/* Phones with real app screens */
.l-art{position:relative;height:460px;max-width:460px;width:100%;margin:0 auto}
@media(min-width:900px){.l-art{height:560px}}
.phone{position:absolute;width:212px;border-radius:34px;background:#141216;padding:7px;box-shadow:0 34px 60px -24px rgba(90,12,6,.55),0 2px 0 rgba(255,255,255,.08) inset}
.phone img{width:100%;height:auto;border-radius:27px;background:#f7f6f4}
@media(min-width:900px){.phone{width:250px}}
.phone-a{left:4%;top:18px;z-index:2;transform:rotate(-5deg);animation:float-a 6s ease-in-out infinite}
.phone-b{right:2%;top:70px;transform:rotate(6deg);animation:float-b 7s ease-in-out infinite}
.prop{position:absolute;width:120px;height:120px;z-index:3;filter:drop-shadow(0 16px 20px rgba(90,12,6,.25));animation:float-c 5s ease-in-out infinite}
@media(min-width:900px){.prop{width:150px;height:150px}}
.prop-1{left:-6px;bottom:22px}
.prop-2{right:-4px;top:-6px;animation-delay:-2s}
.count-chip{position:absolute;z-index:4;left:50%;bottom:-6px;transform:translateX(-50%);white-space:nowrap;background:#fff;border-radius:999px;padding:10px 16px;font-weight:700;font-size:15px;box-shadow:0 12px 30px -10px rgba(24,22,26,.35);display:flex;gap:8px;align-items:center}
.count-chip b{color:var(--red);font-size:18px;font-variant-numeric:tabular-nums}
@keyframes float-a{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(-5deg) translateY(-12px)}}
@keyframes float-b{0%,100%{transform:rotate(6deg) translateY(0)}50%{transform:rotate(6deg) translateY(10px)}}
@keyframes float-c{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(3deg)}}

/* Load-in for the hero text */
.rise{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.rise-2{animation-delay:.08s}.rise-3{animation-delay:.16s}.rise-4{animation-delay:.24s}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
/* Reveal on scroll without JS (scroll-driven animations); unsupported browsers simply show the content. */
@supports (animation-timeline:view()){
  .reveal{animation:rise linear both;animation-timeline:view();animation-range:entry 5% cover 22%}
}

/* Sections */
.l-sec{max-width:1080px;margin:0 auto;padding:56px 20px}
.l-sec-head{max-width:720px;margin:0 0 28px}
.l-kicker{font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--red-text);margin:0 0 10px}
.l-h2{font-size:clamp(28px,4.6vw,42px);line-height:1.1;font-weight:800;letter-spacing:-.02em;margin:0 0 14px}
.l-sub{font-size:18px;color:#3b3a40;margin:0}
.cards{display:grid;gap:16px}
@media(min-width:700px){.cards-3{grid-template-columns:repeat(3,1fr)}.cards-2{grid-template-columns:repeat(2,1fr)}}
.u-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;transition:transform .25s ease,box-shadow .25s ease}
.u-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -24px rgba(24,22,26,.35)}
.u-card h3{margin:14px 0 8px;font-size:20px}
.u-card p{margin:0;color:#45444a;font-size:16px}
.ico{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--red-soft);color:var(--red)}
.ico svg{width:28px;height:28px}
.ico-gold{background:var(--gold-soft);color:#9a6a0b}
.ico-twk{background:#E8EFFB;color:var(--twk)}.ico-tiu{background:#EFE9FB;color:var(--tiu)}.ico-tkp{background:#FBEDE7;color:var(--tkp)}

/* Red band (featured app, final CTA). Yellow only on red, per the brand book. */
.band{position:relative;overflow:hidden;border-radius:32px;background:radial-gradient(120% 90% at 85% 10%,#E0352A 0,#B3160A 55%,#8E0F06 100%);color:#fff}
.band::after{content:"";position:absolute;inset:auto -120px -160px auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(closest-side,rgba(252,231,0,.28),transparent);pointer-events:none}
.band-in{position:relative;z-index:1;display:grid;gap:28px;padding:32px 24px;align-items:center}
@media(min-width:900px){.band-in{grid-template-columns:1.1fr .9fr;padding:48px}}
.band .l-h2{color:#fff}
.band p{color:rgba(255,255,255,.88)}
.band .l-kicker{color:#FCE700}
.app-id{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.app-id img{width:64px;height:64px;border-radius:16px;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.app-id strong{display:block;font-size:22px}
.app-id span{color:rgba(255,255,255,.8);font-size:15px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}
.stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:14px 12px}
.stat b{display:block;font-size:clamp(24px,4vw,32px);line-height:1.1;color:#FCE700;font-variant-numeric:tabular-nums}
.stat span{font-size:14px;color:rgba(255,255,255,.85);line-height:1.35;display:block;margin-top:4px}
.band .btn-soon{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.35)}
.band-art{position:relative;height:420px}
.band-art .phone-a{left:8%}.band-art .phone-b{right:4%}

/* Feature rows (/cpns/) */
.f-row{display:grid;gap:24px;align-items:center;padding:28px 0}
@media(min-width:860px){.f-row{grid-template-columns:1fr 1fr;gap:56px}.f-row.flip .f-art{order:2}}
.f-art{position:relative;display:flex;justify-content:center;padding:24px 0}
.f-art::before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(208,40,27,.16),transparent)}
.f-art .phone{position:relative;transform:rotate(-3deg);animation:none}
.f-row.flip .f-art .phone{transform:rotate(3deg)}
.f-art .prop{width:110px;height:110px;right:8%;bottom:10px;left:auto}
.f-txt h3{font-size:clamp(24px,3.4vw,32px);line-height:1.15;font-weight:800;margin:0 0 12px;letter-spacing:-.015em}
.f-txt p{font-size:18px;color:#3b3a40}
.f-txt ul{padding-left:20px;color:#3b3a40}

@media(prefers-reduced-motion:reduce){.phone,.prop,.rise,.reveal{animation:none!important}.u-card{transition:none}}
.landing>.crumbs{max-width:1080px;margin:16px auto 0;padding:0 20px}
.l-sec .table-wrap{max-width:760px}
.price-card h3{font-size:22px}.price-card .tag{display:inline-block;font-size:13px;font-weight:800;border-radius:999px;padding:4px 10px;background:var(--bg);color:var(--ink-soft)}
.price-card.hot{border:2px solid var(--red)}.price-card.hot .tag{background:var(--red-soft);color:var(--red-text)}
.price-card ul{padding-left:20px;margin:12px 0 0;color:#45444a}
@media(max-width:600px){.band-art{height:360px}.band-art .phone,.l-art .phone{width:190px}.l-art{height:420px}}
.l-hero .count-chip{position:static;transform:none;display:inline-flex;margin:0 0 16px;box-shadow:0 8px 24px -12px rgba(24,22,26,.3);border:1px solid var(--line)}
@media(max-width:899px){.site-head{position:static;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}}
@media(max-width:600px){
  .l-hero{padding-top:18px}
  .eyebrow{font-size:13px;margin-bottom:12px}
  .l-h1{margin-bottom:12px}
  .l-lead{font-size:17px;margin-bottom:18px}
  .l-hero .l-ctas{flex-wrap:nowrap;gap:10px;margin-bottom:14px}
  .l-hero .l-ctas .btn{min-height:52px;padding:0 16px;font-size:16px;flex:1 1 auto}
  .l-hero .count-chip{font-size:14px;padding:8px 14px;margin-bottom:10px}
  .ticks{font-size:14px;gap:6px 14px}
  .l-hero-in{gap:8px}
}
@media(max-width:600px){.l-hero .l-ctas{flex-wrap:wrap}.l-hero .l-ctas .btn{white-space:nowrap}}
.l-h1-long{font-size:clamp(32px,5.6vw,50px)}
