/* ===== Travfluent — brand palette, 2026-09-18 =====
   ink #1A1D21 · terracotta #BE4F2C · light terracotta #E08A62 · paper #FFFFFF */
:root{
  --ground:#1A1D21; --panel:#23272C; --paper:#23272C;
  --ink:#FFFFFF; --soft:#9C968D; --hair:#32373D;
  --brand:#BE4F2C; --brand-lt:#E08A62; --deep:#FFFFFF;
  --tile:#212529; --lock:#5F646B;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --ground:#1A1D21; --panel:#23272C; --paper:#23272C;
  --ink:#FFFFFF; --soft:#9C968D; --hair:#32373D;
  --brand:#BE4F2C; --brand-lt:#E08A62; --deep:#FFFFFF;
  --tile:#212529; --lock:#5F646B;
}}
:root[data-theme="dark"]{
  --ground:#1A1D21; --panel:#23272C; --paper:#23272C;
  --ink:#FFFFFF; --soft:#9C968D; --hair:#32373D;
  --brand:#BE4F2C; --brand-lt:#E08A62; --deep:#FFFFFF;
  --tile:#212529; --lock:#5F646B;
}
*{box-sizing:border-box}
body{margin:0;background:var(--ground);color:var(--ink);
  font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:16px;line-height:1.55;
  -webkit-font-smoothing:antialiased}
a{color:inherit}
.wrap{max-width:60rem;margin:0 auto;padding-inline:16px;padding-block:0 72px}

/* masthead */
.bar{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;
  padding-block:22px 0;max-width:60rem;margin:0 auto;padding-inline:16px}
.brand{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-weight:600;font-size:1.25rem;
  letter-spacing:-.01em;text-decoration:none}
.bar nav{margin-left:auto;display:flex;gap:18px;font-size:13.5px}
.bar nav a{color:var(--soft);text-decoration:none}
.bar nav a:hover,.bar nav a[aria-current]{color:var(--ink)}

/* hero */
.hero{padding-block:clamp(40px,9vw,88px) 8px;max-width:38rem}
.hero h1{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-weight:600;
  font-size:clamp(2.1rem,6.5vw,3.4rem);line-height:1.04;letter-spacing:-.02em;
  margin:0 0 18px;text-wrap:balance}
.hero p{font-size:1.1rem;color:var(--soft);margin:0 0 14px}
.hero .lede{color:var(--ink)}
.cta{display:inline-flex;align-items:center;gap:8px;margin-top:18px;
  background:var(--deep);color:var(--ground);text-decoration:none;border:0;
  font-size:14.5px;font-weight:600;padding:11px 20px;border-radius:999px}
.cta:hover{background:var(--brand)}
.cta.ghost{background:none;color:var(--soft);border:1px solid var(--hair);margin-left:8px}
.cta.ghost:hover{color:var(--ink);border-color:var(--brand);background:none}

/* how it works */
.how{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:14px;margin-top:56px;padding-top:34px;border-top:1px solid var(--hair)}
.how h2{grid-column:1/-1;font-size:11px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--soft);margin:0 0 4px}
.how section{background:var(--panel);border:1px solid var(--hair);
  border-radius:10px;padding:18px 18px 20px}
.how h3{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-size:1.12rem;font-weight:600;margin:0 0 7px}
.how p{margin:0;font-size:14px;color:var(--soft)}
.how .num{font-size:11px;font-weight:700;color:var(--brand);
  letter-spacing:.1em;display:block;margin-bottom:9px}

/* languages strip */
.langs{margin-top:44px;padding-top:30px;border-top:1px solid var(--hair)}
.langs h2{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--soft);margin:0 0 14px}
.langs .langnote{margin:0 0 14px;font-size:14px;color:var(--soft);max-width:34rem}
.langs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.langs li{background:var(--tile);border:1px solid var(--hair);border-radius:999px;
  padding:6px 14px;font-size:13.5px}
.langs li.more{background:none;border-style:dashed;border-color:var(--brand-lt);color:var(--brand-lt);font-weight:600}
.langs li b{font-weight:500;font-family:"Noto Sans JP","Noto Sans SC","Noto Naskh Arabic",inherit;
  color:var(--deep);margin-right:7px}

/* lesson index */
.idx-head{padding-block:clamp(32px,7vw,64px) 6px;max-width:38rem}
.idx-head h1{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-weight:600;
  font-size:clamp(1.9rem,5.5vw,2.7rem);line-height:1.06;margin:0 0 12px;letter-spacing:-.015em}
.idx-head p{color:var(--soft);margin:0}
.act{margin-top:38px}
.act > h2{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--soft);margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid var(--hair)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:10px}
.card{background:var(--panel);border:1px solid var(--hair);box-shadow:0 1px 2px rgba(0,0,0,.28);border-radius:10px;
  padding:15px 16px 16px;display:block;text-decoration:none;position:relative}
.card .n{font-size:10.5px;font-weight:700;letter-spacing:.1em;color:var(--soft)}
.card h3{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-size:1.1rem;font-weight:600;
  margin:5px 0 6px;line-height:1.25}
.card p{margin:0;font-size:13.5px;color:var(--soft)}
.card .tag{display:inline-block;margin-top:11px;font-size:10.5px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase}
a.card{border-color:var(--deep)}
a.card:hover{border-color:var(--brand)}
a.card .n,a.card .tag{color:var(--brand-lt)}
.card.locked{background:var(--tile);border-style:dashed}
.card.locked h3,.card.locked .n{color:var(--lock)}
.card.locked p{color:var(--lock)}
.card.locked .tag{color:var(--brand-lt);opacity:.75}

.note{margin-top:34px;padding:18px 20px;background:var(--panel);
  border:1px solid var(--hair);border-radius:10px;font-size:14px;color:var(--soft);
  max-width:40rem}
.note b{color:var(--ink)}

footer.site{max-width:60rem;margin:0 auto;padding:26px 16px 60px;
  border-top:1px solid var(--hair);color:var(--soft);font-size:12.5px;
  display:flex;gap:18px;flex-wrap:wrap}
footer.site a{color:var(--soft)}
.back{text-decoration:none;color:var(--brand-lt);font-weight:600}

/* ============ hero, rebuilt ============ */
.hero2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;
  align-items:center;padding-block:clamp(36px,7vw,80px) 10px}
.hero2 .copy{max-width:31rem}
.hero2 h1{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-weight:600;
  font-size:clamp(2.2rem,4.6vw,3.5rem);line-height:1.02;letter-spacing:-.025em;
  margin:0 0 20px;text-wrap:balance}
.hero2 h1 em{font-style:normal;color:var(--deep)}
.hero2 .lede{font-size:1.12rem;color:var(--ink);margin:0 0 12px}
.hero2 p{color:var(--soft);margin:0 0 10px;font-size:1rem}
.hero2 .buttons{margin-top:24px;display:flex;gap:10px;flex-wrap:wrap}

/* the same sentence, nine ways */
.stack{position:relative;border-left:2px solid var(--hair);padding-left:22px}
.stack .en{font-family:'Instrument Serif',Fraunces,Georgia,serif;font-size:1rem;color:var(--soft);
  margin:0 0 16px;font-style:italic}
.stack ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.stack li{display:flex;align-items:baseline;gap:14px}
.stack .lab{flex:0 0 5.4rem;font-size:10px;font-weight:700;letter-spacing:.11em;
  text-transform:uppercase;color:var(--soft);text-align:right}
.stack .say{font-size:1.32rem;line-height:1.25;color:var(--ink)}
.stack li:nth-child(odd) .say{color:var(--deep)}
.stack .jp{font-family:"Noto Sans JP",sans-serif}
.stack .sc{font-family:"Noto Sans SC",sans-serif}
.stack .ar{font-family:"Noto Naskh Arabic",serif;direction:rtl;font-size:1.44rem}

/* the rhythm band */
.rhythm{margin-top:clamp(44px,8vw,86px);padding:30px 30px 34px;
  background:var(--tile);border:1px solid var(--hair);border-radius:14px}
.rhythm h2{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--soft);margin:0 0 6px}
.rhythm > p{margin:0 0 22px;color:var(--soft);font-size:14.5px;max-width:38rem}
.track{display:flex;align-items:stretch;gap:5px;min-height:52px}
.seg{border-radius:7px;display:flex;flex-direction:column;justify-content:center;
  padding:9px 12px;font-size:11.5px;line-height:1.35}
.seg b{display:block;font-size:10px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;margin-bottom:3px}
.seg.voice{background:var(--deep);color:#fff}
.seg.voice b{color:rgba(255,255,255,.72)}
.seg.gap{background:var(--panel);border:1px dashed var(--brand);color:var(--brand)}
.seg.gap b{color:var(--brand-lt)}
.seg.en{background:var(--panel);border:1px solid var(--hair);color:var(--soft)}
.seg.en b{color:var(--ink)}
.rhythm .legend{margin:14px 0 0;font-size:13px;color:var(--soft)}

@media (max-width:880px){
  .hero2{grid-template-columns:1fr;gap:34px}
  .stack{border-left:none;padding-left:0;border-top:2px solid var(--hair);padding-top:22px}
  .track{flex-direction:column}
  .seg{min-height:0}
}

/* ===== wordmark ===== */
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.mark{width:30px;height:30px;border-radius:8px;flex:0 0 auto;display:block}
.wm{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:500;font-size:1.32rem;
  letter-spacing:-.012em;color:var(--ink);line-height:1;white-space:nowrap}
.wm .v{color:var(--brand)}
.wm .fl{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;
  font-size:1.14em;letter-spacing:0}
.tagline{font-family:'Space Grotesk',system-ui,sans-serif;font-size:10px;font-weight:500;
  letter-spacing:.17em;text-transform:uppercase;color:var(--soft);margin:5px 0 0}

/* ===== hero ===== */
.hero2 h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-.01em}
.hero2 h1 em{font-style:italic;color:var(--brand-lt)}
.cta{background:var(--brand);color:#fff;font-family:'Space Grotesk',sans-serif}
.cta:hover{background:var(--brand-lt);color:#1A1D21}
.cta.ghost{background:none;color:var(--ink);border:1px solid var(--hair)}
.cta.ghost:hover{background:none;color:var(--brand);border-color:var(--brand)}
.stack li:nth-child(odd) .say{color:var(--brand-lt)}
.seg.voice{background:var(--brand);color:#FFFFFF}
.seg.gap{border-color:var(--brand-lt);color:var(--brand-lt)}
a.card{border-color:var(--hair)}
a.card:hover{border-color:var(--brand);box-shadow:0 2px 14px rgba(190,79,44,.28)}
.langs li b{color:var(--brand-lt)}
.card h3,.hero2 h1,.idx-head h1,.how h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400}
.card h3{font-size:1.22rem}
.how h3{font-size:1.28rem}

/* three steps, with marks */
.how.three{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.how.three section{padding:24px 22px 26px;text-align:left}
.ic{display:block;margin:0 0 14px}
.ico{width:38px;height:38px;color:var(--brand);display:block}
.how.three h3{margin:0 0 9px;font-size:1.34rem}
.how.three p{font-size:14.5px;line-height:1.6}


/* ===== homepage, rebuilt 2026-09 ===== */
.hero3{padding-block:clamp(44px,9vw,96px) 6px;max-width:34rem}
.hero3 h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(2.3rem,5.4vw,3.7rem);line-height:1.02;letter-spacing:-.022em;
  margin:0;text-wrap:balance}
.hero3 h1 em{font-style:italic;color:var(--brand-lt)}
.hero3 .buttons{margin-top:26px;display:flex;gap:10px;flex-wrap:wrap}

/* four boxes */
.how.four{grid-template-columns:repeat(auto-fit,minmax(198px,1fr));gap:12px}
.how.four section{padding:22px 20px 24px;text-align:left}
.how.four h3{margin:0 0 8px;font-size:1.2rem}
.how.four p{font-size:14px;line-height:1.55}
.how.four section.next{background:#2A211D;border-color:var(--brand)}
.how.four section.next .ico{color:var(--brand-lt)}
.how.four section.next h3{color:var(--brand-lt)}

/* features */
.feat{margin-top:52px;padding:30px 30px 34px;background:var(--tile);
  border:1px solid var(--hair);border-radius:14px}
.feat h2{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--soft);margin:0 0 22px}
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(238px,1fr));gap:26px}
.fgrid section{margin:0}
.feat .fic{display:flex;align-items:center;justify-content:center;
  width:74px;height:74px;border-radius:20px;background:var(--brand);color:#fff;
  margin:0 0 16px}
.fgrid section:nth-child(2) .fic{background:var(--brand-lt);color:#1A1D21}
.fgrid section:nth-child(3) .fic{background:var(--ink);color:var(--brand)}
.fgrid section:nth-child(4) .fic{background:#EFEDE8;color:var(--ink)}
.feat .fico{width:46px;height:46px;display:block}
.fgrid h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.3rem;
  line-height:1.18;margin:0 0 9px;color:var(--ink);text-wrap:balance}
.fgrid p{margin:0;font-size:14.5px;line-height:1.6;color:var(--soft)}
@media (max-width:620px){.feat{padding:24px 20px 26px}.fgrid{gap:22px}}

.hero2.intro{align-items:start;padding-block:6px 0;gap:44px}
.hero2.intro .copy .lede{font-size:1.16rem;margin-top:0}
.hero2.intro .stack{padding-top:2px}

/* how-it-works: white cards on the dark ground */
.how.four section{background:#FFFFFF;border:1px solid #FFFFFF;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.how.four h3{color:#1A1D21}
.how.four p{color:#5C6169}
.how.four .ico{color:var(--brand)}
.how.four section.next{background:#FFFFFF;border:2px solid var(--brand);padding:21px 19px 23px}
.how.four section.next h3{color:var(--brand)}
.how.four section.next .ico{color:var(--brand)}
.how.four section.next p{color:#5C6169}

/* masthead logo up, hero tagline down */
.mark{width:44px;height:44px;border-radius:12px}
.wm{font-size:1.86rem}
.bar{align-items:center;padding-block:26px 0}
.hero3{padding-block:clamp(36px,7vw,72px) 6px;max-width:31rem}
.hero3 h1{font-size:clamp(1.85rem,3.7vw,2.6rem);line-height:1.08}

/* real logo lockup in the masthead */
.brand{gap:12px}
.mark{width:auto;height:56px;border-radius:0;flex:0 0 auto;display:block}
.wmi{height:28px;width:auto;display:block}
@media (max-width:520px){.mark{height:46px}.wmi{height:23px}}

/* lockup tagline */
.brand{align-items:center}
.lock{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.tag{font-family:'Space Grotesk',system-ui,sans-serif;font-size:8.5px;font-weight:500;
  letter-spacing:.19em;text-transform:uppercase;color:var(--soft);line-height:1;white-space:nowrap}
@media (max-width:520px){.tag{font-size:7.5px;letter-spacing:.16em}}

/* features: orange / white / orange boxes */
.feat{background:none;border:0;border-top:1px solid var(--hair);
  margin-top:52px;padding:30px 0 0}
.feat .fgrid{grid-template-columns:repeat(auto-fit,minmax(238px,1fr));gap:12px}
.feat .fgrid section{border-radius:10px;padding:24px 22px 26px;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.feat .fgrid section:nth-child(1),
.feat .fgrid section:nth-child(3){background:var(--brand)}
.feat .fgrid section:nth-child(2){background:#FFFFFF}
.feat .fgrid section .fic{background:none;width:auto;height:auto;
  border-radius:0;display:block;margin:0 0 14px;box-shadow:none}
.feat .fgrid section .fico{width:44px;height:44px}
.feat .fgrid section:nth-child(1) .fic,
.feat .fgrid section:nth-child(3) .fic{color:#FFFFFF}
.feat .fgrid section:nth-child(2) .fic{color:var(--brand)}
.feat .fgrid section:nth-child(1) h3,
.feat .fgrid section:nth-child(3) h3{color:#FFFFFF}
.feat .fgrid section:nth-child(1) p,
.feat .fgrid section:nth-child(3) p{color:rgba(255,255,255,.9)}
.feat .fgrid section:nth-child(2) h3{color:#1A1D21}
.feat .fgrid section:nth-child(2) p{color:#5C6169}

/* hero tagline centered */
.hero3{max-width:none;text-align:center;padding-block:clamp(48px,9vw,96px) 8px}
.hero3 h1{margin-inline:auto;max-width:22ch}
.hero3 .buttons{justify-content:center;margin-top:30px}

/* tighten the top of the page */
.hero3{padding-block:clamp(24px,4vw,46px) 0}
.hero3 .buttons{margin-top:28px}
.how{margin-top:30px;padding-top:26px}


.hero3 h1 em{font-style:normal}
.hero3 h1 .you{color:var(--ink);font-style:italic}

/* how it works — orange / white / orange */
.how.trio{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.how.trio section{border:0;border-radius:10px;padding:24px 22px 26px;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.how.trio section:nth-of-type(1),
.how.trio section:nth-of-type(3){background:var(--brand)}
.how.trio section:nth-of-type(2){background:#FFFFFF}
.how.trio .ico{width:42px;height:42px}
.how.trio h3{font-size:1.28rem;margin:0 0 9px}
.how.trio p{font-size:14.5px;line-height:1.6;margin:0}
.how.trio section:nth-of-type(1) .ico,
.how.trio section:nth-of-type(3) .ico{color:#FFFFFF}
.how.trio section:nth-of-type(1) h3,
.how.trio section:nth-of-type(3) h3{color:#FFFFFF}
.how.trio section:nth-of-type(1) p,
.how.trio section:nth-of-type(3) p{color:rgba(255,255,255,.9)}
.how.trio section:nth-of-type(2) .ico{color:var(--brand)}
.how.trio section:nth-of-type(2) h3{color:#1A1D21}
.how.trio section:nth-of-type(2) p{color:#5C6169}

/* where to next — one wide box */
.nextbox{margin-top:30px;padding-top:26px;border-top:1px solid var(--hair)}
.nextbox .inner{background:#FFFFFF;border:2px solid var(--brand);border-radius:12px;
  padding:26px 30px;display:flex;align-items:center;gap:24px;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.nextbox .ic{display:block;flex:0 0 auto}
.nextbox .ico{width:52px;height:52px;color:var(--brand);display:block}
.nextbox h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:1.62rem;margin:0 0 6px;color:var(--brand);line-height:1.15}
.nextbox p{margin:0;font-size:15px;line-height:1.6;color:#5C6169;max-width:60ch}
@media (max-width:560px){.nextbox .inner{flex-direction:column;align-items:flex-start;gap:14px}}

/* where to next — orange */
.nextbox .inner{background:var(--brand);border-color:var(--brand)}
.nextbox .ico{color:#FFFFFF}
.nextbox h3{color:#FFFFFF}
.nextbox p{color:rgba(255,255,255,.9)}

.nextbox h2{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--soft);margin:0 0 16px}
.nextbox .inner{padding:24px 30px}
.nextbox p{font-size:1.06rem;line-height:1.55;color:#FFFFFF;max-width:64ch}

/* any language — white box */
.langs .inner{background:#FFFFFF;border-radius:12px;padding:24px 28px 26px;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.langs .inner .langnote{color:#5C6169;margin:0 0 16px;max-width:60ch}
.langs .inner li{background:#FFFFFF;border:1px solid #DFDCD6;color:#1A1D21}
.langs .inner li b{color:var(--brand)}
.langs .inner li.more{background:none;border-style:dashed;border-color:var(--brand);
  color:var(--brand);font-weight:600}

.langs .inner{padding:22px 28px 24px}
.langs .inner ul{margin:0}

/* How it Works — big centered title */
.how.trio h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.015em;text-transform:none;
  color:var(--ink);text-align:center;line-height:1.1;margin:4px 0 26px}

/* rearrange mode */
.editbar{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;align-items:center;
  gap:10px;padding-bottom:env(safe-area-inset-bottom,0px)}
.editbar button{font:inherit;font-size:13px;font-weight:600;font-family:'Space Grotesk',sans-serif;
  background:var(--brand);color:#FFFFFF;border:0;border-radius:999px;padding:9px 18px;cursor:pointer;
  box-shadow:0 3px 16px rgba(0,0,0,.45)}
.editbar button:hover{background:var(--brand-lt);color:#1A1D21}
.editbar .hint{font-size:12px;color:var(--soft);background:var(--panel);
  border:1px solid var(--hair);border-radius:999px;padding:6px 12px}
.editbar .hint:empty{display:none}
body.editing [data-block],body.editing [data-card]{cursor:grab;outline:1px dashed var(--brand-lt);
  outline-offset:6px;border-radius:10px}
body.editing [data-block]:hover,body.editing [data-card]:hover{outline-style:solid}
.dragging{opacity:.45}
.dropping{outline:2px solid var(--brand)!important}

/* how it works — stacked full-width rows */
.how.trio{grid-template-columns:1fr;gap:12px}
.how.trio section{display:grid;grid-template-columns:auto minmax(0,1fr);
  column-gap:26px;row-gap:5px;align-items:center;padding:24px 28px}
.how.trio .ic{grid-row:1/3;align-self:center;margin:0}
.how.trio .ico{width:46px;height:46px}
.how.trio h3{grid-column:2;margin:0;font-size:1.34rem}
.how.trio p{grid-column:2;margin:0;max-width:64ch}
@media (max-width:560px){
  .how.trio section{grid-template-columns:1fr;row-gap:10px}
  .how.trio .ic{grid-row:auto}
  .how.trio h3,.how.trio p{grid-column:1}
}

/* language pills inside the first step */
.how.trio .ic{grid-row:1/-1}
.picklangs{grid-column:2;margin:14px 0 0}
.picklangs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
.picklangs li{border-radius:999px;padding:5px 13px;font-size:13px;line-height:1.4}
.picklangs li b{font-weight:500;margin-right:6px;
  font-family:"Noto Sans JP","Noto Sans SC","Noto Naskh Arabic",inherit}
@media (max-width:560px){.picklangs{grid-column:1}}

/* language pills: always white */
.how.trio section .picklangs li{background:#FFFFFF;border:1px solid #DFDCD6;color:#1A1D21}
.how.trio section .picklangs li b{color:var(--brand)}
.how.trio section .picklangs li.more{background:#FFFFFF;border:1px dashed var(--brand);
  color:var(--brand);font-weight:600}

/* pills live in their own white panel */
.picklangs{background:#FFFFFF;border-radius:10px;padding:16px 18px;margin-top:16px}

/* even grid of language cells */
.picklangs ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.picklangs li{display:flex;align-items:center;justify-content:center;
  text-align:center;padding:7px 10px;white-space:nowrap}
.picklangs li.more{grid-column:1/-1}
@media (max-width:900px){.picklangs ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.picklangs ul{grid-template-columns:repeat(2,minmax(0,1fr))}}

.picklangs ul{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:560px){.picklangs ul{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* three acts */
.acts{margin-top:38px;padding-top:34px;border-top:1px solid var(--hair)}
.acts h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.015em;color:var(--ink);
  text-align:center;line-height:1.1;margin:0 0 26px}
.actgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.actgrid section{background:#FFFFFF;border-radius:10px;padding:24px 22px 26px;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.actgrid .n{display:block;font-size:10.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--brand);margin-bottom:10px}
.actgrid h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.34rem;
  color:#1A1D21;margin:0 0 9px;line-height:1.2}
.actgrid p{margin:0;font-size:14.5px;line-height:1.6;color:#5C6169}
.acts .repeat{margin:22px 0 0;text-align:center;
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-size:clamp(1.2rem,2.2vw,1.6rem);color:var(--brand-lt);line-height:1.3}

/* the dialogue page runs light */
body.lightpage{
  --ground:#FFFFFF; --panel:#FFFFFF; --paper:#FFFFFF;
  --ink:#1A1D21; --soft:#5C6169; --hair:#E4E0D8;
  --brand:#BE4F2C; --brand-lt:#BE4F2C; --deep:#1A1D21;
  --tile:#F4F3F0; --lock:#B6B2AA;
  --you:#1F4E5F; --them:#8C4A2F;
  --you-wash:#F5F9FA; --them-wash:#FDF6F2; --accent:#B4703E;
  --chip:#FFFFFF; --chip-on:#1B1A17; --chip-ink:#4A463F; --chip-on-ink:#F7F4EE;
  --kanji:#1F4E5F; --kana:#2F6FB5; --kata:#B07C4E;
  background:#FFFFFF;color:#1A1D21;
}
body.lightpage .seg.voice{background:#1A1D21;color:#FFFFFF}
body.lightpage .seg.voice b{color:rgba(255,255,255,.72)}
body.lightpage a.card{box-shadow:0 1px 2px rgba(17,18,19,.06)}

/* the loop card + the payoff line */
.actgrid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.actgrid section.loop{background:var(--brand);display:flex;flex-direction:column;
  justify-content:center}
.actgrid section.loop .n{color:#FFDCCB}
.actgrid section.loop p{font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-size:1.5rem;line-height:1.25;color:#FFFFFF}
.acts .payoff{margin:30px 0 0;text-align:center;line-height:1.15;
  font-size:clamp(2rem,4.6vw,3.2rem);color:var(--ink);text-wrap:balance}
.acts .payoff .tw{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:500;
  letter-spacing:-.012em}
.acts .payoff .tw em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-weight:400;font-size:1.14em;letter-spacing:0;color:var(--brand-lt)}
.acts .payoff{font-family:'Instrument Serif',Georgia,serif;font-weight:400}

/* lesson cards go orange on hover / press */
a.card{transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}
a.card:hover,a.card:focus-visible,a.card:active{background:var(--brand);
  border-color:var(--brand);box-shadow:0 3px 18px rgba(190,79,44,.35)}
a.card:hover h3,a.card:focus-visible h3,a.card:active h3{color:#FFFFFF}
a.card:hover p,a.card:focus-visible p,a.card:active p{color:rgba(255,255,255,.9)}
a.card:hover .n,a.card:hover .tag,
a.card:focus-visible .n,a.card:focus-visible .tag,
a.card:active .n,a.card:active .tag{color:#FFDCCB}

/* locked cards are links now */
a.card.locked{text-decoration:none;cursor:pointer;background:var(--tile);border-style:dashed}
a.card.locked:hover,a.card.locked:focus-visible,a.card.locked:active{
  background:var(--brand);border-style:solid;border-color:var(--brand)}
a.card.locked:hover h3,a.card.locked:focus-visible h3,a.card.locked:active h3,
a.card.locked:hover .n,a.card.locked:focus-visible .n,a.card.locked:active .n{color:#FFFFFF}
a.card.locked:hover p,a.card.locked:focus-visible p,a.card.locked:active p{color:rgba(255,255,255,.9)}
a.card.locked:hover .tag,a.card.locked:focus-visible .tag,a.card.locked:active .tag{color:#FFDCCB;opacity:1}

/* subscribe page */
.wrap.sub{max-width:44rem}
.wrap.sub .kicker{padding-top:26px;margin:0 0 10px;font-size:11px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase}
.wrap.sub h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(2rem,4.4vw,3rem);line-height:1.05;letter-spacing:-.02em;margin:0 0 14px}
.wrap.sub .lede{color:var(--soft);font-size:1.05rem;margin:0 0 28px;max-width:38rem}
.subbox{background:#FFFFFF;border-radius:12px;padding:26px 28px 28px;
  box-shadow:0 2px 14px rgba(0,0,0,.35)}
.subbox label{display:block;font-size:14.5px;font-weight:500;color:#1A1D21;margin-bottom:12px}
.subbox .row{display:flex;gap:10px;flex-wrap:wrap}
.subbox input{flex:1 1 15rem;min-width:0;font:inherit;font-size:15px;
  padding:11px 14px;border:1px solid #D8D5CF;border-radius:999px;background:#FFFFFF;color:#1A1D21}
.subbox input:focus-visible{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.subbox button{font:inherit;font-family:'Space Grotesk',sans-serif;font-size:14.5px;font-weight:600;
  background:var(--brand);color:#FFFFFF;border:0;border-radius:999px;padding:11px 24px;cursor:pointer}
.subbox button:hover{background:#1A1D21}
.subbox button:disabled{opacity:.6;cursor:default}
.subbox .fine{margin:14px 0 0;font-size:12.5px;color:#6B7076}
.subbox .err{margin:12px 0 0;font-size:13px;color:#B03A1E;font-weight:500}
.subbox .done h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.5rem;
  color:#1A1D21;margin:0 0 8px}
.subbox .done p{margin:0 0 18px;font-size:14.5px;color:#5C6169}
.whatyouget{margin-top:38px;padding-top:28px;border-top:1px solid var(--hair)}
.whatyouget h2{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--soft);margin:0 0 16px}
.whatyouget ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.whatyouget li{display:grid;grid-template-columns:minmax(0,11rem) minmax(0,1fr);gap:4px 24px;
  font-size:14.5px;color:var(--soft);line-height:1.6}
.whatyouget b{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.16rem;
  color:var(--ink)}
@media (max-width:620px){.whatyouget li{grid-template-columns:1fr}}

/* the wordmark set inline in the payoff line */
.acts .payoff .wmpay{height:1.1em;width:auto;display:inline-block;
  vertical-align:-.17em;margin:0 -.12em 0 .02em}

.actgrid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.acts .repeat{margin:24px 0 0;text-align:center;
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-size:clamp(1.25rem,2.4vw,1.7rem);color:var(--brand-lt);line-height:1.3}
.acts .payoff{margin-top:10px}

/* destination flags */
.pickdest{background:#FFFFFF;border:1px solid #E6E3DE;border-radius:10px;
  padding:16px 18px;margin-top:16px;grid-column:2}
.pickdest ul{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pickdest li{display:flex;align-items:center;justify-content:center;gap:9px;
  background:#FFFFFF;border:1px solid #DFDCD6;border-radius:999px;
  padding:6px 12px;font-size:13px;color:#1A1D21;white-space:nowrap}
.pickdest li.more{grid-column:1/-1;background:#FFFFFF;border:1px dashed var(--brand);
  color:var(--brand);font-weight:600}
.flag{width:21px;height:14px;flex:0 0 auto;display:block;border-radius:2px}
.picklangs{border:1px solid #E6E3DE}
@media (max-width:560px){
  .pickdest{grid-column:1}
  .pickdest ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* countries sit bare on the card */
.pickdest{background:none;border:0;padding:0;margin-top:16px}

/* the language panel runs the full width of the card */
.how.trio .ic{grid-row:1/3}
.picklangs{grid-column:1/-1;margin:18px -28px -26px;padding:18px 28px 20px;
  border-radius:0 0 9px 9px;border:0;border-top:1px solid #E6E3DE}
@media (max-width:560px){
  .how.trio section{padding-inline:22px}
  .picklangs{grid-column:1;margin:16px -22px -26px;padding:16px 22px 18px}
}



/* the heading itself sits in a dark box */
.how.trio section:nth-of-type(2) h3{display:inline-block;background:#1A1D21;
  color:#FFFFFF;padding:7px 16px 9px;border-radius:9px;margin:0 0 12px;justify-self:start}

/* countries back in a dark box */
.pickdest{grid-column:1/-1;background:#1A1D21;border:0;
  margin:18px -28px -26px;padding:18px 28px 20px;border-radius:0 0 9px 9px}
.pickdest li{background:#FFFFFF;border:1px solid rgba(0,0,0,.08);color:#1A1D21}
.pickdest li.more{background:none;border:1px dashed #E08A62;color:#E08A62}
@media (max-width:560px){.pickdest{grid-column:1;margin:16px -22px -26px;padding:16px 22px 18px}}

/* white below the dark band so it does not run into the page */
.pickdest{margin:18px -28px 0;border-radius:0}
.how.trio section:nth-of-type(2){padding-bottom:26px}
@media (max-width:560px){.pickdest{margin:16px -22px 0}}

/* orange showing under the language panel */
.picklangs{margin:18px -28px 0;border-radius:0}
.how.trio section:nth-of-type(1){padding-bottom:26px}
@media (max-width:560px){.picklangs{margin:16px -22px 0}}

/* hanzi mark on the language card */
.how.trio .ico.hanzi{font-family:"Noto Sans SC","Noto Sans JP",serif;font-weight:500;
  font-size:44px;line-height:1;display:block;width:46px;height:46px;
  text-align:center;color:#FFFFFF}
.hero3 h1 em{font-style:normal;color:var(--brand-lt)}

.hero3 h1{color:var(--ink)}
.hero3 h1 em{font-style:normal;color:var(--brand-lt)}

/* selectable language pills */
.how.trio section .picklangs li{cursor:pointer;user-select:none;
  transition:background .12s ease,border-color .12s ease,color .12s ease}
.how.trio section .picklangs li:hover{background:#FCE9E0;border-color:var(--brand);color:var(--brand)}
.how.trio section .picklangs li:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.how.trio section .picklangs li.on{background:var(--brand);border-color:var(--brand);color:#FFFFFF}
.how.trio section .picklangs li.on b{color:#FFDCCB}
.how.trio section .picklangs li.more:hover{background:#FCE9E0;border-color:var(--brand);color:var(--brand)}
.how.trio section .picklangs li.more.on{background:var(--brand);border-color:var(--brand);color:#FFFFFF}

/* lesson language chooser */
.chooser{margin:26px 0 10px;background:var(--panel);border:1px solid var(--hair);
  border-radius:14px;padding:28px 30px 30px}
.chooser h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.5rem,3vw,2rem);margin:0 0 8px;color:var(--ink);line-height:1.15}
.chooser > p{margin:0 0 20px;color:var(--soft);font-size:14.5px}
.chooser .chips ul{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chooser .chips li{display:flex;align-items:center;justify-content:center;gap:7px;
  background:var(--panel);border:1px solid var(--hair);border-radius:999px;
  padding:9px 14px;font-size:14px;color:var(--ink);cursor:pointer;user-select:none;
  white-space:nowrap;transition:background .12s ease,border-color .12s ease,color .12s ease}
.chooser .chips li b{font-weight:500;color:var(--brand-lt);
  font-family:"Noto Sans JP","Noto Sans SC","Noto Naskh Arabic",inherit}
.chooser .chips li:hover{border-color:var(--brand);color:var(--brand-lt)}
.chooser .chips li:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.chooser .chips li.on{background:var(--brand);border-color:var(--brand);color:#FFFFFF}
.chooser .chips li.on b{color:#FFDCCB}
.chooserGo{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}
.chooserGo .cta{margin-top:0}
.chooserGo .cta:disabled{opacity:.45;cursor:default;background:var(--brand)}
.linky{background:none;border:0;padding:0;font:inherit;font-size:13.5px;
  color:var(--soft);text-decoration:underline;cursor:pointer}
.linky:hover{color:var(--ink)}
@media (max-width:640px){.chooser .chips ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.chooser .chips ul{grid-template-columns:1fr}}

/* small nudge under the language heading */
.how.trio section > p.nudge{font-size:12.5px;line-height:1.5;margin:-3px 0 0;
  color:rgba(255,255,255,.72);font-style:italic}

/* ---- intake page ---- */
.subbox #lang{display:block;width:100%;flex:none}
.subbox label.second{margin-top:22px}
.subbox .pickhint{margin:14px 0 10px;font-size:12.5px;color:#6B7076;font-style:italic}
.picksome ul{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.picksome li{display:flex;align-items:center;justify-content:center;gap:6px;
  padding:9px 10px;border:1px solid #DDD8D0;border-radius:999px;background:#FFFFFF;
  font-size:13.5px;color:#1A1D21;cursor:pointer;user-select:none;text-align:center;
  transition:background .15s ease,border-color .15s ease,color .15s ease}
.picksome li b{font-weight:500;color:var(--brand)}
.picksome li:hover{background:#FCE9E0;border-color:var(--brand);color:var(--brand)}
.picksome li:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.picksome li.on{background:var(--brand);border-color:var(--brand);color:#FFFFFF}
.picksome li.on b{color:#FFDCCB}
@media (max-width:620px){.picksome ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.picksome ul{grid-template-columns:1fr}}

/* ---- "Somewhere Else? We Go There Too!" as an orange button ---- */
.how.trio section .picklangs li.morewrap,
.how.trio section .pickdest li.morewrap{grid-column:1/-1;display:block;padding:0;border:0;
  background:none;box-shadow:none;cursor:default}
.how.trio section .picklangs a.more,
.how.trio section .pickdest a.more{display:flex;align-items:center;justify-content:center;
  gap:6px;padding:12px 14px;border-radius:999px;text-decoration:none;
  background:var(--brand);border:1px solid var(--brand);color:#FFFFFF;
  font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:700;letter-spacing:.01em;
  box-shadow:0 1px 0 rgba(0,0,0,.10);
  transition:background .15s ease,border-color .15s ease,transform .12s ease}
.how.trio section .picklangs a.more:hover,
.how.trio section .pickdest a.more:hover{background:#A63F20;border-color:#A63F20;color:#FFFFFF}
.how.trio section .picklangs a.more:active,
.how.trio section .pickdest a.more:active{transform:translateY(1px)}
.how.trio section .picklangs a.more:focus-visible{outline:2px solid #1A1D21;outline-offset:2px}
.how.trio section .pickdest a.more:focus-visible{outline:2px solid #FFFFFF;outline-offset:2px}

/* breathing room around the ellipsis in the language heading */
.how.trio section h3{line-height:1.26}
.how.trio section h3 .dots{display:inline-block;letter-spacing:.46em;
  margin:0 .18em 0 .62em;font-size:.9em;vertical-align:.04em;
  color:rgba(255,255,255,.85)}

/* ---- the step headings are buttons, with the rest of the line beneath ---- */
.how.trio section h3.bhead{display:inline-block;justify-self:start;
  padding:8px 18px 10px;border-radius:10px;margin:0 0 10px;
  font-size:1.22rem;line-height:1.2;box-shadow:0 1px 0 rgba(0,0,0,.10)}
.how.trio section:nth-of-type(1) h3.bhead{background:#FFFFFF;color:var(--brand)}
.how.trio section:nth-of-type(2) h3.bhead{background:#1A1D21;color:#FFFFFF}
.how.trio section > p.subhead{margin:0 0 6px;
  font-family:'Instrument Serif',Georgia,serif;font-size:1.3rem;line-height:1.28;
  max-width:52ch}
.how.trio section:nth-of-type(1) > p.subhead{color:#FFFFFF}
.how.trio section:nth-of-type(2) > p.subhead{color:#1A1D21}
.how.trio section > p.subhead .dots{font-size:.82em}
.how.trio section:nth-of-type(2) > p.subhead .dots{color:rgba(26,29,33,.7)}
.how.trio section:nth-of-type(2) > p.subhead + p{margin-top:8px}

/* the spaced ellipsis now lives in the subheads */
.how.trio section h3 .dots,
.how.trio section p .dots{display:inline-block;letter-spacing:.46em;
  margin:0 .18em 0 .5em;font-size:.86em;vertical-align:.04em}
.how.trio section:nth-of-type(1) p.subhead .dots{color:rgba(255,255,255,.85)}
.how.trio section:nth-of-type(2) p.subhead .dots{color:rgba(26,29,33,.65)}

/* numbered steps */
.how.trio section h3 .step{margin-right:.42em;font-variant-numeric:tabular-nums}
.how.trio section:nth-of-type(1) h3 .step{color:rgba(190,79,44,.6)}
.how.trio section:nth-of-type(2) h3 .step{color:rgba(255,255,255,.6)}
.how.trio section:nth-of-type(3) h3 .step{color:rgba(255,255,255,.6)}

/* step three is a button too */
.how.trio section:nth-of-type(3) h3.bhead{background:#FFFFFF;color:var(--brand)}
.how.trio section:nth-of-type(3) h3.bhead .step{color:rgba(190,79,44,.6)}

/* normal spacing on the ellipsis now that it sits on its own line */
.how.trio section p.subhead .dots{letter-spacing:.14em;margin:0 .34em 0 .2em;font-size:1em}

/* the nudge moves into the white panel, in brand orange */
.how.trio section .picklangs p.nudge{margin:0 0 12px;font-size:13px;line-height:1.5;
  font-style:italic;color:var(--brand)}

/* ---- the language gate is a page of its own ---- */
.wrap.gate{display:flex;align-items:center;justify-content:center;
  min-height:calc(100vh - 220px);padding-block:40px 60px}
.gatepage .chooser{margin:0;width:100%;max-width:46rem;padding:38px 36px 34px;
  background:var(--panel);border:1px solid var(--hair);border-radius:14px}
.gatepage .chooser h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.7rem,3.4vw,2.35rem);line-height:1.15;margin:0 0 22px;
  color:var(--ink);text-wrap:balance}
.gatepage .chooserGo{margin-top:26px}
.gatepage .chooserGo .cta.ghost{margin-top:0}
@media (max-width:560px){
  .wrap.gate{min-height:0;padding-block:24px 40px}
  .gatepage .chooser{padding:26px 22px 24px}
  .gatepage .chooserGo .cta{width:100%;text-align:center}
}

/* the step-one and step-three buttons read in the site's dark ink, not orange */
.how.trio section:nth-of-type(1) h3.bhead,
.how.trio section:nth-of-type(3) h3.bhead{background:#FFFFFF;color:#1A1D21}

/* "Repeat and Repeat" floats off the right of Act Three, big and italic */
.acts .repeat{text-align:right;margin:14px 0 0;
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;
  font-size:clamp(1.9rem,4.4vw,3.1rem);line-height:1.05;letter-spacing:-.015em;
  color:var(--brand-lt)}
@media (max-width:560px){.acts .repeat{text-align:center;font-size:1.7rem}}
.acts .repeat{padding-right:6px}

/* a touch more weight on the three step buttons */
.how.trio section h3.bhead{-webkit-text-stroke:.45px currentColor}

/* "Repeat and Repeat" sits where a fourth card would, level with the copy */
.actgrid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.78fr)}
.actgrid .repeat{grid-column:auto;align-self:center;justify-self:center;
  margin:0;padding:0;text-align:center;
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;
  font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.08;letter-spacing:-.01em;
  color:var(--brand-lt);text-wrap:balance}
.actgrid .repeat .rd{display:block;letter-spacing:.32em;margin-bottom:.12em;
  font-size:.9em;color:rgba(224,138,98,.75)}
@media (max-width:900px){
  .actgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .actgrid .repeat{grid-column:1/-1;margin-top:6px}
}
@media (max-width:560px){
  .actgrid{grid-template-columns:1fr}
  .actgrid .repeat{font-size:1.6rem}
}

/* "Where to Next?" matches "The Acts, On Repeat" */
.nextbox h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.015em;text-transform:none;
  color:var(--ink);text-align:center;line-height:1.1;margin:0 0 26px}

/* "Why This Way Is Better" matches the other section headings */
.feat h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.015em;text-transform:none;
  color:var(--ink);text-align:center;line-height:1.1;margin:0 0 26px}

/* the blog credit inside the recommendations card */
.feat .tpol{color:inherit;text-decoration:underline;text-underline-offset:3px;
  text-decoration-thickness:1px;font-weight:500}
.feat .tpol:hover{text-decoration-thickness:2px}

/* closing lockup + catch phrase */
.signoff{margin-top:56px;padding:40px 0 10px;border-top:1px solid var(--hair);
  display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.signoff .lockup{width:min(280px,64vw);height:auto;display:block}
.signoff p{margin:0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.25rem,2.6vw,1.75rem);line-height:1.2;letter-spacing:-.01em;
  color:var(--ink);text-wrap:balance}
.signoff p em{font-style:normal;color:var(--brand-lt)}
@media (max-width:560px){.signoff{margin-top:40px;padding-top:30px;gap:14px}}

/* the repeat line sits in the slot a fourth card would take, under Act Two */
.actgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.actgrid .repeat{grid-column:2;grid-row:2;align-self:start;justify-self:stretch;
  margin:0;padding:22px 22px 24px;text-align:center;
  font-size:clamp(1.5rem,2.8vw,2.1rem)}
@media (max-width:900px){
  .actgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .actgrid .repeat{grid-column:1/-1;grid-row:auto;padding:16px 0 0}
}
@media (max-width:560px){
  .actgrid{grid-template-columns:1fr}
  .actgrid .repeat{grid-column:1;grid-row:auto;font-size:1.6rem}
}

/* "This Way Is Better" always holds three cards in a row */
.feat .fgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:700px){.feat .fgrid{grid-template-columns:1fr}}

/* the closing lockup: mark + wordmark, with the catch phrase below it */
.signoff .lockup{display:flex;align-items:center;gap:14px;width:auto}
.signoff .lmark{width:56px;height:56px;border-radius:0;display:block}
.signoff .lword{height:34px;width:auto;display:block}
@media (max-width:560px){
  .signoff .lmark{width:44px;height:44px}
  .signoff .lword{height:27px}
}

/* Act Four's slot: first cell of the second row */
.actgrid .repeat{grid-column:1;grid-row:2;align-self:start;justify-self:stretch;
  padding:22px 22px 24px;text-align:center}
@media (max-width:900px){.actgrid .repeat{grid-column:1/-1;grid-row:auto;padding:16px 0 0}}
@media (max-width:560px){.actgrid .repeat{grid-column:1;grid-row:auto}}

/* Act Four sits to the right of Act Three, on the same row */
.actgrid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.8fr)}
.actgrid .repeat{grid-column:4;grid-row:1;align-self:center;justify-self:center;
  padding:0;text-align:center;font-size:clamp(1.4rem,2.5vw,2rem)}
@media (max-width:900px){
  .actgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .actgrid .repeat{grid-column:1/-1;grid-row:auto;padding:14px 0 0}
}
@media (max-width:560px){
  .actgrid{grid-template-columns:1fr}
  .actgrid .repeat{grid-column:1;grid-row:auto}
}

/* keep the four-across arrangement in narrow viewers too */
@media (max-width:900px){
  .actgrid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.72fr);gap:10px}
  .actgrid section{padding:18px 16px 20px}
  .actgrid h3{font-size:1.16rem}
  .actgrid p{font-size:13.5px;line-height:1.5}
  .actgrid .repeat{grid-column:4;grid-row:1;align-self:center;justify-self:center;
    padding:0;font-size:clamp(1.05rem,2.6vw,1.5rem)}
}
@media (max-width:620px){
  .actgrid{grid-template-columns:1fr;gap:12px}
  .actgrid section{padding:24px 22px 26px}
  .actgrid h3{font-size:1.34rem}
  .actgrid p{font-size:14.5px;line-height:1.6}
  .actgrid .repeat{grid-column:1;grid-row:auto;padding:8px 0 0;font-size:1.6rem}
}

/* narrow viewers: two on top, two on the bottom */
@media (max-width:900px){
  .actgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .actgrid section{padding:22px 20px 24px}
  .actgrid h3{font-size:1.26rem}
  .actgrid p{font-size:14px;line-height:1.55}
  .actgrid .repeat{grid-column:auto;grid-row:auto;align-self:center;justify-self:center;
    padding:0;font-size:clamp(1.4rem,3.4vw,1.9rem)}
}
@media (max-width:520px){
  .actgrid{grid-template-columns:1fr}
  .actgrid .repeat{padding:8px 0 0;font-size:1.6rem}
}

/* a little bigger */
.actgrid .repeat{font-size:clamp(1.7rem,3vw,2.5rem)}
@media (max-width:900px){.actgrid .repeat{font-size:clamp(1.7rem,4.2vw,2.3rem)}}
@media (max-width:520px){.actgrid .repeat{font-size:1.8rem}}
.actgrid .repeat{font-style:normal}

/* personalization placeholder in the lesson lede */
.lede .slot{color:inherit;white-space:nowrap}

/* FAQ page (unlinked for now) */
.faq{margin-top:36px;display:grid;gap:26px}
.faq section{padding-top:22px;border-top:1px solid var(--hair)}
.faq h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.34rem;
  color:var(--ink);margin:0 0 8px;line-height:1.2;text-transform:none;letter-spacing:0}
.faq p{margin:0;font-size:15px;line-height:1.65;color:var(--soft);max-width:62ch}
.faq a{color:var(--brand);text-underline-offset:3px}

/* the Adventurous button fills out to the right edge of the chips */
.gatepage .chooserGo{flex-wrap:nowrap;align-items:stretch}
.gatepage .chooserGo .cta{flex:0 0 auto}
.gatepage .chooserGo #chooserAll{flex:1 1 auto;text-align:center;white-space:nowrap}
@media (max-width:560px){
  .gatepage .chooserGo{flex-wrap:wrap}
  .gatepage .chooserGo .cta,.gatepage .chooserGo #chooserAll{flex:1 1 100%;white-space:normal}
}
.gatepage .chooserGo #chooserAll{justify-content:center;margin-left:0}
.gatepage .chooserGo #chooserAll{color:var(--brand)}
.gatepage .chooserGo #chooserAll:hover{color:var(--brand);border-color:var(--brand)}
.gatepage .chooserGo #chooserAll .adv{color:var(--brand)}
.gatepage .chooserGo #chooserAll .advb{color:var(--ink)}

/* Start Lesson matches the other pills; it fills in once a language is picked */
.gatepage .chooserGo .cta#chooserGo{border:1px solid var(--brand);background:var(--brand);
  color:#FFFFFF;opacity:1;justify-content:center}
.gatepage .chooserGo .cta#chooserGo:disabled{background:#FFFFFF;border-color:var(--hair);
  color:#B6B2AA;opacity:1;cursor:default}
.gatepage .chooserGo .cta#chooserGo:not(:disabled):hover{background:#A63F20;border-color:#A63F20;
  color:#FFFFFF}
.gatepage .chooserGo #chooserAll{font-weight:400}
.gatepage .chooserGo #chooserAll .adv{font-weight:500}
.gatepage .chooserGo #chooserAll .advb{font-weight:400}

/* Start Lesson right under the language pills */
.golangs{display:flex;justify-content:center;margin-top:16px}
.golangs .cta{margin-top:0;background:var(--brand);color:#FFFFFF;border:1px solid var(--brand);
  justify-content:center}
.golangs .cta:hover{background:#A63F20;border-color:#A63F20;color:#FFFFFF}

/* the Start Lesson button under the pills stands apart from the orange card */
.golangs .cta{background:#1A1D21;border-color:#1A1D21;color:#FFFFFF}
.golangs .cta:hover{background:#0F1113;border-color:#0F1113;color:#FFFFFF}

/* Start Lesson sits above the "Somewhere Else" button */
.picklangs .moreline{margin-top:10px}
.how.trio section .picklangs .moreline a.more{width:100%}
.how.trio section .picklangs a.more.off{opacity:.38;pointer-events:none;cursor:default}

/* "Somewhere Else" is a white button with orange type */
.how.trio section .picklangs a.more{background:#FFFFFF;border:1px solid var(--brand);
  color:var(--brand)}
.how.trio section .picklangs a.more:hover{background:#FCE9E0;border-color:var(--brand);
  color:var(--brand)}

/* the phrase stacked on itself, receding */
.actgrid .repeat{display:flex;flex-direction:column;align-items:center;gap:0;line-height:1}
.actgrid .repeat span{display:block;white-space:nowrap;transform-origin:center top}
.actgrid .repeat span:nth-child(1){opacity:1}
.actgrid .repeat span:nth-child(2){opacity:.55;font-size:.86em;margin-top:-.06em}
.actgrid .repeat span:nth-child(3){opacity:.32;font-size:.74em;margin-top:-.06em}
.actgrid .repeat span:nth-child(4){opacity:.18;font-size:.63em;margin-top:-.06em}
.actgrid .repeat span:nth-child(5){opacity:.09;font-size:.54em;margin-top:-.06em}

/* size the stack so the widest line fits its column */
.actgrid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.95fr)}
.actgrid .repeat{font-size:clamp(1rem,1.75vw,1.45rem)}
@media (max-width:900px){.actgrid .repeat{font-size:clamp(1.05rem,2.6vw,1.5rem)}}
@media (max-width:520px){.actgrid .repeat{font-size:1.5rem}}

/* intake: the language is already built, so go straight to the lesson */
.havegot{margin-top:22px;padding-top:20px;border-top:1px solid #E4E0D8}
.havegot p{margin:0 0 14px;font-size:14.5px;color:#5C6169}
.havegot .cta{margin-top:0;background:#1A1D21;border:1px solid #1A1D21;color:#FFFFFF}
.havegot .cta:hover{background:#0F1113;border-color:#0F1113;color:#FFFFFF}

/* ---- drill page ---- */
.drill{margin-top:26px}
.drillbar{display:flex;align-items:center;justify-content:space-between;gap:18px;
  flex-wrap:wrap;margin-bottom:16px}
.dirswitch{display:inline-flex;border:1px solid var(--hair);border-radius:999px;overflow:hidden}
.dirswitch button{font:inherit;font-family:'Space Grotesk',sans-serif;font-size:13.5px;
  font-weight:500;padding:9px 16px;background:#FFFFFF;color:var(--soft);border:0;cursor:pointer;
  transition:background .14s ease,color .14s ease}
.dirswitch button + button{border-left:1px solid var(--hair)}
.dirswitch button:hover{color:var(--brand)}
.dirswitch button.on{background:#1A1D21;color:#FFFFFF}
.alwaysbox{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:var(--soft);
  cursor:pointer;user-select:none}
.alwaysbox input{accent-color:var(--brand);width:16px;height:16px}

.dlangs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.dlang{font:inherit;font-family:'Space Grotesk',sans-serif;font-size:13px;padding:6px 14px;
  border-radius:999px;border:1px solid var(--hair);background:#FFFFFF;color:var(--soft);cursor:pointer}
.dlang.on{background:var(--brand);border-color:var(--brand);color:#FFFFFF}

.drillcard{background:#FFFFFF;border:1px solid var(--hair);border-radius:14px;
  padding:26px 28px 28px}
.drillcard .dstep{margin:0 0 14px;font-size:11px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lock)}
.drillcard .prompt{margin:0 0 6px;font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.4rem,3vw,2rem);line-height:1.25;color:var(--ink)}
.drillcard .prompt[dir="rtl"]{font-family:'Noto Naskh Arabic','Instrument Serif',serif}
.drillcard .hint{margin:0 0 18px;font-size:13px;color:var(--soft);font-style:italic}
.drillcard input{display:block;width:100%;font:inherit;font-size:1.05rem;
  font-family:'Space Grotesk','Noto Sans JP','Noto Sans SC','Noto Naskh Arabic',sans-serif;
  padding:13px 16px;border:1px solid var(--hair);border-radius:10px;background:#FFFFFF;
  color:var(--ink)}
.drillcard input:focus-visible{outline:2px solid var(--brand);outline-offset:1px;
  border-color:var(--brand)}
.drillcard input.right{border-color:#1F7A4D;background:#F3FAF6}
.drillcard input.wrong{border-color:#B03A1E;background:#FDF4F1}

.keys{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.key{font:inherit;font-size:17px;line-height:1;min-width:38px;padding:9px 10px;
  font-family:'Noto Naskh Arabic','Noto Sans JP','Noto Sans SC',sans-serif;
  border:1px solid var(--hair);border-radius:8px;background:#FAF9F7;color:var(--ink);cursor:pointer}
.key:hover{border-color:var(--brand);color:var(--brand);background:#FCE9E0}
.key.wide{min-width:auto;padding:9px 14px;font-size:13px;
  font-family:'Space Grotesk',sans-serif;color:var(--soft)}

.drillgo{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.drillgo .cta{margin-top:0}
.drillgo .spacer{flex:1 1 auto}
.drillgo .linky{background:none;border:0;font:inherit;font-family:'Space Grotesk',sans-serif;
  font-size:13.5px;font-weight:500;color:var(--brand);cursor:pointer;padding:6px 2px}
.drillgo .linky:hover{text-decoration:underline;text-underline-offset:3px}
.drillgo .linky:disabled{color:var(--lock);cursor:default;text-decoration:none}

.drillcard .verdict{margin:16px 0 0;font-size:14px;font-weight:500}
.drillcard .verdict.ok{color:#1F7A4D}
.drillcard .verdict.no{color:#B03A1E}
.drillcard .answer{margin:14px 0 0;padding-top:14px;border-top:1px solid var(--hair)}
.drillcard .answer .big{display:block;font-size:1.3rem;line-height:1.4;color:var(--ink);
  font-family:'Noto Naskh Arabic','Noto Sans JP','Noto Sans SC','Instrument Serif',serif}
.drillcard .answer .rom{display:block;margin-top:6px;font-size:14px;color:var(--soft);
  font-style:italic}
@media (max-width:560px){
  .drillcard{padding:22px 20px 24px}
  .drillbar{gap:12px}
  .dirswitch button{padding:8px 12px;font-size:12.5px}
}
.drillcard .answer .rom{direction:ltr;text-align:left;unicode-bidi:isolate}

/* the on-screen keyboard is optional */
.kbline{margin:10px 0 0}
.kbline .linky{background:none;border:0;font:inherit;font-family:'Space Grotesk',sans-serif;
  font-size:13px;font-weight:500;color:var(--brand);cursor:pointer;padding:4px 0}
.kbline .linky:hover{text-decoration:underline;text-underline-offset:3px}
.keys{display:block;margin-top:10px;padding:12px;border:1px solid var(--hair);
  border-radius:10px;background:#FAF9F7}
.keyrow{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.keyrow + .keyrow{margin-top:6px}

/* Go! is centered, larger, and takes you to sign-up */
.how.trio section:nth-of-type(3) h3.bhead.go{justify-self:center;
  font-size:clamp(1.6rem,3.2vw,2.2rem);padding:12px 38px 15px;line-height:1.1}
.how.trio section h3.bhead.go a{color:inherit;text-decoration:none;display:block}
.how.trio section h3.bhead.go:hover{background:#FFFFFF}
.how.trio section h3.bhead.go a:focus-visible{outline:2px solid #1A1D21;outline-offset:4px;
  border-radius:6px}
@media (max-width:560px){.how.trio section:nth-of-type(3) h3.bhead.go{justify-self:start}}

/* a matching plane on the right of the Go! card */
.how.trio section:nth-of-type(3){grid-template-columns:auto minmax(0,1fr) auto}
.how.trio section:nth-of-type(3) .ic.right{grid-column:3;grid-row:1/-1;align-self:center}
@media (max-width:560px){
  .how.trio section:nth-of-type(3){grid-template-columns:1fr}
  .how.trio section:nth-of-type(3) .ic.right{display:none}
}
.how.trio section:nth-of-type(3) h3.bhead.go{font-size:clamp(2.1rem,4.4vw,3rem);
  padding:16px 52px 20px;letter-spacing:.01em;border-radius:14px}
/* both planes on the same centre line */
.how.trio section:nth-of-type(3) .ic,
.how.trio section:nth-of-type(3) .ic.right{grid-row:1/-1;align-self:center;
  display:block;line-height:0;margin:0}

/* ---- about page ---- */
.wrap.about{max-width:46rem}
.wrap.about h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(2.1rem,4.6vw,3.1rem);line-height:1.08;letter-spacing:-.015em;
  color:var(--ink);margin:0 0 20px;padding-top:6px;text-wrap:balance}
.wrap.about .lede{font-size:1.14rem;line-height:1.6;color:var(--ink);margin:0 0 26px;
  max-width:40rem}
.wrap.about .lede b{font-weight:500;color:var(--brand-lt)}
.wrap.about p{font-size:15.5px;line-height:1.72;color:var(--soft);max-width:38rem}
.wrap.about h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.5rem,3vw,2rem);color:var(--ink);margin:38px 0 14px;line-height:1.15}
.wrap.about a{color:var(--brand-lt);text-underline-offset:3px}
.wrap.about a:hover{color:var(--brand)}
.abox{padding:22px 24px;background:var(--panel);border:1px solid var(--hair);
  border-radius:12px;margin-bottom:8px}
.abox p{margin:0 0 14px}
.abox p:last-child{margin-bottom:0}

.links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;
  margin-top:18px}
.linkcard{display:block;padding:20px 22px;border-radius:12px;background:var(--panel);
  border:1px solid var(--hair);text-decoration:none;
  transition:border-color .15s ease,background .15s ease}
.linkcard:hover{border-color:var(--brand);background:#262B31}
.linkcard b{display:block;font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:1.24rem;color:var(--ink);margin-bottom:6px}
.linkcard span{display:block;font-size:13.5px;line-height:1.55;color:var(--soft)}
.wrap.about .signoff{margin-top:52px}

/* the top line of the stack carries the weight */
.actgrid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.15fr)}
.actgrid .repeat span:nth-child(1){font-size:1.42em}
.actgrid .repeat span:nth-child(2){font-size:1.05em}
.actgrid .repeat span:nth-child(3){font-size:.82em}
.actgrid .repeat span:nth-child(4){font-size:.66em}
.actgrid .repeat span:nth-child(5){font-size:.55em}
@media (max-width:900px){
  .actgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* the Go! line holds on one line, shrinking to fit rather than wrapping */
.how.trio section:nth-of-type(3) p{max-width:none;white-space:nowrap;
  font-size:clamp(11.5px, calc((100vw - 240px) / 39.5), 15px)}
@media (max-width:690px){
  .how.trio section:nth-of-type(3) p{white-space:normal;font-size:14px}
}

/* ---- lesson page tidy ---- */
/* the Seat 2A line stays on one line, across the full width */
.hero2.intro{grid-template-columns:minmax(0,1fr);gap:0}
.hero2.intro .copy{max-width:none}
.hero2.intro .copy .lede,.hero2.intro .lede{white-space:nowrap;max-width:none;
  font-size:min(16.4px, calc((100vw - 34px) / 40.6))}
@media (max-width:620px){
  .hero2.intro .copy .lede,.hero2.intro .lede{white-space:normal;font-size:1.05rem}
}

/* "Drill These Lines" is a centered button */
.pagelink.drillbtn{display:flex;justify-content:center;margin:24px 0 6px}
.pagelink.drillbtn .cta{margin-top:0;background:var(--brand);border:1px solid var(--brand);
  color:#FFFFFF;justify-content:center;text-decoration:none}
.pagelink.drillbtn .cta:hover{background:#A63F20;border-color:#A63F20;color:#FFFFFF}

/* the meta labels sit in gray chips, the values plain on white */
.meta{align-items:center;gap:8px 10px}
.meta span{display:inline-flex;align-items:center;gap:7px}
.meta i{font-style:normal;background:#EFEDE8;color:#5C6169;border-radius:6px;
  padding:4px 9px;font-size:11.5px;font-weight:600;letter-spacing:.03em;
  text-transform:uppercase;white-space:nowrap}
.meta b{color:var(--ink);font-weight:600}
/* breadcrumb left, Change Language hard right, same line */
.kicker.row{display:flex;align-items:baseline;justify-content:space-between;gap:18px;
  flex-wrap:wrap}
.kicker.row .right{margin-left:auto}

/* the keyboard toggle and the always-show box share a row under the input */
.drillbar{justify-content:flex-start}
.kbline{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:12px 0 0}
.kbline .alwaysbox{margin:0}

/* hidden means hidden, even where a rule sets display */
[hidden]{display:none !important}
.kbline .alwaysbox{white-space:nowrap}
/* the prompt can carry a romanization line under the script */
.drillcard .prompt .big{display:block}
.drillcard .prompt .romline{display:block;margin-top:6px;font-size:.62em;
  font-family:'Space Grotesk',sans-serif;font-style:italic;color:var(--soft);
  direction:ltr;text-align:left;unicode-bidi:isolate}
/* Change Language lines up with the nav above it, not with the text column */
.kicker.row .right{margin-right:calc((min(704px, 100vw) - min(960px, 100vw)) / 2)}

/* ---- play all, and the transport that follows you ---- */
.lessontools{display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;margin:24px 0 18px}
.lessontools .cta{margin-top:0;background:var(--brand);border:1px solid var(--brand);
  color:#FFFFFF;text-decoration:none;justify-content:center}
.lessontools .cta:hover{background:#A63F20;border-color:#A63F20;color:#FFFFFF}
.lessontools .playall{background:#1A1D21;border-color:#1A1D21}
.lessontools .playall:hover{background:#0F1113;border-color:#0F1113}
.lessontools .glyph{font-size:.82em;line-height:1}

.speedrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-4px 0 20px}
.speedrow .slabel{font-family:'Space Grotesk',sans-serif;font-size:11.5px;font-weight:500;
  letter-spacing:.09em;text-transform:uppercase;color:#7A7469}
.speeds{display:inline-flex;align-items:center;gap:2px;padding:3px;
  background:#EFEDE8;border-radius:999px}
.speeds button{font:inherit;font-family:'Space Grotesk',sans-serif;font-size:12.5px;
  cursor:pointer;border:0;background:none;color:#5C6169;
  padding:6px 13px;border-radius:999px;white-space:nowrap;line-height:1}
.speeds button:hover{color:#1A1D21}
.speeds button.on{background:#1A1D21;color:#FFFFFF}
.speeds button.on:hover{color:#FFFFFF}

.turn.playing{box-shadow:0 0 0 2px var(--brand);border-radius:10px}

.nowbar{position:fixed;left:50%;transform:translateX(-50%);
  bottom:calc(18px + env(safe-area-inset-bottom, 0px));z-index:40;
  display:flex;align-items:center;gap:13px;padding:9px 12px 9px 9px;
  background:#1A1D21;color:#FFFFFF;border-radius:999px;
  box-shadow:0 6px 24px rgba(0,0,0,.28)}
.nowbar button{font:inherit;font-family:'Space Grotesk',sans-serif;cursor:pointer;
  border:0;background:none;color:inherit}
.nowbar #nowToggle{width:36px;height:36px;border-radius:999px;background:#FFFFFF;
  color:#1A1D21;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.nowbar #nowToggle:hover{background:#FFFFFF}
.nowbar .nowtx{display:flex;align-items:center;gap:3px}
.nowbar .nowskip{width:30px;height:30px;border-radius:999px;color:rgba(255,255,255,.82);
  display:inline-flex;align-items:center;justify-content:center;padding:0}
.nowbar .nowskip:hover{background:rgba(255,255,255,.12);color:#FFFFFF}
.nowbar .nowskip[disabled]{opacity:.32;cursor:default;background:none}
.nowbar .nowline{font-size:13px;letter-spacing:.02em;white-space:nowrap;
  font-variant-numeric:tabular-nums}
.nowspeed{display:flex;align-items:center;gap:1px;padding:2px;
  background:rgba(255,255,255,.13);border-radius:999px}
.nowbar .ratestep{width:24px;height:24px;border-radius:999px;
  color:rgba(255,255,255,.86);display:inline-flex;align-items:center;
  justify-content:center;padding:0}
.nowbar .ratestep:hover{background:rgba(255,255,255,.18);color:#FFFFFF}
.nowbar .ratestep[disabled]{opacity:.3;cursor:default;background:none}
.nowbar .ratenow{font-size:12.5px;font-weight:500;color:#FFFFFF;line-height:1;
  font-variant-numeric:tabular-nums;min-width:34px;text-align:center}
.nowbar .nowstop{font-size:12.5px;color:rgba(255,255,255,.72);padding:4px 8px}
.nowbar .nowstop:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
@media (max-width:480px){
  .lessontools{gap:10px}
  .lessontools .cta{flex:1 1 100%;text-align:center}
}

/* the hint: every piece of the answer, shuffled */
.hintwrap{margin-top:10px;padding:12px 12px 13px;border:1px solid var(--hair);
  border-radius:10px;background:#FAF9F7}
.hintnote{margin:0 0 9px;font-family:'Space Grotesk',sans-serif;font-size:11.5px;
  font-weight:500;letter-spacing:.07em;text-transform:uppercase;color:#7A7469}
.hinttiles{display:flex;flex-wrap:wrap;gap:6px}
.hinttiles .tile{font:inherit;font-size:16px;line-height:1;padding:9px 12px;
  font-family:'Noto Naskh Arabic','Noto Sans JP','Noto Sans SC',sans-serif;
  border:1px solid var(--hair);border-radius:8px;background:#FFFFFF;
  color:var(--ink);cursor:pointer}
.hinttiles .tile:hover{border-color:var(--brand);color:var(--brand);background:#FCE9E0}
.hinttiles .tile.ghost{font-family:'Space Grotesk',sans-serif;font-size:13px;
  color:var(--soft);background:none}
.hinttiles .tile.ghost:hover{color:var(--brand)}

/* a wrong answer, set against the line */
.compare{margin-top:16px;padding:14px 16px 15px;border:1px solid var(--hair);
  border-radius:10px;background:#FAF9F7}
.cmplab{margin:0 0 4px;font-family:'Space Grotesk',sans-serif;font-size:11px;
  font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:#7A7469}
.cmplab + .cmpline{margin:0 0 14px}
.compare .cmpline:last-of-type{margin-bottom:0}
.cmpline{font-size:1.18rem;line-height:1.5;color:var(--ink)}
.cmpline mark{background:none;color:inherit;padding:0 1px;border-radius:3px}
.cmpline mark.bad{background:#FBE3DB;color:#8E3418;
  text-decoration:line-through;text-decoration-color:rgba(142,52,24,.5)}
.cmpline mark.miss{background:#E6F0E8;color:#2F5D3A}
.cmprom{margin:6px 0 0;font-size:.92rem;font-style:italic;color:var(--soft);
  direction:ltr;unicode-bidi:isolate}
.hinttiles .tilerule{align-self:stretch;width:1px;background:var(--hair);margin:2px 5px}
.hinttiles .tile.mark{min-width:34px;text-align:center;color:var(--soft)}
.hinttiles .tile.used{border-color:var(--brand);color:var(--brand);background:#FCE9E0}

/* the browser's own focus ring is a white-and-blue halo on these; keyboard
   users still get one, in the brand colour, but a mouse click gets nothing */
.cta:focus,.linky:focus,.tile:focus,.key:focus{outline:none}
.cta:focus-visible,.linky:focus-visible,.tile:focus-visible,.key:focus-visible{
  outline:2px solid var(--brand);outline-offset:3px}

.drillcard .verdict{text-align:center}
.drillcard .verdict.ok{font-weight:700;letter-spacing:.16em;text-transform:uppercase}

/* drill: listen control and the audio prompt */
.dtop{display:flex;align-items:center;justify-content:space-between;gap:12px;
  flex-wrap:wrap;margin-bottom:14px}
.drillcard .dtop .dstep{margin:0}
.dplaybox{display:flex;align-items:center;gap:8px}
.dplay{font:inherit;font-family:'Space Grotesk',sans-serif;font-size:12.5px;font-weight:500;
  display:inline-flex;align-items:center;gap:7px;cursor:pointer;line-height:1;
  border:1px solid var(--hair);background:#FFFFFF;color:var(--ink);
  border-radius:999px;padding:7px 14px}
.dplay:hover{border-color:var(--brand);color:var(--brand);background:#FCE9E0}
.dplay .glyph{font-size:.8em}
.dspeed{display:flex;align-items:center;gap:1px;padding:2px;
  background:#EFEDE8;border-radius:999px}
.dspeed .ratestep{width:22px;height:22px;border:0;background:none;border-radius:999px;
  color:var(--soft);display:inline-flex;align-items:center;justify-content:center;
  padding:0;cursor:pointer}
.dspeed .ratestep:hover{background:#E2DFD8;color:var(--ink)}
.dspeed .ratestep[disabled]{opacity:.3;cursor:default;background:none}
.dspeed .ratenow{font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:500;
  color:var(--ink);min-width:32px;text-align:center;font-variant-numeric:tabular-nums}

.drillcard .prompt .bigplay{font:inherit;font-family:'Space Grotesk',sans-serif;
  font-size:15px;font-weight:600;display:inline-flex;align-items:center;gap:10px;
  cursor:pointer;border:0;background:var(--deep);color:#FFFFFF;
  border-radius:999px;padding:13px 24px;line-height:1}
.drillcard .prompt .bigplay:hover{background:var(--brand)}
.drillcard .prompt .listenlab{display:block;margin-top:10px;
  font-family:'Space Grotesk',sans-serif;font-size:11.5px;font-weight:500;
  letter-spacing:.08em;text-transform:uppercase;color:#7A7469}
.drillbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.drillcard .prompt .heardtext{display:block;margin-top:14px;font-size:1.32rem;
  line-height:1.45;color:var(--ink)}
.drillcard .prompt .heardrom{display:block;margin-top:4px;font-size:.95rem;
  font-style:italic;color:var(--soft);direction:ltr;unicode-bidi:isolate}

/* ---- the grammar guide ------------------------------------------------ */
.gjump{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 4px;
  padding-bottom:18px;border-bottom:1px solid var(--hair)}
.gjump a{font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:500;
  letter-spacing:.02em;color:var(--soft);text-decoration:none;
  border:1px solid var(--hair);border-radius:999px;padding:6px 13px}
.gjump a:hover{color:var(--brand);border-color:var(--brand);background:#FCE9E0}

.gsec{margin:38px 0 0;scroll-margin-top:20px}
.gsec h2{font-family:'Instrument Serif',serif;font-size:1.7rem;font-weight:400;
  margin:0 0 6px;letter-spacing:-.01em}
.glede{margin:0 0 18px;color:var(--soft);font-size:1rem;line-height:1.6;max-width:62ch}
.gadvice{margin:16px 0 0;font-size:.97rem;line-height:1.65;color:var(--ink);max-width:62ch}
.gnote{margin:8px 0 0;font-size:.9rem;line-height:1.6;color:var(--soft);max-width:62ch}

.gt{font-family:'Noto Naskh Arabic','Noto Sans JP','Noto Sans SC',inherit;
  unicode-bidi:isolate}
.gr{display:block;font-size:.88em;font-style:italic;color:var(--soft);
  direction:ltr;unicode-bidi:isolate;margin-top:2px}

.grules{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:12px}
.grule{border:1px solid var(--hair);border-radius:10px;padding:15px 16px;background:#FAF9F7}
.grule h3{margin:0 0 7px;font-family:'Space Grotesk',sans-serif;font-size:13.5px;
  font-weight:700;letter-spacing:.01em}
.gsay{margin:0;font-size:.94rem;line-height:1.6}
.geg{margin:10px 0 0;font-size:1.2rem;line-height:1.4;color:var(--brand)}

.gtable{overflow-x:auto;margin:0 0 2px}
.gtable table{border-collapse:collapse;width:100%;font-size:.95rem}
.gtable th,.gtable td{text-align:left;padding:8px 12px 8px 0;
  border-bottom:1px solid var(--hair);vertical-align:top}
.gtable thead th{font-family:'Space Grotesk',sans-serif;font-size:11px;font-weight:500;
  letter-spacing:.09em;text-transform:uppercase;color:#7A7469;border-bottom-width:1px}
.gtable tbody th{font-family:'Space Grotesk',sans-serif;font-size:12.5px;font-weight:500;
  color:var(--soft);white-space:nowrap;width:1%;padding-right:22px}
.gwhat{color:var(--soft);font-size:.88rem}
.gn{font-variant-numeric:tabular-nums;color:var(--soft)}

.gverbs{display:grid;gap:7px}
.gverb,.galt{border:1px solid var(--hair);border-radius:10px;background:#FAF9F7}
.gverb summary,.galt summary{cursor:pointer;padding:12px 16px;display:flex;
  align-items:baseline;gap:12px;flex-wrap:wrap;list-style:none}
.gverb summary::-webkit-details-marker,.galt summary::-webkit-details-marker{display:none}
.gverb summary::before,.galt summary::before{content:"+";font-family:'Space Grotesk',sans-serif;
  color:var(--brand);font-weight:700;margin-right:2px}
.gverb[open] summary::before,.galt[open] summary::before{content:"\2212"}
.gverb summary:hover,.galt summary:hover{color:var(--brand)}
.vinf{font-size:1.1rem}
.vmean{color:var(--soft);font-size:.92rem}
.vwhere{margin-left:auto;font-family:'Space Grotesk',sans-serif;font-size:11px;
  letter-spacing:.07em;text-transform:uppercase;color:#7A7469}
.vbody{padding:0 16px 14px;border-top:1px solid var(--hair);margin-top:2px}
.vlab{margin:13px 0 7px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.vlab b{font-family:'Space Grotesk',sans-serif;font-size:11px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink)}
.vtense{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:.05em;
  color:#7A7469}
.vline{margin-left:auto;font-family:'Space Grotesk',sans-serif;font-size:11px;
  letter-spacing:.07em;text-transform:uppercase;color:#B8B2A6}
.vsent{margin:0;font-size:1.12rem;line-height:1.5;unicode-bidi:isolate;
  font-family:'Noto Naskh Arabic','Noto Sans JP','Noto Sans SC',inherit}
.vsent mark.vhit{background:#FCE9E0;color:var(--brand);font-weight:500;
  border-radius:4px;padding:0 3px}
.vrom{margin:3px 0 0;font-size:.9rem;font-style:italic;color:var(--soft);
  direction:ltr;unicode-bidi:isolate}
.ven{margin:5px 0 12px;font-size:.9rem;color:var(--soft)}

.atitle{font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:700}
.awhen{color:var(--soft);font-size:.9rem;flex:1 1 220px}
.alines{margin:0;padding:4px 16px 16px 16px;list-style:none;
  border-top:1px solid var(--hair);counter-reset:al}
.alines li{counter-increment:al;padding:12px 0 12px 34px;position:relative;
  border-bottom:1px solid var(--hair)}
.alines li:last-child{border-bottom:0}
.alines li::before{content:counter(al,decimal-leading-zero);position:absolute;left:0;top:14px;
  font-family:'Space Grotesk',sans-serif;font-size:11px;color:#B8B2A6;
  font-variant-numeric:tabular-nums}
.awho{display:block;font-family:'Space Grotesk',sans-serif;font-size:10.5px;font-weight:700;
  letter-spacing:.11em;text-transform:uppercase;color:var(--brand);margin-bottom:3px}
.aen{display:block;color:var(--soft);font-size:.9rem;margin-bottom:4px}
.alines .gt{font-size:1.14rem;line-height:1.45}
@media (max-width:520px){
  .vwhere{margin-left:0}
  .gsec h2{font-size:1.45rem}
}

/* Phones: the repeat stack gets its own row. Its lines are nowrap, so in a
   half-width track they run off the side of the screen. */
@media (max-width:620px){
  .actgrid{grid-template-columns:1fr}
  .actgrid .repeat{grid-column:1;grid-row:auto;justify-self:center;
    font-size:min(1.5rem, calc((100vw - 72px) / 10.5))}
}

/* Grammar Guide: its own colour, so it reads as a different kind of thing
   from the orange Drill button it sits under. */
.cta.blue{background:var(--you);border-color:var(--you);color:#FFFFFF}
.cta.blue:hover{background:#163B48;border-color:#163B48;color:#FFFFFF}
.lessontools .cta.blue{background:var(--you);border:1px solid var(--you);color:#FFFFFF}
.lessontools .cta.blue:hover{background:#163B48;border-color:#163B48;color:#FFFFFF}
.toolstack{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.toolstack .cta{margin-top:0;justify-content:center}
.drillbtn{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.drillbtn .cta{margin-top:0}

/* very narrow phones: the speed row is five words wide */
@media (max-width:400px){
  .speedrow{gap:8px}
  .speeds{flex-wrap:wrap;justify-content:center;border-radius:16px}
  .speeds button{padding:6px 10px;font-size:12px}
}

/* Why This Way Is Better: four cards, one row */
.feat .fgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.feat .fic{width:62px;height:62px;border-radius:17px;margin-bottom:13px}
.feat .fico{width:38px;height:38px}
.fgrid h3{font-size:1.18rem}
@media (max-width:1040px){.feat .fgrid{gap:16px}.fgrid h3{font-size:1.08rem}}
@media (max-width:860px){.feat .fgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .feat .fic{width:70px;height:70px}.feat .fico{width:44px;height:44px}
  .fgrid h3{font-size:1.24rem}}
@media (max-width:520px){.feat .fgrid{grid-template-columns:1fr}}

/* Four cards, four faces. Grammar takes the blue it carries everywhere else. */
.feat .fgrid section:nth-child(1){background:var(--brand)}
.feat .fgrid section:nth-child(2){background:#FFFFFF}
.feat .fgrid section:nth-child(3){background:var(--you,#1F4E5F)}
.feat .fgrid section:nth-child(4){background:#FFFFFF}
.feat .fgrid section:nth-child(1) .fic,
.feat .fgrid section:nth-child(3) .fic{color:#FFFFFF}
.feat .fgrid section:nth-child(2) .fic,
.feat .fgrid section:nth-child(4) .fic{color:var(--brand)}
.feat .fgrid section:nth-child(1) h3,
.feat .fgrid section:nth-child(3) h3{color:#FFFFFF}
.feat .fgrid section:nth-child(1) p,
.feat .fgrid section:nth-child(3) p{color:rgba(255,255,255,.9)}
.feat .fgrid section:nth-child(2) h3,
.feat .fgrid section:nth-child(4) h3{color:#1A1D21}
.feat .fgrid section:nth-child(2) p,
.feat .fgrid section:nth-child(4) p{color:#5C6169}
.feat .fgrid section:nth-child(3) .tpol{color:#FFFFFF}

/* every page says where the material came from */
.disclaim{flex:1 1 100%;margin:14px 0 0;padding-top:13px;
  border-top:1px solid rgba(128,128,128,.22);
  font-size:12px;line-height:1.6;opacity:.78;text-align:center}
.disclaim a,.disclaim .reporthere{color:inherit;text-decoration:underline;
  text-underline-offset:2px}
.disclaim a:hover{color:var(--brand);opacity:1}

/* ---- Why We Built This ------------------------------------------------ */
.why{margin:64px 0 0}
.why h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);line-height:1.1;margin:0 0 28px;
  text-align:center;letter-spacing:-.01em}
.wgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.wgrid section{margin:0;padding-top:16px;border-top:2px solid var(--brand)}
.wn{display:block;font-family:'Space Grotesk',sans-serif;font-size:11px;
  font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--brand);margin-bottom:10px}
.wgrid h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:1.34rem;line-height:1.2;margin:0 0 10px;text-wrap:balance}
.wgrid p{margin:0;font-size:.97rem;line-height:1.65;opacity:.84}
.wgrid .tpol{color:inherit;text-decoration:underline;text-underline-offset:3px}
.wgrid .tpol:hover{color:var(--brand)}
@media (max-width:820px){.wgrid{grid-template-columns:1fr;gap:26px}}

/* ---- Why This Way Is Better: its own orange panel --------------------- */
.feat{margin:64px 0 0;background:var(--brand);border-radius:16px;
  padding:44px 34px 46px}
.feat h2{color:#FFFFFF}
.feat .fgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.feat .fgrid section:nth-child(1),
.feat .fgrid section:nth-child(3){background:#FFFFFF}
.feat .fgrid section:nth-child(2){background:var(--you,#1F4E5F)}
.feat .fgrid section:nth-child(1) .fic,
.feat .fgrid section:nth-child(3) .fic{color:var(--brand)}
.feat .fgrid section:nth-child(2) .fic{color:#FFFFFF}
.feat .fgrid section:nth-child(1) h3,
.feat .fgrid section:nth-child(3) h3{color:#1A1D21}
.feat .fgrid section:nth-child(1) p,
.feat .fgrid section:nth-child(3) p{color:#5C6169}
.feat .fgrid section:nth-child(2) h3{color:#FFFFFF}
.feat .fgrid section:nth-child(2) p{color:rgba(255,255,255,.9)}
@media (max-width:700px){.feat .fgrid{grid-template-columns:1fr}}
@media (max-width:560px){.feat{padding:32px 20px 34px;border-radius:12px}}

/* The three boxes are one band: flush to each other and to the panel edges,
   no orange showing between them. */
.feat{padding:44px 0 0;overflow:hidden}
.feat h2{padding:0 24px}
.feat .fgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:30px}
.feat .fgrid section{border-radius:0;box-shadow:none;padding:30px 26px 34px}
.feat .fgrid section:nth-child(1),
.feat .fgrid section:nth-child(2),
.feat .fgrid section:nth-child(3){background:#FFFFFF}
.feat .fgrid section + section{border-left:1px solid #EFE2DA}
.feat .fgrid section .fic,
.feat .fgrid section:nth-child(2) .fic{color:var(--brand)}
.feat .fgrid section h3,
.feat .fgrid section:nth-child(2) h3{color:#1A1D21}
.feat .fgrid section p,
.feat .fgrid section:nth-child(2) p{color:#5C6169}
@media (max-width:700px){
  .feat .fgrid{grid-template-columns:1fr}
  .feat .fgrid section + section{border-left:0;border-top:1px solid #EFE2DA}
}
@media (max-width:560px){.feat{padding:32px 0 0;border-radius:12px}}

/* "Where to Next?" stands alone; the lockup comes straight up under it. */
.nextbox{background:none;border:0;padding:0;margin:56px 0 0;text-align:center}
.nextbox .inner{display:none}
.signoff{margin-top:26px;padding-top:26px}
@media (max-width:560px){.nextbox{margin-top:40px}.signoff{margin-top:20px;padding-top:20px}}


/* The page ends on cream after a dark run — the question set big, the lockup
   under it. Same band language as "Why This Way Is Better", inverted. */
.signoff{margin-top:60px;padding:56px 28px 52px;border:0;border-radius:16px;
  background:#FFFFFF;gap:22px}
.signoff h2{margin:0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(2.6rem,6.6vw,4.4rem);line-height:1;letter-spacing:-.02em;
  color:#1A1D21;text-align:center}
.signoff .lmark{width:50px;height:50px}
.signoff .lword{height:30px}
.signoff p{color:#5C6169;font-size:clamp(1.02rem,2vw,1.28rem)}
.signoff p em{color:var(--brand)}
@media (max-width:560px){.signoff{margin-top:44px;padding:38px 18px 34px;gap:18px}}

/* The question stands alone on the dark, set big, and the cream lockup panel
   lands under it. */
.nextbox{margin:66px 0 26px;text-align:center}
.nextbox h2{margin:0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(2.6rem,6.6vw,4.4rem);line-height:1;letter-spacing:-.02em;
  color:#FFFFFF}
.signoff{margin-top:0}
.signoff h2{display:none}
@media (max-width:560px){.nextbox{margin:46px 0 18px}}

/* The payoff sits in the middle of the dark gap, not tucked under the acts. */
.acts .payoff{margin:56px 0 0}
.feat{margin-top:56px}
@media (max-width:560px){.acts .payoff{margin-top:38px}.feat{margin-top:38px}}

/* No question at the end — the lockup closes the page on its own. */
.signoff{margin-top:64px}
@media (max-width:560px){.signoff{margin-top:46px}}

/* The lockup closes the page, and it is the last thing you see — so it is big. */
.signoff{padding:64px 28px 60px;gap:26px}
.signoff .lockup{gap:22px}
.signoff .lmark{width:clamp(74px,9vw,104px);height:clamp(74px,9vw,104px)}
.signoff .lword{height:clamp(44px,5.4vw,64px)}
.signoff p{font-size:clamp(1.08rem,2.3vw,1.5rem)}
@media (max-width:560px){
  .signoff{padding:42px 18px 40px;gap:20px}
  .signoff .lockup{gap:16px}
}

/* No panel at the end — the lockup sits on the page's own dark ground. */
.signoff{background:none;border:0;border-radius:0;padding:56px 0 24px;
  border-top:1px solid var(--hair)}
.signoff p{color:#FFFFFF}
.signoff p em{color:var(--brand-lt)}
@media (max-width:560px){.signoff{padding:38px 0 18px}}


/* Pick a Destination: a map instead of flags — a language is not a country. */
.pickdest{background:none;border:0;padding:0;margin-top:14px}
.mapnote{margin:0 0 12px;font-family:'Space Grotesk',sans-serif;font-size:12.5px;
  letter-spacing:.02em;color:rgba(255,255,255,.62);text-align:center}
.wmap{display:block;width:100%;height:auto}
.wmap .ld{fill:#2A2F35;stroke:#3A4048;stroke-width:1;stroke-linejoin:round}
.wmap .mk circle{fill:var(--brand)}
.wmap .mk text{fill:#FFFFFF;font-size:15px;font-weight:500;
  font-family:'Space Grotesk','Noto Naskh Arabic','Noto Sans JP','Noto Sans SC',sans-serif}
@media (max-width:760px){.wmap .mk text{font-size:19px}}
@media (max-width:520px){.wmap .mk text{font-size:25px}.mapnote{font-size:11.5px}}


/* Labels are sized in the map's own units, so they scale with it and can never
   collide. On a phone the map keeps a legible width and swipes sideways. */
.mapscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.wmap{min-width:660px}
.wmap .mk text{font-size:inherit}
@media (max-width:760px){.wmap .mk text{font-size:inherit}}
@media (max-width:520px){.wmap .mk text{font-size:inherit}}
.mapscroll{max-width:100%}
.how.trio section{min-width:0}
.pickdest{min-width:0;max-width:100%}

/* the map keeps its own dark panel, the way the flag grid used to */
.pickdest{background:#1A1D21;border:0;border-radius:12px;padding:18px 16px 16px;margin-top:16px}
.mapnote{color:rgba(255,255,255,.6)}
.wmap .ld{fill:#333941;stroke:#454C55;stroke-width:1}
.wmap .mk text{fill:#FFFFFF}

/* the disclaimer holds one line, shrinking to fit rather than wrapping */
.disclaim{white-space:nowrap;overflow:hidden;
  font-size:min(12px, calc((100vw - 40px) / 76))}
@media (max-width:620px){
  .disclaim{white-space:normal;font-size:11.5px}
}

/* the three languages we do not list yet: the native names alone, centered
   under the grid, equal air above and below so the ask underneath reads as
   the answer to them. Sized between the chips (13px) and the button (14px). */
.picklangs .golangs{margin-top:0}
.picklangs .golangs .cta{margin-top:16px}
.picklangs .moreline{margin-top:18px}
.picklangs .moreline .alsolangs{margin:0 0 18px;max-width:none;width:100%;
  text-align:center;
  font-family:'Space Grotesk','Noto Sans','Noto Sans Thai',sans-serif;
  font-size:13.5px;font-weight:600;line-height:1.4;letter-spacing:0;color:var(--brand)}
.picklangs .moreline .alsolangs span{color:inherit;padding:0}
.how.trio section .picklangs .moreline .alsolangs,
.how.trio section .picklangs .moreline .alsolangs span{color:var(--brand)}


/* the ask under the languages takes the page's own dark ground, so it reads
   as a different offer from the orange list above it */
.how.trio section .picklangs a.more,
.how.trio section .picklangs .moreline a.more{background:#1A1D21;border:1px solid #1A1D21;
  color:#FFFFFF}
.how.trio section .picklangs a.more:hover,
.how.trio section .picklangs .moreline a.more:hover{background:var(--brand);
  border-color:var(--brand);color:#FFFFFF}
.how.trio section .picklangs .moreline a.more{transition:background .16s ease,
  border-color .16s ease,color .16s ease}
.how.trio section .picklangs a.more:focus-visible{outline:2px solid #1A1D21;outline-offset:2px}

/* Go! takes the same blue on hover as the ask above it, so the two clickable
   things on this block answer to the same color */
.how.trio section h3.bhead.go:hover,
.how.trio section h3.bhead.go:focus-within{background:#1A1D21;color:#FFFFFF}
.how.trio section h3.bhead.go:hover a,
.how.trio section h3.bhead.go:focus-within a{color:#FFFFFF}
.how.trio section h3.bhead.go{transition:background .16s ease,color .16s ease}
.how.trio section h3.bhead.go a:focus-visible{outline:2px solid #FFFFFF;outline-offset:4px}

/* the sign-off lockup is the last door to sign-up */
.signoff a.lockup{text-decoration:none;cursor:pointer;
  transition:opacity .16s ease,transform .16s ease}
.signoff a.lockup:hover{opacity:.82}
.signoff a.lockup:focus-visible{outline:2px solid var(--brand);outline-offset:8px;border-radius:8px}

/* Several at Once - the buoy. The acts block is repeat across time; this is
   repeat across languages. The payoff line moved out of .acts and lives here
   now, so it closes both ideas instead of only the first. */
.buoy{margin:38px 0 0;padding-top:34px;border-top:1px solid var(--hair)}
.buoy h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.015em;color:var(--ink);
  text-align:center;line-height:1.1;margin:0 0 14px;text-wrap:balance}
.buoy .blede{margin:0 auto 30px;max-width:62ch;text-align:center;
  font-size:1.02rem;line-height:1.62;color:var(--soft)}
.buoy .bchart{overflow-x:auto;overflow-y:hidden;margin:0 0 30px}
.buoy .bchart svg{display:block;width:100%;min-width:640px;height:auto}
.buoy .bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;
  background:var(--hair);border:1px solid var(--hair);border-radius:14px;
  overflow:hidden}
.buoy .bgrid section{background:var(--panel);padding:22px 22px 26px;
  display:flex;flex-direction:column;gap:8px}
.buoy .bgrid .pos{font-size:11px;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:var(--brand)}
.buoy .bgrid h3{margin:0;font-family:'Instrument Serif',Georgia,serif;
  font-weight:400;font-size:1.5rem;line-height:1.12;color:var(--ink)}
.buoy .bgrid p{margin:0;font-size:14px;line-height:1.6;color:var(--soft)}
.buoy .bgrid section.peak{background:var(--brand)}
.buoy .bgrid section.peak .pos{color:#FFFFFF;opacity:.82}
.buoy .bgrid section.peak h3{color:#FFFFFF}
.buoy .bgrid section.peak p{color:rgba(255,255,255,.9)}
.buoy .payoff{margin:56px 0 0;text-align:center;line-height:1.15;
  font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(2rem,4.6vw,3.2rem);color:var(--ink);text-wrap:balance}
.buoy .payoff .wmpay{height:1.1em;width:auto;display:inline-block;
  vertical-align:-.17em;margin:0 -.12em 0 .02em}
@media (max-width:700px){.buoy .bgrid{grid-template-columns:1fr}}
@media (max-width:560px){.buoy .payoff{margin-top:38px}}

/* Punch list, 2026-09-19.
   1. Go! sat left on a phone because an earlier rule set justify-self:start.
   2. The buoy chart scrolled sideways on a phone; it now swaps to a narrow
      portrait drawing that fits, and only the wide one scrolls. */
@media (max-width:560px){
  /* the card is a 3-column grid and Go! sat in column 1, so it read as left
     aligned. 1/-1 does not help here - only one column is declared, so -1
     resolves to the end of column 1. Span the three used tracks explicitly. */
  .how.trio section:nth-of-type(3) h3.bhead.go{grid-column:1 / span 3;justify-self:center}
}
.buoy .bchart svg.narrow{display:none}
@media (max-width:700px){
  .buoy .bchart{overflow:visible}
  .buoy .bchart svg.wide{display:none}
  .buoy .bchart svg.narrow{display:block;width:100%;min-width:0;height:auto}
}

/* The Grammar Guide button is blue everywhere. The bottom pair on the lesson
   page was being repainted orange by .pagelink.drillbtn .cta, so the same
   button was blue at the top of the page and orange at the bottom. */
.pagelink.drillbtn .cta.blue{background:var(--you);border-color:var(--you);
  color:#FFFFFF}
.pagelink.drillbtn .cta.blue:hover{background:#163B48;border-color:#163B48;
  color:#FFFFFF}

/* The disclaimer grew past the point where one line works: holding it on a
   single line now needs a ratio of ~130, which is 8px type at 1100px wide and
   smaller still below that. It wraps instead, centred and readable. */
.disclaim{white-space:normal;overflow:visible;font-size:12px;line-height:1.65;
  max-width:96ch;margin-inline:auto;text-align:center}
@media (max-width:620px){.disclaim{font-size:11.5px;text-align:left}}

/* The word Disclaimer reads as the label it is. --ink rather than a literal
   white so it stays legible on the light pages too. */
.disclaim .dlabel{color:var(--ink)}

/* Speed buttons run cool to warm: blue is slow and patient, warm is fast.
   Extra Slow is the Grammar Guide blue exactly - the setting you use when you
   are going carefully. Temperature, not right and wrong, so nobody is scolded
   for slowing the audio down, and the ramp survives colour blindness in a way
   red-to-green does not. Every pair clears 4.5:1. */
.speeds button[data-rate="0.6"].on{background:#1F4E5F;color:#FFFFFF}
.speeds button[data-rate="0.8"].on{background:#39697C;color:#FFFFFF}
.speeds button[data-rate="1"].on{background:#DCD6CA;color:#1A1D21}
.speeds button[data-rate="1.25"].on{background:#C0572C;color:#FFFFFF}
.speeds button[data-rate="1.5"].on{background:#8E2C10;color:#FFFFFF}
.speeds button[data-rate="0.6"].on:hover,
.speeds button[data-rate="0.8"].on:hover,
.speeds button[data-rate="1.25"].on:hover,
.speeds button[data-rate="1.5"].on:hover{color:#FFFFFF}
.speeds button[data-rate="1"].on:hover{color:#1A1D21}

/* the floating bar's chip follows the same ramp */
.nowbar .ratenow{border-radius:999px;padding:2px 9px;font-weight:700}
.nowbar .ratenow[data-rate="0.6"]{background:#1F4E5F;color:#FFFFFF}
.nowbar .ratenow[data-rate="0.8"]{background:#39697C;color:#FFFFFF}
.nowbar .ratenow[data-rate="1"]{background:#DCD6CA;color:#1A1D21}
.nowbar .ratenow[data-rate="1.25"]{background:#C0572C;color:#FFFFFF}
.nowbar .ratenow[data-rate="1.5"]{background:#8E2C10;color:#FFFFFF}

/* How We Travel - the method behind the recommendations. Deliberately lighter
   than the card blocks above it: hairline columns, no boxes, so three 3-up
   sections in a row do not all read the same. */
.phil{margin:56px 0 0;padding-top:34px;border-top:1px solid var(--hair)}
.phil h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:clamp(1.9rem,3.4vw,2.6rem);letter-spacing:-.015em;color:var(--ink);
  text-align:center;line-height:1.1;margin:0 0 14px;text-wrap:balance}
.phil .plede{margin:0 auto 34px;max-width:62ch;text-align:center;
  font-size:1.02rem;line-height:1.62;color:var(--soft)}
.phil .pgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.phil .pgrid section{padding:0 26px}
.phil .pgrid section:first-child{padding-left:0}
.phil .pgrid section:last-child{padding-right:0}
.phil .pgrid section + section{border-left:1px solid var(--hair)}
.phil .pgrid h3{margin:0 0 10px;font-family:'Instrument Serif',Georgia,serif;
  font-weight:400;font-size:1.42rem;line-height:1.14;color:var(--brand-lt);
  text-wrap:balance}
.phil .pgrid p{margin:0;font-size:14.5px;line-height:1.66;color:var(--soft)}
.phil .pmore{margin:30px 0 0;text-align:center;font-size:13.5px;color:var(--soft)}
.phil .pmore .tpol{color:var(--brand-lt)}
@media (max-width:760px){
  .phil .pgrid{grid-template-columns:1fr;gap:26px}
  .phil .pgrid section{padding:0}
  .phil .pgrid section + section{border-left:0;border-top:1px solid var(--hair);
    padding-top:26px}
}

/* Guns & Butter. Condensed: the argument and the frontier sit side by side
   rather than stacked, and the chart uses the portrait drawing at every width
   so its labels stay readable in half a column. */
.phil .prow{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(26px,4vw,52px);align-items:center}
.phil .pcopy{min-width:0}
.phil .plede{max-width:46ch;text-align:left;margin:0 0 14px;font-size:1rem;
  line-height:1.62;color:var(--soft)}
.phil .pmore{margin:18px 0 0;text-align:left;font-size:13px;line-height:1.6;
  color:var(--soft)}
.phil .pmore .tpol{color:var(--brand-lt)}
.phil .pchart{margin:0;min-width:0}
.phil .pchart svg{display:block;width:100%;max-width:440px;height:auto;
  margin-inline:auto}
.phil .pcap{margin:10px auto 0;max-width:46ch;text-align:center;font-size:12.5px;
  line-height:1.6;color:var(--soft)}
.phil h2 .philhead{color:inherit;text-decoration:none;
  border-bottom:1px solid rgba(224,138,98,.38);padding-bottom:2px}
.phil h2 .philhead:hover{color:var(--brand-lt);border-bottom-color:var(--brand-lt)}
.phil h2 .philhead:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
@media (max-width:820px){
  .phil .prow{grid-template-columns:1fr;gap:24px}
  .phil .plede{max-width:62ch;margin-inline:auto}
  .phil .pmore{text-align:center}
}

/* The Points of Life is cited, not linked. The homepage makes one ask -- sign up
   -- so the credit stays as text and the only outbound exit is the footer. These
   spans inherit rules written when they were anchors, so the link affordances
   (underline, hover colour, pointer) are taken back off here. */
.feat .tpol,
.wgrid .tpol,
.phil .pmore .tpol{text-decoration:none;cursor:inherit}
.feat .tpol:hover,
.wgrid .tpol:hover,
.phil .pmore .tpol:hover{color:inherit;text-decoration:none}
.feat .fgrid section:nth-child(3) .tpol:hover{color:#FFFFFF}
.phil .pmore .tpol,
.phil .pmore .tpol:hover{color:var(--brand-lt)}
.phil h2 .philhead:hover{color:inherit;border-bottom-color:rgba(224,138,98,.38)}

/* FAQ: "Who made this?" absorbed the old About page, so it gets more room than a
   one-paragraph answer -- an opening line at lede weight, the biography boxed,
   then the argument and the three places to find him. */
.faq .who .wholede{margin:0 0 16px;max-width:62ch;
  color:var(--ink);font-size:16.5px;line-height:1.56}
.faq .who .wholede b{font-weight:500;color:var(--brand-lt)}
.faq .who .abox{margin:0 0 18px}
.faq .who .links{margin:20px 0 0}

/* Guns & Butter runs light: a white plate on the dark page, orange headline, the
   frontier drawn dark-on-white. The tokens are redefined on the block itself the
   way body.lightpage does it, so every rule written above for the dark ground --
   --ink, --soft, --hair, --brand-lt -- flips with the block instead of needing a
   second copy of itself here. */
.phil{
  --ink:#1A1D21; --soft:#4A4741; --hair:#E4E0D8; --panel:#FFFFFF;
  --brand:#BE4F2C; --brand-lt:#BE4F2C;
  margin:clamp(44px,7vw,72px) 0 0;
  padding:clamp(30px,4.6vw,54px) clamp(22px,4vw,46px);
  border-top:0;border-radius:18px;
  background:#FFFFFF;color:#1A1D21}
.phil h2{color:var(--brand)}
.phil h2 .philhead{border-bottom-color:rgba(190,79,44,.3)}
.phil h2 .philhead:hover{color:var(--brand);border-bottom-color:rgba(190,79,44,.3)}
.phil .pcap{color:#6E6A64}

/* FAQ as an accordion. Every answer is a <details>, so the page opens as a list
   of questions a reader can scan in one screen instead of scrolling past seven
   answers to find the one they came for. The first is open because the rhythm
   diagram is the best thing on the page and should not be behind a click. */
.faq{margin-top:34px;display:block}
.faq .qa{border-top:1px solid var(--hair)}
.faq .qa:last-of-type{border-bottom:1px solid var(--hair)}
.faq .qa > summary{list-style:none;cursor:pointer;display:flex;gap:18px;
  align-items:baseline;padding:19px 0;
  font-family:'Instrument Serif',Georgia,serif;font-weight:400;
  font-size:1.32rem;line-height:1.26;color:var(--ink)}
.faq .qa > summary::-webkit-details-marker{display:none}
.faq .qa > summary .q{flex:1 1 auto;text-wrap:balance}
.faq .qa > summary::after{content:"";flex:0 0 auto;align-self:center;
  width:9px;height:9px;margin:0 2px 4px 0;
  border-right:1.8px solid var(--brand);border-bottom:1.8px solid var(--brand);
  transform:rotate(45deg);transition:transform .18s ease}
.faq .qa[open] > summary::after{transform:rotate(-135deg);margin-bottom:-2px}
.faq .qa > summary:hover{color:var(--brand-lt)}
.faq .qa > summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.faq .a{padding:0 0 26px}
.faq .a > p{margin:0;font-size:15px;line-height:1.65;color:var(--soft);max-width:62ch}
.faq .a > p + p{margin-top:14px}
.faq .a a{color:var(--brand);text-underline-offset:3px}
.faq .a .rhythm{margin-top:0}
.faq .rhythm .rlab{margin:0 0 10px;font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--brand-lt);max-width:none}
@media (prefers-reduced-motion:reduce){
  .faq .qa > summary::after{transition:none}
}

/* The source line under the frontier. A real credit, set the way a journal sets
   one -- short rule, small caps-ish grey, publication italicised -- which is the
   joke: a travel blog cited like a paper. Lower left of the white plate. */
.phil .pfoot{margin:clamp(20px,2.8vw,32px) 0 0;max-width:62ch;
  font-size:11.5px;line-height:1.5;color:#7A756D;text-align:left}
.phil .pfoot::before{content:"";display:block;width:54px;height:1px;
  background:#DCD7CE;margin:0 0 10px}
.phil .pfoot .tpol{color:#7A756D;text-decoration:none;transition:color .15s ease}
.phil .pfoot .tpol:hover{color:var(--brand)}
.phil .pfoot .tpol:focus-visible{outline:2px solid var(--brand);outline-offset:3px}

/* FAQ's Start Lesson button -- the homepage's .cta, not a text link. */
.faqgo{margin:clamp(28px,4vw,40px) 0 0;display:flex;justify-content:center}
/* While rearranging, the collapsed rows need a grab affordance. */
body.editing .faq .qa{cursor:grab}
body.editing .faq .qa.dragging{opacity:.5}
body.editing .faq .qa.dropping{outline:2px dashed var(--brand);outline-offset:2px}

/* Lists inside an answer -- the acts, the buoy order. */
.faq .a .qlist{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:11px;max-width:62ch}
.faq .a .qlist li{position:relative;padding-left:16px;font-size:15px;line-height:1.62;
  color:var(--soft)}
.faq .a .qlist li::before{content:"";position:absolute;left:0;top:.62em;
  width:5px;height:5px;border-radius:50%;background:var(--brand)}
.faq .a .qlist b{color:var(--ink);font-weight:500}
.faq .a .qlist + p{margin-top:14px}

/* The FAQ runs light -- white ground, orange accents. body.lightpage already
   redefines the tokens (it was written for the lesson pages), so this only has
   to do the things that block was never asked to do: give the panels a tint so
   they read against a white page rather than vanishing into it, and put the
   page title in the brand. */
body.lightpage .wrap > h1{color:var(--brand)}
body.lightpage .rhythm,
body.lightpage .abox,
body.lightpage .linkcard{background:var(--tile);border:1px solid var(--hair)}
body.lightpage .rhythm .seg.en{background:#FFFFFF}
body.lightpage .linkcard:hover{background:#EDEAE3;border-color:var(--brand)}
body.lightpage .faq .qa > summary:hover{color:var(--brand)}
body.lightpage .faq .who .wholede b{color:var(--brand)}
body.lightpage .signoff{border-top:1px solid var(--hair)}
/* On the FAQ the native-speaker step takes the brand rather than the ink block
   the lesson pages use -- this page is orange and white. */
body.lightpage .faq .seg.voice{background:var(--brand);color:#FFFFFF}
body.lightpage .faq .seg.voice b{color:rgba(255,255,255,.78)}
/* The sign-off was painted white for the dark pages (site.css line ~1543); on
   the light FAQ that is white on white. Repaint it here rather than unpicking
   that override, which the dark pages still need. */
body.lightpage .signoff{background:transparent}
body.lightpage .signoff p{color:var(--ink)}
body.lightpage .signoff p em{color:var(--brand)}
/* "The rhythm" label measured 4.36:1 on the tile -- under AA for 11px text. */
body.lightpage .rhythm .rlab{color:#A8431F}

/* The FAQ takes the Pick a Language card's scheme: the heading carries the
   brand, everything under it is set in the near-black rather than the grey the
   dark pages use, because grey body text on white reads washed out. */
body.lightpage .faq .qa > summary{color:var(--brand)}
body.lightpage .faq .qa > summary:hover{color:#8E3A1E}
body.lightpage .faq .a > p,
body.lightpage .faq .a .qlist li,
body.lightpage .faq .rhythm > p,
body.lightpage .faq .rhythm .legend,
body.lightpage .faq .abox p,
body.lightpage .faq .linkcard span{color:#1A1D21}
body.lightpage .faq .a .qlist b,
body.lightpage .faq .a p b{color:#1A1D21}

/* The buoy section names the method now -- the benefit becomes the eyebrow above
   it, the way the standalone Buoy Method artifact sets it. */
.buoy .beyebrow{margin:0 0 12px;text-align:center;
  font-family:'Space Grotesk',system-ui,sans-serif;font-size:11.5px;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--brand-lt)}
.buoy .blede.bdef{margin-top:-16px}
/* "Then swim it again with three more." stands alone -- it is the escalation, not
   a tail on the definition. */
.buoy .blede.bagain{margin-top:-14px}

/* Pick order: the number on a picked language is its place in the lesson (2026-09-21) */
.how.trio section .picklangs li{position:relative}
.how.trio section .picklangs li.on[data-order]::after{content:attr(data-order);position:absolute;
  top:-7px;right:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;
  background:#1A1D21;color:#FFFFFF;font-size:11px;font-weight:700;line-height:18px;text-align:center;
  font-variant-numeric:tabular-nums}

/* Item 19, Build their Flight Path (2026-09-21): "which looks harder?" and the
   too-similar caution, inside the white Pick a Language panel. */
.how.trio section .picklangs .fpask{margin:14px 0 0}
.how.trio section .picklangs .fpq{display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  margin:0 0 8px;font-size:13px;line-height:1.4;color:#1A1D21}
.how.trio section .picklangs .fpq span{font-weight:600;margin-right:2px}
.how.trio section .picklangs .fpq button{font:inherit;font-size:13px;cursor:pointer;
  border-radius:999px;padding:5px 13px;background:#FFFFFF;border:1px solid var(--brand);color:var(--brand)}
.how.trio section .picklangs .fpq button:hover{background:#FCE9E0}
.how.trio section .picklangs .fpq button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.how.trio section .picklangs .fpq button.on{background:var(--brand);color:#FFFFFF}
.how.trio section .picklangs .fpwarn{margin:10px 0 0;padding:9px 12px;border-radius:8px;
  background:#FFF4E5;border:1px solid #F2C98A;color:#6B4200;font-size:12.5px;line-height:1.5}
@media (max-width:560px){.how.trio section .picklangs .fpq span{flex-basis:100%}}

/* ===== Item 10 — The Itinerary (lessons.html), 2026-09-21 ===== */
.itn .itn-kick{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-lt);margin:0 0 6px}
.itn-strip{list-style:none;margin:26px 0 8px;padding:14px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;
  border:1px solid var(--hair);border-radius:12px;background:var(--panel)}
.itn-strip li{display:flex;align-items:center}
.itn-stop{flex-direction:column;align-items:flex-start!important;line-height:1.15}
.itn-stop b{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.25rem;color:var(--ink)}
.itn-stop span{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
.itn-hop svg{width:18px;height:18px;fill:var(--brand-lt);transform:rotate(90deg)}
.itn-next{flex-basis:100%;border-top:1px dashed var(--hair);padding-top:10px;font-size:13px;color:var(--lock);gap:10px;flex-wrap:wrap}
.itn-next span{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
.itn-leg{position:relative;padding-left:44px;margin-top:34px}
.itn-leg::before{content:"";position:absolute;left:15px;top:34px;bottom:-34px;border-left:2px dashed var(--hair)}
.itn-mark{position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:var(--panel);border:1px solid var(--hair)}
.itn-mark svg{width:16px;height:16px;fill:var(--soft)}
.itn-plane .itn-mark svg{transform:rotate(90deg);fill:var(--brand-lt)}
.itn-city .itn-mark{background:var(--brand);border-color:var(--brand)}
.itn-city .itn-mark svg{fill:#fff}
.itn-leg > h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;text-transform:none;letter-spacing:0;margin:0 0 14px;padding-top:2px}
.itn-eye{flex-basis:100%;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
.itn-name{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.7rem;line-height:1.1;color:var(--ink)}
.itn-lang{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-lt)}
.itn-onward{position:relative;padding-left:44px;margin:34px 0 10px}
.itn-onward::before{content:"";position:absolute;left:9px;top:4px;width:14px;height:14px;border-radius:50%;border:2px dashed var(--lock)}
.itn-onward p{margin:0}
.itn-onlist{font-family:'Instrument Serif',Georgia,serif;font-size:1.35rem;color:var(--lock);margin-top:4px!important}
@media (max-width:520px){
  .itn-leg,.itn-onward{padding-left:38px}
  .itn-mark{width:28px;height:28px}
  .itn-leg::before{left:13px;top:30px}
  .itn-name{font-size:1.45rem}
  .itn-strip{padding:12px}
}


/* Lessons page: Departure / Destination / Departure written sideways along each stop (his call, 2026-09-22) */
.itn-side{position:absolute;left:0;top:52px;bottom:0;width:32px;display:flex;flex-direction:column;justify-content:space-around;align-items:center}
.itn-side span{writing-mode:vertical-rl;transform:rotate(180deg);background:var(--ground);padding:8px 0;
  font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brand-lt);white-space:nowrap}
@media (max-width:520px){.itn-side{width:28px;top:46px}.itn-side span{font-size:10px;letter-spacing:.12em}}

/* ---- Hero tagline cycling through the nine languages (2026-09-22) ---- */
.hero3 h1.tlcycle{display:grid}
.hero3 h1.tlcycle .tl{grid-area:1/1;opacity:0;transition:opacity .7s ease;align-self:center}
.hero3 h1.tlcycle .tl.on{opacity:1}
.hero3 h1.tlcycle .tl[lang="zh"]{font-family:'Noto Sans SC','Instrument Serif',serif;font-size:.8em;line-height:1.3}
.hero3 h1.tlcycle .tl[lang="ja"]{font-family:'Noto Sans JP','Instrument Serif',serif;font-size:.78em;line-height:1.3}
.hero3 h1.tlcycle .tl[lang="ar"]{font-family:'Noto Naskh Arabic','Instrument Serif',serif;font-size:.86em;line-height:1.4}
.hero3 h1.tlcycle .tl[lang="ko"]{font-family:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic','Instrument Serif',serif;font-size:.8em;line-height:1.3}
.hero3 h1.tlcycle .tl[lang="zh"] em,.hero3 h1.tlcycle .tl[lang="ja"] em,.hero3 h1.tlcycle .tl[lang="ar"] em,.hero3 h1.tlcycle .tl[lang="ko"] em{font-style:normal}
@media (prefers-reduced-motion:reduce){.hero3 h1.tlcycle .tl{transition:none}}
.hero3 h1.tlcycle .cl{display:inline-block}
/* every tagline on exactly two lines, split at the comma (his call) */
.hero3 h1.tlcycle{max-width:none}
.hero3 h1.tlcycle .cl{display:block;white-space:nowrap}
@media (max-width:520px){.hero3 h1.tlcycle{font-size:clamp(1.05rem,6.4vw,1.85rem)}}
.hero3 h1.tlcycle .tl{transition:opacity 1s ease}

/* Guns & Butter hidden for now */
.phil[hidden]{display:none!important}

/* City strip: 12 cities in even rows, 6 across (3 on phones) (his call, 2026-09-22) */
.itn-strip{display:grid;grid-template-columns:repeat(6,auto auto);justify-content:space-between;gap:10px 8px;align-items:center}
@media (max-width:760px){.itn-strip{grid-template-columns:repeat(3,auto auto);column-gap:6px}}
.itn-stop b{white-space:nowrap}

/* Lessons page invite line (his wording, 2026-09-22) */
.itn-invite{margin:10px 0 0;font-family:'Instrument Serif',Georgia,serif;font-size:1.35rem;line-height:1.3;color:var(--ink)}
.itn-invite a{color:var(--brand-lt);text-decoration:none;border-bottom:1px solid currentColor}
.itn-invite a:hover{color:#fff}
.itn-how{margin:6px 0 0;font-size:15px;line-height:1.5;color:var(--soft,#9C968D);max-width:38rem}

/* Go! card: the line under it stays on one line at every width (his call, 2026-09-22) */
@media (max-width:900px){
  .how.trio section:nth-of-type(3) p{grid-column:1/-1;max-width:none;white-space:nowrap;text-align:center;
    contain:inline-size;font-size:min(12.8px,2.72vw)}
}
@media (max-width:599px){
  .how.trio section:nth-of-type(3) p{white-space:normal;font-size:13px;text-wrap:balance}
}

/* City strip, compact (his call, 2026-09-22: "too much real estate") */
.itn-strip{padding:8px 12px;gap:4px 6px;margin:16px 0 6px}
.itn-stop b{font-size:1rem}
.itn-stop span{font-size:8.5px;letter-spacing:.08em}
.itn-stop{line-height:1.05}
.itn-hop svg{width:12px;height:12px}

/* After Rio: the plane heads down into Lessons 31-40, fading out -- the list keeps going (his call, 2026-09-22) */
.itn-more .itn-mark svg{transform:rotate(180deg)}
.itn-more{padding-bottom:60px;pointer-events:none}
.itn-more::before{-webkit-mask-image:linear-gradient(to bottom,#000,transparent);mask-image:linear-gradient(to bottom,#000,transparent)}
.itn-more::before{bottom:0}
/* 31-40: bottom half of the plane and the numbers fade out (his call) */
.itn-more .itn-mark{-webkit-mask-image:linear-gradient(to bottom,#000 35%,transparent 80%);mask-image:linear-gradient(to bottom,#000 35%,transparent 80%)}
.itn-more .itn-eye{background:linear-gradient(to bottom,var(--soft) 5%,transparent 90%);-webkit-background-clip:text;background-clip:text;color:transparent;width:max-content;flex-basis:auto}
.itn-more > h2{border-bottom-color:transparent}
/* less space between the faded plane and the footer (his call) */
.itn-more{padding-bottom:8px}
.wrap.itn{padding-bottom:12px}
.itn-how{max-width:none;text-wrap:pretty}

/* "The Flight Plan Method" under How It Works (his call, 2026-09-22) */
.how.trio > p.howmethod{grid-column:1/-1;margin:-6px 0 18px;text-align:center;font-family:'Space Grotesk',sans-serif;
  font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brand-lt)}
.how.trio > p.howmethod{justify-self:center;width:100%;max-width:none;margin-left:0;margin-right:0}
.how.trio > p.howmethod{font-size:clamp(17px,2.2vw,22px);letter-spacing:.14em;margin-top:-2px;margin-bottom:22px}
.how.trio > p.howmethod{margin-top:-24px}

/* The three cards line up with the phases on the chart above (his call, 2026-09-22) */
@media (min-width:701px){
  /* the row starts 16 units right of the start dot's center (68) and ends the
     same 16 units right of the end dot's center (930.3) in the chart's 1000-wide
     viewBox, which is this same column; the -1px pays for the grid's border */
  .buoy .bgrid{grid-template-columns:1.7fr 1.15fr 1.2fr;
    margin-left:calc(8.4% - 1px);margin-right:calc(5.37% - 1px)}
}

/* Change Language in the top bar (his call, 2026-09-25: "change language at the top").
   English is the default and nothing switches on its own - "english default / they
   change". Each language is a real URL, and the switcher keeps you on the same page.
   Built as <details> so it works with no JavaScript. */
.bar nav{align-items:center}
.langsw{position:relative;font-size:13.5px}
.langsw > summary{list-style:none;cursor:pointer;color:var(--soft);
  display:inline-flex;align-items:center;gap:6px;padding:3px 10px;
  border:1px solid var(--hair);border-radius:999px;line-height:1.35;
  font-weight:700;letter-spacing:.06em}
.langsw > summary::-webkit-details-marker{display:none}
.langsw > summary::after{content:'';width:0;height:0;border-left:4px solid transparent;
  border-right:4px solid transparent;border-top:4px solid currentColor;opacity:.65}
.langsw > summary:hover,.langsw[open] > summary{color:var(--ink);border-color:var(--brand)}
.langsw > summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.langmenu{position:absolute;right:0;top:calc(100% + 9px);z-index:40;min-width:11rem;
  padding:6px;background:var(--panel);border:1px solid var(--hair);border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);display:flex;flex-direction:column}
.langmenu a{display:block;padding:8px 10px;border-radius:6px;color:var(--soft);
  text-decoration:none;white-space:nowrap;font-weight:500}
.langmenu a:hover{background:var(--hair);color:var(--ink)}
.langmenu a[aria-current]{color:var(--ink);font-weight:700}
body.lightpage .langmenu{box-shadow:0 10px 30px rgba(17,18,19,.14)}
@media (max-width:520px){.langmenu{min-width:9.5rem}}

/* Right-to-left, for the Arabic site (2026-09-25). The layout is flexbox and grid,
   so most of it flips by itself; these are the places that hard-coded a side. */
[dir="rtl"] .picklangs li b{margin-right:0;margin-left:6px}
[dir="rtl"] .langmenu{right:auto;left:0}
[dir="rtl"] .bar nav{margin-left:0;margin-right:auto}
[dir="rtl"] .meta .mline p{margin:0 -20px 0 0}
[dir="rtl"] .meta .mline p > *{padding-left:0;padding-right:20px}
[dir="rtl"] .meta .mline p > *::before{left:auto;right:7px}
[dir="rtl"] .lessontools .playall{margin-right:0;margin-left:8px}
[dir="rtl"] .itn-side{left:auto;right:0}
[dir="rtl"] .disclaim,[dir="rtl"] .fine,[dir="rtl"] .err{text-align:right}
/* The flight-plan and Guns & Butter charts are diagrams, not text: they stay as drawn,
   and the whole SVG stays left-to-right. Arabic words inside still render right-to-left
   on their own, but text-anchor keeps meaning what it meant when the chart was drawn --
   forcing direction:rtl on the <text> flips the anchor and throws the corner labels off
   the canvas. */
[dir="rtl"] .bchart,[dir="rtl"] .pchart{direction:ltr}
/* plaintext lets each label take its direction from its own first letter, so the
   full stops land at the end of the Arabic instead of jumping to the front, while
   text-anchor still points where the chart was drawn to expect it */
[dir="rtl"] .bchart text,[dir="rtl"] .pchart text{unicode-bidi:plaintext}

/* extra language buttons (Swedish, Turkish) link to the intake page */
.how.trio section .picklangs li.extra{padding:0}
.how.trio section .picklangs li.extra a{display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;padding:7px 10px;color:inherit;text-decoration:none;border-radius:999px}
