/* =========================================================
   IMAT Dojo — shared site styles
   One file for every page. Change a colour here and it
   changes everywhere.
   ========================================================= */

/* ---------- Fonts (self-hosted, no Google Fonts call) ---------- */
@font-face{font-family:'Archivo';font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(../../fonts/archivo-latin.woff2) format('woff2-variations'),url(../../fonts/archivo-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Archivo';font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(../../fonts/archivo-latin-ext.woff2) format('woff2-variations'),url(../../fonts/archivo-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Design tokens ---------- */
:root{
  --ink:#171716;        /* text, dark sections */
  --ink-2:#252524;      /* cards on dark */
  --paper:#F6F6F4;      /* page background */
  --white:#FFFFFF;
  --line:#E3E2DE;       /* borders */
  --line-2:#EDEDEA;
  --line-3:#C9C8C2;
  --muted:#5A5955;      /* secondary text */
  --muted-2:#7A7974;
  --muted-3:#6B6A64;
  --on-dark:#BAB9B4;    /* secondary text on dark */

  --red:#CF1B23;        /* proof: ranks, scores */
  --red-light:#DC5B61;
  --red-tint:#FAE8E9;
  --red-dark:#911319;

  --green:#1E6B37;      /* WhatsApp actions ONLY */
  --green-hover:#185A2E;
  --green-tint:#E9F0EB;
  --green-line:#CEDED3;
  --green-dark:#175029;
  --deep:#113E20;       /* deep green sections */
  --on-deep:#C7DCCD;

  --r-xl:32px; --r-lg:30px; --r-md:26px; --r-sm:20px; --r-xs:14px;
  --wrap:1240px;
}

/* Subject colours */
.s-bio  {--s-bg:#DCEFD9;--s-ink:#1F4D2B;--s-dot:#3E8E4F}
.s-chem {--s-bg:#DCE7F7;--s-ink:#1E3A66;--s-dot:#3F6FB5}
.s-phys {--s-bg:#FBE3D2;--s-ink:#6B3415;--s-dot:#C8682E}
.s-math {--s-bg:#E7E0F7;--s-ink:#3E2A70;--s-dot:#6E55B8}
.s-logic{--s-bg:#F7EDC8;--s-ink:#5C4A0E;--s-dot:#B08A1E}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:clip;background:var(--paper);color:var(--ink);font-family:'Archivo',system-ui,sans-serif;font-size:17px;line-height:1.6}
img{max-width:100%}
a{color:var(--ink)}
a:where(:hover){color:var(--red)}
h1,h2,h3,h4,p,figure{margin:0}
summary{cursor:pointer;list-style:none}
summary::-webkit-details-marker{display:none}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ico{display:block;flex:none}

/* ---------- Layout ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:24px;padding-right:24px}
.sec{padding-top:112px;padding-bottom:112px}
.sec--hero{padding-top:88px}
.sec--stats{padding-top:72px;padding-bottom:72px}
.sec--tight-top{padding-top:32px}
.stack{display:flex;flex-direction:column;gap:var(--gap,36px)}
.row{display:flex;flex-wrap:wrap;gap:var(--gap,18px)}
.grow{flex:1 1 var(--basis,300px);min-width:0}
.bg-white{background:var(--white)}
.bg-ink{background:var(--ink);color:var(--white)}
.bg-deep{background:var(--deep);color:var(--white)}
.bg-grid{background-color:var(--ink);background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:56px 112px;color:var(--white)}
.bordered{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---------- Type ---------- */
.display{font-stretch:68%;font-size:clamp(68px,8.6vw,128px);line-height:.86;font-weight:800;letter-spacing:-.005em}
.h2{font-stretch:70%;font-size:clamp(48px,5.4vw,80px);line-height:.92;font-weight:800}
.h2--sm{font-size:clamp(42px,4.4vw,60px)}
.h3{font-stretch:74%;font-size:30px;line-height:1;font-weight:800}
.h3--lg{font-size:36px}
.h3--md{font-size:28px;line-height:1.05}
.quote-xl{font-stretch:72%;line-height:.98;font-weight:800}
.num{font-stretch:66%;font-weight:800;line-height:.9}
.muted{color:var(--muted)}
.on-dark{color:var(--on-dark)}
.on-deep{color:var(--on-deep)}
.lead{font-size:19px}
.small{font-size:15px}
.red{color:var(--red)}
.green{color:var(--green)}

.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px}
.sec-head .h2{max-width:720px}
.sec-head p{max-width:400px;color:var(--muted)}
.bg-ink .sec-head p,.bg-grid .sec-head p{color:var(--on-dark)}
.bg-deep .sec-head p{color:var(--on-deep)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:999px;border:2px solid transparent;background:transparent;color:var(--ink);font-family:inherit;font-size:17px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.btn--start{align-self:flex-start}
.btn--block{display:flex;width:100%}
.btn--wa{background:var(--green);color:var(--white)}
.btn--wa:hover{background:var(--green-hover);color:var(--white)}
.btn--wa-outline{border-color:var(--green);color:var(--green)}
.btn--wa-outline:hover{background:var(--green);color:var(--white)}
.btn--outline{border-color:var(--ink);color:var(--ink)}
.btn--outline:hover{background:var(--ink);color:var(--white)}
.btn--line{border-color:var(--line);color:var(--ink)}
.btn--line:hover{border-color:var(--ink);color:var(--ink)}
.btn--ink{background:var(--ink);color:var(--white)}
.btn--ink:hover{background:var(--red);color:var(--white)}
.btn--white{background:var(--white);color:var(--ink)}
.btn--white:hover{background:var(--red);color:var(--white)}
/* Big hero button with round icon on the left */
.btn--xl{min-height:62px;padding:0 26px 0 10px;gap:12px;font-size:18px}
.btn__icon{width:42px;height:42px;border-radius:50%;background:var(--white);color:var(--green);display:flex;align-items:center;justify-content:center;flex:none}
.btn--ink .btn__icon,.btn--white .btn__icon{color:var(--ink)}
.btn--white .btn__icon{background:var(--ink);color:var(--white)}

/* ---------- Chips & tags ---------- */
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:var(--paper);font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}
.chip--red{background:var(--red-tint);color:var(--red-dark);font-weight:800}
.chip--green{background:var(--green-tint);color:var(--green-dark);font-weight:800}
.chip--glass{background:rgba(255,255,255,.12);color:var(--white)}
.chip--white{background:var(--white);color:var(--ink);font-weight:700;font-size:13px;padding:4px 12px}
.tag{display:inline-block;padding:4px 12px;border-radius:999px;background:var(--s-bg);color:var(--s-ink);font-size:13px;font-weight:800}
.badge-new{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;padding:5px 16px 5px 5px;border-radius:999px;background:rgba(255,255,255,.09);font-size:15px;font-weight:600}
.badge-new b{white-space:nowrap;padding:2px 12px;border-radius:999px;background:var(--red);color:var(--white);font-weight:800}

/* ---------- Cards ---------- */
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:32px}
.card--md{border-radius:var(--r-md);padding:26px}
.card--dashed{background:transparent;border:2px dashed var(--line-3);padding:26px 32px}
.card--ink{background:var(--ink);border-color:var(--ink);color:var(--white)}
.card--deep{background:var(--deep);border-color:var(--deep);color:var(--white)}
.card--rose{background:var(--red-tint);border-color:var(--red-tint)}
.card--paper{background:var(--paper);border-color:var(--paper)}

/* ---------- Check list ---------- */
.checks{display:flex;flex-direction:column;gap:12px}
.checks > div{display:flex;gap:12px;align-items:flex-start}
.checks .ico{margin-top:3px}

/* ---------- Stamp (rotated red "Rank 1") ---------- */
.stamp{position:absolute;z-index:2;width:112px;height:112px;border-radius:10px;background:var(--red);color:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;transform:rotate(var(--rot,-8deg));box-shadow:0 16px 30px -12px rgba(0,0,0,.6)}
.stamp::before{content:"";position:absolute;inset:7px;border:2px solid rgba(255,255,255,.75);border-radius:6px}
.stamp b{font-stretch:66%;font-size:36px;font-weight:800}
.stamp small{margin-top:6px;font-size:12px;font-weight:700}

/* ---------- Announcement bar & header ---------- */
.announce{background:var(--red);color:var(--white);font-size:15px}
.announce .wrap{padding-top:10px;padding-bottom:10px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;text-align:center}
.announce span{font-weight:600}
.announce a{color:var(--white);font-weight:700;text-decoration:underline}
.announce a:hover{color:var(--white);text-decoration-thickness:2px}

.site-header{background:var(--white)}
.site-header .wrap{padding-top:12px;padding-bottom:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand img{width:48px;height:48px;display:block}
.wordmark{font-stretch:115%;font-size:22px;font-weight:700;letter-spacing:.03em;line-height:1}
.wordmark span{color:var(--red)}
.site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px;font-size:15px;font-weight:500}
.site-nav a{text-decoration:none;color:var(--muted)}
.site-nav a:hover{color:var(--ink)}
.site-nav a[aria-current="page"]{color:var(--ink);font-weight:700;padding:4px 0;border-bottom:2px solid var(--red)}
.site-nav .nav-join{display:none}
.join-btn{text-decoration:none;background:var(--ink);color:var(--white);padding:11px 20px;border-radius:999px;font-size:15px;font-weight:700}
.join-btn:hover{background:var(--red);color:var(--white)}
.join-btn[aria-current="page"]{background:var(--red)}
.menu-btn{display:none;width:44px;height:44px;border:none;background:transparent;color:var(--ink);align-items:center;justify-content:center;cursor:pointer;border-radius:10px}
.tricolore{height:6px;display:flex}
.tricolore span{flex:1}
.tricolore span:nth-child(1){background:var(--green)}
.tricolore span:nth-child(2){background:var(--white)}
.tricolore span:nth-child(3){background:var(--red)}

/* ---------- Stats row ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:32px 0}
.stat{padding:0 28px;border-left:1px solid var(--line)}
.stat:first-child{padding-left:0;border-left:0}
.stat:last-child{padding-right:0}
.stat .num{font-size:clamp(64px,6.4vw,92px)}
.stat p{margin-top:10px;font-size:16px;color:var(--muted)}

/* Logo strip */
.logo-strip .wrap{padding-top:26px;padding-bottom:26px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 40px}
.logo-strip .label{font-size:15px;font-weight:600;color:var(--muted)}
.logo-strip .uni{font-stretch:80%;font-size:21px;font-weight:700;color:var(--muted-3)}
.yt-pill{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--red-tint);color:var(--red-dark);font-size:14px;font-weight:700;text-decoration:none}
.yt-pill:hover{color:var(--red-dark);background:#F5D6D8}

/* ---------- Teacher cards ---------- */
.teachers{display:flex;flex-wrap:wrap;gap:18px}
.teacher{flex:1 1 214px;min-width:0;display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.teacher__photo{position:relative;aspect-ratio:4/5;background:var(--s-bg)}
.teacher__photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block}
.teacher__photo .tag{position:absolute;left:12px;bottom:12px}
.teacher__body{flex:1;padding:18px 18px 20px;display:flex;flex-direction:column;gap:14px}
.teacher__name{font-size:20px;font-weight:800;line-height:1.2}
.teacher__role{margin-top:4px;font-size:15px;line-height:1.4;color:var(--muted)}
.teacher__chips{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}
.score{color:var(--red);font-weight:800}

/* ---------- Comparison table ---------- */
.compare-wrap{overflow-x:auto;border-radius:28px;border:1px solid var(--line);background:var(--white)}
.compare{width:100%;min-width:720px;border-collapse:collapse;font-size:16px}
.compare th,.compare td{text-align:left;padding:18px 26px;border-bottom:1px solid var(--line-2)}
.compare thead th{padding:22px 26px;font-stretch:74%;font-size:26px;font-weight:800;color:var(--muted);border-bottom:1px solid var(--line)}
.compare thead th:first-child{width:26%}
.compare thead th.is-us{background:var(--green);color:var(--white)}
.compare tbody th{font-weight:700}
.compare td{color:var(--muted)}
.compare td.is-us{background:var(--green-tint);color:var(--ink);font-weight:600;border-bottom-color:var(--green-line)}
.compare tr:last-child th,.compare tr:last-child td{border-bottom:0}

/* ---------- Testimonials ---------- */
.t-feature{background:var(--white);color:var(--ink);border-radius:var(--r-lg);padding:36px;display:flex;flex-wrap:wrap;gap:32px 48px;align-items:center}
.t-feature__quote{font-size:clamp(34px,3.6vw,52px)}
.t-feature__score{flex:1 1 240px;min-width:0;border-left:1px solid var(--line);padding-left:40px;display:flex;flex-direction:column;gap:6px}
.t-feature__score .num{font-stretch:60%;font-size:120px;line-height:.82;color:var(--red)}
.t-cards{display:flex;flex-wrap:wrap;gap:18px}
.t-card{flex:1 1 300px;min-width:0;background:var(--white);color:var(--ink);border-radius:var(--r-md);padding:26px;display:flex;flex-direction:column;gap:14px}
.t-person{display:flex;align-items:center;gap:14px}
.t-person img{flex:none;width:56px;height:56px;border-radius:50%;object-fit:cover;display:block;border:1px solid var(--line)}
.t-person__name{font-size:18px;font-weight:800;line-height:1.3}
.t-person__meta{font-size:14px;color:var(--muted);line-height:1.4}
.t-person__score{margin-left:auto;text-align:right;line-height:1}
.t-person__score .num{font-stretch:64%;font-size:40px;color:var(--red)}
.t-person__score small{font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
.t-card__head{font-size:19px;line-height:1.3;font-weight:800}
.t-card__body{font-size:15px;color:var(--muted)}

/* ---------- Numbered steps ---------- */
.steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.steps li{display:flex;gap:20px}
.steps__rail{display:flex;flex-direction:column;align-items:center}
.steps__n{flex:none;width:48px;height:48px;border-radius:50%;background:var(--ink);color:var(--white);display:flex;align-items:center;justify-content:center;font-stretch:70%;font-size:22px;font-weight:800}
.steps li:last-child .steps__n{background:var(--red)}
.steps__line{flex:1;width:2px;background:var(--line);min-height:30px}
.steps li:last-child .steps__line{display:none}
.steps__body{padding-bottom:28px}
.steps li:last-child .steps__body{padding-bottom:0}
.steps__body .h3{margin:6px 0 4px;font-size:28px}

/* ---------- FAQ ---------- */
.faq{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:22px 0}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;font-weight:700;font-size:19px}
.faq__plus{flex:none;width:34px;height:34px;border-radius:50%;background:var(--paper);display:flex;align-items:center;justify-content:center;font-size:20px;transition:transform .2s}
.faq details[open] .faq__plus{transform:rotate(45deg)}
.faq details p{margin-top:12px;color:var(--muted)}

/* ---------- Sticky bottom bar ---------- */
.sticky-bar{position:sticky;bottom:0;z-index:5;background:var(--white);border-top:1px solid var(--line);box-shadow:0 -12px 30px -18px rgba(0,0,0,.3)}
.sticky-bar .wrap{padding-top:12px;padding-bottom:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.sticky-info{display:flex;align-items:center;gap:12px}
.sticky-info img{width:40px;height:40px;display:block}
.sticky-info div{display:flex;flex-direction:column;line-height:1.3}
.sticky-info b{font-weight:800}
.sticky-info span{font-size:14px;color:var(--muted)}
.sticky-actions{display:flex;flex-wrap:wrap;gap:10px}
.sticky-actions .btn{min-height:48px;padding:0 20px;font-size:17px}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:var(--on-dark)}
.site-footer .wrap{padding-top:64px;padding-bottom:32px;display:flex;flex-direction:column;gap:40px}
.footer-cols{display:flex;flex-wrap:wrap;gap:40px}
.footer-brand{flex:2 1 300px;min-width:0;display:flex;flex-direction:column;gap:16px}
.footer-brand .brand{color:var(--white);gap:14px}
.footer-brand .emblem{flex:none;width:60px;height:60px;border-radius:50%;background:var(--white);overflow:hidden;display:flex;align-items:center;justify-content:center}
.footer-brand .emblem img{width:60px;height:60px;display:block}
.footer-brand .wordmark{font-size:24px}
.footer-brand .wordmark span{color:var(--red-light)}
.footer-brand p{max-width:340px}
.footer-col{flex:1 1 160px;display:flex;flex-direction:column;gap:8px}
.footer-col b{color:var(--white);font-weight:700}
.footer-col a{color:var(--on-dark);text-decoration:none}
.footer-col a:hover{color:var(--white)}
.footer-legal{padding-top:22px;border-top:1px solid rgba(255,255,255,.14);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px}
.footer-legal a{color:var(--on-dark)}
.footer-legal a:hover{color:var(--white)}

/* =========================================================
   Course page pieces (reusable on Home / Join)
   ========================================================= */
.hero-cols{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.hero-cols > .stack{flex:1 1 520px;min-width:0}
.hero-card{position:relative;margin-left:44px;border-radius:var(--r-md);background:var(--ink-2);border:1px solid rgba(255,255,255,.14);padding:26px 28px 62px;display:flex;flex-direction:column;gap:20px;box-shadow:0 40px 80px -30px rgba(0,0,0,.75)}
.hero-card__head{display:flex;align-items:center;gap:12px;padding-right:96px}
.subj-mini{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.subj-mini > div{min-height:96px;border-radius:var(--r-xs);background:var(--s-bg);color:var(--s-ink);padding:10px 10px 12px;display:flex;flex-direction:column;justify-content:space-between}
.subj-mini .num{font-size:40px}
.subj-mini span:last-child{font-size:12px;font-weight:700;line-height:1.2}
.float-card{background:var(--white);color:var(--ink);box-shadow:0 30px 60px -20px rgba(0,0,0,.7)}
.faces{display:flex}
.faces img{width:38px;height:38px;border-radius:50%;border:2px solid var(--white);object-fit:cover;display:block}
.faces img + img{margin-left:-10px}
.bubble{width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line-3);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--muted);flex:none}
.bubble--on{background:var(--green);border-color:var(--green);color:var(--white);font-weight:800}
.lesson-list{display:flex;flex-direction:column;gap:8px}
.lesson-list > div{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:var(--r-xs);background:var(--paper);font-size:15px;font-weight:600}
.lesson-list .is-now{background:var(--ink);color:var(--white);font-weight:700}
.lesson-list .is-todo{color:var(--muted)}
.ring{width:18px;height:18px;border-radius:50%;border:2px solid var(--line-3);flex:none}
.sheet{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px}
.sheet > div{display:flex;align-items:center;gap:8px}
.sheet b{width:26px;font-size:13px;font-weight:700;color:var(--on-deep)}
.sheet i{width:26px;height:26px;border-radius:50%;border:1.5px solid rgba(255,255,255,.45)}
.sheet i.on{background:var(--white);border-color:var(--white)}
.sheet i.miss{background:var(--red-light);border-color:var(--red-light)}
.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.week span{height:56px;border-radius:12px;background:var(--white);color:var(--red-dark);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;font-weight:700;line-height:1.2}
.week span.on{background:var(--red);color:var(--white)}
.week span.on small{font-size:11px;font-weight:800}
.phone{flex:none;width:112px;height:200px;border-radius:24px;border:6px solid var(--ink);padding:10px 8px;display:flex;flex-direction:column;gap:6px;background:var(--white)}
.phone i{display:block;height:22px;border-radius:6px;background:var(--line-2)}

/* Topic "periodic table" */
.topic-filters{display:flex;flex-wrap:wrap;gap:10px}
.topic-filters button{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 18px;border-radius:999px;background:var(--white);color:var(--ink);border:1.5px solid var(--line);font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}
.topic-filters button[aria-pressed="true"]{background:var(--ink);color:var(--white);border-color:var(--ink)}
.topic-filters .dot{width:10px;height:10px;border-radius:50%;background:var(--s-dot,var(--red))}
.topic-filters .count{font-weight:500;opacity:.75}
.topic-grid{flex:999 1 640px;min-width:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px}
.topic-grid .corner{grid-column:span 2;grid-row:span 2;border-radius:16px;background:var(--ink);color:var(--white);padding:16px;display:flex;flex-direction:column;justify-content:space-between;min-height:216px}
.topic{background:var(--s-bg);color:var(--s-ink);border:2px solid transparent;min-height:104px;border-radius:var(--r-xs);padding:8px 10px 10px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;font-family:inherit;cursor:pointer;transition:opacity .15s}
.topic[aria-pressed="true"]{border-color:var(--ink)}
.topic.is-dim{opacity:.25}
.topic small{font-size:12px;font-weight:700;opacity:.8}
.topic b{font-stretch:70%;font-size:32px;font-weight:800;line-height:1}
.topic span{font-size:12px;font-weight:600;line-height:1.2}
.topic-detail{flex:1 1 320px;min-width:0;background:var(--paper);border-radius:var(--r-md);padding:28px;display:flex;flex-direction:column;gap:16px}

/* Sample question */
.q-opt{width:100%;min-height:56px;display:flex;align-items:center;gap:14px;padding:9px 16px 9px 10px;border-radius:16px;text-align:left;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;background:var(--white);border:1.5px solid var(--line);color:var(--ink)}
.q-opt .q-badge{flex:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;background:var(--white);border:2px solid var(--line-3);color:var(--muted)}
.q-opt.is-right{background:var(--green-tint);border-color:var(--green);color:var(--green-dark)}
.q-opt.is-right .q-badge{background:var(--green);border-color:var(--green);color:var(--white)}
.q-opt.is-wrong{background:var(--red-tint);border-color:var(--red);color:var(--red-dark)}
.q-opt.is-wrong .q-badge{background:var(--red);border-color:var(--red);color:var(--white)}

/* Merit list illustration */
.merit{background:var(--white);color:var(--ink);border-radius:28px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.75)}
.merit__head{padding:16px 22px;background:var(--line-2);display:flex;justify-content:space-between;align-items:center;gap:12px}
.merit__row{display:flex;align-items:center;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line-2)}
.merit__row:last-child{border-bottom:0}
.merit__row.is-you{background:var(--green-tint);border-bottom-color:var(--green-line);color:var(--green-dark)}
.merit__n{width:30px;font-stretch:70%;font-size:22px;font-weight:800;color:var(--muted-2)}
.is-you .merit__n{font-size:26px;color:var(--green-dark)}
.bar{display:block;height:12px;border-radius:6px;background:var(--line-2)}

/* Founder block */
.founder-photo{flex:1 1 380px;min-width:0;position:relative}
.founder-photo .frame{aspect-ratio:4/5;border-radius:var(--r-lg);background:var(--ink);overflow:hidden}
.founder-photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block}
.founder-photo .stamp{right:-10px;bottom:28px;top:auto;width:116px;height:116px;--rot:7deg;box-shadow:none}
.founder-photo .stamp b{font-size:38px}
.mini-stats{background:var(--paper);border-radius:var(--r-sm);padding:22px 24px;display:flex;flex-wrap:wrap;gap:20px 0}
.mini-stats > div{flex:1 1 140px;padding:0 22px;border-left:1px solid var(--line)}
.mini-stats > div:first-child{padding-left:0;border-left:0;flex-basis:160px}
.mini-stats > div:last-child{padding-right:0}
.mini-stats .num{font-size:48px;line-height:1}
.mini-stats p{margin-top:6px;font-size:14px;color:var(--muted)}

/* Price card */
.price-card{background:var(--white);border:2px solid var(--ink);border-radius:var(--r-xl);padding:36px;display:flex;flex-direction:column;gap:22px}
.price-card .num{font-size:72px}

/* =========================================================
   Plan finder (Home hero + Join page)
   ========================================================= */
.btn--ghost-dark{border-color:rgba(255,255,255,.3);color:var(--white)}
.btn--ghost-dark:hover{border-color:var(--white);color:var(--white);background:rgba(255,255,255,.06)}
.finder-wrap{position:relative;padding-top:24px}
.finder{position:relative;background:var(--white);color:var(--ink);border-radius:var(--r-md);padding:28px;display:flex;flex-direction:column;gap:18px;min-height:470px;box-shadow:0 40px 80px -30px rgba(0,0,0,.75)}
.finder__head{display:flex;flex-direction:column;gap:2px;padding-right:110px}
.finder__title{font-stretch:74%;font-size:26px;font-weight:800;line-height:1.05}
.finder__step{font-size:14px;color:var(--muted);font-weight:600}
.finder__bar{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.finder__bar i{height:6px;border-radius:3px;background:var(--line)}
.finder__bar i.done{background:var(--ink)}
.finder__bar i.now{background:var(--red)}
.finder__q{font-stretch:72%;font-size:clamp(30px,3vw,40px);line-height:1;font-weight:800;outline:none}
.finder__opts{display:flex;flex-direction:column;gap:10px}
.finder__opt{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px;border-radius:16px;background:var(--paper);border:1.5px solid var(--paper);color:var(--ink);font-family:inherit;font-size:17px;font-weight:700;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.finder__opt:hover{border-color:var(--ink);background:var(--white)}
.finder__opt .ico{color:var(--muted-2)}
.finder__opt:hover .ico{color:var(--red)}
.finder__opt small{display:block;font-size:13px;font-weight:500;color:var(--muted)}
.finder__foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:var(--muted)}
.linkbtn{padding:0;border:none;background:transparent;font-family:inherit;font-size:15px;font-weight:700;color:var(--ink);text-decoration:underline;cursor:pointer}
.linkbtn:hover{color:var(--red)}
.finder__price{display:flex;align-items:baseline;gap:6px 14px;flex-wrap:wrap;margin-top:-6px}
.finder__price .num{font-size:60px}
.finder__price small{font-size:14px;color:var(--muted)}
.finder__answers{display:flex;flex-wrap:wrap;gap:6px}
.finder__note{background:var(--green-tint);color:var(--green-dark);border-radius:14px;padding:12px 14px;font-size:15px;font-weight:600}
.finder .stamp{top:-20px;right:-12px}
.finder-in{animation:finderIn .25s ease-out}
@keyframes finderIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Proof row under hero headline */
.proof{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.proof .faces img{width:44px;height:44px;border-color:var(--ink)}
.proof p{font-size:15px;line-height:1.4;color:var(--on-dark)}
.proof b{color:var(--white)}

/* =========================================================
   Home page pieces
   ========================================================= */
/* Italy facts bento */
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.fact{border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;gap:10px;background:var(--white);border:1px solid var(--line)}
.fact .num{font-size:clamp(48px,4.6vw,68px)}
.fact p{color:var(--muted)}
.fact--big{grid-row:span 2;background:var(--ink);border-color:var(--ink);color:var(--white);justify-content:space-between}
.fact--big .num{font-size:clamp(64px,7vw,104px);line-height:.85}
.fact--big p{color:var(--on-dark);font-size:18px}
.fact--rose{background:var(--red-tint);border-color:var(--red-tint)}
.fact--rose .num,.fact--rose p{color:var(--red-dark)}
.fact--deep{background:var(--deep);border-color:var(--deep);color:var(--white)}
.fact--deep p{color:var(--on-deep)}
.fact-links{display:flex;flex-wrap:wrap;gap:10px}

/* Plan cards */
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.plan{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px;display:flex;flex-direction:column;gap:20px}
.plan__top{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:10px}
.plan__name{font-stretch:74%;font-size:32px;line-height:1;font-weight:800}
.plan__price .num{font-size:72px}
.plan__price small{display:block;margin-top:6px;font-size:14px;color:var(--muted)}
.plan .checks{font-size:16px}
.plan__cta{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.plan__more{font-size:15px;font-weight:700;text-align:center;text-decoration:underline}
.plan--hero{background:var(--ink);border-color:var(--ink);color:var(--white)}
.plan--hero .plan__price small,.plan--hero .muted{color:var(--on-dark)}
.plan--hero .plan__more{color:var(--white)}
.plan--hero .plan__more:hover{color:var(--red-light)}

/* Method funnel */
.funnel{display:flex;flex-direction:column;gap:10px}
.funnel div{border-radius:16px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700;font-size:17px;line-height:1.3}
.funnel div:nth-child(1){width:100%;background:var(--white);border:1px solid var(--line)}
.funnel div:nth-child(2){width:88%;background:var(--line-2)}
.funnel div:nth-child(3){width:76%;background:var(--line)}
.funnel div:nth-child(4){width:64%;background:var(--deep);color:var(--white)}
.funnel div:nth-child(4){flex-wrap:wrap}
.funnel span{padding:4px 12px;border-radius:999px;background:var(--red);color:var(--white);font-size:13px;font-weight:800;white-space:nowrap}
.loop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.loop > div{background:var(--white);border:1px solid var(--line);border-radius:var(--r-sm);padding:22px;display:flex;flex-direction:column;gap:8px}
.loop .h3{font-size:26px}
.loop p{color:var(--muted);font-size:16px}
.loop .week-tag{align-self:flex-start;padding:3px 10px;border-radius:999px;background:var(--ink);color:var(--white);font-size:12px;font-weight:800}

/* Documentation timeline */
.timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.timeline li{position:relative;padding:34px 14px 0 0;display:flex;flex-direction:column;gap:6px}
.timeline li::before{content:"";position:absolute;top:9px;left:0;right:0;height:2px;background:rgba(255,255,255,.22)}
.timeline li::after{content:"";position:absolute;top:2px;left:0;width:16px;height:16px;border-radius:50%;background:var(--white);border:3px solid var(--deep);box-shadow:0 0 0 2px rgba(255,255,255,.5)}
.timeline li.is-exam::after{background:var(--red-light)}
.timeline small{font-size:13px;font-weight:700;color:var(--on-deep);text-transform:none}
.timeline b{font-stretch:74%;font-size:24px;line-height:1.05;font-weight:800}
.timeline p{font-size:15px;color:var(--on-deep);line-height:1.45}
.quote-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:var(--r-md);padding:26px;display:flex;flex-direction:column;gap:14px}

/* Resource cards */
.res-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.res{background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);padding:22px;display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
.res:hover{border-color:var(--ink);color:var(--ink);transform:translateY(-2px)}
.res .tag,.res > .chip{align-self:flex-start}
.res b{font-stretch:74%;font-size:26px;line-height:1.05;font-weight:800}
.res p{font-size:15px;color:var(--muted)}
.res .go{margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:700}
.res--ink{background:var(--ink);border-color:var(--ink);color:var(--white)}
.res--ink:hover{color:var(--white);border-color:var(--red)}
.res--ink p{color:var(--on-dark)}

/* WhatsApp chat illustration */
.chat{background:#EFEAE2;border-radius:28px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.75);color:var(--ink)}
.chat__head{background:var(--deep);color:var(--white);padding:14px 18px;display:flex;align-items:center;gap:12px}
.chat__head img{width:40px;height:40px;border-radius:50%;background:var(--white)}
.chat__head b{display:block;font-size:16px;line-height:1.2}
.chat__head small{font-size:13px;color:var(--on-deep)}
.chat__body{padding:18px;display:flex;flex-direction:column;gap:10px}
.bub{max-width:86%;padding:10px 14px;border-radius:14px;font-size:15px;line-height:1.45;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.bub--me{align-self:flex-end;background:#D9FDD3;border-top-right-radius:4px}
.bub--them{align-self:flex-start;background:var(--white);border-top-left-radius:4px}
.chat__label{padding:0 18px 14px;font-size:12px;font-weight:600;color:var(--muted-2);text-align:center}

/* =========================================================
   Home v2: founder hero, notes, testimonials, doc steps
   ========================================================= */
.founder-hero{flex:1 1 500px;min-width:0;position:relative;padding:24px 0 0}
.founder-hero .frame{position:relative;border-radius:var(--r-md);overflow:hidden;aspect-ratio:16/10;background:var(--ink-2);box-shadow:0 40px 80px -30px rgba(0,0,0,.75)}
.founder-hero .frame img{width:100%;height:100%;object-fit:cover;object-position:42% 35%;display:block}
.founder-hero .frame--portrait{aspect-ratio:4/5;width:86%;margin-left:auto}
.founder-hero .frame--portrait img{object-position:center 30%}
.portrait-wrap{position:relative}
.founder-hero .hero-snap{position:absolute;z-index:2;left:-8px;bottom:76px;width:52%;padding:8px 8px 34px;--r:-5deg;--ar:16/10}
.founder-hero .hero-snap img{object-position:42% 35%}
.founder-hero .hero-snap figcaption{bottom:9px;font-size:13px;line-height:1.2}
.founder-hero .hero-snap .tape{width:80px;height:22px;top:-10px}
.founder-hero .frame .chip{position:absolute;left:14px;top:14px;background:var(--white);color:var(--ink);font-weight:700}
.founder-hero .stamp{top:0;right:-6px}
.founder-hero .stamp b{font-size:30px}
.rank-card{position:relative;z-index:3;margin:-56px 24px 0 -18px;background:var(--white);color:var(--ink);border-radius:18px;padding:10px 10px 8px;box-shadow:0 30px 60px -20px rgba(0,0,0,.7);transform:rotate(-1.5deg)}
.rank-card img{display:block;width:100%;height:auto;border-radius:10px}
.rank-card p{padding:8px 6px 2px;font-size:13px;color:var(--muted);line-height:1.35}
.halves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.halves div{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:14px 16px}
.halves b{display:block;font-stretch:74%;font-size:22px;font-weight:800;line-height:1.1}
.halves span{display:block;margin-top:4px;font-size:15px;line-height:1.4;color:var(--on-dark)}
.sel-line{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:12px 18px 12px 12px;border-radius:20px;background:rgba(255,255,255,.07);align-self:flex-start;text-decoration:none;color:var(--white)}
.sel-line:hover{background:rgba(255,255,255,.12);color:var(--white)}
.sel-line .faces img{width:34px;height:34px;border-color:var(--ink)}
.sel-line span{font-size:15px;font-weight:600}
.sel-line u{color:var(--red-light);font-weight:700;text-decoration:none;white-space:nowrap}
.finder--light .finder{box-shadow:0 30px 60px -36px rgba(0,0,0,.35);border:1px solid var(--line)}
.finder--light .finder__opt{background:var(--paper);border-color:var(--paper)}
.notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.notes > div{display:flex;gap:14px;align-items:flex-start;background:var(--white);border:1px solid var(--line);border-radius:var(--r-sm);padding:18px 20px}
.notes .ico-box{flex:none;width:40px;height:40px;border-radius:12px;background:var(--paper);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.notes b{display:block;font-size:17px;line-height:1.3}
.notes span{display:block;margin-top:2px;font-size:15px;color:var(--muted);line-height:1.45}
.t-svc{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
.t-svc span{padding:3px 10px;border-radius:999px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:700;line-height:1.5}
.t-more{display:contents}
.t-more[hidden]{display:none}
.t-toggle{align-self:center}
.start3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.start3 > div{background:var(--paper);border-radius:var(--r-sm);padding:22px;display:flex;flex-direction:column;gap:8px}
.start3 small{display:flex;justify-content:space-between;font-size:13px;font-weight:800;color:var(--muted)}
.start3 small em{font-style:normal;color:var(--red)}
.start3 .h3{font-size:26px}
.start3 p{font-size:16px;color:var(--muted)}
.loop4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;position:relative}
.loop4 > div{background:var(--ink);color:var(--white);border-radius:var(--r-sm);padding:20px;display:flex;flex-direction:column;gap:6px}
.loop4 > div:last-child{background:var(--red)}
.loop4 b{font-stretch:74%;font-size:24px;line-height:1.05;font-weight:800}
.loop4 span{font-size:15px;color:var(--on-dark);line-height:1.45}
.loop4 > div:last-child span{color:#FFE3E4}
.loop-note{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--red)}
.loop-note::before{content:"";width:28px;height:2px;background:var(--red)}
.doc-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:ds}
.doc-steps li{counter-increment:ds;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:var(--r-sm);padding:20px 20px 22px;display:flex;flex-direction:column;gap:6px}
.doc-steps li::before{content:"Step " counter(ds);font-size:12px;font-weight:800;color:var(--on-deep)}
.doc-steps li.is-exam{background:rgba(220,91,97,.18);border-color:rgba(220,91,97,.5)}
.doc-steps b{font-stretch:74%;font-size:24px;line-height:1.05;font-weight:800}
.doc-steps p{font-size:15px;color:var(--on-deep);line-height:1.45}
.promise{border-radius:var(--r-md);padding:26px;display:flex;flex-direction:column;gap:10px}
.promise--white{background:var(--white);color:var(--ink)}
.promise--white p{color:var(--muted)}
.promise--red{background:var(--red);color:var(--white)}
.promise--red p{color:#FFE3E4}
.promise small{font-size:13px;opacity:.85}

/* =========================================================
   Illustration layer: scribbles, ticker, map, ticket, icons
   ========================================================= */
.scribble{white-space:nowrap;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c25-7 45 5 70-1s45-7 68 0 38 2 56-5' fill='none' stroke='%23CF1B23' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left bottom/100% .2em no-repeat;padding-bottom:.06em}
.bg-grid .scribble,.bg-ink .scribble,.bg-deep .scribble{filter:saturate(1.1)}
.ticker{background:var(--red);color:var(--white);overflow:hidden;white-space:nowrap;border-bottom:1px solid rgba(0,0,0,.15)}
.ticker__track{display:flex;width:max-content;animation:tick 70s linear infinite}
.ticker:hover .ticker__track{animation-play-state:paused}
.ticker__set{display:flex;align-items:center;gap:20px;padding:12px 10px}
.ticker span{font-size:15px;font-weight:600}
.ticker b{margin-left:6px;font-stretch:66%;font-size:24px;font-weight:800;line-height:1}
.ticker i{font-style:normal;opacity:.55;font-size:12px}
@keyframes tick{to{transform:translateX(-50%)}}
.sticker{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:104px;height:104px;border-radius:50%;background:var(--green-tint);color:var(--green-dark);font-weight:800;font-size:13px;line-height:1.15;transform:rotate(10deg);border:2px dashed var(--green);box-shadow:0 14px 30px -14px rgba(0,0,0,.35)}
.sticker b{display:block;font-stretch:66%;font-size:34px;line-height:.9}
/* Map card */
.fact--map{grid-row:span 2;background-color:var(--ink);background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:28px 28px;border-color:var(--ink);color:var(--white);padding:24px 22px 18px;gap:6px}
.fact--map .num{font-size:clamp(44px,4.4vw,60px)}
.fact--map p{color:var(--on-dark)}
.fact--map a{color:var(--white);font-weight:700}
.fact--map a:hover{color:var(--red-light)}
.italy{display:block;width:100%;height:auto;margin:4px 0 2px}
.italy .land path{fill:#2E2E2B;stroke:rgba(255,255,255,.7);stroke-width:1.3;stroke-linejoin:round}
.italy .pin circle{fill:var(--white);stroke:var(--ink);stroke-width:2}
.italy .pin text{fill:#D9D8D3;font-family:'Archivo',system-ui,sans-serif;font-size:15px;font-weight:700}
.italy .pin--home circle{fill:var(--red);stroke:var(--white)}
.italy .pin--home text{fill:var(--white)}
.italy .ping{fill:none;stroke:var(--red-light);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:ping 2.2s ease-out infinite}
@keyframes ping{from{transform:scale(1);opacity:1}to{transform:scale(3.6);opacity:0}}
.italy .home-note path{stroke:var(--red-light);stroke-width:1.6;stroke-dasharray:3 4}
.italy .home-note text{fill:var(--red-light);font-family:'Archivo',system-ui,sans-serif;font-size:15px;font-weight:800}
/* Doc step icons */
.doc-steps li{position:relative}
.doc-steps .ic{position:absolute;top:16px;right:16px;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.1);color:var(--white);display:flex;align-items:center;justify-content:center}
.doc-steps li.is-exam .ic{background:var(--red)}
.doc-steps b{padding-right:56px}
.notes .ico-box{color:var(--ink)}
/* Boarding pass */
.ticket{position:relative;display:flex;background:var(--white);color:var(--ink);border-radius:22px;box-shadow:0 40px 80px -30px rgba(0,0,0,.8);transform:rotate(-2.5deg);overflow:hidden}
.ticket__main{flex:1;min-width:0;padding:22px 24px 24px;display:flex;flex-direction:column;gap:18px}
.ticket__top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:800;color:var(--muted)}
.ticket__top .brandline{display:flex;align-items:center;gap:8px;color:var(--ink)}
.ticket__top img{width:28px;height:28px;border-radius:50%}
.ticket__route{display:flex;align-items:center;gap:10px}
.ticket__route > div{display:flex;flex-direction:column}
.ticket__route small,.ticket__grid small{font-size:11px;font-weight:800;color:var(--muted-2);text-transform:uppercase;letter-spacing:.04em}
.ticket__route b{font-stretch:62%;font-size:60px;font-weight:800;line-height:.9}
.ticket__route span{font-size:13px;color:var(--muted)}
.ticket__route .to b{color:var(--red)}
.ticket__path{flex:1;min-width:60px;position:relative;height:48px;color:var(--ink)}
.ticket__path svg.arc{position:absolute;inset:0;width:100%;height:100%}
.ticket__path .ico{position:absolute;left:50%;top:2px;transform:translateX(-50%) rotate(90deg)}
.ticket__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-top:14px;border-top:1px dashed var(--line-3)}
.ticket__grid b{display:block;font-size:15px;line-height:1.25}
.ticket__stub{flex:none;width:96px;border-left:2px dashed var(--line-3);background:var(--red-tint);padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px;color:var(--red-dark);font-size:11px;font-weight:800;text-align:center}
.ticket__stub .seat{font-stretch:62%;font-size:44px;line-height:.9}
.barcode{width:56px;height:92px;background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 4px,var(--ink) 4px 5px,transparent 5px 8px,var(--ink) 8px 11px,transparent 11px 12px);opacity:.85}
.ticket-cap{margin-top:10px;font-size:12px;color:var(--on-dark);text-align:center}
/* Scroll reveal (added by script, so no-JS visitors see everything) */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease;transition-delay:var(--d,0s)}
.reveal.in{opacity:1;transform:none}
.lift{transition:transform .2s ease,box-shadow .2s ease}
.lift:hover{transform:translateY(-4px);box-shadow:0 24px 40px -24px rgba(0,0,0,.35)}

/* =========================================================
   Small details: stamps, tickets, avatars, progress, micro-illustrations
   ========================================================= */
.progress{position:fixed;top:0;left:0;right:0;height:4px;z-index:60;transform-origin:0 50%;transform:scaleX(var(--p,0));background:linear-gradient(90deg,var(--green) 0 33.3%,#fff 33.3% 66.6%,var(--red) 66.6%);box-shadow:0 1px 2px rgba(0,0,0,.25);pointer-events:none}
.avatar{flex:none;width:56px;height:56px;border-radius:50%;background:var(--red-tint);color:var(--red-dark);display:flex;align-items:center;justify-content:center;font-stretch:80%;font-size:19px;font-weight:800;border:1px solid #F3D3D5}
.t-card{position:relative}
.t-card .t-svc{padding-right:104px}
.pstamp{position:absolute;right:16px;bottom:14px;display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 10px 6px;border:2px solid currentColor;border-radius:8px;color:rgba(207,27,35,.78);box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 3.5px rgba(207,27,35,.55);transform:rotate(-9deg);text-transform:uppercase;line-height:1;pointer-events:none}
.pstamp small{font-size:9px;font-weight:800;letter-spacing:.06em}
.pstamp b{font-stretch:70%;font-size:17px;font-weight:800;letter-spacing:.02em}
.t-feature .pstamp{position:static;margin-top:18px;align-self:flex-start;transform:rotate(-6deg)}
.t-feature .pstamp b{font-size:22px}
.ticker em{font-style:normal;font-size:13px;font-weight:600;opacity:.85;margin-left:8px}
/* Plan cards as tickets: dashed tear line with side notches */
.plan__price{position:relative;padding-bottom:22px;border-bottom:2px dashed var(--line)}
.plan__price::before,.plan__price::after{content:"";position:absolute;bottom:-13px;width:24px;height:24px;border-radius:50%;background:var(--paper);border:1px solid var(--line)}
.plan__price::before{left:-43px;clip-path:inset(0 0 0 50%)}
.plan__price::after{right:-43px;clip-path:inset(0 50% 0 0)}
.plan--hero .plan__price{border-bottom-color:rgba(255,255,255,.25)}
.plan--hero .plan__price::before,.plan--hero .plan__price::after{border-color:var(--ink)}
/* Fact micro-illustrations */
.range{position:relative;height:10px;border-radius:5px;background:linear-gradient(90deg,#3A3A37,var(--red-light));margin-top:16px}
.range i{position:absolute;top:50%;width:20px;height:20px;border-radius:50%;background:var(--white);border:4px solid var(--red);transform:translate(-50%,-50%)}
.range-lbl{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;font-weight:700;color:var(--on-dark)}
.bubbles{display:flex;gap:6px;margin-top:auto}
.bubbles span{width:28px;height:28px;border-radius:50%;border:1.5px solid rgba(145,19,25,.35);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:var(--red-dark)}
.bubbles span.on{background:var(--red);border-color:var(--red);color:var(--white)}
.years{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:auto}
.years span{height:26px;border-radius:6px;background:var(--paper);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:var(--muted)}
.years span:last-child{background:var(--ink);color:var(--white)}
.fact{position:relative}
.fact .corner-ic{position:absolute;bottom:22px;right:22px;opacity:.9}
.postmark{position:absolute;top:2%;right:0;width:88px;height:88px;transform:rotate(12deg);opacity:.8;pointer-events:none}
/* Weekly loop arrows + icons */
.loop4 > div{position:relative}
.loop4 .ico{margin-bottom:4px;opacity:.9}
.loop4 > div:not(:last-child)::after{content:"";position:absolute;z-index:2;right:-15px;top:50%;width:20px;height:20px;border-radius:50%;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171716' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;transform:translateY(-50%);box-shadow:0 0 0 3px var(--white)}
.loop-note .ico{flex:none}
.loop-note::before{display:none}
.start3 > div{position:relative}
.start3 .corner-ic{position:absolute;right:20px;bottom:18px;color:var(--line-3)}
/* Paper-plane trail beside the plan finder */
.trail{display:block;width:100%;max-width:460px;height:90px;color:var(--red)}
/* Boarding pass notches */
.ticket__stub{position:relative}
.ticket__stub::before,.ticket__stub::after{content:"";position:absolute;left:-13px;width:24px;height:24px;border-radius:50%;background:var(--ink)}
.ticket__stub::before{top:-12px}
.ticket__stub::after{bottom:-12px}
/* Paperclip on a resource card */
.res{position:relative}
.res .clip{position:absolute;top:-14px;right:26px;width:22px;height:56px;color:var(--muted-2);transform:rotate(8deg)}
/* Results map card */
.results-map{flex:1 1 340px;min-width:0;max-width:420px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-md);padding:18px 18px 12px}
.results-map p{font-size:14px;color:var(--on-dark);line-height:1.45}
.results-map p b{color:var(--white)}
.italy--results .bub circle{fill:var(--red);stroke:var(--ink);stroke-width:3}
.italy--results .bub .n{fill:var(--white);font-family:'Archivo',system-ui,sans-serif;font-stretch:70%;font-size:17px;font-weight:800}
.italy--results .bub .l{fill:var(--white);font-family:'Archivo',system-ui,sans-serif;font-size:15px;font-weight:700}
.made-in{display:inline-flex;align-items:center;gap:8px}
.made-in i{display:inline-block;width:18px;height:12px;border-radius:2px;background:linear-gradient(90deg,var(--green) 0 33.3%,#fff 33.3% 66.6%,var(--red) 66.6%)}

/* ---- Just for fun: special pink card (remove "special" in testimonials.json to undo) ---- */
.t-card--special{background:linear-gradient(160deg,#FFF0F5 0%,#FFD6E6 55%,#FFC2DA 100%);box-shadow:0 0 0 2px #FF9EC4,0 24px 50px -24px rgba(255,92,150,.6);overflow:visible}
.t-card--special .t-person{padding-top:14px}
.t-card--special .love-polaroid{flex:none;width:84px;height:92px;object-fit:cover;object-position:center 20%;border-radius:4px;background:#fff;border:5px solid #fff;border-bottom-width:16px;box-shadow:0 10px 20px -8px rgba(160,30,90,.45);transform:rotate(-6deg)}
.t-card--special .t-person__name{color:#8A1650}
.t-card--special .t-person__meta{color:#B0306E;font-weight:600}
.t-card--special .t-person__score .num{color:#E0247A}
.t-card--special .t-card__head{color:#6E0F3F}
.t-card--special .t-card__body{color:#7A3C5A}
.t-card--special .t-svc span{background:rgba(255,255,255,.75);color:#8A1650}
.t-card--special .pstamp{color:rgba(224,36,122,.8);box-shadow:inset 0 0 0 2px #FFD6E6,inset 0 0 0 3.5px rgba(224,36,122,.5)}
.love-ribbon{position:absolute;z-index:3;top:-16px;left:18px;padding:7px 22px 7px 16px;background:linear-gradient(90deg,#FF4F97,#E0247A);color:#fff;font-weight:800;font-size:15px;letter-spacing:.01em;border-radius:6px 0 0 6px;clip-path:polygon(0 0,100% 0,calc(100% - 12px) 50%,100% 100%,0 100%);box-shadow:0 8px 16px -6px rgba(224,36,122,.6);transform:rotate(-3deg)}
.t-card--special .heart{position:absolute;width:18px;height:18px;fill:#FF5C9A;opacity:.55;animation:floaty 3.2s ease-in-out infinite;pointer-events:none}
.t-card--special .heart.h1{top:18px;right:120px;width:14px;height:14px;animation-delay:.2s}
.t-card--special .heart.h2{top:124px;right:14px;width:20px;height:20px;animation-delay:.9s}
.t-card--special .heart.h3{bottom:76px;right:30px;width:12px;height:12px;animation-delay:1.6s}
.t-card--special .heart.h4{bottom:24px;left:46%;width:16px;height:16px;opacity:.35;animation-delay:2.2s}
@keyframes floaty{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-7px) rotate(8deg)}}

/* =========================================================
   Inner pages
   ========================================================= */
.sec--page{padding-top:76px;padding-bottom:88px}
.display--md{font-size:clamp(56px,6.6vw,100px)}
.chips-nav{display:flex;flex-wrap:wrap;gap:8px}
.chips-nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:var(--white);text-decoration:none;font-size:15px;font-weight:700}
.chips-nav a:hover{background:var(--white);color:var(--ink)}
.kicker{font-size:14px;font-weight:800;color:var(--red)}
.bg-grid .kicker,.bg-ink .kicker{color:var(--red-light)}
.prose p+p{margin-top:12px}
.note{font-size:14px;color:var(--muted)}
.bg-grid .note,.bg-ink .note{color:var(--on-dark)}
.note--box{background:var(--white);border:1px solid var(--line);border-left:4px solid var(--red);border-radius:12px;padding:14px 18px;font-size:15px;color:var(--muted)}

/* Three-plan comparison */
.cmp3{border:1px solid var(--line);border-radius:28px;background:var(--white);overflow:hidden}
.cmp3__row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,140px);align-items:center;border-bottom:1px solid var(--line-2)}
.cmp3__row:last-child{border-bottom:0}
.cmp3__row > *{padding:14px 18px}
.cmp3__row > span:not(:first-child){text-align:center;display:flex;justify-content:center}
.cmp3__head{background:var(--paper);font-weight:800;position:sticky;top:0;z-index:2}
.cmp3__head > span:not(:first-child){font-stretch:80%;font-size:18px}
.cmp3__row.cmp3__head > span:last-child{background:var(--ink);color:var(--white)}
.cmp3__row > span:last-child{background:rgba(23,23,22,.03)}
.cmp3__group{padding:12px 18px;background:var(--paper);font-size:13px;font-weight:800;color:var(--muted);border-bottom:1px solid var(--line-2)}
.cmp3 .yes{color:var(--green)}
.cmp3 .no{color:var(--line-3);font-weight:800}
.cmp3__price{font-stretch:66%;font-size:30px;font-weight:800}

/* Score calculator */
.calc{background:var(--white);color:var(--ink);border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;gap:18px;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.calc__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.calc label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800;color:var(--muted)}
.stepper{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:14px;overflow:hidden}
.stepper button{flex:none;width:40px;height:52px;border:0;background:var(--paper);font-family:inherit;font-size:22px;font-weight:700;cursor:pointer;color:var(--ink)}
.stepper button:hover{background:var(--line)}
.stepper input{width:100%;min-width:0;height:52px;border:0;text-align:center;font-family:inherit;font-stretch:70%;font-size:26px;font-weight:800;color:var(--ink);-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.calc__out{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px dashed var(--line-3)}
.calc__out .num{font-size:86px;line-height:.85}
.calc__bar{height:12px;border-radius:6px;background:var(--line-2);overflow:hidden}
.calc__bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--red-light),var(--red));transition:width .3s}
.calc__msg{font-size:15px;color:var(--muted)}
.qbar{display:flex;height:64px;border-radius:16px;overflow:hidden;gap:3px}
.qbar > div{display:flex;flex-direction:column;justify-content:center;padding:0 12px;background:var(--s-bg);color:var(--s-ink);min-width:0}
.qbar b{font-stretch:66%;font-size:28px;line-height:1}
.qbar span{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fmt-table{width:100%;border-collapse:collapse;font-size:16px;background:var(--white);border-radius:20px;overflow:hidden;border:1px solid var(--line)}
.fmt-table th,.fmt-table td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line-2)}
.fmt-table td.r,.fmt-table th.r{text-align:right}
.fmt-table tfoot td{font-weight:800;background:var(--paper)}
.subj-acc{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;align-items:start}
.subj-acc details{background:var(--white);border:1px solid var(--line);border-radius:var(--r-sm);padding:18px 20px}
.subj-acc summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-stretch:74%;font-size:26px;font-weight:800}
.subj-acc summary .tag{font-stretch:100%}
.subj-acc ul{margin:12px 0 0;padding-left:18px;color:var(--muted);font-size:15px;columns:1}
.hz-tl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.hz-tl li{position:relative;padding:36px 14px 0 0;display:flex;flex-direction:column;gap:6px}
.hz-tl li::before{content:"";position:absolute;top:10px;left:0;right:0;height:2px;background:repeating-linear-gradient(90deg,var(--line-3) 0 6px,transparent 6px 11px)}
.hz-tl li::after{content:"";position:absolute;top:3px;left:0;width:16px;height:16px;border-radius:50%;background:var(--white);border:3px solid var(--ink)}
.hz-tl li.is-exam::after{background:var(--red);border-color:var(--red)}
.hz-tl small{font-size:13px;font-weight:800;color:var(--red)}
.hz-tl b{font-stretch:74%;font-size:22px;line-height:1.05;font-weight:800}
.hz-tl p{font-size:14px;color:var(--muted);line-height:1.45}

/* Documentation guide: route + checklist + costs */
.route{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;position:relative}
.route::before{content:"";position:absolute;left:31px;top:20px;bottom:20px;width:2px;background:repeating-linear-gradient(180deg,var(--line-3) 0 7px,transparent 7px 13px)}
.route > li{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px}
.route .dot{position:relative;z-index:1;width:64px;height:64px;border-radius:20px;background:var(--ink);color:var(--white);display:flex;align-items:center;justify-content:center}
.route li.is-exam .dot{background:var(--red)}
.route .card{padding:22px 24px;display:flex;flex-direction:column;gap:8px}
.route .card .meta{display:flex;flex-wrap:wrap;gap:6px}
.route .card h3{font-stretch:74%;font-size:28px;line-height:1.05;font-weight:800}
.route .card ul{margin:4px 0 0;padding-left:18px;color:var(--muted);font-size:15px}
.route .card .tip{margin-top:6px;font-size:14px;color:var(--red-dark);background:var(--red-tint);border-radius:10px;padding:8px 12px}
.route__end{display:flex;align-items:center;gap:14px;padding-left:4px;font-stretch:74%;font-size:26px;font-weight:800}
.route__end .ico{color:var(--red)}
.checklist{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:26px;display:flex;flex-direction:column;gap:14px}
.checklist__top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.checklist__count{font-stretch:66%;font-size:40px;font-weight:800;line-height:1}
.checklist fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.checklist legend{font-size:13px;font-weight:800;color:var(--muted);margin-bottom:6px}
.checklist label{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:12px;background:var(--paper);cursor:pointer;font-size:15px;line-height:1.4}
.checklist label:hover{background:var(--line-2)}
.checklist input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--green)}
.checklist input:checked + span{text-decoration:line-through;color:var(--muted-2)}
.costs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.costs > div{background:var(--white);border:1px solid var(--line);border-radius:var(--r-sm);padding:20px;display:flex;flex-direction:column;gap:6px}
.costs .num{font-size:44px}
.costs p{font-size:14px;color:var(--muted)}
.eu-table{width:100%;border-collapse:collapse;background:var(--white);border:1px solid var(--line);border-radius:20px;overflow:hidden;font-size:16px}
.eu-table th,.eu-table td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--line-2)}
.eu-table thead th{background:var(--paper);font-size:14px}
.eu-table td.nonEU{font-weight:700}

/* Universities */
.uni-explorer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.uni-explorer .mapbox{background-color:var(--ink-2);border-radius:var(--r-lg);padding:18px;border:1px solid rgba(255,255,255,.1)}
.italy--pick .pin{cursor:pointer;outline:none}
.italy--pick .pin circle{transition:r .15s,fill .15s}
.italy--pick .pin:hover circle,.italy--pick .pin:focus circle{fill:var(--red-light)}
.italy--pick .pin.is-on circle{fill:var(--red);stroke:var(--white)}
.italy--pick .pin.is-on text{fill:var(--white)}
.uni-detail{background:var(--white);color:var(--ink);border-radius:var(--r-lg);padding:26px;display:flex;flex-direction:column;gap:16px}
.uni-detail h3{font-stretch:66%;font-size:64px;line-height:.9;font-weight:800}
.uni-detail .unis{display:flex;flex-direction:column;gap:12px}
.uni-detail .u{border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.uni-detail .u b{font-size:18px}
.uni-detail .is-pre,.uni .is-pre{background:var(--ink);color:var(--white)}
.city-chips{display:flex;flex-wrap:wrap;gap:8px}
.city-chips button{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.city-chips button:hover{border-color:var(--ink)}
.howto{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:how}
.howto li{position:relative;background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);padding:58px 20px 20px;display:flex;flex-direction:column;gap:6px;counter-increment:how}
.howto li::before{content:counter(how,decimal-leading-zero);position:absolute;top:16px;left:20px;font-stretch:66%;font-weight:800;font-size:30px;line-height:1;color:var(--red)}
.howto b{font-size:19px;line-height:1.2}
.howto p{font-size:15px;color:var(--muted)}
.city-guide{display:flex;flex-direction:column;gap:44px}
.area-group{display:flex;flex-direction:column;gap:16px}
.area-group[hidden],.city-card[hidden]{display:none}
.area-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;font-stretch:74%;font-size:34px;line-height:1;font-weight:800;padding-bottom:12px;border-bottom:2px solid var(--ink)}
.area-title small{font-stretch:100%;font-size:14px;font-weight:700;color:var(--muted-2)}
.city-card{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px;scroll-margin-top:90px}
.city-card::after{content:"";position:absolute;inset:7px;border:1.5px dashed var(--line-3);border-radius:22px;pointer-events:none;opacity:.55}
.city-card__side{display:flex;flex-direction:column;gap:12px;min-width:0}
.city-card__region{font-size:13px;font-weight:800;color:var(--red);letter-spacing:.02em}
.city-card__name{font-stretch:62%;font-size:clamp(54px,6vw,84px);line-height:.86;font-weight:800;letter-spacing:-.01em}
.city-card__coords{font-size:12px;font-weight:700;color:var(--muted-2);letter-spacing:.06em}
.city-card__about{color:var(--muted);font-size:16px}
.glance,.glance dt,.glance dd,.uni h5,.city-card__name,.area-title{margin:0}
.glance{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.glance > div{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.glance dt{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--muted-2)}
.glance dt svg{color:var(--red);flex:none}
.glance dd{font-size:15px;font-weight:700;line-height:1.3}
.city-card__unis{display:flex;flex-direction:column;gap:12px;min-width:0}
.uni{background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);padding:20px 22px;display:flex;flex-direction:column;gap:12px}
.uni__top{display:flex;flex-direction:column;gap:4px}
.uni__town{font-size:12px;font-weight:800;color:var(--red)}
.uni h5{font-stretch:76%;font-size:26px;line-height:1.05;font-weight:800}
.uni__stats{display:flex;flex-wrap:wrap;gap:10px 28px;padding:12px 0;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.uni__stats > div{display:flex;flex-direction:column;gap:2px}
.uni__stats b{font-stretch:70%;font-size:30px;line-height:1;font-weight:800}
.uni__stats small{font-size:12px;font-weight:700;color:var(--muted-2)}
.uni__note{font-size:15px;color:var(--muted)}
.uni__link{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:15px;font-weight:800;color:var(--ink);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.uni__link:where(:hover){color:var(--red)}
.seat-callout{display:flex;align-items:flex-start;gap:16px;background:var(--ink);color:var(--white);border-radius:var(--r-md);padding:20px 22px}
.seat-callout__tag{flex:none;padding:6px 12px;border-radius:999px;background:var(--red);font-size:13px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.seat-callout p{color:var(--on-dark);font-size:16px}
.seat-callout b{color:var(--white)}
.seat-key{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.seat-key > div{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.seat-key b{font-size:16px}
.seat-key span{font-size:14px;color:var(--muted)}
.uni-table tfoot th,.uni-table tfoot td{background:var(--paper);font-weight:800;border-bottom:0}
.table-scroll{overflow-x:auto;border-radius:20px;border:1px solid var(--line);-webkit-overflow-scrolling:touch}
.uni-table{min-width:940px;overflow:visible;border-collapse:separate;border-spacing:0}
.uni-table{border:0;border-radius:0}
.uni-table thead th{white-space:nowrap}
.uni-table tr > :first-child{position:sticky;left:0;z-index:1;background:var(--white);min-width:200px;box-shadow:1px 0 0 var(--line-2)}
.uni-table thead tr > :first-child,.uni-table tfoot tr > :first-child{background:var(--paper)}
.swipe-hint{display:none;font-size:13px;font-weight:700;color:var(--muted-2)}
.uni-table tbody th{font-weight:700}
.uni-table td a{color:var(--ink);font-weight:600}
.uni-table .num-cell{font-weight:800}
.uni-table .pre-yes{display:inline-block;padding:3px 9px;border-radius:8px;background:var(--ink);color:var(--white);font-size:13px;font-weight:700}
.facts-row{display:flex;flex-wrap:wrap;gap:8px}
.facts-row span{padding:5px 10px;border-radius:10px;background:var(--paper);font-size:13px;font-weight:700}
.legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14px;color:var(--muted)}

/* Resources */
.dl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dl{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;align-items:start;background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);padding:22px;text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
.dl:hover{border-color:var(--ink);transform:translateY(-2px);color:var(--ink)}
.dl .file{width:72px;height:88px;border-radius:8px 22px 8px 8px;background:var(--s-bg);color:var(--s-ink);display:flex;align-items:flex-end;justify-content:center;padding-bottom:10px;font-size:12px;font-weight:800;position:relative}
.dl .file::before{content:"";position:absolute;top:0;right:0;width:22px;height:22px;background:rgba(0,0,0,.08);border-radius:0 0 0 8px}
.dl b{display:block;font-stretch:74%;font-size:28px;line-height:1.05;font-weight:800}
.dl p{font-size:15px;color:var(--muted);margin-top:6px}
.dl .go{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:15px;font-weight:700}

/* Session */
.cal-ticket{background:var(--white);color:var(--ink);border-radius:24px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.75);transform:rotate(2deg);max-width:420px;margin-left:auto}
.cal-ticket__top{background:var(--red);color:var(--white);padding:14px 20px;display:flex;justify-content:space-between;font-weight:800;font-size:14px}
.cal-ticket__body{padding:22px 22px 18px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:center}
.cal-ticket .day{border:2px solid var(--ink);border-radius:16px;text-align:center;overflow:hidden}
.cal-ticket .day small{display:block;background:var(--ink);color:var(--white);font-size:12px;font-weight:800;padding:4px}
.cal-ticket .day b{display:block;font-stretch:62%;font-size:58px;line-height:1.05;font-weight:800}
.cal-ticket ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}
.cal-ticket li{display:flex;gap:10px;align-items:center}
.cal-ticket__foot{border-top:2px dashed var(--line-3);padding:14px 22px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
.cal-ticket__foot b{font-stretch:66%;font-size:34px;color:var(--ink)}
.topics8{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.topics8 > div{background:var(--white);border:1px solid var(--line);border-radius:var(--r-sm);padding:20px;display:flex;flex-direction:column;gap:8px}
.topics8 .ic{width:44px;height:44px;border-radius:12px;background:var(--paper);display:flex;align-items:center;justify-content:center}
.topics8 b{font-stretch:74%;font-size:23px;line-height:1.05;font-weight:800}
.topics8 p{font-size:14px;color:var(--muted)}

/* Journey */
.chapter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.chapter--flip > :first-child{order:2}
.chapter__year{font-stretch:62%;font-size:clamp(80px,9vw,140px);font-weight:800;line-height:.8;color:var(--red)}
.polaroid{background:var(--white);padding:12px 12px 44px;border-radius:4px;box-shadow:0 30px 50px -24px rgba(0,0,0,.45);position:relative;transform:rotate(var(--r,-3deg))}
.polaroid img{display:block;width:100%;height:auto;aspect-ratio:var(--ar,4/5);object-fit:cover;border-radius:2px}
.chapter .polaroid{width:100%}
.polaroid figcaption{position:absolute;left:14px;right:14px;bottom:12px;font-size:14px;font-weight:700;color:var(--ink);text-align:center}
.polaroid .tape{position:absolute;top:-12px;left:50%;width:96px;height:26px;transform:translateX(-50%) rotate(-4deg);background:rgba(255,255,255,.55);border:1px solid rgba(0,0,0,.06);box-shadow:0 2px 4px rgba(0,0,0,.08);backdrop-filter:blur(1px)}
.photo-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px;padding:10px}
.photo-wall .polaroid:nth-child(3n+1){--r:-3deg}.photo-wall .polaroid:nth-child(3n+2){--r:2.5deg}.photo-wall .polaroid:nth-child(3n){--r:-1.5deg}
.photo-wall .polaroid{--ar:1/1}
.video-facade{position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:var(--r-md);overflow:hidden;background:var(--ink) center/cover no-repeat;border:0;cursor:pointer;padding:0;box-shadow:0 40px 80px -30px rgba(0,0,0,.7)}
.video-facade .play{position:absolute;left:50%;top:50%;width:84px;height:84px;border-radius:50%;background:var(--red);color:var(--white);display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);box-shadow:0 0 0 10px rgba(207,27,35,.25)}
.video-facade .cap{position:absolute;left:18px;bottom:16px;right:18px;color:var(--white);font-weight:700;text-align:left;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.video-facade iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.journey-quote{font-stretch:72%;font-size:clamp(34px,3.6vw,52px);line-height:1;font-weight:800}

@media (min-width:961px){.sticky-col{position:sticky;top:24px}}
.bg-deep .plan__price::before,.bg-deep .plan__price::after{background:var(--deep);border-color:var(--deep)}
/* Legal */
.legal{max-width:760px}
.legal h2{font-stretch:74%;font-size:32px;line-height:1.05;font-weight:800;margin:36px 0 10px}
.legal p,.legal li{color:var(--muted)}
.legal ul{padding-left:20px}
.legal p+p{margin-top:10px}

/* QR */
.qr-card{display:flex;gap:18px;align-items:center;background:var(--white);color:var(--ink);border-radius:var(--r-md);padding:18px;max-width:420px;box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.qr-card .qr{flex:none;width:132px;height:132px;border-radius:10px}
.qr-card b{display:block;font-stretch:74%;font-size:24px;line-height:1.05;font-weight:800}
.qr-card p{font-size:14px;color:var(--muted);margin-top:6px}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1080px){
  .hz-tl{grid-template-columns:1fr}
  .hz-tl li{padding:0 0 22px 34px}
  .hz-tl li::before{top:0;bottom:0;left:7px;right:auto;width:2px;height:auto;background:repeating-linear-gradient(180deg,var(--line-3) 0 6px,transparent 6px 11px)}
  .hz-tl li::after{top:2px}
  .topics8{grid-template-columns:repeat(2,minmax(0,1fr))}
  .costs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .timeline{grid-template-columns:1fr;gap:0}
  .timeline li{padding:0 0 24px 34px}
  .timeline li::before{top:0;bottom:0;left:7px;right:auto;width:2px;height:auto}
  .timeline li:last-child::before{display:none}
  .timeline li::after{top:2px}
  .res-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:960px){
  .uni-explorer{grid-template-columns:1fr}
  .howto{grid-template-columns:1fr 1fr}
  .city-card{grid-template-columns:1fr;gap:22px}
  .chapter{grid-template-columns:1fr;gap:32px}
  .chapter--flip > :first-child{order:0}
  .dl-grid{grid-template-columns:1fr}
  .cmp3__row{grid-template-columns:minmax(0,1fr) repeat(3,92px)}
  .plans{grid-template-columns:1fr}
  .notes{grid-template-columns:1fr}
  .start3{grid-template-columns:1fr}
  .loop4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .loop4 > div:nth-child(2)::after{display:none}
  .trail{display:none}
  .doc-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fact--big,.fact--map{grid-column:span 2;grid-row:auto}
  .loop{grid-template-columns:1fr}
  .menu-btn{display:inline-flex}
  .site-nav{display:none;order:3;width:100%;flex-direction:column;align-items:flex-start;gap:0;padding:8px 0 4px;border-top:1px solid var(--line)}
  .site-nav.open{display:flex}
  .site-nav a{display:block;width:100%;padding:12px 2px;font-size:17px}
  .site-nav a[aria-current="page"]{padding:12px 2px;border-bottom:0;color:var(--red)}
  .join-btn{margin-left:auto}
}
@media (max-width:640px){
  .swipe-hint{display:block}
  .uni-table tr > :first-child{min-width:150px;max-width:170px}
  .seat-callout{flex-direction:column;gap:10px}
  .seat-key{grid-template-columns:1fr}
  .howto{grid-template-columns:1fr}
  .howto li{padding:18px 18px 18px 64px}
  .howto li::before{top:18px;left:18px}
  .city-card{padding:20px 16px}
  .city-card::after{inset:5px;border-radius:20px}
  .uni{padding:18px}
  .uni h5{font-size:24px}
  .area-title{font-size:28px}
  .uni-detail h3{font-size:52px}
  .sec{padding-top:64px;padding-bottom:72px}
  .join-btn{display:none}
  .site-nav .nav-join{display:block;margin:8px 0 6px;padding:14px 20px;width:100%;border-radius:999px;background:var(--ink);color:var(--white);text-align:center;font-weight:700}
  .site-nav .nav-join:hover{color:var(--white);background:var(--red)}
  .hero-card{margin-left:0;padding:22px 18px 56px}
  .hero-card__head{padding-right:92px;flex-wrap:wrap;gap:6px 10px}
  .subj-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
  .subj-mini > div{min-height:78px}
  .teacher{flex:0 1 calc(50% - 9px)}
  .sticky-actions{width:100%;flex-wrap:nowrap}
  .sticky-actions .btn{padding:0 16px;white-space:nowrap}
  .sticky-actions .btn--wa{flex:1}
  .compare-wrap{overflow:visible}
  .compare{min-width:0;display:block}
  .compare thead{display:none}
  .compare tbody{display:block}
  .compare tr{display:grid;grid-template-columns:1fr;border-bottom:1px solid var(--line)}
  .compare tr:last-child{border-bottom:0}
  .compare tbody th{padding:18px 18px 8px;border:0;font-size:17px}
  .compare td{display:block;padding:10px 18px;border:0}
  .compare td.is-us{margin:0 12px 14px;border-radius:14px}
  .compare td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted-2)}
  .compare td.is-us::before{color:var(--green)}
  .sticky-info{display:none}
  .sticky-bar .wrap{justify-content:center}
  .t-feature{padding:26px}
  .t-feature__score{border-left:0;padding-left:0}
  .price-card{padding:28px 22px}
  .finder{padding:22px 18px;min-height:0}
  .finder__head{padding-right:96px}
  .finder .stamp{width:96px;height:96px;right:-6px}
  .finder .stamp b{font-size:30px}
  .facts{grid-template-columns:1fr}
  .fact--big,.fact--map{grid-column:auto}
  .funnel div{padding:14px 16px;font-size:15px}
  .funnel div:nth-child(2){width:90%}
  .funnel div:nth-child(3){width:80%}
  .funnel div:nth-child(4){width:70%}
  .res-grid{grid-template-columns:1fr}
  .plan{padding:24px 20px}
  .halves{grid-template-columns:1fr}
  .cmp3__row{grid-template-columns:minmax(0,1fr) repeat(3,56px)}
  .cmp3__row > *{padding:12px 8px}
  .cmp3__row > span:first-child{padding-left:14px;font-size:14px}
  .cmp3__head > span:not(:first-child){font-size:12px}
  .cmp3__price{font-size:20px}
  .calc__row{grid-template-columns:1fr}
  .topics8,.costs{grid-template-columns:1fr}
  .photo-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;padding:0}
  .qbar{height:auto;flex-wrap:wrap}
  .qbar > div{flex:1 1 30% !important;padding:10px}
  .route::before{left:23px}
  .route > li{grid-template-columns:48px minmax(0,1fr);gap:12px}
  .route .dot{width:48px;height:48px;border-radius:14px}
  .cal-ticket{transform:none;margin:0}
  .chapter .polaroid{max-width:92% !important}
  .fact .corner-ic{display:none}
  .ticket{transform:none;flex-direction:column}
  .ticket__stub{width:auto;border-left:0;border-top:2px dashed var(--line-3);flex-direction:row}
  .barcode{width:120px;height:40px}
  .ticket__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket__route b{font-size:48px}
  .sticker{width:86px;height:86px;font-size:11px;right:4px !important;top:-30px !important}
  .sticker b{font-size:28px}
  .rank-card{margin:-40px 8px 0 -6px}
  .founder-hero .stamp{width:92px;height:92px;right:-4px}
  .founder-hero .frame--portrait{width:88%}
  .founder-hero .hero-snap{width:50%;left:-4px;bottom:44px;padding:5px 5px 36px}
  .founder-hero .hero-snap figcaption{font-size:11px;line-height:1.25;bottom:6px;left:6px;right:6px}
  .founder-hero .stamp b{font-size:26px}
  .founder-hero .frame .chip{font-size:12px;max-width:60%;white-space:normal;line-height:1.3}
  .loop4{grid-template-columns:1fr}
  .loop4 > div:not(:last-child)::after{right:auto;left:50%;top:auto;bottom:-15px;transform:translateX(-50%) rotate(90deg)}
  .ticket__stub::before,.ticket__stub::after{display:none}
  .t-card .t-svc{padding-right:0;padding-bottom:44px}
  .doc-steps{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important;animation:none !important}.reveal{opacity:1;transform:none}.ticker{overflow-x:auto}}
