/* ============================================================
   THB Localization — landing page
   Type    : Geist (text) · Instrument Serif italic (accent words)
             Geist Mono (codes, figures) · Hind Siliguri (Bengali)
   Colour  : warm paper, deep ink, THB red as the one loud thing
   Shape   : rounded "stages" inset from the viewport, glass cards
             floating over photography, pill buttons
   ============================================================ */

:root {
  --ink:        #12131A;
  --ink-deep:   #0B0C11;
  --slate:      #4B4E5B;
  --mute:       #7B7E8B;
  --paper:      #F5F2ED;
  --paper-2:    #FBFAF8;
  --card:       #FFFFFF;
  --line:       #E5E0D8;

  --brand:        #E91F27;
  --brand-deep:   #C4121A;
  --brand-bright: #FF4D55;
  --brand-tint:   #FCEBEB;

  --ok:      #1C7A5E;
  --ok-tint: #E4F1EC;

  --sans:   "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:  "Instrument Serif", "Times New Roman", serif;
  --mono:   "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --bangla: "Hind Siliguri", "Noto Sans Bengali", var(--sans);

  --wrap: 1500px;
  --gutter: clamp(20px, 4vw, 48px);
  --inset: 10px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-card: 0 1px 2px rgba(18,19,26,.04), 0 24px 60px -32px rgba(18,19,26,.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.bn { font-family: var(--bangla); }
.muted { color: var(--mute); font-size: .95rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; }
h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
h2 em, h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  font-size: 1.07em;
}
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em; }
.lede { font-size: 1.12rem; color: var(--slate); max-width: 48ch; text-wrap: pretty; }

/* ---------- Tags & pills ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 13px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: .8rem; font-weight: 500; color: var(--slate); letter-spacing: .005em;
}
.tag-red  { background: var(--brand-tint); border-color: transparent; color: var(--brand-deep); }
.tag-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 999px; font-family: var(--sans); font-size: .74rem; font-weight: 500; white-space: nowrap;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok   { background: rgba(52, 199, 142, .16); color: #5EE0B0; }
.pill-soft { background: var(--paper); color: var(--slate); }
.pill-red  { background: var(--brand-tint); color: var(--brand-deep); }
.ui-card .pill-ok, .bento-card .pill-ok { background: var(--ok-tint); color: var(--ok); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 9px 0 24px; border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-arrow {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--brand-deep);
  transition: transform .5s var(--ease);
}
.btn-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-arrow { transform: rotate(-45deg); }

.btn-primary {
  background: linear-gradient(180deg, #F2343C 0%, var(--brand) 55%, #D8161E 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 34px -14px rgba(233,31,39,.75);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 20px 40px -14px rgba(233,31,39,.85); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -18px rgba(18,19,26,.6); }
.btn-dark .btn-arrow { color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -18px rgba(0,0,0,.5); }
.btn-light .btn-arrow { background: var(--ink); color: #fff; }
.btn-glass {
  padding: 0 24px; color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); }
.btn-outline { padding: 0 24px; border: 1px solid var(--line); background: var(--card); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { height: 44px; padding: 0 6px 0 18px; gap: 10px; font-size: .93rem; }
.btn-sm .btn-arrow { width: 32px; height: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .97rem;
  color: var(--brand-deep); width: fit-content;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   Navigation — full-width bar: clear over the hero, white once scrolled
   ============================================================ */
.nav {
  --nav-h: 95px;
  position: fixed; z-index: 60; inset: 0 0 auto 0;
  display: flex; align-items: center; gap: 32px;
  height: var(--nav-h); padding: 0 clamp(20px, 3.2vw, 56px);
  border-bottom: 1px solid transparent;
  transition: height .5s var(--ease), background .4s, border-color .4s, box-shadow .4s;
  animation: navIn 1s var(--ease) both;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(255,255,255,.94);
  border-bottom-color: rgba(18,19,26,.07);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 18px 44px -30px rgba(11,12,17,.45);
}
.nav.is-scrolled { --nav-h: 90px; }

/* Logo: light artwork over the dark hero, original artwork on white */
.nav-logo { flex: none; display: grid; }
.nav-logo img {
  grid-area: 1 / 1; height: 46px; width: auto;
  transition: opacity .4s, height .5s var(--ease);
}
.nav-logo .logo-dark { opacity: 0; }
.nav.is-scrolled .nav-logo img { height: 40px; }
.nav.is-scrolled .logo-light, .nav.is-open .logo-light { opacity: 0; }
.nav.is-scrolled .logo-dark,  .nav.is-open .logo-dark  { opacity: 1; }

.nav-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a, .nav-signin {
  padding: 9px 15px; border-radius: 999px; font-size: .97rem; font-weight: 450; color: rgba(255,255,255,.84);
  transition: background .3s, color .3s;
}
.nav-links a:hover, .nav-signin:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav.is-scrolled .nav-links a, .nav.is-scrolled .nav-signin,
.nav.is-open .nav-links a, .nav.is-open .nav-signin { color: var(--slate); }
.nav.is-scrolled .nav-links a:hover, .nav.is-scrolled .nav-signin:hover { background: rgba(18,19,26,.06); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; }

@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  background: var(--ink-deep); color: #fff;
  padding-top: 104px;
}
.hero-media {
  position: absolute; z-index: -2; inset: 0 0 0 auto; width: 66%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
}
.hero-media img {
  width: 100%; height: 108%; object-fit: cover; object-position: 30% 22%;
  animation: heroZoom 2.4s var(--ease) both;
  will-change: transform;
}
.hero-shade {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,12,17,.72) 0%, rgba(11,12,17,0) 24%, rgba(11,12,17,0) 55%, rgba(11,12,17,.9) 100%),
    radial-gradient(55% 60% at 0% 100%, rgba(233,31,39,.26), transparent 62%);
}
@keyframes heroZoom { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px; align-items: center;
  flex: 1 0 auto; min-height: 470px; padding-block: 12px;
}
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .55s; }
.hero-copy > :nth-child(4) { animation-delay: .68s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.status {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: .84rem; color: rgba(255,255,255,.82); margin-bottom: 30px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #8C8F9C; }
.status.is-open .status-dot { background: #34C78E; }
.status.is-open .status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #34C78E;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

.hero-title {
  font-size: clamp(2.7rem, 5.3vw, 4.7rem);
  line-height: 1; letter-spacing: -.045em; font-weight: 500;
  animation: none !important;
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; padding: 0 .1em .14em 0; margin-bottom: -.14em; }
.hero-title .line > span { display: block; animation: lineUp 1.1s var(--ease) both .25s; }
.hero-title .line:nth-child(2) > span { animation-delay: .37s; }
.hero-title em { color: var(--brand-bright); padding-right: .06em; }
@keyframes lineUp { from { transform: translateY(108%); } }

.hero-lede { margin-top: 28px; max-width: 50ch; font-size: 1.12rem; color: rgba(255,255,255,.72); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Floating glass cards */
.hero-float { position: relative; height: 450px; }
.glass {
  position: absolute;
  background: rgba(17,18,25,.56);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.1);
  border-radius: 22px; color: #fff;
  animation: pop 1.1s var(--ease) both, drift 7s ease-in-out infinite alternate;
}
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.96); } }
@keyframes drift { from { translate: 0 0; } to { translate: 0 -10px; } }

.chip { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; }
.chip b { display: block; font-size: .9rem; font-weight: 500; line-height: 1.3; }
.chip span { display: block; font-size: .78rem; color: rgba(255,255,255,.62); line-height: 1.3; }
.chip-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); flex: none; }
.chip-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-review { top: 26px; right: 0; animation-delay: 1s, 1s; }
.chip-cert   { left: 6%; bottom: 248px; animation-delay: 1.2s, -3s; animation-duration: 1.1s, 8.5s; }
.chip-cert .qr { width: 38px; height: 38px; padding: 5px; border-radius: 10px; background: #fff; fill: var(--ink); flex: none; }

.seg { right: 0; bottom: 6px; width: min(100%, 392px); padding: 6px; animation-delay: .8s, -1.5s; animation-duration: 1.1s, 9s; }
.seg-head, .seg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: .82rem; color: rgba(255,255,255,.7); }
.seg-file { display: inline-flex; align-items: center; gap: 9px; }
.file-ico {
  width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; flex: none;
  background: #2B6CD9; color: #fff; font-style: normal; font-size: .72rem; font-weight: 600;
}
.seg-row { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; }
.seg-row p { font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.35; }
.seg-code { font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.5); }
.seg-target { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.seg-target .seg-code { color: var(--brand-bright); transition: opacity .4s; }
#segText { transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease); min-height: 1.45em; }
#segText.is-out, #segCode.is-out { opacity: 0; }
#segText.is-out { filter: blur(6px); transform: translateY(6px); }
.seg-foot b { font-size: 1.05rem; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* Proof strip */
.hero-proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 34px; padding: 28px 0 34px;
  border-top: 1px solid rgba(255,255,255,.13);
  animation: rise 1s var(--ease) both .9s;
}
.hero-proof > div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.13); }
.hero-proof > div:first-child { padding-left: 0; border-left: 0; }
.hero-proof dt { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-proof dd { margin-top: 4px; font-size: .92rem; color: rgba(255,255,255,.6); }

/* ============================================================
   Languages marquee
   ============================================================ */
.langs { padding: 44px 0 0; }
.langs-label { text-align: center; font-size: .86rem; color: var(--mute); margin-bottom: 18px; }
.marquee {
  overflow: hidden; display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: flex; flex: none; align-items: center; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  position: relative; padding: 0 30px; white-space: nowrap;
  font-size: 1.25rem; letter-spacing: -.01em; color: var(--slate);
}
.marquee-track li::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: var(--brand); opacity: .55;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(76px, 9.5vw, 136px) 0; scroll-margin-top: 80px; }
.section-tint {
  margin-inline: var(--inset); border-radius: var(--r-xl);
  background: var(--paper-2); border: 1px solid var(--line);
}
.head-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; margin-bottom: 52px; }
.head-split .lede { justify-self: end; padding-bottom: 6px; }
.head-center { text-align: center; display: grid; justify-items: center; }
.head-center .lede { margin-top: 22px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.head-row .link-arrow { padding-bottom: 10px; }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 14px;
  padding: 14px; border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.steps-list { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px 14px 20px 18px; }
.step-btn {
  appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 46px 1fr; align-items: baseline;
  width: 100%; padding: 17px 22px; border-radius: 20px;
  transition: background .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.step-btn:hover { background: var(--paper); }
.step-n { font-family: var(--mono); font-size: .78rem; color: var(--mute); transition: color .6s; }
.step-title { font-size: 1.28rem; font-weight: 500; letter-spacing: -.02em; }
.step-text {
  grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .7s var(--ease), opacity .5s var(--ease);
  font-size: .98rem; line-height: 1.55; color: rgba(255,255,255,.7);
}
.step-text > span { overflow: hidden; min-height: 0; }
.step-text > span::before { content: ""; display: block; height: 8px; }
.step-bar { grid-column: 2; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 0; opacity: 0; transition: opacity .4s, margin .7s var(--ease); }
.step-bar i { display: block; height: 100%; background: var(--brand-bright); transform: scaleX(0); transform-origin: left; }

.step.is-active .step-btn { background: var(--ink); color: #fff; box-shadow: 0 24px 50px -26px rgba(18,19,26,.7); padding-block: 22px; }
.step.is-active .step-n { color: var(--brand-bright); }
.step.is-active .step-text { grid-template-rows: 1fr; opacity: 1; }
.step.is-active .step-bar { opacity: 1; margin-top: 18px; }
.steps.is-playing .step.is-active .step-bar i { animation: stepbar 6.5s linear forwards; }
.steps.is-playing:hover .step.is-active .step-bar i,
.steps.is-playing:focus-within .step.is-active .step-bar i { animation-play-state: paused; }
@keyframes stepbar { to { transform: scaleX(1); } }

.steps-panel {
  position: relative; overflow: hidden; min-height: 560px; border-radius: 22px;
  background:
    radial-gradient(90% 80% at 0% 0%, #FBE2DA 0%, transparent 62%),
    radial-gradient(80% 90% at 100% 100%, #F4CFD2 0%, transparent 60%),
    radial-gradient(60% 60% at 100% 0%, #EFE6F4 0%, transparent 60%),
    #F4EEE8;
}
.scene {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 34px;
  opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility 0s linear .8s;
}
.scene.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.scene-photo { place-items: end center; }
.scene-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.scene-photo.is-active > img { transform: scale(1); }
.scene-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,17,0) 35%, rgba(11,12,17,.5) 100%); }

.ui-card {
  position: relative; z-index: 1; width: min(100%, 410px); padding: 22px; border-radius: 22px;
  background: #fff; box-shadow: 0 0 0 1px rgba(18,19,26,.05), 0 40px 70px -36px rgba(18,19,26,.45);
  transform: translateY(22px) scale(.97); opacity: 0;
  transition: transform 1s var(--ease) .12s, opacity .8s var(--ease) .12s;
}
.scene.is-active .ui-card { transform: none; opacity: 1; }
.scene-photo .ui-card { background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }

/* scene 1 */
.drop { display: grid; justify-items: center; gap: 4px; padding: 30px 20px; border: 1.5px dashed #D9D3CA; border-radius: 16px; background: var(--paper-2); text-align: center; }
.drop-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); margin-bottom: 8px; }
.drop-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scene.is-active .drop-ico svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-3px); } }
.drop b { font-size: 1rem; font-weight: 500; }
.drop span { font-size: .85rem; color: var(--mute); }
.file-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.file-row .file-ico { width: 32px; height: 32px; border-radius: 9px; font-size: .85rem; }
.file-row div { flex: 1; }
.file-row b { display: block; font-size: .95rem; font-weight: 500; line-height: 1.3; }
.file-row span { font-size: .82rem; color: var(--mute); }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-tint); }
.tick svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fmt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fmt span { padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: .76rem; color: var(--slate); }

/* scene 2 */
.receipt-top { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--mute); }
.receipt-total { font-size: 3.6rem; font-weight: 500; letter-spacing: -.045em; line-height: 1.1; margin: 10px 0 16px; font-variant-numeric: tabular-nums; }
.receipt dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.receipt dt { color: var(--mute); }
.receipt dd { font-weight: 500; text-align: right; }

/* scene 3 */
.editor { width: min(100%, 520px); padding: 0; overflow: hidden; }
.editor-bar { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.editor-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E3DED6; }
.editor-bar span { margin-left: auto; font-size: .76rem; font-weight: 500; color: var(--ok); background: var(--ok-tint); padding: 3px 10px; border-radius: 999px; }
.editor-cols { display: grid; grid-template-columns: 1fr 1fr; }
.editor-col { padding: 18px 18px 22px; min-width: 0; }
.editor-col.is-target { border-left: 1px solid var(--line); background: var(--paper-2); }
.lang-tab { display: inline-block; padding: 3px 10px; border-radius: 7px; background: var(--paper); font-size: .74rem; font-weight: 500; color: var(--slate); margin-bottom: 14px; }
.lang-tab-on { background: var(--brand); color: #fff; }
.editor h5 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.editor p { font-size: .84rem; line-height: 1.5; color: var(--slate); margin-bottom: 12px; }
.sk { display: grid; gap: 7px; }
.sk i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: #E9E4DC; }
.sk-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 16px; }
.sk-table i { height: 20px; border-radius: 5px; background: #EFEAE3; }
.sk-table i:nth-child(-n+3) { background: #E3DDD4; }
.scene.is-active .is-target .sk i, .scene.is-active .is-target .sk-table i { animation: fill .8s var(--ease) both; transform-origin: left; }
.scene.is-active .is-target .sk i:nth-child(1) { animation-delay: .5s; }
.scene.is-active .is-target .sk i:nth-child(2) { animation-delay: .65s; }
.scene.is-active .is-target .sk i:nth-child(3) { animation-delay: .8s; }
.scene.is-active .is-target .sk-table i { animation-delay: 1s; }
@keyframes fill { from { transform: scaleX(0); opacity: 0; } }

/* scene 4 */
.review-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .76rem; color: var(--mute); margin-bottom: 14px; }
.review-src { font-size: .98rem; color: var(--mute); margin-bottom: 4px; }
.review-out { font-size: 1.22rem; line-height: 1.4; letter-spacing: -.015em; font-weight: 500; }
.review-out del { color: var(--mute); font-weight: 400; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.review-out ins { text-decoration: none; background: linear-gradient(transparent 62%, #FAD2D4 62%); padding: 0 2px; }
.review-by { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(18,19,26,.09); font-size: .84rem; color: var(--slate); }
.review-by i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); flex: none; }
.review-by svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }

/* scene 5 */
.cert { display: grid; grid-template-columns: 78px 1fr; gap: 16px; align-items: center; }
.qr { fill: var(--ink); }
.cert .qr { width: 78px; height: 78px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cert-label { font-size: .78rem; color: var(--mute); }
.cert-body b { display: block; font-family: var(--mono); font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; margin: 2px 0; }
.cert-body span { display: block; font-size: .82rem; color: var(--slate); }
.cert-dl {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .93rem; font-weight: 500;
}
.cert-dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.after-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 36px; }

/* ============================================================
   Where we fit — dark stage
   ============================================================ */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: var(--inset); border-radius: var(--r-xl);
  background: var(--ink-deep); color: #fff;
  padding: clamp(76px, 9.5vw, 128px) 0;
  scroll-margin-top: 80px;
}
.stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(50% 46% at 50% 0%, rgba(233,31,39,.3), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(233,31,39,.12), transparent 70%);
}
.stage::after {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.stage h2 em { color: var(--brand-bright); }

.fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 72px; align-items: stretch; }
.fit {
  display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.fit-label {
  align-self: flex-start; height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07); margin-bottom: 26px;
}
.fit h3 { font-size: 1.55rem; }
.fit > p { margin-top: 10px; color: rgba(255,255,255,.62); }
.fit ul { display: grid; gap: 12px; margin: 26px 0 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.fit li { position: relative; padding-left: 32px; font-size: .97rem; line-height: 1.45; color: rgba(255,255,255,.78); }
.fit li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.1) center / 12px no-repeat;
}
.fit li.yes::before { background-color: rgba(52,199,142,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4l2.3 2.3 4.7-5' fill='none' stroke='%235EE0B0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fit li.no::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 3.2l5.6 5.6m0-5.6L3.2 8.8' fill='none' stroke='%239A9DAA' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fit li.mid::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%239A9DAA' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fit .btn, .fit .link-arrow { margin-top: auto; align-self: flex-start; }
.fit .link-arrow { color: rgba(255,255,255,.85); }

.fit-us {
  margin-block: -18px; padding-block: 48px;
  background: linear-gradient(180deg, rgba(233,31,39,.26) 0%, rgba(233,31,39,.06) 55%, rgba(255,255,255,.03) 100%);
  border-color: rgba(255,77,85,.55);
  box-shadow: 0 40px 90px -40px rgba(233,31,39,.7), inset 0 1px 0 rgba(255,255,255,.14);
}
.fit-us .fit-label { background: var(--brand); color: #fff; }
.fit-us > p { color: rgba(255,255,255,.8); }
.fit-us li { color: #fff; }

.fit-note { margin: 64px auto 0; max-width: 62ch; text-align: center; color: rgba(255,255,255,.6); font-size: 1.05rem; text-wrap: pretty; }

/* ============================================================
   Pricing
   ============================================================ */
.price-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.price-copy .lede { margin-top: 24px; }
.price-copy .muted { margin-top: 14px; }
.price-copy .btn { margin-top: 34px; }

.calc {
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.calc-top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; font-size: .92rem; color: var(--mute); }
.calc-min { font-size: .78rem; font-weight: 500; color: var(--brand-deep); background: var(--brand-tint); padding: 4px 11px; border-radius: 999px; }
.calc-total {
  display: block; font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.05;
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.calc-line { margin-top: 6px; color: var(--slate); font-size: 1rem; }
.calc-line b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.calc-range {
  --p: 30%;
  appearance: none; -webkit-appearance: none; width: 100%; height: 28px; margin-top: 26px; background: transparent; cursor: pointer;
}
.calc-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p), var(--line) var(--p)); }
.calc-range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p), var(--line) var(--p)); }
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); box-shadow: 0 6px 16px -4px rgba(233,31,39,.5);
  transition: transform .3s var(--ease);
}
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 6px 16px -4px rgba(233,31,39,.5); }
.calc-range:hover::-webkit-slider-thumb, .calc-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--mute); margin-top: 2px; }

.calc-presets { display: grid; gap: 2px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.calc-presets button {
  appearance: none; cursor: pointer; text-align: left; border: 0; background: transparent;
  display: grid; grid-template-columns: 1fr auto 86px; align-items: center; gap: 18px;
  padding: 11px 16px; border-radius: 13px;
  transition: background .35s, color .35s;
}
.calc-presets button:hover { background: var(--paper); }
.calc-presets b { font-size: .97rem; font-weight: 500; }
.calc-presets span { font-size: .86rem; color: var(--mute); transition: color .35s; font-variant-numeric: tabular-nums; }
.calc-presets em { font-style: normal; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.calc-presets button.is-on { background: var(--ink); color: #fff; }
.calc-presets button.is-on span { color: rgba(255,255,255,.6); }
.calc-note { margin-top: 14px; padding: 0 16px; font-size: .88rem; color: var(--mute); }

/* ============================================================
   Dashboard
   ============================================================ */
.browser {
  --tilt: 0;
  max-width: 1120px; margin: 60px auto 0; border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(18,19,26,.04), 0 60px 120px -50px rgba(18,19,26,.45);
  transform: perspective(1800px) rotateX(calc(var(--tilt) * 1deg)) scale(calc(1 - var(--tilt) * .008));
  transform-origin: 50% 100%;
  will-change: transform;
}
.browser-bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E0DAD1; }
.browser-bar span {
  margin: 0 auto; transform: translateX(-25px); padding: 4px 44px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  font-size: .78rem; color: var(--mute);
}
.browser img { width: 100%; }

.dash-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; max-width: 1120px; margin: 56px auto 0; }
.dash-points li { display: grid; gap: 6px; align-content: start; }
.dash-points i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); margin-bottom: 10px; }
.dash-points svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dash-points b { font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; }
.dash-points span { color: var(--slate); font-size: .97rem; }

/* ============================================================
   Trust — bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 60px; }
.b-wide { grid-column: span 7; }
.b-narrow { grid-column: span 5; }
.bento-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 430px;
  padding: 30px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), box-shadow .5s var(--ease);
}
.bento-card:hover { box-shadow: var(--shadow-card); }
.bento-card h3 { margin-top: auto; }
.bento-card p { margin-top: 10px; color: var(--slate); max-width: 44ch; }
.bento-card .link-arrow { margin-top: 18px; }

.bento-photo { padding: 0; border: 0; color: #fff; isolation: isolate; }
.bento-photo > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.6s var(--ease); }
.bento-photo:hover > img { transform: scale(1.04); }
.bento-over {
  margin-top: auto; padding: 150px 34px 32px;
  background: linear-gradient(180deg, rgba(11,12,17,0) 0%, rgba(11,12,17,.72) 48%, rgba(11,12,17,.92) 100%);
}
.bento-photo h3 { font-size: 1.7rem; }
.bento-photo p { color: rgba(255,255,255,.76); }
.bento-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bento-links a {
  padding: 8px 15px; border-radius: 999px; font-size: .88rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s;
}
.bento-links a:hover { background: rgba(255,255,255,.24); }

.verify { padding: 16px; border-radius: 20px; background: var(--paper); margin-bottom: 30px; }
.verify-field {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 11px 11px 16px;
  border-radius: 13px; background: #fff; border: 1px solid var(--line);
  font-family: var(--mono); font-size: .92rem;
}
.verify-field .pill { transform: scale(.7); opacity: 0; transition: transform .7s var(--ease) .7s, opacity .5s var(--ease) .7s; }
.is-in .verify-field .pill, html:not(.js) .verify-field .pill { transform: none; opacity: 1; }
.verify-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.verify-row .qr { width: 58px; height: 58px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); flex: none; }
.verify-row b { display: block; font-size: .98rem; font-weight: 500; }
.verify-row span { font-size: .85rem; color: var(--mute); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 16px; border-radius: 20px; background: var(--paper); margin-bottom: 30px; }
.days i { height: 54px; border-radius: 11px; background: #fff; border: 1px solid var(--line); transition: background .6s var(--ease), border-color .6s var(--ease); }
.days span { grid-column: 1 / -1; margin-top: 6px; text-align: right; font-size: .82rem; color: var(--mute); }
.is-in .days i, html:not(.js) .days i { border-color: transparent; }
.is-in .days i:nth-child(1) { background: #F9DCDD; transition-delay: .30s; }
.is-in .days i:nth-child(2) { background: #F6C6C8; transition-delay: .40s; }
.is-in .days i:nth-child(3) { background: #F2ABAE; transition-delay: .50s; }
.is-in .days i:nth-child(4) { background: #EE8B90; transition-delay: .60s; }
.is-in .days i:nth-child(5) { background: #EB6269; transition-delay: .70s; }
.is-in .days i:nth-child(6) { background: var(--brand); transition-delay: .80s; }
.is-in .days i:nth-child(7) { background: var(--ink); transition-delay: .95s; }

/* ============================================================
   Insights
   ============================================================ */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post { display: block; }
.post-img { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 11; background: var(--paper); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.post:hover .post-img img { transform: scale(1.06); }
.post-meta { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: .84rem; color: var(--mute); }
.post h3 { font-size: 1.38rem; transition: color .3s; }
.post:hover h3 { color: var(--brand-deep); }
.post p { margin-top: 10px; color: var(--slate); font-size: .98rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-copy { position: sticky; top: 110px; }
.faq-copy .lede { margin-top: 22px; }
.faq-copy .btn { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none;
  padding: 24px 2px; font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-deep); }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2.5v9M2.5 7h9' fill='none' stroke='%2312131A' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-tint); border-color: transparent; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 60px 26px 2px; color: var(--slate); max-width: 62ch; }

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap { padding: 0 var(--inset); }
.cta {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); color: #fff;
  padding: clamp(52px, 7.5vw, 104px) clamp(28px, 6.5vw, 96px);
  background: linear-gradient(115deg, #8E0B11 0%, #C4121A 46%, #E91F27 100%);
}
.cta::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(50% 80% at 0% 100%, rgba(11,12,17,.45), transparent 70%);
}
.cta-img {
  position: absolute; z-index: -2; right: 0; top: 0; width: 56%; height: 100%; object-fit: cover; object-position: 50% 30%;
  mix-blend-mode: luminosity; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
}
.cta-body { max-width: 640px; }
.cta h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.cta p { margin-top: 22px; max-width: 46ch; font-size: 1.1rem; color: rgba(255,255,255,.84); }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  margin: var(--inset); border-radius: var(--r-xl); background: var(--ink-deep);
  color: rgba(255,255,255,.58); padding: clamp(56px, 7vw, 88px) 0 30px; font-size: .95rem;
}
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.foot-logo svg { height: 22px; width: auto; }
.foot-brand p { margin-top: 20px; max-width: 36ch; }
.foot-brand address { margin-top: 18px; font-size: .86rem; line-height: 1.75; color: rgba(255,255,255,.42); }
.foot a { transition: color .3s; }
.foot a:hover { color: #fff; }
.foot h4 { font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.foot ul { display: grid; gap: 11px; }
.foot ul a { color: rgba(255,255,255,.8); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .84rem; color: rgba(255,255,255,.4);
}


/* ============================================================
   Responsive
   ============================================================ */
/* Short laptop screens: tighten the hero so it still fits in one screen */
@media (min-width: 941px) and (max-height: 760px) {
  .nav { --nav-h: 76px; }
  .hero { padding-top: 86px; }
  .hero-inner { min-height: 400px; padding-block: 0; }
  .hero-float { height: 400px; }
  .status { margin-bottom: 20px; }
  .hero-title { font-size: clamp(2.6rem, 4.8vw, 4.2rem); }
  .hero-lede { margin-top: 20px; font-size: 1.05rem; }
  .hero-cta { margin-top: 26px; }
  .hero-proof { margin-top: 12px; padding: 16px 0 20px; }
  .hero-proof dt { font-size: 1.55rem; }
  .hero-proof dd { margin-top: 0; }
}

@media (max-width: 1080px) {
  .nav-links a, .nav-signin { padding-inline: 11px; }
  .chip-cert { left: 0; }
  .bento-card { min-height: 400px; }
}

@media (max-width: 940px) {
  body { font-size: 16.5px; }

  /* nav → dropdown */
  .nav { --nav-h: 72px; gap: 16px; }
  .nav.is-scrolled { --nav-h: 64px; }
  .nav-logo { margin-right: auto; }
  .nav-logo img, .nav.is-scrolled .nav-logo img { height: auto; width: min(272px, 100vw - 116px); }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%; flex: none;
    border: 0; background: rgba(255,255,255,.16); cursor: pointer; transition: background .4s;
  }
  .nav.is-scrolled .nav-toggle, .nav.is-open .nav-toggle { background: var(--ink); }
  .nav-links a, .nav-signin,
  .nav.is-scrolled .nav-links a, .nav.is-scrolled .nav-signin { color: var(--slate); }
  .nav-links a:hover, .nav-signin:hover { background: rgba(18,19,26,.06); color: var(--ink); }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: calc(100% + 8px); left: 10px; right: 10px;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 14px;
    border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -24px rgba(11,12,17,.5);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links { flex-direction: column; margin: 0; }
  .nav-links a, .nav-signin { padding: 13px 16px; font-size: 1.05rem; }
  .nav-actions { flex-direction: column; align-items: stretch; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-actions .btn { justify-content: space-between; height: 52px; padding-left: 22px; }

  /* hero → stacked, photo behind */
  .hero { padding-top: 104px; }
  .hero-media { width: 100%; opacity: .42; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%); }
  .hero-media img { object-position: 46% 18%; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .hero-float { height: auto; display: grid; gap: 12px; }
  .glass { position: relative; inset: auto; animation: pop 1.1s var(--ease) both; }
  .chip-review, .chip-cert { display: none; }
  .seg { width: 100%; max-width: 440px; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .hero-proof > div:nth-child(3) { padding-left: 0; border-left: 0; }

  .head-split { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .head-split .lede { justify-self: start; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 36px; }

  .steps { grid-template-columns: 1fr; }
  .steps-list { padding: 8px 4px; }
  .steps-panel { min-height: 480px; }

  .fit-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .fit-us { margin-block: 0; padding-block: 34px; }

  .price-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-copy { position: static; }

  .dash-points { grid-template-columns: 1fr; gap: 28px; }
  .b-wide, .b-narrow { grid-column: span 12; }
  .posts { grid-template-columns: 1fr; gap: 40px; }
  .post-img { aspect-ratio: 16 / 9; }

  .cta-img { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --inset: 6px; --r-xl: 24px; --r-lg: 20px; }
  .hero-title { letter-spacing: -.04em; font-size: clamp(2.3rem, 11.4vw, 3.2rem); }
  .hero-title .line { white-space: normal; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero-cta .btn-glass, .hero-cta .btn-outline { justify-content: center; }
  .seg-row p { font-size: .98rem; }
  .seg-head, .seg-foot { font-size: .76rem; padding-inline: 10px; }
  .seg-file { white-space: nowrap; }
  .calc-presets button { grid-template-columns: 1fr auto 68px; gap: 10px; padding-inline: 10px; }
  .calc-presets b { font-size: .9rem; }
  .calc-presets span { font-size: .78rem; }
  .calc-note { padding-inline: 10px; }
  .steps { padding: 8px; }
  .step-btn { grid-template-columns: 36px 1fr; padding: 15px 16px; }
  .scene { padding: 18px; }
  .steps-panel { min-height: 440px; }
  .editor-col { padding: 14px 12px 18px; }
  .bento-card { min-height: 0; padding: 22px; }
  .bento-photo { min-height: 380px; padding: 0; }
  .bento-over { padding: 120px 22px 24px; }
  .faq summary { font-size: 1.08rem; padding: 20px 2px; }
  .faq-a p { padding-right: 8px; }
  .browser { border-radius: 14px; }
  .browser-bar { height: 34px; }
  .browser-bar span { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* in-page links: sections clear the fixed bar; insight cards are not links */
.langs { scroll-margin-top: 80px; }
article.post:hover h3 { color: inherit; }
.bento-card .bento-btn { margin-top: 20px; align-self: flex-start; }

/* ============================================================
   THB family — the other THB services
   ============================================================ */
.fam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fam-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 340px;
  padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), box-shadow .5s var(--ease), border-color .5s;
}
.fam-card::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233,31,39,.16), transparent); opacity: 0; transition: opacity .6s var(--ease);
}
.fam-card:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.fam-card:hover::after { opacity: 1; }
.fam-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fam-ico { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep); transition: background .4s, color .4s; }
.fam-ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fam-card:hover .fam-ico { background: var(--brand); color: #fff; }
.fam-tag { height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: .78rem; font-weight: 500; color: var(--slate); border: 1px solid var(--line); }
.fam-card h3 { margin-top: auto; padding-top: 40px; font-size: 1.4rem; }
.fam-card p { margin-top: 10px; color: var(--slate); font-size: .97rem; line-height: 1.55; }
.fam-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.fam-url { font-family: var(--mono); font-size: .76rem; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fam-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease), background .4s; }
.fam-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fam-card:hover .fam-go { background: var(--brand); transform: rotate(45deg); }
@media (max-width: 1080px) { .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fam-grid { grid-template-columns: minmax(0, 1fr); } .fam-card { min-height: 0; } .fam-card h3 { padding-top: 28px; } }
