/* KiasuKira website — "Ledger" edition.
   Warm paper, ink, one deep gold, serif numbers. The page should read like a
   careful quote laid out on a table: what it costs, how long, what you get.

   Plain CSS, no build step. Everything is in rem so the whole page scales with
   the viewport: the root font-size grows from 15px on a laptop to 24px on a 4K
   display, so the layout stays crisp and proportionate at any resolution.
   privacy.html and terms.html (the SmartSeller app's legal pages) use this
   file too: they need only the base styles, .container, .legal and .back. */

:root {
  --paper: #FBFAF7;
  --paper-2: #F4F1EA;
  --white: #FFFFFF;
  --ink: #14110F;
  --ink-2: #2A2521;
  --ink-3: #3B3530;
  --muted: #6B655C;
  --faint: #A39C90;
  --rule: #E4DFD4;
  --rule-dark: rgba(255, 255, 255, 0.12);
  --gold: #B8862B;
  --gold-bright: #F4B740;
  --gold-soft: rgba(184, 134, 43, 0.12);
  --green: #2F7A3E;
  --red: #B3342E;
  --teal: #0E7C86;
  --teal-lt: #1AA0AB;
  /* The mark's own navy. The KiasuKira mark stays navy/teal/gold wherever it
     appears, so this is deliberately not one of the Ledger ink tokens above. */
  --navy: #0B1F3A;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 82rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fluid root size: ~15px at 1280, ~17px at 1920, ~20px at 2560, 24px at 3840. */
html {
  font-size: clamp(15px, 0.34vw + 10.6px, 24px);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.1; }
h3 { font-size: 1.45rem; line-height: 1.2; }
h4 { margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before { content: ''; width: 1.6rem; height: 1px; background: var(--gold); }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink-3); max-width: 36rem; }
.lead b { color: var(--ink); font-weight: 600; }
.muted { color: var(--muted); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-head h2 { margin: 0.9rem 0 1rem; }
.section-head .lead { max-width: 40rem; }
.fineprint { margin-top: 1.4rem; font-size: 0.78rem; color: var(--muted); line-height: 1.55; max-width: 60rem; }
.fineprint b { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem; border-radius: 0.35rem; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; box-shadow: 0 0.8rem 2rem -0.8rem rgba(20, 17, 15, 0.6); transform: translateY(-2px); }
.btn-gold { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-paper { background: var(--gold-bright); color: var(--ink); }
.btn-paper:hover { background: #ffc85a; transform: translateY(-2px); }
.btn-sm { padding: 0.7rem 1.1rem; font-size: 0.86rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(251, 250, 247, 0.96); border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4.6rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--navy); }
.brand svg { width: 2rem; height: 2rem; }
.brand-word { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
.brand-word em { font-style: normal; color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links > a:not(.btn) { font-size: 0.9rem; font-weight: 500; color: var(--muted); position: relative; }
.nav-links > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -0.3rem; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; width: 2.6rem; height: 2.6rem; border: 1px solid var(--rule); background: var(--white); border-radius: 0.35rem; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 0.7rem; right: 0.7rem; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 0.85rem; }
.nav-toggle span:nth-child(2) { top: 1.25rem; }
.nav-toggle span:nth-child(3) { top: 1.65rem; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-0.4rem) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(7rem, 12vw, 9rem) 0 clamp(4rem, 6vw, 6rem); overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(20,17,15,0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(20,17,15,0.045) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 60rem; height: 60rem; border-radius: 50%; left: 50%; top: 30%;
  background: radial-gradient(circle, rgba(184,134,43,0.16) 0%, rgba(184,134,43,0.05) 35%, transparent 65%);
  transform: translate(-30%, -50%); transition: transform 1.2s var(--ease); will-change: transform;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; width: 100%; }
.hero h1 { margin: 1.4rem 0 1.6rem; }
.cycle-word { display: inline-block; position: relative; white-space: nowrap; color: var(--gold); }
.cycle-word .w { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(0.5em); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.cycle-word .w.on { opacity: 1; transform: translateY(0); }
.cycle-word .w.ghost { position: static; visibility: hidden; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.4rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.82rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust .dot { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--gold); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-hint i { width: 1px; height: 2.4rem; background: linear-gradient(var(--gold), transparent); animation: hint 2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* the "quote sheet" card in the hero */
.quote-sheet {
  width: min(100%, 27rem); background: var(--white); border: 1px solid var(--rule); border-radius: 0.6rem;
  padding: 1.6rem 1.6rem 1.3rem; box-shadow: 0 3rem 6rem -2.5rem rgba(20,17,15,0.45);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform 1s var(--ease);
}
.hero-visual:hover .quote-sheet { transform: perspective(1400px) rotateY(-1deg) rotateX(0deg); }
.qs-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.qs-head .kicker { font-size: 0.62rem; }
.qs-tag { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.quote-sheet h3 { font-size: 1.55rem; }
.qs-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.qs-cols { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.1rem; border-top: 2px solid var(--ink); }
.qs-col { padding: 0.8rem 0.9rem 0.8rem 0; display: grid; gap: 0.2rem; font-size: 0.76rem; color: var(--muted); }
.qs-col + .qs-col { padding-left: 0.9rem; border-left: 1px solid var(--rule); }
.qs-col small { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.qs-col b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.qs-col b.strike { color: var(--faint); font-size: 1.15rem; text-decoration: line-through; text-decoration-thickness: 1px; }
.qs-col.kk small { color: var(--gold); }
.qs-col.kk b { color: var(--gold); font-size: 1.9rem; }
.qs-bar { border-top: 1px solid var(--rule); padding-top: 0.8rem; display: grid; gap: 0.45rem; }
.qs-bar-row { display: grid; grid-template-columns: 6.6rem 1fr auto; align-items: center; gap: 0.6rem; font-size: 0.7rem; color: var(--muted); }
.qs-bar-row i { display: block; height: 0.55rem; border-radius: 2px; background: var(--ink); width: 0; transition: width 1.2s var(--ease) .5s; }
.qs-bar-row.kk i { background: var(--gold); }
.in .qs-bar-row i { width: var(--w); }
.qs-bar-row b { font-family: var(--serif); font-weight: 400; font-size: 0.9rem; color: var(--ink); }
.qs-foot { margin-top: 0.9rem; font-size: 0.66rem; color: var(--faint); line-height: 1.45; }

/* floating annotation chips around the hero card */
.chip {
  position: absolute; background: var(--white); border: 1px solid var(--rule); border-radius: 0.4rem;
  padding: 0.55rem 0.8rem; font-size: 0.7rem; color: var(--muted); box-shadow: 0 1.2rem 2.4rem -1.2rem rgba(20,17,15,0.35);
  display: flex; align-items: center; gap: 0.5rem; animation: float 6s ease-in-out infinite; z-index: 5;
}
.chip b { font-family: var(--serif); font-weight: 400; font-size: 0.95rem; color: var(--ink); }
.chip.c1 { left: -1.5rem; top: -1.4rem; animation-delay: -1s; }
.chip.c2 { right: -1.2rem; bottom: -1.6rem; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.5rem); } }

/* ---------- three promises (dark strip) ---------- */
.proof { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.proof .kicker { color: var(--gold-bright); }
.proof .kicker::before { background: var(--gold-bright); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.stat { border-left: 1px solid var(--rule-dark); padding-left: 1.2rem; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; font-size: 0.55em; color: rgba(251,250,247,0.7); }
.stat > span { display: block; margin-top: 0.7rem; font-size: 0.85rem; color: rgba(251,250,247,0.62); line-height: 1.5; max-width: 22rem; }
.stat > small { display: block; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.6rem; }

/* ---------- services ---------- */
.tier { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; padding: 2.2rem 0; border-top: 2px solid var(--ink); }
.tier + .tier { border-top-width: 1px; border-top-color: var(--rule); }
.tier-label { display: flex; gap: 0.9rem; align-items: flex-start; }
.tier-label .n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.tier-label h3 { font-size: 1.4rem; }
.tier-label p { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.svc-grid.two { grid-template-columns: 1.25fr 1fr; }
.svc { background: var(--white); border: 1px solid var(--rule); border-radius: 0.55rem; padding: 1.3rem 1.3rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-0.3rem); box-shadow: 0 2rem 3.5rem -2.2rem rgba(20,17,15,0.4); border-color: var(--gold); }
.svc.feature { border-color: var(--gold); background: linear-gradient(180deg, rgba(244,183,64,0.08), var(--white) 55%); }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; }
.svc h4 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.price { font-family: var(--serif); font-size: 1.9rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; margin-right: 0.15rem; }
.svc p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.svc p.price { font-size: 1.75rem; line-height: 1; color: var(--ink); }
.svc.feature p.price { color: var(--gold); }
.svc p.svc-problem { font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; color: var(--ink-2); }
.svc p b { color: var(--ink); font-weight: 600; }
.svc-tiers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
.svc-tiers li { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); }
.svc-tiers b { font-family: var(--serif); font-weight: 400; font-size: 0.98rem; color: var(--ink); white-space: nowrap; }
.svc-meta { margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.7rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint) !important; }
.svc-meta span:last-child { color: var(--gold); font-weight: 700; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.care { background: var(--white); border: 1px solid var(--rule); border-radius: 0.55rem; padding: 1.3rem; display: grid; gap: 0.5rem; align-content: start; }
.care.mid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.care.mid .kicker { color: var(--gold-bright); } .care.mid .kicker::before { background: var(--gold-bright); }
.care .price small:last-child { margin-left: 0.3rem; }
.care.mid .price small { color: rgba(251,250,247,0.6); }
.care > p:last-child { font-size: 0.84rem; color: var(--muted); }
.care.mid > p:last-child { color: rgba(251,250,247,0.7); }
.tier .fineprint { grid-column: 2; margin-top: 0.4rem; }

/* ---------- value vs human IT ---------- */
.value { background: var(--paper-2); }
.vs { border-top: 2px solid var(--ink); background: var(--white); border-radius: 0 0 0.5rem 0.5rem; overflow: hidden; }
.vs-row { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr 1.25fr 1.25fr; gap: 1.2rem; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--rule); font-size: 0.86rem; color: var(--muted); align-items: baseline; }
.vs-row [role="rowheader"] { font-weight: 600; color: var(--ink); }
.vs-head { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); background: var(--paper); }
.vs-row.kk { background: var(--ink); color: rgba(251,250,247,0.75); border-bottom: 0; }
.vs-row.kk [role="rowheader"] { color: var(--gold-bright); font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.vs-row.kk b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--white); }
.value-note { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--gold); border-radius: 0.5rem; padding: 1.4rem 1.6rem; }
.vn-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold); white-space: nowrap; }
.value-note p { color: var(--ink-3); font-size: 0.98rem; max-width: 44rem; }

/* ---------- how we work ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { padding: 2rem 1.6rem 2.2rem 0; border-right: 1px solid var(--rule); position: relative; display: flex; flex-direction: column; }
.step:last-child { border-right: 0; }
.step + .step { padding-left: 1.6rem; }
.step .n { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 1.1rem; }
.step h3 { margin-bottom: 0.7rem; font-size: 1.3rem; }
.step p { color: var(--muted); font-size: 0.9rem; }
.step p b { color: var(--ink); }
.step .example { margin-top: auto; padding-top: 1.2rem; }
.step .example > * { background: var(--white); }
.step .example { font-size: 0.78rem; color: var(--muted); }
.step .example .file-row:first-child { border-top-left-radius: 0.4rem; border-top-right-radius: 0.4rem; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.45rem 0.8rem; border: 1px solid var(--rule); border-top: 0; }
.file-row:first-child { border-top: 1px solid var(--rule); }
.file-row b { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.sprint { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; padding: 0.6rem; border: 1px solid var(--rule); border-radius: 0.4rem; }
.sprint span { text-align: center; font-size: 0.68rem; padding: 0.35rem 0; border-radius: 0.25rem; background: var(--paper-2); color: var(--muted); }
.sprint span.on { background: var(--ink); color: var(--white); }
.ba { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; border: 1px solid var(--rule); border-radius: 0.4rem; font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.ba i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--faint), var(--gold)); position: relative; }
.ba i::after { content: ''; position: absolute; right: -2px; top: -4px; border-left: 7px solid var(--gold); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.step .example p.tiny, .tiny { font-size: 0.72rem; color: var(--faint); margin-top: 0.45rem; background: transparent; }
.step:last-child .example > p { padding: 0.6rem 0.8rem; border: 1px solid var(--rule); border-radius: 0.4rem; background: var(--white); color: var(--muted); }

/* ---------- work / proof ---------- */
.work { background: var(--ink); color: var(--paper); }
.work .kicker { color: var(--gold-bright); } .work .kicker::before { background: var(--gold-bright); }
.work h2 { color: var(--white); }
.work .lead { color: rgba(251,250,247,0.7); }
.work .fineprint { color: rgba(251,250,247,0.5); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.wcard { background: #1C1815; border: 1px solid var(--rule-dark); border-radius: 0.6rem; overflow: hidden; display: flex; flex-direction: column; }
.wcard.big { grid-column: 1 / -1; display: grid; grid-template-columns: 0.9fr 1.1fr; }
.wbody { padding: 1.5rem 1.6rem 1.7rem; display: grid; gap: 0.6rem; align-content: start; }
.wbody .kicker { font-size: 0.64rem; }
.wbody h3 { color: var(--white); font-size: 1.5rem; }
.wbody p { color: rgba(251,250,247,0.68); font-size: 0.9rem; }
.facts { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.55rem; font-size: 0.86rem; color: rgba(251,250,247,0.68); }
.facts li { position: relative; padding-left: 1.1rem; }
.facts li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--gold-bright); }
.facts b { color: var(--white); font-weight: 600; }
.wviz { position: relative; min-height: 13rem; background: radial-gradient(ellipse at 30% 20%, rgba(244,183,64,0.14), transparent 60%), #24201C; display: flex; align-items: center; justify-content: center; padding: 1.6rem; overflow: hidden; }
.wviz.app { min-height: 20rem; }
.mini-phone { width: 10.5rem; aspect-ratio: 9 / 18.5; border-radius: 1.6rem; background: #0D0B0A; padding: 0.4rem; box-shadow: 0 2rem 4rem -1.5rem rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.1); position: relative; z-index: 2; transform: rotate(-4deg); }
.mini-phone.back { position: absolute; z-index: 1; transform: translate(5.5rem, 1.2rem) rotate(7deg) scale(0.88); opacity: 0.75; }
.mp-screen { height: 100%; border-radius: 1.25rem; background: var(--paper); padding: 1.4rem 0.8rem 0.8rem; color: var(--ink); display: flex; flex-direction: column; }
.mp-screen .kicker { font-size: 0.45rem; color: var(--gold); }
.mp-screen .kicker::before { width: 0.7rem; background: var(--gold); }
.mp-big { font-family: var(--serif); font-size: 1.35rem; line-height: 1; margin: 0.35rem 0 0.4rem; }
.mp-ledger { border-top: 2px solid var(--ink); font-size: 0.48rem; color: var(--muted); }
.mp-ledger div { display: flex; justify-content: space-between; padding: 0.28rem 0; border-bottom: 1px solid var(--rule); }
.mp-ledger div span:last-child { font-family: var(--serif); color: var(--ink); font-size: 0.6rem; }
.mp-ledger .hl span:last-child { color: var(--gold); }
.mp-bars { margin-top: auto; display: grid; gap: 0.3rem; }
.mp-bars i { display: block; height: 0.4rem; border-radius: 2px; background: var(--ink); width: var(--w); }
.mp-bars i.g { background: var(--gold); }
.dash-top, .dash-kpis, .dash-bars { width: 100%; max-width: 20rem; }
.wviz.dash { flex-direction: column; gap: 0.7rem; align-items: stretch; }
.wviz.dash > * { margin: 0 auto; }
.dash-top { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.dash-top span { font-size: 0.6rem; padding: 0.25rem 0.55rem; border-radius: 999px; border: 1px solid var(--rule-dark); color: rgba(251,250,247,0.7); }
.dash-top span:first-child { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); font-weight: 700; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.dash-kpis div { background: var(--paper); border-radius: 0.35rem; padding: 0.5rem 0.55rem; display: grid; gap: 0.3rem; }
.dash-kpis small { font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dash-kpis b { display: block; height: 0.8rem; width: 70%; border-radius: 2px; background: var(--ink); }
.dash-kpis div:nth-child(2) b { width: 45%; background: var(--gold); }
.dash-bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 4.5rem; padding: 0.5rem; background: var(--paper); border-radius: 0.35rem; }
.dash-bars i { flex: 1; height: var(--h); background: var(--ink); border-radius: 2px 2px 0 0; }
.dash-bars i:last-child { background: var(--gold); }
.browser { width: 100%; max-width: 19rem; border-radius: 0.5rem; overflow: hidden; background: var(--paper); box-shadow: 0 2rem 3rem -1.5rem rgba(0,0,0,0.8); }
.b-bar { display: flex; align-items: center; gap: 0.25rem; padding: 0.45rem 0.6rem; background: #E9E4DA; }
.b-bar i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--faint); }
.b-bar span { margin-left: auto; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); background: var(--white); border-radius: 999px; padding: 0.1rem 0.45rem; }
.b-body { padding: 0.9rem; display: grid; gap: 0.45rem; }
.b-h { display: block; height: 0.75rem; width: 85%; background: var(--ink); border-radius: 2px; }
.b-h.short { width: 55%; background: var(--teal-lt); }
.b-form { margin-top: 0.4rem; display: grid; gap: 0.3rem; }
.b-form span { height: 0.9rem; border: 1px solid var(--rule); border-radius: 0.2rem; background: var(--white); }
.b-form em { font-style: normal; justify-self: start; font-size: 0.55rem; font-weight: 700; color: var(--white); background: #25D366; border-radius: 0.2rem; padding: 0.2rem 0.6rem; }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 2.5rem; border-top: 2px solid var(--ink); padding-top: 2rem; }
.trust-item h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }
.trust-item h3 svg { width: 1.1rem; height: 1.1rem; color: var(--gold); flex: 0 0 auto; }
.trust-item p { font-size: 0.86rem; color: var(--muted); }

/* ---------- who it's for ---------- */
.who { background: var(--paper-2); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.who-item { padding: 1.4rem 1.4rem 1.5rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; transition: background .3s; }
.who-item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.who-item:hover { background: var(--white); }
.who-item:hover::after { width: 100%; }
.who-item h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.who-item p { font-size: 0.86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 52rem; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 0; font-family: var(--serif); font-size: 1.22rem; transition: color .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary .plus { flex: 0 0 auto; width: 1.4rem; height: 1.4rem; position: relative; }
.faq-list summary .plus::before, .faq-list summary .plus::after { content: ''; position: absolute; background: var(--gold); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq-list summary .plus::before { width: 1rem; height: 1px; }
.faq-list summary .plus::after { width: 1px; height: 1rem; }
.faq-list details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details p { padding: 0 0 1.3rem; color: var(--muted); max-width: 46rem; font-size: 0.95rem; }

/* ---------- contact / CTA ---------- */
.cta { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 60rem; height: 60rem; border-radius: 50%; right: -25rem; top: -25rem; background: radial-gradient(circle, rgba(244,183,64,0.18), transparent 60%); pointer-events: none; }
.cta .kicker { color: var(--gold-bright); } .cta .kicker::before { background: var(--gold-bright); }
.cta h2 { color: var(--white); max-width: 22ch; margin-top: 0.9rem; }
.cta .lead { color: rgba(251,250,247,0.72); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.cta-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.55rem; font-size: 0.92rem; color: rgba(251,250,247,0.8); }
.cta-points li { display: flex; gap: 0.6rem; }
.cta-points li::before { content: ''; flex: 0 0 auto; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--gold-bright); margin-top: 0.55rem; }
.cta-form { background: rgba(255,255,255,0.04); border: 1px solid var(--rule-dark); border-radius: 0.6rem; padding: 1.6rem; display: grid; gap: 0.35rem; }
.cta-form label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(251,250,247,0.62); margin-top: 0.55rem; }
.cta-form label .opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }
.cta-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.cta-form .f-row label { margin-top: 0; margin-bottom: 0.35rem; }
.cta-form input, .cta-form select, .cta-form textarea { width: 100%; min-width: 0; padding: 0.8rem 0.9rem; border-radius: 0.35rem; border: 1px solid var(--rule-dark); background: rgba(0,0,0,0.25); color: var(--white); font: inherit; font-size: 0.95rem; }
.cta-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-bright) 50%), linear-gradient(135deg, var(--gold-bright) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.8rem) 55%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; padding-right: 2.2rem; }
.cta-form select option { color: var(--ink); background: var(--paper); }
.cta-form textarea { resize: vertical; min-height: 4.5rem; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { outline: 2px solid var(--gold-bright); outline-offset: 1px; border-color: transparent; }
.cta-form .consent { margin: 0.7rem 0 0.5rem; font-size: 0.74rem; color: rgba(251,250,247,0.55); line-height: 1.5; }
.cta-form .consent a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.cta-form .btn { justify-self: start; }
.cta-form .status { margin-top: 0.4rem; font-size: 0.85rem; color: var(--gold-bright); min-height: 1.2em; }

/* ---------- privacy notice (this website) ---------- */
.notice { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--paper-2); }
.notice-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; border-top: 2px solid var(--ink); padding-top: 2rem; }
.notice h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 0.8rem; }
.notice-body { display: grid; gap: 0.85rem; font-size: 0.88rem; color: var(--muted); }
.notice-body b { color: var(--ink); font-weight: 600; }
.notice-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.notice-body .dpo { padding: 0.9rem 1rem; background: var(--white); border: 1px solid var(--rule); border-radius: 0.4rem; }

/* ---------- footer ---------- */
.footer { background: #0D0B0A; color: rgba(251,250,247,0.6); padding: 3.5rem 0 2.5rem; font-size: 0.82rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule-dark); }
/* In the dark footer the lockup follows the app's "onDark" rule: white "Kiasu",
   the brighter teal for "Kira". */
.footer .brand-word { color: var(--white); }
.footer .brand-word em { color: var(--teal-lt); }
.footer h4 { color: var(--white); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.9rem; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer a:hover { color: var(--gold-bright); }
.footer-bottom { padding-top: 1.6rem; display: grid; gap: 0.7rem; font-size: 0.72rem; color: rgba(251,250,247,0.42); line-height: 1.6; }
.footer-bottom .row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* ---------- legal pages (privacy.html, terms.html) ---------- */
.legal { max-width: 46rem; padding-top: 8rem; padding-bottom: 5rem; }
.legal h1 { font-size: 2.6rem; margin: 1rem 0 1.2rem; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--muted); font-size: 0.95rem; }
.legal ul { padding-left: 1.2rem; }
.legal .moved { margin-top: 1.2rem; padding: 0.8rem 1rem; border-left: 3px solid var(--gold); background: rgba(184, 134, 43, 0.08); border-radius: 0 0.6rem 0.6rem 0; color: inherit; }
.legal .moved a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold); font-weight: 600; font-size: 0.85rem; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; }
.hero .reveal { transition-duration: 1.2s; }
.hero-visual.reveal { transform: translateY(2.5rem) scale(0.97); }
.hero-visual.reveal.in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tier { grid-template-columns: 1fr; gap: 1.2rem; }
  .tier .fineprint { grid-column: 1; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.four { grid-template-columns: repeat(2, 1fr); }
  .steps.four .step:nth-child(2) { border-right: 0; }
  .steps.four .step:nth-child(3) { padding-left: 0; }
  .steps.four .step:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-row { grid-template-columns: 1fr 1fr 1fr 1.2fr 1.2fr; gap: 0.8rem; font-size: 0.8rem; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 4.6rem; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.4rem; gap: 0.2rem; transform: translateY(-110%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; pointer-events: none; }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: var(--paper); border-bottom-color: var(--rule); }
  .nav-links > a:not(.btn) { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 0.8rem; }
  .nav-toggle { display: block; }
  .hero { min-height: 0; padding-top: 7rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1.5rem; padding: 0 0.5rem; }
  .quote-sheet { transform: none; }
  .hero-visual:hover .quote-sheet { transform: none; }
  .chip.c1 { left: 0; top: -1.4rem; } .chip.c2 { right: 0; bottom: -1.4rem; }
  .scroll-hint { display: none; }
  .promise-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta-inner, .notice-inner { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .wcard.big { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: 1fr; }
  .svc-grid.two { grid-template-columns: 1fr; }
  /* The comparison table turns into one card per option. */
  .vs { background: transparent; border-top: 0; display: grid; gap: 0.8rem; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 0.35rem; background: var(--white); border: 1px solid var(--rule); border-radius: 0.5rem; padding: 1rem 1.1rem; font-size: 0.86rem; }
  .vs-row [role="rowheader"] { font-size: 1.05rem; margin-bottom: 0.2rem; }
  .vs-row [role="cell"] { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.6rem; }
  .vs-row [role="cell"]::before { content: attr(data-label); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--faint); padding-top: 0.2rem; }
  .vs-row.kk { border-color: var(--ink); }
  .vs-row.kk [role="cell"]::before { color: var(--gold-bright); }
  .value-note { grid-template-columns: 1fr; gap: 0.8rem; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps.four { grid-template-columns: 1fr; }
  .steps.four .step { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1.8rem 0; }
  .steps.four .step:last-child { border-bottom: 0; }
  .trust-grid, .who-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .hero-cta .btn { width: 100%; }
  .cta-form .f-row { grid-template-columns: 1fr; gap: 0; }
  .cta-form .f-row label { margin-top: 0.55rem; }
  .cta-form .btn { justify-self: stretch; }
  .qs-col b.strike { font-size: 1rem; }
  .qs-col.kk b { font-size: 1.6rem; }
  .svc-tiers li { flex-direction: column; gap: 0.1rem; }
  .mini-phone.back { transform: translate(4.5rem, 1.2rem) rotate(7deg) scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .qs-bar-row i { width: var(--w); }
}
