/* SmartSeller — evolved site.
   The brand's own red and charcoal (from the logo) carry the page; the three property
   colours (HDB magenta, condo green, landed blue) and the yellow survive as accents
   instead of full-bleed blocks. The logo's corner brackets become the framing motif.

   Plain CSS, no build step. Every size is in rem and the root font-size grows with the
   viewport (15px laptop → 24px on a 3840px display) so the layout scales cleanly to 4K. */

:root {
  --red: #B11116;
  --red-dark: #8C0D11;
  --red-soft: rgba(177, 17, 22, 0.08);
  --charcoal: #58595B;
  --ink: #1B1B1D;
  --ink-2: #2B2B2E;
  --muted: #6E6F73;
  --faint: #A6A7AB;
  --line: #E8E4DD;
  --white: #FFFFFF;
  --cream: #FAF7F2;
  --cream-2: #F3EEE6;
  --yellow: #FFD200;
  --hdb: #B43CA6;
  --condo: #297B0B;
  --landed: #0089E0;
  --whatsapp: #25D366;
  --accent: var(--hdb); /* switched by the package tabs */

  /* KiasuKira's own colours, for the calculator's mark and wordmark where they
     appear on this page. A partner's mark is never repainted in the host
     brand's palette, so these sit apart from the SmartSeller tokens above.
     Navy roof, teal "Kira", gold slash — see assets/branding/LOGO_README.md. */
  --kk-navy: #0B1F3A;
  --kk-teal: #0E7C86;

  --display: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --maxw: 84rem;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 1.4rem;
}

html { font-size: clamp(15px, 0.34vw + 10.6px, 24px); scroll-behavior: smooth; -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(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section.cream { background: var(--cream); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 0.9rem 0 1rem; }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--muted); }
.red { color: var(--red); }

/* kicker: a tiny bracket, echoing the logo */
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.kicker::before { content: ''; width: 0.9rem; height: 0.9rem; border-top: 3px solid var(--charcoal); border-left: 3px solid var(--charcoal); }
.on-dark .kicker { color: var(--yellow); }
.on-dark .kicker::before { border-color: rgba(255,255,255,0.6); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 1rem 1.7rem; border-radius: 999px; border: 2px solid transparent; font-family: var(--display); font-weight: 700; font-size: 0.98rem; line-height: 1; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; }
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 0.9rem 2rem -0.9rem rgba(177,17,22,0.65); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 1.3rem 2.4rem -0.9rem rgba(177,17,22,0.7); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-wa { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-wa:hover { border-color: var(--whatsapp); transform: translateY(-2px); }
.btn-wa svg { width: 1.2rem; height: 1.2rem; color: var(--whatsapp); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffdc33; transform: translateY(-2px); }
.btn-sm { padding: 0.72rem 1.2rem; font-size: 0.86rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- the bracket frame (logo motif) ---------- */
.frame { position: relative; }
.frame::before, .frame::after { content: ''; position: absolute; left: -0.9rem; right: -0.9rem; height: 2.2rem; border: 0.5rem solid var(--charcoal); pointer-events: none; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.frame::before { top: -0.9rem; border-bottom: 0; }
.frame::after { bottom: -0.9rem; border-top: 0; -webkit-mask-image: linear-gradient(to right, #000 0 24%, transparent 24% 76%, #000 76%); mask-image: linear-gradient(to right, #000 0 24%, transparent 24% 76%, #000 76%); }
.reveal.frame::before { transform: translateY(-0.8rem); opacity: 0; }
.reveal.frame::after { transform: translateY(0.8rem); opacity: 0; }
.reveal.frame.in::before, .reveal.frame.in::after { transform: none; opacity: 1; transition-delay: .35s; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(255,255,255,0.97); border-bottom-color: var(--line); box-shadow: 0 0.5rem 1.5rem -1rem rgba(0,0,0,0.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 5rem; }
.logo img { width: 3rem; height: 3rem; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links > a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--ink-2); position: relative; padding: 0.3rem 0; }
.nav-links > a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -0.1rem; height: 3px; width: 100%; background: var(--c, var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); border-radius: 2px; }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); cursor: pointer; position: relative; padding: 0; }
.nav-toggle span { position: absolute; left: 0.75rem; right: 0.75rem; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 1rem; } .nav-toggle span:nth-child(2) { top: 1.62rem; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(0.31rem) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { transform: translateY(-0.31rem) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4rem, 6vw, 6rem); min-height: 94vh; display: flex; align-items: center; background: var(--cream); overflow: hidden; }
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.9; will-change: transform; transition: transform 1.4s var(--ease); }
.shape.s1 { width: 26rem; height: 26rem; right: -8rem; top: -9rem; background: var(--yellow); }
.shape.s2 { width: 9rem; height: 9rem; left: 46%; bottom: 8%; background: var(--hdb); opacity: 0.14; }
.shape.s3 { width: 5rem; height: 5rem; left: 6%; top: 22%; background: var(--landed); opacity: 0.16; }
.shape.s4 { width: 3.2rem; height: 3.2rem; left: 38%; top: 16%; background: var(--condo); opacity: 0.2; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero h1 { margin: 1.3rem 0 1.5rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.hero.ready h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .12s; } .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.strike { position: relative; color: var(--charcoal); white-space: nowrap; }
.strike::after { content: ''; position: absolute; left: -4%; right: -4%; top: 52%; height: 0.11em; background: var(--red); border-radius: 0.1em; transform: scaleX(0) rotate(-6deg); transform-origin: left; transition: transform .7s var(--ease) 1.1s; }
.hero.ready .strike::after { transform: scaleX(1) rotate(-6deg); }
.hero .lead { max-width: 34rem; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.6rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points li::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red); }

/* ---------- savings calculator card ---------- */
.calc { background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 2.2vw, 2.2rem); box-shadow: 0 3rem 6rem -3rem rgba(27,27,29,0.45); }
.calc-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.calc-top h3 { font-size: 1.05rem; }
.tabs { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 0.25rem; }
.tabs button { border: 0; background: transparent; padding: 0.5rem 1rem; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 0.8rem; cursor: pointer; color: var(--muted); transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--white); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.price-row span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.price-row output { font-family: var(--display); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 0.5rem; border-radius: 999px; background: linear-gradient(to right, var(--accent) var(--fill, 30%), var(--cream-2) var(--fill, 30%)); margin: 0.9rem 0 1.5rem; outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--white); border: 0.35rem solid var(--accent); box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.2); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--white); border: 0.35rem solid var(--accent); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px var(--red-soft); }
.fee-row { display: grid; grid-template-columns: 7.2rem 1fr 5.6rem; align-items: center; gap: 0.8rem; padding: 0.5rem 0; font-size: 0.84rem; }
.fee-row .name { font-family: var(--display); font-weight: 700; }
.fee-row .name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.68rem; color: var(--muted); }
.fee-row .bar { height: 0.9rem; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.fee-row .bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .8s var(--ease); }
.fee-row .bar i.usual { background: var(--charcoal); }
.fee-row .bar i.saver { background: var(--accent); }
.fee-row .bar i.max { background: var(--red); }
.fee-row b { font-family: var(--display); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.fee-row.usual b { color: var(--charcoal); text-decoration: line-through; text-decoration-color: var(--red); }
.save { margin-top: 1.1rem; background: var(--yellow); border-radius: 1rem; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.save span { font-family: var(--display); font-weight: 700; font-size: 0.86rem; line-height: 1.3; }
.save b { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-note { margin-top: 0.9rem; font-size: 0.7rem; color: var(--faint); line-height: 1.5; }

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: ''; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- packages ---------- */
.pkg-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.pkg-head .section-head { margin-bottom: 0; }
.tabs.lg button { padding: 0.75rem 1.6rem; font-size: 0.95rem; }
.pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pkg { border-radius: var(--r); padding: clamp(1.6rem, 2.4vw, 2.4rem); border: 2px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.pkg:hover { transform: translateY(-0.4rem); box-shadow: 0 2.6rem 4rem -2.6rem rgba(27,27,29,0.45); }
.pkg.max { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pkg .tag { align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--accent); color: var(--white); margin-bottom: 1.1rem; transition: background .3s; }
.pkg.max .tag { background: var(--yellow); color: var(--ink); }
.pkg .name { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: 0.08em; }
.pkg .price { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; margin: 0.4rem 0 0.2rem; }
.pkg .price small { font-size: 1rem; letter-spacing: 0; font-weight: 700; margin-left: 0.4rem; opacity: 0.7; }
.pkg .min { font-size: 0.78rem; opacity: 0.65; min-height: 1.2em; }
.pkg .desc { margin: 1rem 0 1.3rem; font-size: 0.95rem; opacity: 0.85; }
.pkg ul { display: grid; gap: 0.55rem; font-size: 0.92rem; padding-top: 1.2rem; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.pkg.max ul { border-top-color: rgba(255,255,255,0.16); }
.pkg li { display: flex; gap: 0.6rem; align-items: flex-start; }
.pkg li svg { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; color: var(--accent); transition: color .3s; }
.pkg.max li svg { color: var(--yellow); }
.example { margin-top: auto; border-radius: 1rem; padding: 1.1rem 1.2rem; background: var(--cream); font-size: 0.86rem; }
.pkg.max .example { background: rgba(255,255,255,0.07); }
.example .ex-title { font-family: var(--display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.5rem; }
.example div { display: flex; justify-content: space-between; padding: 0.25rem 0; }
.example div b { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
.example div.s { margin-top: 0.4rem; padding-top: 0.6rem; border-top: 1px dashed rgba(128,128,128,0.4); font-family: var(--display); font-weight: 800; }
.example div.s b { color: var(--red); font-size: 1.25rem; }
.pkg.max .example div.s b { color: var(--yellow); }

.includes { margin-top: 3.2rem; }
.includes h3 { margin-bottom: 1.4rem; }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.inc { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--cream); font-family: var(--display); font-weight: 700; font-size: 0.92rem; line-height: 1.25; transition: background .3s, transform .4s var(--ease); }
.inc:hover { background: var(--cream-2); transform: translateY(-0.2rem); }
.inc svg { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; color: var(--red); }

/* ---------- deliverables ---------- */
.deliver-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.deliver { background: var(--white); border-radius: var(--r); padding: 1.8rem 1.6rem 2rem; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.deliver:hover { transform: translateY(-0.4rem); box-shadow: 0 2.4rem 4rem -2.6rem rgba(27,27,29,0.4); }
.deliver::before { content: ''; position: absolute; left: 0; top: 0; height: 0.4rem; width: 100%; background: var(--c); transform: scaleX(0.18); transform-origin: left; transition: transform .6s var(--ease); }
.deliver:hover::before { transform: scaleX(1); }
.deliver .ic { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream); margin-bottom: 1.3rem; color: var(--c); }
.deliver .ic svg { width: 1.6rem; height: 1.6rem; }
.deliver h3 { margin-bottom: 0.6rem; }
.deliver p { color: var(--muted); font-size: 0.94rem; }

/* ---------- steps ---------- */
.steps-wrap { position: relative; }
.progress { position: absolute; left: 0; right: 0; top: 1.5rem; height: 3px; background: var(--line); border-radius: 3px; }
.progress i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 3px; transition: width .2s linear; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; position: relative; }
.step .num { width: 3rem; height: 3rem; border-radius: 50%; background: var(--white); border: 3px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1rem; margin-bottom: 1.3rem; transition: border-color .4s, background .4s, color .4s, transform .4s var(--ease); }
.step.active .num { border-color: var(--red); background: var(--red); color: var(--white); transform: scale(1.08); }
.step .k { font-family: var(--display); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--red); }
.step h3 { margin: 0.2rem 0 0.8rem; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.01em; }
.step p { font-size: 0.84rem; color: var(--muted); margin-bottom: 0.6rem; }
.badge-kk { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.2rem; padding: 0.3rem 0.6rem 0.3rem 0.4rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 0.66rem; font-weight: 600; color: var(--ink-2); }
.badge-kk svg { width: 1rem; height: 1rem; color: var(--kk-navy); }

/* ---------- home evaluation + KiasuKira ---------- */
.eval { background: var(--ink); color: var(--white); overflow: hidden; }
.eval .lead { color: rgba(255,255,255,0.72); }
.eval-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eval-steps { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.eval-step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.eval-step .n { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--yellow); line-height: 1.1; }
.eval-step h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.eval-step p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.eval .hero-cta { margin-bottom: 0; }
.ledger { background: var(--cream); color: var(--ink); border-radius: var(--r); padding: clamp(1.4rem, 2.4vw, 2.3rem); }
.ledger-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.ledger-top h3 { font-size: 1.2rem; }
.ledger-top span { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.wf { display: grid; grid-template-columns: 9.5rem 1fr 6.4rem; align-items: center; gap: 0.9rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.wf small { display: block; font-size: 0.66rem; color: var(--faint); }
.wf .track { position: relative; height: 1rem; }
.wf .seg { position: absolute; top: 0; left: var(--l); height: 100%; width: 0; border-radius: 999px; transition: width 1.1s var(--ease); }
.ledger.on .wf .seg { width: var(--w); }
.wf .seg.ink { background: var(--ink); } .wf .seg.out { background: var(--charcoal); opacity: 0.55; } .wf .seg.fee { background: var(--red); min-width: 0.5rem; }
.wf .seg.cpf { background: var(--landed); } .wf .seg.total { background: var(--yellow); }
.wf b { font-family: var(--display); font-weight: 800; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf.neg b { color: var(--charcoal); } .wf.fee b { color: var(--red); }
.wf.total { border-bottom: 0; border-top: 3px solid var(--ink); margin-top: 0.3rem; padding-top: 0.9rem; color: var(--ink); font-family: var(--display); font-weight: 700; }
.wf.total b { font-size: 1.5rem; letter-spacing: -0.02em; }
.ledger-foot { margin-top: 1.1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.powered { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem 0.45rem 0.5rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.powered svg { width: 1.3rem; height: 1.3rem; color: var(--kk-navy); }
/* The KiasuKira wordmark, as the app draws it: navy "Kiasu", teal "Kira". */
.kk-word { font-weight: 700; color: var(--kk-navy); }
.kk-word em { font-style: normal; color: var(--kk-teal); }

/* ---------- story ---------- */
.story { background: var(--yellow); position: relative; overflow: hidden; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story .kicker { color: var(--ink); }
.story .kicker::before { border-color: var(--ink); }
.story p { font-size: 1.05rem; color: var(--ink-2); margin-top: 1rem; max-width: 36rem; }
.story .big { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -0.045em; line-height: 0.95; }
.story .big span { display: block; }
.story .big .sub { font-size: 0.24em; letter-spacing: 0; font-weight: 700; margin: 0.5em 0 1.2em; line-height: 1.3; opacity: 0.75; }
.story .big span:nth-child(3) { color: var(--red); }

/* ---------- agents ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.agent { border-radius: var(--r); background: var(--cream); padding: 1.4rem; display: flex; align-items: center; gap: 1rem; transition: transform .45s var(--ease), background .3s; }
.agent:hover { transform: translateY(-0.35rem); background: var(--cream-2); }
.agent .av { flex: 0 0 auto; width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--white); background: var(--c, var(--red)); transition: transform .45s var(--ease); }
.agent:hover .av { transform: rotate(-8deg) scale(1.06); }
.agent h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0; }
.agent > div > span { font-size: 0.76rem; color: var(--muted); }
.agents-sub { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 2.6rem 0 1.2rem; }
.agents-foot { margin-top: 2.2rem; display: flex; justify-content: center; }

.agent .cea { display: block; font-size: 0.68rem; color: var(--faint); letter-spacing: 0.02em; }

/* ---------- agent profile pages (agents/<slug>/, built by scripts/build-agent-pages.js) ----------
   Meant to feel like meeting the person: a tilted photo with stickers and a wave, the quote in a
   chat bubble, one-tap questions, a "what you'd keep" box and the reviews laid out as a chat. */
.ap-nav-links { display: flex; align-items: center; gap: 1.4rem; }
.ap-back { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--ink-2); }
.ap-back:hover { color: var(--red); }
.ap-hero { position: relative; overflow: hidden; background: var(--cream); padding: clamp(8rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem); }
.ap-hero-inner { position: relative; display: grid; grid-template-columns: minmax(15rem, 0.8fr) 1.2fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
/* the photo: tilted like a polaroid on a fridge, straightens when you hover it */
.ap-photo-wrap { position: relative; padding: 1.2rem 1.4rem 1.6rem; }
.ap-photo { aspect-ratio: 1; border-radius: var(--r); background: var(--white); box-shadow: 0 3rem 6rem -3rem rgba(27,27,29,0.5); display: grid; place-items: center; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.ap-photo-wrap:hover .ap-photo { transform: rotate(0) scale(1.02); }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.ap-initials { width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--red)); color: var(--white); font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -0.04em; }
.ap-sticker { position: absolute; z-index: 2; font-family: var(--display); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 0.95rem; border-radius: 999px; box-shadow: 0 0.6rem 1.4rem -0.6rem rgba(27,27,29,0.5); white-space: nowrap; }
.ap-sticker.s-role { top: 0.3rem; left: -0.3rem; background: var(--red); color: var(--white); transform: rotate(-6deg); }
.ap-sticker.s-pay { bottom: 0.4rem; right: -0.5rem; background: var(--yellow); color: var(--ink); transform: rotate(4deg); }
.ap-wave { position: absolute; z-index: 2; top: -0.5rem; right: 0.4rem; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 1.8rem; line-height: 1; box-shadow: 0 0.6rem 1.4rem -0.6rem rgba(27,27,29,0.5); }
.ap-wave span { display: inline-block; transform-origin: 70% 70%; animation: ap-wave 2.4s ease-in-out 0.9s 1 both; }
.ap-photo-wrap:hover .ap-wave span { animation: ap-wave 1.6s ease-in-out infinite; }
@keyframes ap-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(18deg); } 20%, 40% { transform: rotate(-10deg); } }
.ap-hero h1 { margin: 0.8rem 0 1.2rem; font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.ap-hero h1 em { font-style: normal; color: var(--red); }
/* the quote, said in a chat bubble */
.ap-bubble { position: relative; display: inline-block; max-width: 34rem; background: var(--white); border-radius: 1.4rem 1.4rem 1.4rem 0.3rem; padding: 1.1rem 1.4rem 0.9rem; box-shadow: 0 1.4rem 2.4rem -1.6rem rgba(27,27,29,0.4); }
.ap-bubble::before { content: ''; position: absolute; left: -0.55rem; bottom: 0; width: 1.2rem; height: 1.2rem; background: var(--white); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.ap-bubble p { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink-2); }
.ap-bubble span { display: block; margin-top: 0.4rem; font-size: 0.74rem; color: var(--muted); text-align: right; }
/* one-tap questions, each opens WhatsApp with the question typed */
.ap-ask { margin-top: 1.6rem; font-family: var(--display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.ap-chips a { padding: 0.55rem 1rem; border-radius: 999px; background: var(--white); border: 2px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 0.84rem; transition: transform .3s var(--ease), border-color .25s, background .25s; }
.ap-chips a::after { content: ' \2192'; color: var(--red); }
.ap-chips a:hover { border-color: var(--red); background: var(--red-soft); transform: translateY(-2px) rotate(-1.5deg); }
.ap-hero .hero-cta { margin: 1.6rem 0 1rem; }
.btn svg.ic { width: 1.15rem; height: 1.15rem; }
.ap-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.ap-social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.ap-social a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem 0.5rem 0.7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--ink-2); transition: border-color .25s, transform .3s var(--ease); }
.ap-social a:hover { border-color: var(--red); transform: translateY(-2px); }
.ap-social svg { width: 1.05rem; height: 1.05rem; color: var(--red); }
.ap-cea { display: flex; gap: 0.9rem; align-items: flex-start; max-width: 34rem; padding: 1rem 1.2rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--line); }
.ap-cea > svg { flex: 0 0 auto; width: 1.6rem; height: 1.6rem; color: var(--condo); margin-top: 0.1rem; }
.ap-cea p { font-size: 0.92rem; }
.ap-cea p span { color: var(--muted); }
.ap-cea p b { font-family: var(--display); font-weight: 800; letter-spacing: 0.02em; }
.ap-cea p.small { font-size: 0.74rem; color: var(--muted); line-height: 1.5; margin-top: 0.15rem; }
.ap-cea a { display: inline-block; margin-top: 0.35rem; font-size: 0.76rem; font-weight: 600; color: var(--red); }
.ap-cea a:hover { text-decoration: underline; }
/* "what you'd keep" box: same look as the home-page calculator card */
.ap-save { max-width: 40rem; margin: 0 auto; background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 2.2vw, 2.2rem); box-shadow: 0 3rem 6rem -3rem rgba(27,27,29,0.45); }
.ap-save .tabs { margin-bottom: 1.1rem; }
.ap-save-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.ap-save-row > b:last-child { font-family: var(--display); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-save-row.usual > b:last-child { color: var(--charcoal); text-decoration: line-through; text-decoration-color: var(--red); }
.ap-save-keep { margin-top: 1.1rem; background: var(--yellow); border-radius: 1rem; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 700; }
.ap-save-keep b { font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* reviews, laid out as a chat */
.ap-chat { max-width: 40rem; margin: 0 auto; background: var(--white); border-radius: var(--r); padding: 1.2rem; box-shadow: 0 3rem 6rem -3rem rgba(27,27,29,0.45); display: grid; gap: 0.9rem; }
.ap-chat .av { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--red)); color: var(--white); font-family: var(--display); font-weight: 800; font-style: normal; font-size: 0.95rem; }
.ap-chat-top { display: flex; align-items: center; gap: 0.8rem; padding: 0 0.3rem 0.9rem; border-bottom: 1px solid var(--line); }
.ap-chat-top b { display: block; font-family: var(--display); font-size: 0.95rem; }
.ap-chat-top span { font-size: 0.74rem; color: var(--muted); }
.ap-msg { display: flex; gap: 0.7rem; align-items: flex-end; max-width: 92%; }
.ap-msg .bubble { background: var(--cream); border-radius: 1.2rem 1.2rem 1.2rem 0.3rem; padding: 0.9rem 1.1rem 0.7rem; }
.ap-msg .tag { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.3rem; }
.ap-msg p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.ap-msg .meta { display: block; margin-top: 0.4rem; font-size: 0.72rem; color: var(--muted); text-align: right; }
.ap-msg .meta i { font-style: normal; color: var(--landed); margin-left: 0.35rem; letter-spacing: -0.12em; }

/* ---------- CTA / form ---------- */
.cta { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 34rem; height: 34rem; border-radius: 50%; background: var(--red-dark); right: -10rem; bottom: -16rem; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cta .lead { color: rgba(255,255,255,0.85); margin-top: 1rem; }
.cta .contact { margin-top: 2rem; display: grid; gap: 0.5rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.cta .contact a:hover { color: var(--yellow); }
.form { background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(1.5rem, 2.4vw, 2.4rem); display: grid; gap: 1rem; box-shadow: 0 3rem 5rem -3rem rgba(0,0,0,0.6); }
.form h3 { margin-bottom: 0.2rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.form input, .form select { padding: 0.9rem 1rem; border-radius: 0.8rem; border: 2px solid var(--line); background: var(--white); font-size: 1rem; color: var(--ink); transition: border-color .25s; width: 100%; }
.form input:focus, .form select:focus { outline: none; border-color: var(--red); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .status { font-size: 0.85rem; color: var(--red); min-height: 1.2em; font-weight: 600; }
.form .fine { font-size: 0.7rem; color: var(--faint); line-height: 1.5; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 4rem 0 2.5rem; font-size: 0.86rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer .logo-tile { display: inline-block; background: var(--white); border-radius: 0.8rem; padding: 0.5rem; }
.footer .logo-tile img { width: 3.4rem; height: 3.4rem; }
.footer h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer ul { display: grid; gap: 0.5rem; }
.footer a:hover { color: var(--yellow); }
.social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social a { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 0.7rem; color: var(--white); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-3px); }
.footer-bottom { padding-top: 1.6rem; display: grid; gap: 0.8rem; font-size: 0.72rem; color: rgba(255,255,255,0.42); line-height: 1.6; }
.footer-bottom .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: grid; place-items: center; box-shadow: 0 1rem 2rem -0.6rem rgba(37,211,102,0.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.9rem; height: 1.9rem; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(1.8rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; } .reveal[data-delay="6"] { transition-delay: .6s; }
.reveal[data-delay="7"] { transition-delay: .7s; }

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; }
  .progress { display: none; }
  .inc-grid, .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 5rem; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .3s; }
  .nav.open { background: var(--white); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 1rem; }
  .nav-toggle { display: block; }
  .hero { min-height: 0; }
  .hero-inner, .eval-inner, .story-inner, .cta-inner { grid-template-columns: 1fr; }
  .shape.s1 { width: 16rem; height: 16rem; right: -7rem; top: -7rem; }
  .shape.s2, .shape.s3, .shape.s4 { display: none; }
  .pkgs { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-hero-inner { grid-template-columns: 1fr; }
  .ap-photo-wrap { max-width: 19rem; }
  .frame::before, .frame::after { left: -0.5rem; right: -0.5rem; border-width: 0.4rem; }
  .frame::before { top: -0.5rem; } .frame::after { bottom: -0.5rem; }
}
@media (max-width: 600px) {
  .steps, .inc-grid, .deliver-grid, .agents-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .eval .hero-cta .btn { width: 100%; }
  .ap-back { display: none; }
  .ap-photo-wrap { max-width: 16rem; }
  .ap-save-keep b { font-size: 1.6rem; }
  .ap-msg { max-width: 100%; }
  .fee-row { grid-template-columns: 6rem 1fr 4.8rem; gap: 0.5rem; }
  .price-row output { font-size: 1.9rem; }
  .save b { font-size: 1.6rem; }
  .wf { grid-template-columns: 1fr auto; }
  .wf .track { display: none; }
  .form .two { grid-template-columns: 1fr; }
  .ledger-foot { flex-direction: column; }
  .tabs.lg { width: 100%; } .tabs.lg button { flex: 1; padding: 0.75rem 0.5rem; }
  .marquee-track { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .hero h1 .line > span { opacity: 1; transform: none; }
  .reveal.frame::before, .reveal.frame::after { opacity: 1; transform: none; }
}

/* ============================================================
   Selling or buying?
   The first question on the page. <html data-intent="sell|buy"> is set before
   the page is drawn (the small script in <head>); every block marked
   data-for="sell" or data-for="buy" shows only for its own answer.
   ============================================================ */
:root { --i-brand: var(--red); --i-hl: var(--yellow); }
html[data-intent="sell"] [data-for="buy"],
html[data-intent="buy"] [data-for="sell"] { display: none !important; }
[data-for] { animation: intent-in .45s var(--ease); }
.intent-opts button, .intent-mini button, .intent-form button { animation: none; }
@keyframes intent-in { from { opacity: 0; } }
.hero h1 .h1-set { display: block; }
/* A row the script hides (no ABSD to pay, a choice that does not apply) stays
   hidden even where a layout rule sets its display. */
[hidden] { display: none !important; }

/* the question, at the top of the hero */
.intent { margin-bottom: 1.7rem; }
.intent-q { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.intent-opts { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; padding: 0.4rem; background: var(--white); border: 2px solid var(--line); border-radius: 1.3rem; box-shadow: 0 1.4rem 2.6rem -1.8rem rgba(27,27,29,0.4); }
.intent-opts button { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 1.4rem 0.75rem 1rem; border: 0; border-radius: 0.95rem; background: transparent; cursor: pointer; text-align: left; color: var(--ink-2); transition: background .3s, color .3s, transform .3s var(--ease); }
.intent-opts button svg { width: 1.6rem; height: 1.6rem; flex: 0 0 auto; color: var(--i-brand); transition: color .3s; }
.intent-opts button b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.intent-opts button small { display: block; font-size: 0.74rem; color: var(--muted); transition: color .3s; }
.intent-opts button:hover { background: var(--cream-2); }
.intent-opts button:active { transform: scale(0.98); }
/* The lit button follows <html data-intent>, which is set before the page is
   drawn, so the right one is lit from the first frame. */
html[data-intent="sell"] .intent-opts [data-intent-set="sell"],
html[data-intent="buy"] .intent-opts [data-intent-set="buy"] { background: var(--i-brand); color: var(--white); }
html[data-intent="sell"] .intent-opts [data-intent-set="sell"] svg,
html[data-intent="buy"] .intent-opts [data-intent-set="buy"] svg { color: var(--white); }
html[data-intent="sell"] .intent-opts [data-intent-set="sell"] small,
html[data-intent="buy"] .intent-opts [data-intent-set="buy"] small { color: rgba(255,255,255,0.85); }
.intent-opts button:focus-visible, .intent-mini button:focus-visible, .intent-form button:focus-visible, .calc .chips button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* the same switch, small, in the menu bar */
.intent-mini { display: inline-flex; border: 2px solid var(--line); border-radius: 999px; padding: 0.15rem; background: var(--white); }
.intent-mini button { border: 0; background: transparent; border-radius: 999px; padding: 0.35rem 0.8rem; font-family: var(--display); font-weight: 800; font-size: 0.76rem; letter-spacing: 0.04em; cursor: pointer; color: var(--muted); transition: background .25s, color .25s; }
html[data-intent="sell"] .intent-mini [data-intent-set="sell"],
html[data-intent="buy"] .intent-mini [data-intent-set="buy"] { background: var(--i-brand); color: var(--white); }

/* and in the form */
.intent-form { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.intent-form button { flex: 1; padding: 0.75rem 1rem; border-radius: 0.8rem; border: 2px solid var(--line); background: var(--white); font-family: var(--display); font-weight: 700; font-size: 0.95rem; cursor: pointer; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
html[data-intent="sell"] .intent-form [data-intent-set="sell"],
html[data-intent="buy"] .intent-form [data-intent-set="buy"] { border-color: var(--i-brand); background: var(--i-brand); color: var(--white); }

/* buying calculator (inside the hero card) */
.picks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: -0.5rem 0 0.7rem; }
.pick { display: flex; align-items: center; gap: 0.5rem; }
.pick-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.calc .chips { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; }
.calc .chips button { border: 2px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.35rem 0.85rem; font-family: var(--display); font-weight: 700; font-size: 0.76rem; cursor: pointer; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.calc .chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--white); }
#buy-rows { margin-top: 0.3rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 0.7rem; }
.facts > div { background: var(--cream); border-radius: 0.9rem; padding: 0.7rem 0.8rem; min-width: 0; }
.facts span { display: block; font-size: 0.62rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 0.1rem 0; white-space: nowrap; }
.facts small { display: block; font-size: 0.66rem; color: var(--muted); line-height: 1.3; }
.calc-msg { background: var(--cream); border-radius: 0.9rem; padding: 0.9rem 1rem; font-size: 0.88rem; color: var(--ink-2); margin-top: 0.4rem; }

/* buying: the three numbers, where the packages sit for sellers */
.for-line { font-family: var(--display); font-weight: 700; color: var(--muted); margin-bottom: 1.2rem; }
.pkgs.three { grid-template-columns: repeat(3, 1fr); }
.pkgs.three .pkg .price { font-size: clamp(2.2rem, 3.2vw, 3rem); }
.example div.n { display: block; margin-top: 0.4rem; padding-top: 0.6rem; border-top: 1px dashed rgba(128,128,128,0.4); font-size: 0.8rem; line-height: 1.45; opacity: 0.85; }
.inc-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted); }

@media (max-width: 1150px) {
  .pkgs.three { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links .intent-mini { align-self: flex-start; margin-top: 1rem; }
}
/* Between the phone menu and a wide screen the menu bar has no room for the
   small switch; the big one at the top of the page and the one in the form stay. */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav-links .intent-mini { display: none; }
}
@media (max-width: 600px) {
  .intent-opts { display: grid; }
  .intent-opts button { padding: 0.7rem 0.9rem; }
  .facts b { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-for] { animation: none; }
}
