/* Kreya marketing site styles. Tokens follow the design system (design-system.html). */

/* ---------- fonts (self-hosted; latin-ext files carry ₹) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-800-latin.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-800-latin-ext.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500-all.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-600-all.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* palette */
  --night: #0B2A27;        /* dark sections */
  --night-top: #0F3632;    /* header and hero top */
  --night-2: #143B37;      /* raised surfaces on dark */
  --night-line: #23504B;
  --on-night: #ffffff;
  --on-night-2: #BFD3CF;   /* 9.6:1 on --night */
  --brand: #0B4F4A;  --brand-hover: #083D39; --brand-bg: #E6F7EF; --brand-text: #0B4F4A;
  --mint: #3DDC97;   --mint-hover: #6BE8B2;  --on-mint: #0B2A27;   /* 10.4:1 */
  --paper: #F6F4EF;  --paper-line: #E6E0D3;  /* warm paper sections */
  --surface: #ffffff; --surface-2: #f1f3f6;
  --border: #e3e6eb;  --border-strong: #c9ced6;
  --text: #1c2430;    --text-2: #5b6573;
  --ai: #6447e0;      --ai-bg: #efecfd; --ai-text: #4430a8;   /* AI colour: open item (lavender) */
  --ok: #1f7a3d; --ok-bg: #e5f4ea; --warn: #8a5a00; --warn-bg: #fdf1d8;
  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  /* shape */
  --r: 16px; --r-sm: 10px; --r-btn: 8px;
  --gut: 16px; --max: 1200px; --tap: 44px;
  --shadow: 0 14px 34px rgba(11,42,39,.10);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); color: var(--text); background: var(--surface); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* ---------- page container (all @container page queries measure this) ---------- */
.page { container: page / inline-size; background: var(--surface); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip { min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 14px; }
@container page (min-width: 700px) { :root { --gut: 32px; } }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }


/* ---------- type ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: 30px; font-weight: 900; }
@container page (min-width: 900px) { h2 { font-size: 42px; } }
h3 { font-size: 20px; font-weight: 700; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); }
.dark .eyebrow { color: var(--on-night-2); }
.lead { font-size: 18px; color: var(--text-2); max-width: 680px; margin-top: 14px; }
.dark .lead { color: var(--on-night-2); }
.mk { background: linear-gradient(transparent 60%, rgba(61,220,151,.45) 60%, rgba(61,220,151,.45) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dark .mk { background: none; color: var(--mint); padding: 0; }

section { padding: 64px 0; }
@container page (min-width: 900px) { section { padding: 80px 0; } }
.dark { background: var(--night); color: var(--on-night); }
.paper { background: var(--paper); }

/* ---------- buttons (8px radius, mint on dark, teal on light) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.btn .ic { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-mint { background: var(--mint); color: var(--on-mint); }
.btn-mint:hover { background: var(--mint-hover); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-hover); }
.btn-ghost { border-color: currentColor; background: transparent; }
.dark .btn-ghost, .on-dark .btn-ghost, .hero .btn-ghost, .site .btn-ghost { color: #fff; }
.dark .btn-ghost:hover, .on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .site .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost.light { color: var(--brand); }
.btn-ghost.light:hover { background: var(--brand-bg); }
.btn.sm { min-height: var(--tap); padding: 0 16px; font-size: 15px; }

/* ---------- header ---------- */
.site { position: sticky; top: 0; z-index: 50; background: var(--night-top); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; min-height: var(--tap); }
.menu { display: none; list-style: none; gap: 4px; font-size: 15px; font-weight: 500; }
.menu a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-radius: 8px; text-decoration: none; color: var(--on-night-2); }
.menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.signin { display: none; }
.menu-btn { width: var(--tap); height: var(--tap); display: grid; place-items: center; background: transparent; border: 1px solid var(--night-line); border-radius: 8px; color: #fff; cursor: pointer; }
.mnav { display: none; background: var(--night-top); border-top: 1px solid var(--night-line); padding: 6px var(--gut) 14px; }
.mnav.open { display: block; }
.mnav a { display: flex; align-items: center; min-height: var(--tap); color: #fff; text-decoration: none; border-bottom: 1px solid var(--night-line); }
@container page (min-width: 980px) {
  .menu { display: flex; } .signin { display: inline-flex; } .menu-btn, .mnav, .mnav.open { display: none; }
}

/* ---------- hero (flat top that merges with the header, glows at the bottom) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 40px 0 64px; isolation: isolate; background:
  radial-gradient(60% 40% at 0% 100%, rgba(43,122,111,.60) 0%, rgba(43,122,111,0) 70%),
  radial-gradient(55% 40% at 100% 100%, rgba(20,96,88,.55) 0%, rgba(20,96,88,0) 70%),
  radial-gradient(70% 30% at 50% 100%, rgba(61,220,151,.22) 0%, rgba(61,220,151,0) 72%),
  linear-gradient(180deg, var(--night-top) 0%, var(--night-top) 30%, var(--night) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
@container page (min-width: 900px) { .hero { padding: 72px 0 80px; } }
.flow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4; width: 100%; height: 100%; }
.hero-grid { display: grid; gap: 32px; grid-template-columns: minmax(0,1fr); align-items: center; }
@container page (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 56px; } }
.hero .eyebrow { color: var(--on-night-2); }
.hero h1 { font-size: 38px; font-weight: 900; letter-spacing: -.025em; line-height: 1.06; }
@container page (min-width: 900px) { .hero h1 { font-size: 62px; } }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { color: var(--on-night-2); font-size: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { list-style: none; display: grid; grid-template-columns: minmax(0,1fr); gap: 8px 22px; margin-top: 28px; font-size: 15px; color: #DDEAE7; }
@container page (min-width: 600px) { .hero-points { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.hero-points li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-points .ic { color: var(--mint); width: 18px; height: 18px; stroke-width: 2.4; }

/* form card */
.form-card { background: var(--surface); color: var(--text); border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
@container page (min-width: 600px) { .form-card { padding: 26px; } }
.form-card h2 { font-size: 22px; font-weight: 900; }
.form-card .sub { font-size: 14.5px; color: var(--text-2); margin: 4px 0 16px; }
.tabs { display: flex; background: var(--paper); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.tabs button { flex: 1; min-height: var(--tap); border: 0; background: none; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--night-top); color: #fff; }
.fgrid { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.field input, .field select { font: inherit; font-size: 16px; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: #fff; color: var(--text); width: 100%; }
.field input::placeholder { color: #6b7480; }
.field input:focus, .field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-bg); }
.field .hint { font-size: 13px; color: var(--text-2); }
.field .hint a { color: var(--brand-text); font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }
.form-card .btn { width: 100%; margin-top: 14px; }
.form-note { font-size: 13px; color: var(--text-2); margin-top: 10px; text-align: center; }
.form-msg { margin-top: 12px; background: var(--brand-bg); color: var(--brand-text); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; }

/* ---------- format strip ---------- */
.strip { background: var(--night-2); color: #fff; padding: 24px 0; border-top: 1px solid var(--night-line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.strip .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-2); }
.strip .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.strip .chips span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--night-line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14.5px; color: #E6F2EF; }
.strip .chips .ic { width: 16px; height: 16px; color: var(--mint); }

/* ---------- section heads ---------- */
.shead { max-width: 780px; margin-bottom: 40px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; gap: 20px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 860px) { .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.svc { background: var(--surface); border: 1px solid var(--paper-line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
@container page (min-width: 600px) { .svc { padding: 28px; } }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-top { display: flex; gap: 16px; align-items: flex-start; }
.ico { width: 52px; height: 52px; border-radius: 14px; background: var(--night-top); color: var(--mint); display: grid; place-items: center; flex: none; }
.ico .ic { width: 26px; height: 26px; }
.ico.ai { background: var(--ai-bg); color: var(--ai); }
.tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-bg); padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.svc p { color: var(--text-2); font-size: 15.5px; }
.specs { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; background: var(--paper); border-radius: var(--r-sm); padding: 14px; }
@container page (min-width: 480px) { .specs { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.specs div { font-size: 13px; color: var(--text-2); }
.specs b { display: block; font-size: 14.5px; color: var(--text); margin-top: 2px; }
.ticks { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li > .ic { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--brand-bg); color: var(--brand); stroke-width: 3; }
.best { font-size: 14.5px; border-top: 1px dashed var(--paper-line); padding-top: 12px; margin-top: auto; }
.svc.wide { background: var(--night); color: #fff; border-color: var(--night); }
@container page (min-width: 860px) { .svc.wide { grid-column: 1 / -1; } }
.svc.wide p, .svc.wide .specs div { color: var(--on-night-2); }
.svc.wide .ico { background: var(--mint); color: var(--on-mint); }
.svc.wide .specs { background: rgba(255,255,255,.06); }
.svc.wide .specs b { color: #fff; }
.svc.wide .tag { background: rgba(61,220,151,.16); color: var(--mint); }
.svc.wide .ticks li > .ic { background: rgba(61,220,151,.18); color: var(--mint); }
.svc.wide .ticks li { color: #E6F2EF; }
.svc.wide .best { border-color: var(--night-line); }
.wide-cols { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 860px) { .wide-cols { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* add-ons */
.addons-h { font-size: 18px; margin: 40px 0 14px; }
.addons { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 560px) { .addons { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container page (min-width: 980px) { .addons { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.addon { background: var(--surface); border: 1px solid var(--paper-line); border-radius: var(--r); padding: 20px; }
.addon h4 { font-size: 16.5px; margin: 12px 0 6px; }
.addon p { font-size: 14.5px; color: var(--text-2); }
.mini { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-bg); color: var(--brand); display: grid; place-items: center; }
.mini.ai { background: var(--ai-bg); color: var(--ai); }

/* ---------- finder (dark, interactive) ---------- */
.finder { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr); align-items: start; }
@container page (min-width: 900px) { .finder { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 28px; } }
.finder-form { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 22px; display: grid; gap: 18px; }
.finder-form legend { font-size: 14px; font-weight: 700; color: var(--on-night-2); margin-bottom: 8px; }
.finder-form fieldset { border: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1.5px solid var(--night-line); border-radius: 999px; color: #E6F2EF; font-size: 15px; cursor: pointer; }
.seg input:checked + label { background: var(--mint); border-color: var(--mint); color: var(--on-mint); font-weight: 700; }
.seg input:focus-visible + label { outline: 3px solid var(--mint); outline-offset: 2px; }
.result { background: var(--surface); color: var(--text); border-radius: var(--r); padding: 24px; }
.result .rk { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.result h3 { font-size: 24px; margin: 6px 0 14px; }
.plan { list-style: none; display: grid; gap: 10px; counter-reset: p; }
.plan li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); }
.plan li::before { counter-increment: p; content: counter(p); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-bg); color: var(--brand-text); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.plan li b { display: block; }
.plan li span { font-size: 14px; color: var(--text-2); }
.plan li.done::before { content: "✓"; background: var(--brand); color: #fff; }
.result .alt { margin-top: 14px; font-size: 14.5px; background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; }
.result .fine { font-size: 13px; color: var(--text-2); margin-top: 12px; }
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--night-line); border-radius: var(--r); }
.table-wrap:focus-visible { outline: 3px solid var(--mint); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 780px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--night-line); vertical-align: top; }
thead th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); background: var(--night-2); }
tbody th { font-weight: 700; color: #fff; }
tbody td { color: #DDEAE7; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr.later th, tbody tr.later td { color: var(--on-night-2); background: rgba(255,255,255,.03); }
.tnote { font-size: 13px; color: var(--on-night-2); margin-top: 12px; }

/* ---------- who ---------- */
.who-grid { display: grid; gap: 18px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 560px) { .who-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container page (min-width: 1000px) { .who-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.who { background: var(--surface); border: 1px solid var(--paper-line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.who h3 { font-size: 18px; margin: 14px 0 8px; }
.who p { font-size: 15px; color: var(--text-2); }
.who .fit { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--brand-text); }
.who a.more { margin-top: auto; padding-top: 10px; color: var(--brand-text); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); }
.who a.more:hover { text-decoration: underline; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 18px; grid-template-columns: minmax(0,1fr); counter-reset: s; }
@container page (min-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container page (min-width: 980px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.step { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--paper-line); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--brand-text); background: var(--brand-bg); border-radius: 999px; padding: 4px 10px; }
.step h3 { font-size: 18px; margin: 16px 0 8px; }
.step p { font-size: 15px; color: var(--text-2); }

/* ---------- checklist + callout ---------- */
.docs { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr); align-items: start; }
@container page (min-width: 860px) { .docs { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; } }
.doc-list { display: grid; gap: 12px; }
.doc { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--paper-line); border-radius: var(--r-sm); padding: 16px; }
.doc .n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand-text); background: var(--brand-bg); border-radius: 8px; height: 28px; min-width: 28px; display: grid; place-items: center; }
.doc h4 { font-size: 16px; }
.doc p { font-size: 14.5px; color: var(--text-2); }
.callout { background: var(--night); color: #fff; border-radius: var(--r); padding: 26px; }
.callout h3 { font-size: 22px; margin-bottom: 10px; }
.callout p { color: var(--on-night-2); font-size: 15.5px; }
.callout .ticks { margin-top: 16px; }
.callout .ticks li { color: #E6F2EF; }
.callout .ticks li > .ic { background: rgba(61,220,151,.18); color: var(--mint); }

/* ---------- compliance tiles ---------- */
.lanes { display: grid; gap: 14px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 480px) { .lanes { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container page (min-width: 980px) { .lanes { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.lane { border: 1px solid var(--night-line); border-radius: var(--r-sm); padding: 18px; background: var(--night-2); }
.lane h4 { font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lane h4 > span { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--mint); letter-spacing: .08em; white-space: nowrap; flex-shrink: 0; }
.lane p { font-size: 14px; color: var(--on-night-2); margin-top: 6px; }

/* ---------- why ---------- */
.why-grid { display: grid; gap: 18px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.why-card { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--paper-line); }
.why-card .k { font-weight: 900; font-size: 30px; color: var(--brand); line-height: 1; margin-bottom: 12px; letter-spacing: -.02em; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--text-2); }

/* Home: Security (dark band after Why Kreya) */
.sec-grid { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
@container page (min-width: 600px) { .sec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container page (min-width: 900px) { .sec-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
.sec-card { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 4px 14px; align-content: start; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--surface); color: var(--text); }
.sec-card .sec-ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--paper); border: 1px solid var(--paper-line); color: var(--brand); }
.sec-card .sec-ic .ic { width: 20px; height: 20px; }
.sec-card h3 { font-size: 17px; line-height: 1.3; }
.sec-card p { font-size: 15px; color: var(--text-2); }
.sec-links { margin-top: 24px; text-align: center; font-size: 15px; color: var(--on-night-2); }
.sec-links a { color: var(--mint); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--paper-line); border-radius: var(--r-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; padding: 16px 34px 16px 0; position: relative; min-height: var(--tap); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; font-weight: 500; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--text-2); font-size: 15.5px; }
.faq-more { text-align: center; margin-top: 22px; }
.faq-more a { color: var(--brand-text); font-weight: 700; display: inline-flex; align-items: center; min-height: var(--tap); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 24px; padding: 32px 22px; color: #fff; display: grid; gap: 24px; grid-template-columns: minmax(0,1fr); align-items: center; background:
  radial-gradient(600px 300px at 100% 100%, rgba(61,220,151,.22), transparent 60%),
  radial-gradient(500px 300px at 0% 100%, rgba(43,122,111,.45), transparent 60%), var(--night-top); }
@container page (min-width: 820px) { .cta-band { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); padding: 52px; } }
.cta-band h2 { font-size: 30px; }
@container page (min-width: 900px) { .cta-band h2 { font-size: 40px; } }
.cta-band h2 em { font-style: normal; color: var(--mint); }
.cta-band p { color: var(--on-night-2); margin-top: 10px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }
.cta-actions small { color: var(--on-night-2); text-align: center; font-size: 13.5px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night-2); padding: 56px 0 28px; font-size: 15px; }
.fcols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0,1fr)); }
/* columns sized to their own text (capped, so long names wrap) and the spare room shared evenly, so the visible gaps match */
@container page (min-width: 860px) { .fcols { grid-template-columns: repeat(4, fit-content(186px)); justify-content: space-between; } }
@container page (min-width: 1200px) { .fcols { grid-template-columns: fit-content(306px) repeat(4, fit-content(186px)); gap: 32px; } }
.fbrand { grid-column: 1 / -1; }
@container page (min-width: 1200px) { .fbrand { grid-column: auto; } }
.fbrand p { margin-top: 12px; max-width: 320px; }
.foot h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }
.foot ul { list-style: none; }
.foot li a { overflow-wrap: break-word; padding: 4px 0; }
.foot a { text-decoration: none; color: var(--on-night-2); display: inline-flex; align-items: center; min-height: var(--tap); line-height: 1.35; }
.foot a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid var(--night-line); margin-top: 36px; padding-top: 20px; font-size: 13px; display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* ===================================================================
   Product-preview components (preview window, chips, KPIs, Power mode
   voucher, feature cards). The small row icon is .pi so it does not
   clash with .ico.
   =================================================================== */
:root {
  --info: #1f5fbf; --info-bg: #e7effb; --danger: #b42318; --danger-bg: #fdeceb;
  --radius: 8px;
  --p-head: #1d5d78; --p-head-text: #ffffff; --p-key: #1a6aa0; --p-line: #b9c7cd; --p-sel: #ffd95a; --p-sel-text: #1c2430;
}
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: var(--mono); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.ai { background: var(--ai-bg); color: var(--ai-text); }
.chip.info { background: var(--info-bg); color: var(--info); }
.chip.brand { background: var(--brand-bg); color: var(--brand-text); }
.pi { width: 34px; height: 34px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-2); }
.pi .ic { width: 18px; height: 18px; }
.pi.ai { background: var(--ai-bg); color: var(--ai); }
.pi.info { background: var(--info-bg); color: var(--info); }
.pi.ok { background: var(--ok-bg); color: var(--ok); }
.pi.brand { background: var(--brand-bg); color: var(--brand); }
.pi.warn { background: var(--warn-bg); color: var(--warn); }
.preview { margin: 0; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 30px rgba(20,30,50,.08); overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: 12.5px; color: var(--text-2); }
.pv-bar .dots { display: inline-flex; gap: 5px; }
.pv-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block; }
.pv-label { margin-left: auto; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--border-strong); border-radius: 4px; padding: 0 6px; background: var(--surface); white-space: nowrap; }
.pv-body { padding: 16px; font-size: 14px; }
.pv-cap { padding: 10px 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); background: var(--surface); }
.ai-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--ai-text); }
.prow { display: flex; gap: 10px; align-items: center; }
.fake-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: var(--radius); font-weight: 600; font-size: 13px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); white-space: nowrap; }
.fake-btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 0 0 12px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px; }
.kpi .k-label { font-size: 12px; color: var(--text-2); }
.kpi .k-value { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.conf { display: inline-block; width: 36px; height: 6px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; vertical-align: middle; }
.conf > i { position: absolute; inset: 0 auto 0 0; background: var(--ok); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-bg); color: var(--brand-text); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: none; }
.avatar.ca { background: var(--info-bg); color: var(--info); }

/* Power mode voucher */
.pw { font-family: var(--mono); font-size: 12.5px; background: #fbfdf4; overflow: hidden; }
.pw-top { background: var(--p-head); color: var(--p-head-text); padding: 7px 10px; display: flex; gap: 10px; font-family: var(--font); font-size: 12.5px; font-weight: 600; align-items: center; }
.pw-body { display: grid; grid-template-columns: minmax(0,1fr) 112px; }
.pw-main { padding: 12px; border-right: 1px solid var(--p-line); }
.pw-keys { background: #dcebf2; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.pw-k { background: #fff; border: 1px solid #c4d8e2; border-radius: 2px; padding: 1px 5px; font-family: var(--font); font-size: 11.5px; color: #1d3440; white-space: nowrap; }
.pw-k b { color: var(--p-key); }
.pw-k.on { background: var(--p-sel); }
.pw-k.on b { color: var(--p-sel-text); }
.pw-line { display: flex; gap: 8px; padding: 2px 0; }
.pw-line .l { min-width: 92px; color: #4a5562; }
.pw-sel { background: var(--p-sel); color: var(--p-sel-text); }
.pw-ai { border: 1px dashed var(--ai); background: #f8f6ff; color: var(--ai-text); padding: 6px 8px; margin-top: 10px; font-size: 12px; }
.pw table { width: 100%; min-width: 0; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
.pw th { text-align: left; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); padding: 3px 4px; font-weight: 700; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--text); background: none; }
.pw td { padding: 3px 4px; border: 0; color: var(--text); }
.pw-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--p-line); margin-top: 8px; padding-top: 4px; font-weight: 700; }

/* feature cards */
.fgrid6 { display: grid; gap: 18px; grid-template-columns: minmax(0,1fr); list-style: none; }
@container page (min-width: 640px) { .fgrid6 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container page (min-width: 1000px) { .fgrid6 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; } }
.fcard { --tone: var(--brand); --tone-bg: var(--brand-bg); --tone-text: var(--brand-text);
  min-height: 440px; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
  background: linear-gradient(160deg, var(--tone-bg) 0%, color-mix(in srgb, var(--tone-bg) 35%, var(--surface)) 45%, var(--surface) 100%);
  box-shadow: 0 1px 2px rgba(20,30,50,.04); transition: box-shadow .2s, transform .2s; }
.fcard:hover { box-shadow: 0 12px 28px rgba(20,30,50,.08); transform: translateY(-2px); }
.t-ai { --tone: var(--ai); --tone-bg: var(--ai-bg); --tone-text: var(--ai-text); }
.t-info { --tone: var(--info); --tone-bg: var(--info-bg); --tone-text: var(--info); }
.t-ok { --tone: var(--ok); --tone-bg: var(--ok-bg); --tone-text: var(--ok); }
.t-warn { --tone: var(--warn); --tone-bg: var(--warn-bg); --tone-text: var(--warn); }
.fc-body { padding: 26px 24px 18px; display: flex; flex-direction: column; gap: 10px; }
.fc-body .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.fc-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 14%, var(--surface)); color: var(--tone-text); }
.fc-ico .ic { width: 24px; height: 24px; }
.fcard h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-top: 8px; }
.fcard p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.fc-vis { position: relative; margin: auto 0 0 28px; padding: 30px 14px 14px; min-height: 150px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--border)); border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; box-shadow: -6px -6px 22px rgba(20,30,50,.06); font-size: 12.5px; display: flex; flex-direction: column; gap: 8px; }
.fv-tag { position: absolute; top: 8px; left: 12px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.fv-bub { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 10px; background: var(--brand-bg); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.fv-bub.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--ai); }
.fv-bub .ic { width: 16px; height: 16px; }
.fv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.fv-row .chip { font-size: 11.5px; }
.fv-steps { display: flex; flex-wrap: wrap; gap: 5px; }
.fv-steps span { padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-weight: 500; }
.fv-steps .done { background: var(--ok-bg); color: var(--ok); }
.fv-steps .now { background: var(--brand); color: #fff; }
.fv-qr { display: flex; gap: 12px; align-items: center; }
.qr { width: 74px; height: 74px; flex: none; border: 4px solid var(--surface); outline: 1px solid var(--border); background: conic-gradient(var(--text) 25%, transparent 0 50%, var(--text) 0 75%, transparent 0) 0 0 / 12px 12px; }
.fv-bars { display: flex; flex-direction: column; gap: 8px; }
.fv-bars span { position: relative; display: flex; justify-content: space-between; padding: 5px 8px; border-radius: 6px; overflow: hidden; isolation: isolate; }
.fv-bars b { position: absolute; inset: 0 auto 0 0; background: var(--warn-bg); z-index: -1; }
@media (prefers-reduced-motion: reduce) { .fcard:hover { transform: none; } }

/* ===================================================================
   HERO WALKTHROUGH: AI inbox → bank reconciliation → GST matching → month closed
   =================================================================== */
.hero-grid.walk { align-items: start; }
@container page (min-width: 900px) { .hero-grid.walk { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 48px; } .hero-grid.walk h1 { font-size: 54px; } }
.walk-figure { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wt-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.wt-tabs::-webkit-scrollbar { display: none; }
.wt-tab { flex: none; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px 0 6px; border-radius: 12px; border: 1px solid var(--night-line); background: var(--night-2); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.wt-tab .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--on-night-2); font-size: 13px; font-weight: 700; }
.wt-tab[aria-selected="true"] { background: #fff; color: var(--text); border-color: #fff; }
.wt-tab[aria-selected="true"] .n { background: var(--brand); color: #fff; }
.wt-tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--mint); }
.playing .wt-tab[aria-selected="true"] .bar { animation: fill var(--dur, 5s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.wt-tab { white-space: nowrap; }
@container page (min-width: 1100px) { .wt-tabs { overflow: visible; } .wt-tab { flex: 1 1 auto; } }
.walk-figure .preview { border: 0; border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.walk-figure .pv-body { min-height: 0; }
@container page (min-width: 900px) { .walk-figure .pv-body { min-height: 452px; } }
.wscreen[hidden] { display: none !important; }
.wscreen.in .anim > * { animation: rise .45s ease both; }
.wscreen.in .anim > *:nth-child(2) { animation-delay: .12s; } .wscreen.in .anim > *:nth-child(3) { animation-delay: .24s; }
.wscreen.in .anim > *:nth-child(4) { animation-delay: .36s; } .wscreen.in .anim > *:nth-child(5) { animation-delay: .48s; } .wscreen.in .anim > *:nth-child(6) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wscreen.in .anim > * { animation: none; } .playing .wt-tab .bar { animation: none; } }
.w-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.w-h strong { font-size: 16px; }
.inlets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.inlets .chip { background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.inlets .chip .ic { width: 14px; height: 14px; }
.wlist { display: grid; gap: 8px; grid-template-columns: minmax(0,1fr); }
.witem { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.witem .main { flex: 1; min-width: 0; }
.witem .main b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.witem .main span { font-size: 12.5px; color: var(--text-2); }
.witem .amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.witem .side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.witem.focus { border-color: var(--ai); box-shadow: 0 0 0 3px var(--ai-bg); }
.why { margin-top: 10px; border-left: 3px solid var(--ai); background: #faf9ff; border-radius: 0 10px 10px 0; padding: 8px 12px; font-size: 13px; color: var(--ai-text); }
.prog { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin: 2px 0 12px; }
.prog i { display: block; height: 100%; background: var(--brand); }
.wfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--text-2); }
.closelist { display: grid; gap: 8px; list-style: none; }
.closelist li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 12px; }
.closelist li .ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); flex: none; }
.closelist li .ck .ic { width: 14px; height: 14px; stroke-width: 3; }
.closelist li span.t { flex: 1; }
.ready { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--brand-bg); color: var(--brand-text); font-weight: 600; flex-wrap: wrap; }
.ready .fake-btn { margin-left: auto; }
@container page (max-width: 520px) { .kpis { grid-template-columns: repeat(3, minmax(0,1fr)); } .kpi .k-value { font-size: 18px; } .witem .main span { display: none; } }

/* ===================================================================
   Easy and Power mode screens
   =================================================================== */
.modes-grid { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr); align-items: start; }
@container page (min-width: 960px) { .modes-grid { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 28px; } }
.mode-panel { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 22px; display: grid; gap: 16px; }
.mode-panel legend { font-size: 14px; font-weight: 700; color: var(--on-night-2); margin-bottom: 8px; }
.mode-panel fieldset { border: 0; }
.mode-panel h3 { font-size: 22px; }
.mode-panel p { color: var(--on-night-2); font-size: 15.5px; }
.mode-panel .ticks li { color: #E6F2EF; }
.mode-panel .ticks li > .ic { background: rgba(61,220,151,.18); color: var(--mint); }
.mode-panel .kbd { font-family: var(--mono); font-size: 12.5px; padding: 1px 6px; border: 1px solid var(--night-line); border-bottom-width: 2px; border-radius: 4px; background: var(--night); color: #fff; }
.mode-shot { background: var(--surface); border-radius: var(--r); padding: 14px; min-width: 0; }
@container page (min-width: 600px) { .mode-shot { padding: 18px; } }
.mode-shot .rk { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mode-shot .preview { box-shadow: none; }
.mode-shot .pv-body { min-height: 0; }
.easy-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.easy-nav span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.easy-nav span.on { background: var(--brand); color: #fff; }

.hero-points li { flex-wrap: nowrap; }
.closelist { grid-template-columns: minmax(0,1fr); }
@container page (max-width: 520px) { .closelist li .chip { display: none; } .w-h strong { font-size: 15px; } }

/* ===== feature slider ===== */
.slider-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 0 18px; scrollbar-width: none; }
.slider-wrap::-webkit-scrollbar { display: none; }
.slider-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 24px; }
.slider { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; }
@container page (min-width: 900px) { .slider { gap: 22px; } }
.slider .fcard { scroll-snap-align: start; flex: 0 0 var(--cw, min(82vw, 330px)); width: var(--cw, min(82vw, 330px)); }
.slider-ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.sl-dots { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.sl-dot { width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.sl-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); transition: width .25s, background .25s; }
.sl-dot[aria-current="true"]::before { width: 24px; background: var(--brand); }
.sl-dot:hover::before { background: var(--text-2); }
.sl-btn { width: var(--tap); height: var(--tap); border-radius: 50%; border: 1.5px solid var(--brand); background: var(--surface); color: var(--brand-text); display: grid; place-items: center; cursor: pointer; }
.sl-btn:hover { background: var(--brand-bg); }
@media (prefers-reduced-motion: reduce) { .slider-wrap { scroll-behavior: auto; } }

/* ===== white boxes on the dark sections ===== */
.mode-panel { background: var(--surface); border-color: var(--surface); color: var(--text); }
.mode-panel legend { color: var(--text-2); }
.mode-panel p { color: var(--text-2); }
.mode-panel .ticks li { color: var(--text); }
.mode-panel .ticks li > .ic { background: var(--brand-bg); color: var(--brand); }
.mode-panel .kbd { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.mode-panel .seg label { border-color: var(--border-strong); color: var(--text); }
.mode-panel .seg input:checked + label { background: var(--brand); border-color: var(--brand); color: #fff; }
.mode-panel .seg input:focus-visible + label { outline-color: var(--brand); }
#modes .table-wrap { background: var(--surface); border-color: var(--surface); }
#modes .table-wrap:focus-visible { outline-color: var(--mint); }
#modes .table-wrap thead th { background: var(--surface-2); color: var(--brand-text); border-bottom-color: var(--border); }
#modes .table-wrap tbody th { color: var(--text); }
#modes .table-wrap tbody td { color: var(--text-2); }
#modes .table-wrap tbody th, #modes .table-wrap tbody td { border-bottom-color: var(--border); }
.lane { background: var(--surface); border-color: var(--surface); }
.lane h4 { color: var(--text); }
.lane h4 > span { color: var(--brand-text); }
.lane p { color: var(--text-2); }
@container page (min-width: 960px) { .modes-grid { align-items: stretch; } .mode-panel { align-content: start; } }

/* ===== white header that hides on scroll down ===== */
.site { position: sticky; top: 0; background: var(--surface); color: var(--text); border-bottom: 1px solid transparent; transition: transform .3s ease, box-shadow .2s, border-color .2s; }
.site.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 18px rgba(11,42,39,.06); }
.site.hide { transform: translateY(-100%); }
.site .menu a { color: var(--text-2); }
.site .menu a:hover { color: var(--text); background: var(--surface-2); }
.site .btn-ghost { color: var(--brand); }
.site .btn-ghost:hover { background: var(--brand-bg); }
.site .btn-mint { background: var(--brand); color: #fff; }
.site .btn-mint:hover { background: var(--brand-hover); }
.site .menu-btn { color: var(--text); border-color: var(--border-strong); }
.mnav { background: var(--surface); border-top-color: var(--border); }
.mnav a { color: var(--text); border-bottom-color: var(--border); }
@media (prefers-reduced-motion: reduce) { .site { transition: none; } }

/* ===== page width, header placement and white strip chips ===== */
.wrap { max-width: none; padding: 0 16px; }
@container page (min-width: 900px) { .wrap { padding: 0 24px; } }
.site .nav { justify-content: flex-start; gap: 12px; min-height: 68px; }
.site nav[aria-label="Main"] { margin-left: 6px; }
@container page (min-width: 980px) { .site nav[aria-label="Main"] { margin-left: 18px; } }
.site .menu { gap: 2px; }
.site .nav-cta { margin-left: auto; gap: 6px; }
.site .sep { width: 1px; height: 22px; background: var(--border); display: none; }
@container page (min-width: 980px) { .site .sep { display: block; } }
.site .btn-ghost.signin { border-color: transparent; }
.strip .chips span { background: var(--surface); border-color: var(--surface); color: var(--text); }
.strip .chips .ic { color: var(--brand); }
/* Light strips (product, solution and pricing pages): the white chips keep a visible outline on the white band. */
.light-strip .chips .seg-link { border: 1.5px solid var(--border-strong); }

/* ===== fonts: Inter for text, Manrope for headings; carousels pause on hover ===== */
body { font-family: var(--font); }
h1, h2, h3, h4, .why-card .k, .kpi .k-value { font-family: var(--font-head); }
h1, h2, .hero h1 { font-weight: 800; letter-spacing: -.025em; }
h3, h4 { font-weight: 700; }
.paused .wt-tab .bar { animation-play-state: paused; }

/* ---------- header: Solutions dropdown (opens on hover, focus or click; the mobile menu lists the pages under a label) ---------- */
.has-sub { position: relative; }
.sub-btn { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); padding: 0 10px 0 12px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font: inherit; cursor: pointer; }
.sub-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.sub-btn:hover, .has-sub.cur .sub-btn { color: var(--text); background: var(--surface-2); }
.sub-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.sub { position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; min-width: 248px; list-style: none; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 34px rgba(11,42,39,.12); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-sub.open .sub { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
@media (hover: hover) { .has-sub:hover .sub { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; } .has-sub:hover .sub-btn .ic { transform: rotate(180deg); } }
.site .menu .sub a { display: flex; width: 100%; min-height: 40px; padding: 0 12px; color: var(--text); font-weight: 500; white-space: nowrap; }
/* Grouped dropdowns (site/nav.json): groups in columns, a title and one line per item, and an overview row along the bottom.
   layout: wide spans the header's width (Product, Compliance); layout: narrow sits under its button (Solutions). */
.site .nav { position: relative; }
.has-sub.mega { position: static; }
.sub.sub-mega { left: var(--gut, 32px); right: var(--gut, 32px); top: calc(100% - 4px); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px 24px; padding: 18px 18px 0; border-radius: 16px; }
.sub.sub-mega.sub-narrow { left: 0; right: auto; top: calc(100% + 6px); width: max-content; max-width: 660px; grid-template-columns: repeat(2, minmax(0, 290px)); padding-bottom: 8px; }
/* a narrow menu with one column (Resources) is one column wide */
.sub.sub-mega.sub-narrow:not(:has(.mg-col + .mg-col)) { grid-template-columns: minmax(0, 330px); }
.sub-mega .mg-col { min-width: 0; }
.sub-mega .mg-col ul { list-style: none; margin: 0 0 10px; padding: 0; }
.sub-mega .mg-h { margin: 2px 10px 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.sub-mega .mg-col .mg-h + ul + .mg-h { margin-top: 10px; }
.site .menu .sub-mega a { display: grid; gap: 2px; min-height: 0; padding: 8px 10px; border-radius: 10px; white-space: normal; }
.site .menu .sub-mega a b { font-weight: 600; font-size: 15px; color: var(--text); }
.site .menu .sub-mega a span { font-size: 13px; line-height: 1.35; color: var(--text-2); font-weight: 400; }
.site .menu .sub-mega a[aria-current="page"] b { color: var(--brand); }
.sub-mega .mg-foot { grid-column: 1 / -1; margin: 4px -18px 0; padding: 10px 18px 12px; border-top: 1px solid var(--border); background: var(--surface); border-radius: 0 0 16px 16px; }
.site .menu .sub-mega .mg-foot a { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: var(--brand-bg); }
.sub-mega .mg-foot .ic { width: 16px; height: 16px; color: var(--brand); }
.site .menu .sub-mega .mg-foot a:hover, .site .menu .sub-mega .mg-foot a:focus-visible { background: var(--night-top); }
.site .menu .sub-mega .mg-foot a:hover b, .site .menu .sub-mega .mg-foot a:focus-visible b { color: #fff; }
.site .menu .sub-mega .mg-foot a:hover span, .site .menu .sub-mega .mg-foot a:focus-visible span { color: var(--on-night-2); }
.sub-mega .mg-foot a:hover .ic, .sub-mega .mg-foot a:focus-visible .ic { color: var(--mint); }
.site .menu .sub a:hover { background: var(--surface-2); }
.site .menu .sub a[aria-current="page"] { color: var(--brand); background: var(--brand-bg); }
.mnav .mgrp { display: flex; align-items: center; min-height: 36px; padding-top: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.mnav a.msub { padding-left: 14px; }
.mnav.open { max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); overflow-y: auto; overscroll-behavior: contain; }
.mnav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .sub, .sub-btn .ic { transition: none; } }
/* three dropdowns: tighter items just above the desktop breakpoint so the header fits */
@container page (min-width: 980px) and (max-width: 1099px) { .site .menu > li > a { padding: 0 9px; } .site .sub-btn { padding: 0 7px 0 9px; } }

/* Home cards: the heading links to the feature's page */
.fc-link { color: inherit; text-decoration: none; }
.fc-end { white-space: nowrap; }
.fc-link .ic { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; opacity: .6; transition: transform .15s, opacity .15s; }
.fc-link:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.fc-link:hover .ic { opacity: 1; transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .fc-link .ic { transition: none; } }
