/* =====================================================================
   Zolt HR — marketing website  (site/assets/site.css)
   Layout only. Every colour, size, radius, shadow and duration comes
   from system/tokens.css; components come from system/components.css.
   The site is light by design (data-theme-fixed).
   ===================================================================== */

body.site { font-size: var(--t-md); line-height: var(--lh-md); background: var(--paper-25); overflow-x: hidden; }
.site main { display: block; }
.wrap { width: 100%; max-width: calc(var(--content-max) + 64px); margin: 0 auto; padding-inline: 32px; }
.wrap.narrow { max-width: calc(var(--prose-max) + 64px); }
.wrap.mid { max-width: calc(960px + 64px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface-inverse); color: var(--text-inverse); font-weight: var(--w-semibold); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.d1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: var(--w-semibold); margin: 0; text-wrap: balance; }
.d2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.08; letter-spacing: -0.036em; font-weight: var(--w-semibold); margin: 0; text-wrap: balance; }
.d3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.16; letter-spacing: -0.026em; font-weight: var(--w-semibold); margin: 0; text-wrap: balance; }
.d4 { font-size: var(--t-xl); line-height: var(--lh-xl); letter-spacing: var(--track-snug); font-weight: var(--w-semibold); margin: 0; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-3); margin: 0; max-width: 34em; text-wrap: pretty; }
.copy { color: var(--text-2); margin: 0; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: var(--w-semibold); color: var(--brand-text); letter-spacing: 0; margin: 0; }

.bignum { font-size: clamp(56px, 6.6vw, 104px); line-height: .95; letter-spacing: -0.055em; font-weight: var(--w-semibold); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.bignum .unit { font-size: .42em; letter-spacing: -0.02em; color: var(--text-3); margin-left: .08em; font-weight: var(--w-medium); }
.placeholder-note { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border-radius: var(--r-xs); background: var(--warning-soft); color: var(--warning-text); font-size: var(--t-xs); font-weight: var(--w-semibold); white-space: nowrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--w-semibold); color: var(--brand-text); }
.link-arrow .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform var(--d-base) var(--ease-settle); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Header ---------- */
.top.site-top { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in srgb, var(--paper-25) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--d-base) linear, background-color var(--d-base) linear; }
.top.site-top.scrolled, .top.site-top.menu-open { border-bottom-color: var(--border); background: color-mix(in srgb, var(--paper-25) 96%, transparent); }
.nav { height: 64px; display: flex; align-items: center; gap: 36px; }
.nav .logo { display: inline-flex; align-items: center; border-radius: var(--r-xs); }
.nav .logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); font-size: 15px; font-weight: var(--w-medium); cursor: pointer; text-decoration: none !important; transition: color var(--d-instant) linear, background-color var(--d-instant) linear; }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--text); background: var(--paper-100); }
.nav-btn[aria-current="page"] { color: var(--text); }
.nav-btn .ic { width: 14px; height: 14px; stroke-width: 2.2; color: var(--text-3); transition: transform var(--d-base) var(--ease-move); }
.nav-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-right .btn { height: 36px; }
.menu-toggle { display: none; }

/* Mega-menu: grouped by the job, not by feature */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 24px 48px -24px rgb(var(--shadow-color) / .22); animation: settle-pop var(--d-base) var(--ease-settle); }
.mega[hidden] { display: none; }
.mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.mega-group h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; padding: 0 10px 10px; border-bottom: 1px solid var(--border-soft); font-size: var(--t-sm); font-weight: var(--w-semibold); color: var(--text); }
.mega-group h3 span { font-weight: var(--w-regular); color: var(--text-3); }
.mega-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-md); color: var(--text); text-decoration: none !important; transition: background-color var(--d-instant) linear; }
.mm-item:hover, .mm-item:focus-visible { background: var(--paper-50); }
.mm-item .tile { grid-row: span 2; }
.mm-item b { font-weight: var(--w-semibold); font-size: var(--t-base); line-height: 20px; }
.mm-item small { color: var(--text-3); font-size: var(--t-sm); line-height: 18px; }
.mega-aside { display: grid; gap: 12px; align-content: start; }
.mega-feature { display: grid; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--paper-50); border: 1px solid var(--border); color: var(--text); text-decoration: none !important; }
.mega-feature:hover { border-color: var(--border-strong); }
.mega-feature .h4 { font-size: var(--t-md); }
.mega-feature p { margin: 0; color: var(--text-2); font-size: var(--t-sm); line-height: var(--lh-sm); }
.mega-foot { display: flex; align-items: center; gap: 8px; padding: 12px 10px 0; font-size: var(--t-sm); }
.mega-foot a { font-weight: var(--w-semibold); }

.drop { position: absolute; top: calc(100% + 8px); left: -8px; width: 280px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--e-3); animation: settle-pop var(--d-base) var(--ease-settle); }
.drop[hidden] { display: none; }
.drop a { display: grid; gap: 0; padding: 9px 12px; border-radius: var(--r-md); color: var(--text); text-decoration: none !important; }
.drop a:hover, .drop a:focus-visible { background: var(--paper-50); }
.drop a b { font-size: var(--t-base); font-weight: var(--w-semibold); }
.drop a small { color: var(--text-3); font-size: var(--t-sm); }

/* Mobile drawer */
.drawer { position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: var(--z-sticky); background: var(--paper-25); overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 32px; animation: fade-in var(--d-base) var(--ease-settle); }
.drawer[hidden] { display: none; }
.drawer details { border-bottom: 1px solid var(--border); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; height: 56px; font-size: var(--t-lg); font-weight: var(--w-semibold); cursor: pointer; border-radius: var(--r-sm); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .ic { color: var(--text-3); transition: transform var(--d-base) var(--ease-move); }
.drawer details[open] summary .ic { transform: rotate(180deg); }
.drawer .d-group { padding: 4px 0 12px; }
.drawer .d-group .overline { display: block; padding: 10px 0 4px; }
.drawer .d-group a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-weight: var(--w-medium); text-decoration: none !important; }
.drawer > a.d-link { display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--border); font-size: var(--t-lg); font-weight: var(--w-semibold); color: var(--text); text-decoration: none !important; }
.drawer .d-ctas { display: grid; gap: 10px; margin-top: 24px; }
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(80px, 10vw, 144px); }
.sec.tight { padding-block: clamp(56px, 7vw, 96px); }
.sec.rule { border-top: 0; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px 64px; }
.sec-head.row .lede { justify-self: end; }
.ink-band { background: var(--paper-950); color: #F4F2EF; }
.ink-band .copy, .ink-band .lede { color: #C9C5BF; }
.ink-band .kicker { color: var(--mayur-300); }
.ink-band .subtle { color: #9E9A95; }
.paper-band { background: var(--paper-50); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.hero-grid .side { display: grid; gap: 28px; padding-bottom: 8px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 5px; margin-bottom: 28px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: var(--t-sm); font-weight: var(--w-semibold); color: var(--text-2); text-decoration: none !important; box-shadow: var(--e-1); transition: border-color var(--d-quick) linear; }
.hero .eyebrow:hover { border-color: var(--border-strong); color: var(--text); }
.hero .eyebrow .pill { height: 22px; }
.hero .eyebrow .ic { width: 14px; height: 14px; color: var(--text-3); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: var(--t-sm); color: var(--text-3); }

/* Stage: ledger paper with a margin rule, product inside */
.stage { position: relative; border-radius: 28px; border: 0; overflow: hidden;
  background: linear-gradient(180deg, var(--paper-100), color-mix(in srgb, var(--mayur-50) 55%, var(--paper-100)));
}
.stage-in { position: relative; padding: 56px 56px 0 56px; height: var(--stage-h, 640px); }
.stage .fit-box { width: 100%; overflow: hidden; }
.stage .win { position: relative; }
.stage .phone-at { position: absolute; z-index: 3; right: 36px; bottom: -150px; }
.hero-stage .stage-in { padding-right: 236px; }
.stage.plain .stage-in { padding: 40px 40px 0; }
.stage.short { --stage-h: 520px; }
.stage.centered .stage-in { display: grid; justify-items: center; padding: 48px 24px 0; }
.stage.card-stage .stage-in { height: auto; padding: 56px 40px 56px 56px; display: grid; align-items: center; }
.phone-pair { display: flex; gap: 48px; justify-content: center; align-items: flex-start; width: 100%; }
.phone-pair .second { margin-top: 72px; }

/* ---------- Product UI: console window ---------- */
.win { width: 1120px; display: grid; grid-template-columns: 208px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--e-4); overflow: hidden; font-size: var(--t-base); line-height: var(--lh-base); text-align: left; color: var(--text); }
.win.rounded { border-radius: var(--r-lg); }
.win.nosider { grid-template-columns: minmax(0, 1fr); }
.win-side { display: flex; flex-direction: column; gap: 1px; padding: 14px 10px; border-right: 1px solid var(--border); background: var(--surface); min-height: 100%; }
.win-side .brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-weight: var(--w-semibold); }
.win-side .brand img { height: 22px; width: auto; }
.win-side .grp { padding: 14px 10px 6px; font-size: 11px; font-weight: var(--w-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-3); }
.win-side .nav-item { height: 32px; font-size: var(--t-sm); }
.win-side .nav-item .ic { width: 16px; height: 16px; }
.win-main { min-width: 0; display: grid; grid-template-rows: auto 1fr; background: var(--bg); }
.win-top { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--border); background: var(--surface); }
.win-top .search { width: 300px; height: 32px; font-size: var(--t-sm); white-space: nowrap; }
.win-top .search > span:not(.kbd) { overflow: hidden; text-overflow: ellipsis; }
.win-top .search .kbd { white-space: nowrap; }
.win-top .search .kbd { margin-left: auto; }
.win-top .sp { flex: 1; }
.win-top .ibtn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-2); position: relative; }
.win-top .ibtn .badge.dot { position: absolute; top: 7px; right: 7px; }
.win-page { padding: 22px 24px 28px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.win-head { display: flex; align-items: flex-end; gap: 12px; }
.win-head .t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.win-head .crumbs { font-size: var(--t-xs); }
.win-head h4 { margin: 0; font-size: var(--t-2xl); line-height: var(--lh-2xl); letter-spacing: var(--track-snug); font-weight: var(--w-semibold); }
.u-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.u-stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.u-stats .stat { padding: 14px 16px; gap: 4px; }
.u-stats .stat .stat-value { font-size: var(--t-3xl); }
.u-stats .stat .stat-label { font-size: var(--t-xs); }
.u-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.u-split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.win .table td { height: 46px; font-size: var(--t-sm); }
.win .table-wrap { overflow: hidden; }
.win .table th { height: 34px; }
.win .card-head { padding: 12px 16px; }
.win .card-head .h4 { font-size: var(--t-base); }
.u-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--border-soft); font-size: var(--t-sm); }
.u-row:first-child { border-top: 0; }
.u-row .g { flex: 1; min-width: 0; display: grid; }
.u-row .g b { font-weight: var(--w-semibold); color: var(--text); }
.u-row .g span { color: var(--text-3); font-size: var(--t-xs); }
.u-row .amt { font-weight: var(--w-semibold); font-variant-numeric: tabular-nums; }
.u-kv { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }
.u-kv b { color: var(--text); font-weight: var(--w-semibold); }
.u-kv.total { padding-top: 10px; border-top: 1px solid var(--border); color: var(--text); font-weight: var(--w-semibold); }
.u-muted { color: var(--text-3); }
.u-amt { font-variant-numeric: tabular-nums; }
.u-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.u-bar { height: 8px; border-radius: 4px; background: var(--chart-track); overflow: hidden; }
.u-bar > i { display: block; height: 100%; width: var(--v); background: var(--c, var(--brand-ui)); border-radius: inherit; }

/* Kanban */
.u-kanban { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.u-col { display: grid; gap: 8px; padding: 10px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border-soft); }
.u-col h5 { margin: 0 2px 2px; display: flex; justify-content: space-between; font-size: var(--t-xs); font-weight: var(--w-semibold); color: var(--text-2); }
.u-card { padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-1); display: grid; gap: 6px; font-size: var(--t-sm); }
.u-card .who { display: flex; align-items: center; gap: 8px; font-weight: var(--w-semibold); }
.u-card .meta { display: flex; align-items: center; justify-content: space-between; color: var(--text-3); font-size: var(--t-xs); }

/* Calendar / muster grid */
.u-grid-cal { display: grid; grid-template-columns: 150px repeat(14, minmax(0, 1fr)); font-size: var(--t-xs); }
.u-grid-cal > div { height: 36px; display: grid; place-items: center; border-bottom: 1px solid var(--border-soft); }
.u-grid-cal > .nm { place-items: center start; padding-left: 14px; gap: 8px; display: flex; font-size: var(--t-sm); font-weight: var(--w-medium); }
.u-grid-cal > .hd { color: var(--text-3); font-weight: var(--w-semibold); background: var(--surface-2); }
.u-grid-cal > .hd.we { color: var(--text-disabled); }
.mk { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: var(--w-bold); font-size: 10px; }
.mk.p { background: var(--success-soft); color: var(--success-text); }
.mk.l { background: var(--brand-soft); color: var(--brand-text); }
.mk.a { background: var(--danger-soft); color: var(--danger-text); }
.mk.h { background: var(--info-soft); color: var(--info-text); }
.mk.w { background: transparent; color: var(--text-disabled); }
.mk.r { background: var(--warning-soft); color: var(--warning-text); }

/* Chat (Connect, Zolt AI) */
.u-chat { display: grid; gap: 14px; padding: 18px 20px; }
.u-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
.u-msg .who { display: flex; align-items: baseline; gap: 8px; font-size: var(--t-sm); font-weight: var(--w-semibold); }
.u-msg .who span { font-weight: var(--w-regular); color: var(--text-3); font-size: var(--t-xs); }
.u-msg p { margin: 2px 0 0; color: var(--text); font-size: var(--t-sm); line-height: 21px; }
.u-bubble { justify-self: end; max-width: 78%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--brand); color: var(--text-on-fill); font-size: var(--t-sm); line-height: 21px; }
.u-answer { display: grid; gap: 12px; max-width: 92%; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-1); font-size: var(--t-sm); }
.u-compose { display: flex; align-items: center; gap: 10px; margin: 0 20px 18px; padding: 8px 8px 8px 14px; border-radius: var(--r-md); border: 1px solid var(--border-field); background: var(--surface); color: var(--text-3); font-size: var(--t-sm); }
.u-compose .btn { margin-left: auto; }

/* Document (letters, payslip) */
.u-doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--e-2); padding: 36px 40px; font-size: 13px; line-height: 21px; color: var(--text-2); display: grid; gap: 12px; }
.u-doc h6 { margin: 0; font-size: var(--t-lg); color: var(--text); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); }
.u-doc .ln { height: 8px; border-radius: 4px; background: var(--paper-100); }
.u-sign { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--brand-line); border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand-text); font-weight: var(--w-semibold); font-size: var(--t-sm); }

/* ---------- Product UI: phone ---------- */
.phone-f { position: relative; width: 390px; height: 844px; padding: 11px; border-radius: 56px; background: var(--paper-950); box-shadow: var(--e-4), inset 0 0 0 1px rgb(255 255 255 / .08); flex: none; }
.phone-s { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; font-size: var(--t-md); line-height: var(--lh-md); color: var(--text); text-align: left; }
.phone-s .status { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 36px; font-size: 15px; font-weight: var(--w-semibold); font-variant-numeric: tabular-nums; }
.phone-s .status .sys { display: flex; gap: 6px; align-items: center; }
.phone-s .status .sys .ic { width: 16px; height: 16px; }
.phone-s .island { position: absolute; top: 11px; left: 50%; width: 108px; height: 32px; margin-left: -54px; border-radius: 20px; background: var(--paper-950); }
.phone-s .scroll { overflow: hidden; padding: 6px 18px 18px; display: grid; gap: 16px; align-content: start; }
.phone-s .app-head { display: flex; align-items: center; gap: 12px; }
.phone-s .app-head .g { flex: 1; min-width: 0; }
.phone-s .round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; position: relative; box-shadow: var(--e-1); }
.phone-s .round .badge.dot { position: absolute; top: 9px; right: 10px; }
.phone-s .greet { font-size: 30px; line-height: 35px; font-weight: var(--w-semibold); letter-spacing: -0.03em; margin: 0; }
.phone-s .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-s .two .card { border-radius: 16px; }
.phone-s .two .stat { padding: 14px; }
.phone-s .two .stat .stat-value { font-size: 28px; }
.phone-s .punch-card { border-radius: 22px; padding: 20px 16px 16px; display: grid; gap: 16px; justify-items: center; }
.phone-s .punch-slide { --ps-h: 56px; }
.phone-s .punch-slide .ps-label { font-size: 14px; }
.phone-s .ph-title { font-size: 26px; line-height: 32px; font-weight: var(--w-semibold); letter-spacing: -0.03em; margin: 0; }
.phone-s .home-ind { height: 22px; display: grid; place-items: center; background: var(--surface); }
.phone-s .home-ind span { width: 134px; height: 5px; border-radius: 3px; background: var(--text); opacity: .85; }
.phone-s .tabbar { height: 62px; }

/* ---------- Generic site blocks ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .txt { display: grid; gap: 20px; align-content: center; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.points > div { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.points > div + div { padding-left: 32px; border-left: 1px solid var(--border); }
.points h3 { margin: 0; font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); }
.points p { margin: 0; color: var(--text-2); }
.points .ic { width: 22px; height: 22px; color: var(--brand-text); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: var(--text-2); }
.checks li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--success); stroke-width: 2.2; }
.checks li b { color: var(--text); font-weight: var(--w-semibold); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.facts > div { display: grid; gap: 14px; padding: 8px 40px 8px 0; align-content: start; }
.facts > div + div { padding-left: 40px; border-left: 1px solid var(--border); }
.ink-band .facts > div + div { border-left-color: #383531; }
.facts p { margin: 0; max-width: 22em; }
.ink-band .bignum .unit { color: #9E9A95; }

.mod-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-1); color: var(--text); text-decoration: none !important; transition: border-color var(--d-quick) linear, box-shadow var(--d-base) var(--ease-move), transform var(--d-base) var(--ease-move); }
.mod-card:hover { border-color: var(--border-strong); box-shadow: var(--e-2); transform: translateY(-1px); }
.mod-card .tile { grid-row: span 2; }
.mod-card b { font-weight: var(--w-semibold); font-size: var(--t-md); }
.mod-card small { grid-column: 2; color: var(--text-3); font-size: var(--t-sm); line-height: 20px; }
.mod-card > .ic { grid-row: 1 / span 2; grid-column: 3; color: var(--text-3); width: 16px; height: 16px; transition: transform var(--d-base) var(--ease-settle), color var(--d-quick) linear; }
.mod-card:hover > .ic { transform: translateX(3px); color: var(--brand-text); }

.group-card { display: grid; gap: 18px; align-content: start; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-1); }
.group-card .gh { display: flex; align-items: center; gap: 12px; }
.group-card .gh .d4 { flex: 1; }
.group-card p { margin: 0; color: var(--text-2); }
.group-card ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.group-card li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); color: var(--text); font-weight: var(--w-medium); text-decoration: none !important; }
.group-card li:last-child a { border-bottom: 0; padding-bottom: 0; }
.group-card li a .ic { width: 16px; height: 16px; color: var(--text-3); transition: transform var(--d-base) var(--ease-settle); }
.group-card li a:hover { color: var(--brand-text); }
.group-card li a:hover .ic { transform: translateX(3px); color: var(--brand-text); }

.statute { display: flex; flex-wrap: wrap; gap: 10px 0; justify-content: space-between; align-items: center; padding: 28px 0; border-block: 1px solid var(--border); }
.statute span { font-size: clamp(18px, 1.8vw, 24px); font-weight: var(--w-semibold); letter-spacing: -0.02em; color: var(--text-2); }
.statute span.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--paper-300); }

/* Ledger: the month in steps */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); counter-reset: led; }
.ledger li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ledger li::before { counter-increment: led; content: counter(led, decimal-leading-zero); font-variant-numeric: tabular-nums; font-weight: var(--w-semibold); color: var(--text-3); font-size: var(--t-sm); }
.ledger li b { display: block; font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); }
.ledger li span.d { color: var(--text-3); font-size: var(--t-sm); }
.ledger li .who { font-size: var(--t-sm); color: var(--text-2); display: inline-flex; gap: 8px; align-items: center; }
.ledger li.on b { color: var(--brand-text); }
.ledger li.on::before { color: var(--brand-text); }

/* CTA band: brand fill always carries white */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--brand); color: var(--text-on-fill); padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }

.cta-band .d2 { color: inherit; }
.cta-band p { margin: 14px 0 0; color: color-mix(in srgb, var(--text-on-fill) 86%, transparent); font-size: var(--t-lg); line-height: var(--lh-lg); max-width: 34em; }
.cta-band .ctas { position: relative; z-index: 1; }
.btn-onbrand { --_bg: #fff; --_fg: var(--mayur-800); --_bd: transparent; --_bg-h: var(--mayur-50); --_bg-a: var(--mayur-100); }
.btn-onbrand-ghost { --_bg: transparent; --_fg: var(--text-on-fill); --_bd: color-mix(in srgb, var(--text-on-fill) 50%, transparent); --_bg-h: color-mix(in srgb, var(--text-on-fill) 12%, transparent); --_bg-a: color-mix(in srgb, var(--text-on-fill) 18%, transparent); box-shadow: none; }
.btn-onbrand:focus-visible, .btn-onbrand-ghost:focus-visible { outline-color: var(--text-on-fill); }

/* Home specifics */
.punch-show { display: grid; justify-items: center; }
.sec-facts > div { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--border); }
.sec-facts .ic-xl { color: var(--brand-text); stroke-width: 1.6; }
.plan-mini { display: grid; gap: 6px; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-1); color: var(--text); text-decoration: none !important; transition: border-color var(--d-quick) linear, box-shadow var(--d-base) var(--ease-move), transform var(--d-base) var(--ease-move); }
.plan-mini:hover { border-color: var(--border-strong); }
.plan-mini.featured { border-color: var(--brand-ui); box-shadow: 0 0 0 1px var(--brand-ui); }
.plan-mini .pm-name { display: flex; align-items: center; gap: 10px; font-size: var(--t-xl); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); }
.plan-mini .pm-tag { color: var(--text-3); font-size: var(--t-sm); margin-bottom: 18px; }
.plan-mini .pm-price { font-size: 64px; line-height: 1; letter-spacing: -0.05em; }
.plan-mini .pm-per { color: var(--text-3); font-size: var(--t-sm); }

/* ---------- Module page ---------- */
.m-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.m-hero .crumbs { margin-bottom: 36px; }
.m-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.m-hero .id { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-weight: var(--w-semibold); color: var(--text-2); }
.m-hero .side { display: grid; gap: 24px; padding-bottom: 6px; }
.plan-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--text-3); }
.plan-note .ic { width: 16px; height: 16px; color: var(--success); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 20px; padding: 32px 28px 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-1); }
.plan.featured { border-color: var(--brand-ui); box-shadow: 0 0 0 1px var(--brand-ui); }
.plan .flag { position: absolute; top: -12px; left: 28px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--brand); color: var(--text-on-fill); font-size: var(--t-xs); font-weight: var(--w-semibold); display: inline-flex; align-items: center; }
.plan .pname { display: grid; gap: 4px; }
.plan .pname b { font-size: var(--t-2xl); line-height: var(--lh-2xl); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); }
.plan .pname span { color: var(--text-3); font-size: var(--t-sm); }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price .amount { font-size: 56px; line-height: 1; letter-spacing: -0.05em; }
.plan .price small { color: var(--text-3); font-size: var(--t-sm); line-height: 18px; }
.plan .checks li { font-size: var(--t-base); line-height: var(--lh-base); }
.plan .checks li .ic { margin-top: 2px; }
.plan .seats { font-size: var(--t-sm); color: var(--text-2); padding: 10px 12px; border-radius: var(--r-md); background: var(--paper-50); border: 1px solid var(--border-soft); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--e-1); overflow: hidden; }
.calc .in { padding: 36px; display: grid; gap: 20px; align-content: start; border-right: 1px solid var(--border); }
.calc .out { padding: 36px; display: grid; gap: 0; align-content: start; background: var(--paper-50); }
.calc .out .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.calc .out .row:last-of-type { border-bottom: 0; }
.calc .out .row b { font-size: var(--t-md); }
.calc .out .row .amount { font-size: var(--t-3xl); }
.calc .out .row .na { color: var(--text-3); font-size: var(--t-sm); }
.range { width: 100%; accent-color: var(--brand-ui); height: 24px; }
.compare { width: 100%; border-collapse: collapse; font-size: var(--t-base); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: var(--t-md); font-weight: var(--w-semibold); }
.compare tbody th { font-weight: var(--w-medium); color: var(--text); }
.compare .grp td, .compare .grp th { padding-top: 32px; font-size: var(--t-xs); font-weight: var(--w-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-3); }
.compare .yes { color: var(--success); width: 18px; height: 18px; stroke-width: 2.2; margin: 0 auto; }
.compare .no { color: var(--paper-300); width: 16px; height: 16px; margin: 0 auto; }
.compare-wrap { overflow-x: auto; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: var(--t-lg); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); cursor: pointer; border-radius: var(--r-xs); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; color: var(--text-3); transition: transform var(--d-base) var(--ease-move); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--text-2); max-width: 44em; }

/* ---------- Forms on the site ---------- */
.form-card { display: grid; gap: 18px; padding: 32px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--e-2); }
.form-card .input, .form-card .select { height: var(--control-lg); font-size: var(--t-md); }
.form-card .textarea { font-size: var(--t-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-ok { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--success-soft); border: 1px solid var(--success-line); color: var(--text); }
.form-ok .ic { color: var(--success-text); margin-top: 2px; }
.form-note { padding: 12px 14px; border-radius: var(--r-md); font-size: var(--t-sm); background: var(--surface-2); color: var(--text); }
.form-note.err { background: var(--danger-soft); border: 1px solid var(--danger-line); color: var(--danger-text); }
.form-note.ok { background: var(--success-soft); border: 1px solid var(--success-line); color: var(--success-text); }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: var(--t-sm); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth .a-form { display: grid; grid-template-rows: auto 1fr auto; padding: 32px clamp(20px, 5vw, 72px); }
.auth .a-form .in { width: 100%; max-width: 400px; margin: 0 auto; align-self: center; display: grid; gap: 22px; padding: 40px 0; }
.auth .a-form .in .input, .auth .a-form .in .select { height: var(--control-lg); font-size: var(--t-md); }
.auth .a-side { position: relative; overflow: hidden; border-left: 0;
  background: linear-gradient(180deg, var(--paper-100), color-mix(in srgb, var(--mayur-50) 55%, var(--paper-100)));
  display: grid; align-content: center; justify-items: center; padding: 48px; gap: 28px; }
.auth .a-foot { display: flex; gap: 16px; font-size: var(--t-sm); color: var(--text-3); flex-wrap: wrap; }
.auth .a-foot a { color: var(--text-2); }

/* ---------- Blog, changelog, legal ---------- */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.post-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none !important; align-items: start; }
.post-row time, .post-row .cat { font-size: var(--t-sm); color: var(--text-3); }
.post-row h3 { margin: 0 0 8px; font-size: var(--t-2xl); line-height: var(--lh-2xl); letter-spacing: var(--track-snug); font-weight: var(--w-semibold); transition: color var(--d-quick) linear; }
.post-row p { margin: 0; color: var(--text-2); max-width: 40em; }
.post-row:hover h3 { color: var(--brand-text); }
.post-row > .ic { color: var(--text-3); margin-top: 8px; transition: transform var(--d-base) var(--ease-settle); }
.post-row:hover > .ic { transform: translateX(3px); color: var(--brand-text); }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); overflow: hidden; color: var(--text); text-decoration: none !important; box-shadow: var(--e-1); }
.post-feature .pf-txt { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.post-feature .pf-art { background: var(--paper-100); border-left: 1px solid var(--border); display: grid; place-items: center; padding: 32px; }
.post-feature:hover .d3 { color: var(--brand-text); }
.prose { font-size: 18px; line-height: 30px; color: var(--text); }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: var(--t-3xl); line-height: var(--lh-3xl); letter-spacing: var(--track-tight); font-weight: var(--w-semibold); margin-top: 56px; }
.prose h3 { font-size: var(--t-xl); line-height: var(--lh-xl); letter-spacing: var(--track-snug); font-weight: var(--w-semibold); margin-top: 40px; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; color: var(--text-2); }
.prose p { margin-top: 22px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: var(--w-semibold); }
.prose .callout { padding: 20px 22px; border-radius: var(--r-lg); background: var(--paper-50); border: 1px solid var(--border); font-size: var(--t-md); line-height: var(--lh-md); color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-base); font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { font-size: var(--t-xs); color: var(--text-3); font-weight: var(--w-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; }
.prose td.n, .prose th.n { text-align: right; }
.prose tr.total td { font-weight: var(--w-semibold); color: var(--text); border-bottom: 0; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: var(--t-sm); }
.byline b { color: var(--text); font-weight: var(--w-semibold); }
.log { display: grid; gap: 0; }
.log-entry { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--border); }
.log-entry .when { display: grid; gap: 8px; align-content: start; position: sticky; top: 96px; }
.log-entry .when time { font-weight: var(--w-semibold); }
.log-entry .body { display: grid; gap: 16px; }
.log-entry .body ul { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: var(--t-sm); }
.toc a { padding: 6px 10px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none !important; }
.toc a:hover { background: var(--paper-100); color: var(--text); }
.toc .overline { padding: 0 10px 8px; }

/* ---------- Footer ---------- */
.site-foot { margin-top: clamp(80px, 10vw, 128px); border-top: 1px solid var(--border); background: var(--paper-50); padding: 64px 0 40px; font-size: var(--t-sm); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid .brandcol { display: grid; gap: 16px; align-content: start; color: var(--text-2); max-width: 280px; }
.foot-grid .brandcol img { height: 24px; width: auto; }
.foot-grid h4 { margin: 0 0 14px; font-size: var(--t-sm); font-weight: var(--w-semibold); color: var(--text); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid ul a { color: var(--text-2); }
.foot-grid ul a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); }
.foot-base .lang { display: inline-flex; gap: 12px; }

/* ---------- Scroll reveal ("Settle", slow and calm) ---------- */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(calc(var(--rise-md) * 2)); }
html.reveal-on [data-reveal].in { opacity: 1; transform: none;
  transition: opacity calc(var(--d-calm) * 2) var(--ease-settle), transform calc(var(--d-calm) * 3) var(--ease-settle);
  transition-delay: calc(var(--i, 0) * var(--stagger) * 2); }
html.reveal-on .stage[data-reveal] { transform: translateY(calc(var(--rise-md) * 3)); }
html.reveal-on .stage[data-reveal].in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .stage-in { padding-left: 88px; padding-right: 32px; }
  .stage .phone-at { right: 24px; }
  .hero-stage .stage-in { padding-right: 200px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid .brandcol { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav-btn { padding: 0 9px; }
  .mega-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mega-aside { grid-template-columns: 1fr 1fr; }
  .hero-grid, .m-hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-grid .side, .m-hero .side { max-width: 620px; }
  .sec-head.row { grid-template-columns: minmax(0, 1fr); }
  .sec-head.row .lede { justify-self: start; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links, .nav-right .hide-m { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-right { gap: 6px; }
  .split, .post-feature, .calc, .legal-grid, .auth { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .calc .in { border-right: 0; border-bottom: 1px solid var(--border); }
  .post-feature .pf-art { border-left: 0; border-top: 1px solid var(--border); }
  .grid-3, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points, .facts { grid-template-columns: minmax(0, 1fr); }
  .points > div, .points > div + div { padding: 28px 0; border-left: 0; }
  .points > div + div { border-top: 1px solid var(--border); }
  .facts > div, .facts > div + div { padding: 28px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--border); }
  .ink-band .facts > div + div { border-top-color: #383531; }
  .cta-band { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .log-entry { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .log-entry .when { position: static; }
  .toc { position: static; }
  .auth .a-side { display: none; }
  .stage .phone-at { display: none; }
  .hero-stage .stage-in { padding-right: 32px; }
  .post-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; }
  .post-row .meta { grid-column: 1 / -1; display: flex; gap: 12px; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .grid-2, .grid-3, .grid-4, .related, .form-row, .mega-aside { grid-template-columns: minmax(0, 1fr); }
  .stage { border-radius: var(--r-xl); }
  .stage-in, .stage.plain .stage-in, .hero-stage .stage-in { padding: 24px 0 0 20px; height: var(--stage-h-m, 380px); }
  .stage.centered .stage-in { padding: 24px 12px 0; }
  .stage.card-stage .stage-in { height: auto; padding: 28px 16px; }
  .phone-pair .second { display: none; }
  .win { grid-template-columns: minmax(0, 1fr); }
  .win .win-side { display: none; }
  .ledger li { grid-template-columns: 40px minmax(0, 1fr); }
  .ledger li .who { grid-column: 2; }
  .compare th, .compare td { padding: 12px 8px; font-size: var(--t-sm); }
  .plan { padding: 28px 22px 22px; }
  .calc .in, .calc .out { padding: 24px 20px; }
  .form-card { padding: 22px 18px; }
  .post-row h3 { font-size: var(--t-xl); line-height: var(--lh-xl); }
  .prose { font-size: 17px; line-height: 28px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.win.w1040 { width: 1040px; grid-template-columns: 196px minmax(0, 1fr); }
.win.w1040 .u-stats .stat .stat-value { font-size: var(--t-2xl); }
@media (max-width: 720px) { .win.w1040 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Overview, security, codes, about, 404 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.flow-step { position: relative; display: grid; gap: 6px; padding: 28px 20px 0 0; }
.flow-step .tile { margin-bottom: 10px; }
.flow-step b { font-size: var(--t-lg); font-weight: var(--w-semibold); letter-spacing: var(--track-snug); }
.flow-step > span:last-child { color: var(--text-3); font-size: var(--t-sm); }
.flow-step + .flow-step::before { content: ""; position: absolute; top: 51px; left: -18px; width: 10px; height: 10px; border-top: 2px solid var(--border-strong); border-right: 2px solid var(--border-strong); transform: rotate(45deg); }
.ov { display: grid; gap: clamp(56px, 7vw, 96px); }
.ov-head { display: grid; grid-template-columns: 56px auto minmax(0, 1fr); gap: 16px; align-items: baseline; margin-bottom: 24px; }
.ov-head .copy { justify-self: end; color: var(--text-3); }
.ov-n { font-size: var(--t-sm); font-weight: var(--w-semibold); color: var(--brand-text); font-variant-numeric: tabular-nums; }
.sec-grid { gap: 56px 40px; }
.sec-item { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--border); }
.sec-item .ic-xl { color: var(--brand-text); stroke-width: 1.6; }
.kv-list { display: grid; border-top: 1px solid var(--border); }
.kv-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.kv-list span { color: var(--text-2); }
.kv-list b { font-weight: var(--w-semibold); }
.codes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.code-item { display: grid; gap: 12px; align-content: start; padding: 28px 28px 0 0; }
.code-item + .code-item { padding-left: 28px; border-left: 1px solid var(--border); }
.changes { display: grid; border-top: 1px solid var(--border); }
.change { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 64px; padding: 40px 0; border-bottom: 1px solid var(--border); }
.change .copy p { margin: 0; }
.change .does { display: flex; gap: 10px; margin-top: 16px !important; color: var(--text); font-weight: var(--w-medium); }
.change .does .ic { color: var(--success); margin-top: 3px; flex: none; }
.about-facts > div { gap: 14px; }
.nf { min-height: 62vh; display: grid; align-items: center; }
.nf-in { display: grid; gap: 20px; justify-items: start; padding: 80px 0 40px; }
.nf-in .bignum { color: var(--mayur-200); }
.nf-links { list-style: none; margin: 16px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); display: flex; gap: 28px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .flow-step + .flow-step::before { display: none; }
  .codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .code-item, .code-item + .code-item { padding: 24px 20px 24px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .change { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ov-head { grid-template-columns: 40px minmax(0, 1fr); }
  .ov-head .copy { grid-column: 2; justify-self: start; }
}
@media (max-width: 720px) {
  .flow, .codes { grid-template-columns: minmax(0, 1fr); }
  .kv-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Hero on a phone: the phone app, not a shrunken console */
.hero-stage .phone-m { display: none; }
@media (max-width: 720px) {
  .hero-stage .fit-box { display: none; }
  .hero-stage .phone-m { display: block; }
  .hero-stage .stage-in { display: grid; justify-items: center; padding: 28px 12px 0; height: 470px; }
  .statute { justify-content: flex-start; gap: 10px 16px; }
  .statute span { font-size: 20px; }
}
.u-card .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-card .meta { flex-wrap: wrap; gap: 4px 8px; }
.plans { padding-top: 14px; }
