/* ============================================================
   OG · ISSUER PAGES · SHARED STYLES
   ============================================================ */

/* tokens imported via tokens.css */
*{ box-sizing: border-box; }
html, body { margin:0; padding:0; }
html { scroll-behavior: smooth; }
body{
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}
::selection{ background: var(--accent); color: var(--paper); }
a{ color: inherit; }

/* ---------- TYPE · A1 ---------- */
.display{
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.04em; line-height: 0.98;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.display em{ font-style: normal; color: var(--accent); font-weight: 500; }
h2.section-h{
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2.section-h em{ font-style: normal; color: var(--accent); font-weight: 500; }
.eyebrow{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
}
.eyebrow::before{
  content:""; width: 24px; height: 1px; background: var(--accent); display:inline-block;
}
.lede{
  font-family: var(--body);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 58ch;
  text-wrap: pretty;
}
.lede em{ font-style: italic; color: var(--ink); }

/* ---------- LAYOUT ---------- */
.wrap{ max-width: var(--max); margin: 0 auto; padding: 0; }
section{ padding: clamp(64px, 8vw, 112px) var(--pad); border-top: 1px solid var(--rule); }
section:first-of-type{ border-top: 0; }
.warm-bg{ background: var(--paper-warm); }
.tint-bg{ background: var(--tint-bg); }

/* ---------- NAV ---------- */
.nav{
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  max-width: none;
  margin: 0;
  width: 100%;
  gap: 24px;
}
.logo{
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display:inline-flex; align-items:center;
  text-decoration: none;
  color: var(--ink);
}
.logo{ gap: 16px; }
.logo .mark{
  width: 52px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: currentColor;
}
.logo .mark svg{
  width: 100%;
  height: 100%;
  display: block;
}
.logo .lockup{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  line-height: 1;
  white-space: nowrap;
}
.logo .sub{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.28em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--ink);
  line-height: 1.0;
  white-space: nowrap;
}
/* Thai lines: no uppercase, softer tracking, lighter weight */
.logo .sub [lang="th"]{
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}
/* Hide the divider + subtitle when the nav gets tight (nav + mobile drawer only; footer keeps full lockup) */
@media (max-width: 1080px){
  .nav .logo .sub,
  .mobile-menu-head .logo .sub{ display: none; }
}
/* On the dark-ink footer, soften the subtitle so it reads in the palette */
footer .logo .sub{ color: inherit; }

.nav-links{ font-family: var(--sans); display:flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink-soft); align-items: center; letter-spacing: 0; }
.nav-links > a, .nav-links > .has-sub > a{ text-decoration: none; }
.nav-links a:hover{ color: var(--accent); }
.nav-links a.active{ color: var(--accent); }
.nav-cta{ display:flex; gap: 10px; align-items:center; }
@media (max-width: 860px){ .nav-links{ display:none; } }

/* nav dropdown */
.has-sub{ position: relative; }
.has-sub > a{
  display:inline-flex; align-items:center; gap: 6px; cursor: pointer;
}
.has-sub > a::after{
  content: ""; width: 7px; height: 7px;
  border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
  display: inline-block;
}
.has-sub:hover > a::after,
.has-sub:focus-within > a::after{ transform: rotate(-135deg) translateY(-1px); }
.sub-menu{
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 50;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu{
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub-menu::before{
  content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px;
}
.sub-menu a{
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: baseline;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  transition: background .15s ease;
}
.sub-menu a:last-child{ border-bottom: 0; }
.sub-menu a:hover{ background: var(--paper-warm); color: var(--ink); }
.sub-menu a:hover .sm-arr{ color: var(--accent); transform: translateX(3px); }
.sub-menu a.current{ background: var(--paper-warm); }
.sub-menu a.current .sm-t{ color: var(--accent); }
.sub-menu .sm-n{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em; color: var(--ink-mute);
}
.sub-menu .sm-t{
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -0.02em;
  color: var(--ink);
}
.sub-menu .sm-t small{
  display: block; font-family: var(--body); font-weight: 400; font-size: 14px;
  color: var(--ink-mute); margin-top: 2px; letter-spacing: 0;
}
.sub-menu .sm-arr{
  font-family: var(--display); font-size: 14px; color: var(--ink-mute);
  transition: color .15s ease, transform .15s ease;
  align-self: center;
}
.sub-menu .sm-head{
  padding: 10px 14px 8px;
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--accent); border-bottom: 1px solid var(--rule-soft);
  display: block;
}

/* ---------- BUTTONS · A1 pill ---------- */
.btn{
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
  background: none;
}
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--ink-800); }
.btn-primary .arrow{ color: var(--accent); }
.btn-accent{ background: var(--accent); color: var(--paper); }
.btn-accent:hover{ background: var(--accent-deep); }
.btn-ghost{ color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-link{
  padding: 0; background: none; color: var(--ink);
  border-bottom: 1px solid currentColor; border-radius: 0;
  padding-bottom: 2px;
}
.btn-link:hover{ color: var(--accent); }
.btn .arrow{ transition: transform .18s ease; display: inline-block; }
.btn:hover .arrow{ transform: translateX(3px); }

/* ---------- HERO (issuer pages) · A1 ---------- */
.hero{
  padding: clamp(72px, 10vw, 140px) var(--pad) clamp(56px, 8vw, 110px);
  position: relative;
  border-top: 0;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero .tag{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero .tag .num{
  background: var(--ink); color: var(--paper);
  padding: 5px 10px 4px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.hero .sub{
  font-family: var(--body); font-weight: 400;
  margin: 0 0 28px; font-size: 19px;
  line-height: 1.5; color: var(--ink-soft); max-width: 42ch; text-wrap: pretty;
}
.hero .sub em{ font-style: italic; color: var(--ink); }
.hero .hero-eyebrow{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.08em;
  color: var(--ink); margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero .hero-eyebrow::before{
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.hero-ctas{ display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-photo{
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}
.hero-photo::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,30,0.25) 0%, rgba(10,20,30,0) 55%);
  pointer-events: none;
}
@media (max-width: 980px){
  .hero-photo{ aspect-ratio: 16/10; order: -1; margin-bottom: 24px; }
}

/* ---------- TWO-COL ---------- */
.twocol{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px){ .twocol{ grid-template-columns: 1fr; } }
.prose p{ font-family: var(--body); font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 1em; max-width: 56ch; text-wrap: pretty; }
.prose p:last-child{ margin-bottom: 0; }
.prose strong{ color: var(--ink); font-weight: 500; }
.prose em{ font-style: italic; font-weight: 400; color: var(--ink); }

.kicker-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 24px;
}
@media (max-width: 780px){ .kicker-row{ grid-template-columns: 1fr; } }

/* ---------- STEPS · A1 ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 860px){ .steps{ grid-template-columns: 1fr; } }
.step{
  padding: 32px 28px 36px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper);
  position: relative;
  min-height: 240px;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.step:hover{ border-color: var(--ink); box-shadow: var(--shadow-card); }
.step .step-badge,
.step .num{
  font-family: var(--display); font-weight: 500;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--paper); background: var(--ink);
  padding: 5px 11px 4px;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center;
  align-self: flex-start;
  margin-bottom: 22px;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.step h3{
  font-family: var(--display); font-weight: 500; font-size: 28px;
  margin: 0 0 12px; letter-spacing: -0.028em; line-height: 1.2;
}
.step p{ font-family: var(--body); margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

/* ---------- DEAL WRAP (two-column example deal, matches landing) ---------- */
.deal-wrap{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 48px;
}
@media (max-width: 900px){ .deal-wrap{ grid-template-columns: 1fr; align-items: start; } }
.deal-lede-col{ display: grid; gap: 22px; align-content: center; }
.deal-lede-col .lede{ margin: 0; max-width: 38ch; }
.deal-lede-col .deal-sub{
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  color: var(--ink-soft); margin: 0; max-width: 40ch;
}
.deal-lede-col .deal-sub em{ font-style: italic; color: var(--ink); }
.deal-feat{
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.deal-feat li{
  display: grid; grid-template-columns: 28px 1fr;
  gap: 14px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--body); font-size: 15.5px; line-height: 1.45;
  color: var(--ink-soft);
}
.deal-feat li .n{
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  color: var(--accent);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.deal-feat li strong{ color: var(--ink); font-weight: 500; }
.deal-lede-col .btn{ margin-top: 8px; justify-self: start; }

/* ---------- DEAL CARD · A1 ---------- */
.deal-card{
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
}
/* Landing-style lean deal card: hero image + title + simple row body */
.deal-card .deal-hero{
  height: 180px;
  background-size: cover; background-position: center;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.deal-card .deal-hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,30,0.35) 0%, rgba(10,20,30,0) 55%);
}
.deal-card .deal-hero .photo-caption{
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  color: #fff; z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.deal-card .deal-title{
  padding: 22px 22px 18px; border-bottom: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
}
.deal-card .deal-title h3{
  font-family: var(--display); font-weight: 500; font-size: 24px; margin: 0 0 6px; letter-spacing: -0.025em;
}
.deal-card .deal-title .loc{
  font-family: var(--body); font-weight: 400;
  font-size: 15px; letter-spacing: 0; color: var(--ink-mute);
  line-height: 1.4;
}
.deal-card .deal-title .tag-min{
  font-family: var(--display); font-weight: 500;
  font-size: 15px; letter-spacing: -0.01em;
  color: var(--ink-mute);
  white-space: nowrap;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.deal-card .deal-body{ padding: 8px 22px 18px; }
.deal-card .deal-row{
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.deal-card .deal-row:last-child{ border-bottom: 0; }
.deal-card .deal-row .k{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0;
  color: var(--ink-mute);
}
.deal-card .deal-row .v{
  font-family: var(--display); font-weight: 500;
  font-size: 16px; letter-spacing: -0.01em;
  color: var(--ink);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.deal-card .deal-row .v.accent{ color: var(--accent); }
.deal-card .deal-row .v.jade{ color: var(--jade); }

.deal-card .dc-head{
  background: var(--ink); color: var(--paper);
  padding: 14px 24px 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
}
.deal-card .dc-head .status{ color: var(--accent-warm); }
.deal-card .dc-body{ padding: 20px 24px 22px; }
.deal-card .dc-row{
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--rule-soft);
}
.deal-card .dc-row:last-child{ border-bottom: 0; }
.deal-card .dc-row .k{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.deal-card .dc-row .v{
  font-family: var(--display); font-weight: 500;
  font-size: 16px; letter-spacing: -0.01em;
  color: var(--ink); text-align: right;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.deal-card .dc-row .v strong{ color: var(--ink); font-weight: 500; }
.deal-card .dc-section{
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule);
}
.deal-card .dc-section-label{
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  color: var(--accent); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.deal-card .dc-section-label::before{
  content:""; width: 16px; height: 1px; background: var(--accent);
}
.deal-card .dc-foot{
  background: var(--paper-warm); padding: 20px 28px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.deal-card .dc-foot .k{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--ink-mute); margin-bottom: 4px; display: block;
}
.deal-card .dc-foot .v{
  font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.deal-card .dc-foot .v.accent{ color: var(--accent); }
.deal-card .dc-note{
  font-family: var(--body);
  padding: 14px 28px; font-size: 13px; color: var(--ink-mute);
  border-top: 1px solid var(--rule-soft);
  letter-spacing: 0;
  font-style: italic;
}
.fineprint{
  font-family: var(--body);
  font-style: italic;
  font-size: 14px; line-height: 1.55;
  color: var(--ink-mute);
  max-width: 68ch;
  margin: 28px auto 0;
  text-align: center;
}

/* ---------- KEEP vs GET · A1 ---------- */
.kg-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px;
}
@media (max-width: 780px){ .kg-grid{ grid-template-columns: 1fr; } }
.kg-col{
  padding: 32px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.kg-col:last-child{ background: var(--tint-bg); border-color: var(--accent); }
.kg-col h3{
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.kg-col h3::before{
  content:""; width: 16px; height: 1px; background: var(--ink-mute);
}
.kg-col:last-child h3{ color: var(--accent); }
.kg-col:last-child h3::before{ background: var(--accent); }
.kg-col ul{ list-style: none; padding: 0; margin: 0; }
.kg-col li{
  font-family: var(--body);
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15.5px; line-height: 1.5; color: var(--ink-soft);
}
.kg-col li:last-child{ border-bottom: 0; }
.kg-col li::before{
  content: "—";
  color: var(--ink-mute); font-family: var(--sans);
  position: absolute; left: 0; top: 12px;
  line-height: 1.5;
}
.kg-col:last-child li::before{ content: "+"; color: var(--accent); font-weight: 500; }
.kg-col li strong{ color: var(--ink); font-weight: 500; }

/* ---------- ELIGIBLE / SPEC LIST · A1 ---------- */
.spec-grid{
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 780px){ .spec-grid{ grid-template-columns: 1fr; } }
.spec-cell{
  padding: 26px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.spec-cell h4{
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  margin: 0 0 14px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.spec-cell h4::before{
  content:""; width: 16px; height: 1px; background: var(--accent);
}
.spec-cell p, .spec-cell ul{ font-family: var(--body); margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.spec-cell ul{ list-style: none; padding: 0; }
.spec-cell li{ padding: 4px 0; }
.spec-cell li::before{ content: "· "; color: var(--ink-mute); }
.spec-cell strong{ color: var(--ink); font-weight: 500; }

/* ---------- TABLE · A1 ---------- */
.fp-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-family: var(--body);
  font-size: 15px;
}
.fp-table th, .fp-table td{
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.fp-table th{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--ink-mute);
  border-bottom-color: var(--rule);
  padding-bottom: 14px;
}
.fp-table td{ color: var(--ink-soft); line-height: 1.5; }
.fp-table td strong{ color: var(--ink); font-weight: 500; }
.fp-table tr.fp-row td{
  background: var(--tint-bg);
  color: var(--ink);
}
.fp-table tr.fp-row td strong{ color: var(--accent); }

/* ---------- TIMELINE · A1 ---------- */
.timeline{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 860px){ .timeline{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px){ .timeline{ grid-template-columns: repeat(2, 1fr); } }
.tl-step{
  padding: 20px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper);
  position: relative;
}
.tl-step .tl-k{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--accent); margin-bottom: 10px;
}
.tl-step .tl-v{
  font-family: var(--display); font-weight: 500; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1.3; color: var(--ink);
}
.tl-detail{
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
@media (max-width: 780px){ .tl-detail{ grid-template-columns: 1fr; } }
.tl-detail .item{ display: grid; grid-template-columns: 100px 1fr; gap: 16px; }
.tl-detail .item .w{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--ink-mute); padding-top: 2px;
}
.tl-detail .item .d{ font-family: var(--body); font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.tl-detail .item .d strong{ color: var(--ink); font-weight: 500; }

/* ---------- FAQ · A1 ---------- */
.faq{
  margin-top: 40px;
  display: grid; gap: 12px;
}
.faq details{
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 0 26px;
  transition: border-color .2s ease, background .2s ease;
}
.faq details[open]{ border-color: var(--accent); background: var(--tint-bg); }
.faq summary{
  cursor: pointer; list-style: none;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary:hover{ color: var(--accent); }
.faq summary .q-num{
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  color: var(--accent);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.faq summary .plus{
  font-family: var(--display); font-size: 24px; font-weight: 300;
  color: var(--ink-mute);
  transition: transform .2s ease, color .2s ease;
  width: 22px; text-align: center; line-height: 1;
}
.faq details[open] summary .plus{ transform: rotate(45deg); color: var(--accent); }
.faq .a{
  font-family: var(--body);
  padding: 0 44px 24px 62px; max-width: 72ch;
  color: var(--ink-soft); font-size: 16.5px; line-height: 1.6;
}
@media (max-width: 520px){
  .faq summary{ grid-template-columns: 36px 1fr auto; gap: 12px; }
  .faq .a{ padding: 0 0 22px 48px; }
}

/* ---------- CTA BAND · A1 flipped to warm paper ---------- */
.cta-band{ text-align: center; background: var(--paper-warm); }
.cta-band h2{ max-width: 22ch; margin-left:auto; margin-right:auto; color: var(--ink); }
.cta-band h2 em{ color: var(--accent); }
.cta-band .lede{ margin: 0 auto; color: var(--ink-soft); }
.cta-band .eyebrow{ justify-content: center; }
.cta-band .btn-row{ display:flex; gap: 16px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.cta-band .btn-accent{ background: var(--accent); }
.cta-band .btn-link{ color: var(--ink); border-bottom-color: var(--ink-mute); }
.cta-band .btn-link:hover{ color: var(--accent); border-bottom-color: var(--accent); }
.cta-band *:focus-visible{ outline-color: var(--accent); }

/* ---------- OTHER-PAGES BAR · A1 flipped to paper ---------- */
.other-pages{
  background: var(--paper);
  color: var(--ink);
  padding: 56px var(--pad);
}
.other-pages h3{
  font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em; margin: 0 0 28px; color: var(--ink); max-width: 28ch;
}
.op-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 780px){ .op-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .op-grid{ grid-template-columns: 1fr; } }
.op-grid a{
  padding: 22px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.op-grid a:hover{ border-color: var(--ink); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.op-grid a.current{
  background: var(--tint-bg);
  border-color: var(--accent);
}
.op-grid a .n{
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.op-grid a .n::before{
  content:""; width: 14px; height: 1px; background: var(--accent-warm);
}
.op-grid a.current .n{ color: var(--accent); }
.op-grid a .t{
  font-family: var(--display); font-weight: 500; font-size: 17px;
  letter-spacing: -0.015em; line-height: 1.3;
}
.op-grid a .arr{
  position: absolute; right: 20px; top: 22px;
  font-family: var(--display); color: var(--ink-mute);
  transition: color .2s ease, transform .2s ease;
}
.op-grid a:hover .arr{ color: var(--accent); transform: translateX(3px); }
.op-grid a.current .arr{ color: var(--accent); }

/* ---------- FOOTER ---------- */
footer{
  background: var(--ink); color: oklch(0.78 0.02 250);
  padding: 80px var(--pad) 36px;
  margin-top: 0;
  border-top: 0;
  font-family: var(--body);
}
.foot-grid{
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid oklch(0.28 0.02 250);
}
@media (max-width: 860px){ .foot-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .foot-grid{ grid-template-columns: 1fr; } }
.foot-grid h5{
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  margin: 0 0 16px; color: oklch(0.72 0.02 250);
  display: inline-flex; align-items: center; gap: 10px;
}
.foot-grid h5::before{
  content:""; width: 14px; height: 1px; background: var(--accent-warm);
}
.foot-grid ul{ list-style: none; padding: 0; margin: 0; }
.foot-grid li{ padding: 6px 0; font-size: 14.5px; }
.foot-grid li a{ text-decoration: none; color: oklch(0.85 0.02 250); transition: color .2s ease; }
.foot-grid li a:hover{ color: var(--accent-warm); }
.foot-brand .logo{ color: var(--paper); margin-bottom: 18px; }
.foot-brand p{ font-family: var(--body); margin: 0 0 12px; font-size: 14px; line-height: 1.55; max-width: 32ch; }
.foot-legal{
  padding-top: 28px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--body); font-style: italic;
  font-size: 14px; color: oklch(0.60 0.02 250);
  line-height: 1.55;
}
.foot-legal .disclaimer{ max-width: 80%; font-size: 14px; line-height: 1.55; }
@media (max-width: 780px){ .foot-legal{ flex-direction: column; } .foot-legal .disclaimer{ max-width: 100%; } }

/* ---------- FORM ROW (inline CTA) · A1 ---------- */
.contact-form{
  max-width: 560px; margin: 40px auto 0;
  display: flex; gap: 8px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form:focus-within{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
.contact-form input{
  flex: 1; padding: 14px 20px; border: 0; outline: 0; background: transparent;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.contact-form input::placeholder{ color: var(--ink-mute); }
.contact-form button{
  border: 0; padding: 0 24px; background: var(--ink); color: var(--paper); cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 10px;
  transition: background .2s ease;
}
.contact-form button:hover{ background: var(--ink-800); }
.contact-form button .arrow{ color: var(--accent); }

/* ---------- REVEAL ---------- */
/* base .reveal/.reveal.in provided by tokens.css */

/* ---------- REMEMBRANCE OVERLAY ---------- */
.remembrance{
  position: fixed; inset: 0;
  background: rgba(12, 12, 14, 0.94);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.remembrance.open{
  opacity: 1;
  visibility: visible;
}
.remembrance img{
  max-width: min(960px, 92vw);
  max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  pointer-events: none;
  display: block;
}
.remembrance .hint{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
}
@media (max-width: 540px){
  .remembrance{ padding: 12px; }
  .remembrance img{ max-height: 76vh; }
  .remembrance .hint{ bottom: 14px; font-size: 10.5px; letter-spacing: 0.08em; white-space: normal; }
}
body.remembrance-open{ overflow: hidden; }
