/* Akimoa.com home — warm and light, told as a day in a home. Colours come from the app (lib/core/theme/ak_colors.dart). */

@font-face { font-family: Inter; src: url(assets/fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(assets/fonts/Nunito-Variable.ttf) format("truetype"); font-weight: 200 1000; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #FFF8F1;
  --bg-tint: #FCF1E8;
  --surface: #FFFEFC;
  --surface-2: #F7EADF;
  --border: #E8D8CB;
  --border-strong: #D9C2B0;
  --text: #3D2923;
  --muted: #735B52;
  --ink: #2A1C17;
  --brand: #B94A3A;
  --brand-ink: #9F3F31;
  --brand-soft: #F8DDD6;
  --green: #3E7C5A;
  --green-soft: #DDEDE2;
  --amber: #AD641B;
  --amber-soft: #F8E7C8;
  --purple: #785F9B;
  --purple-soft: #EAE1F3;
  --blue-soft: #DDE7F2;
  --shadow: 0 22px 60px -28px rgba(92, 64, 55, .45);
  --hdr: 64px;
  --round: Nunito, Inter, system-ui, sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-family: Inter, system-ui, sans-serif; font-weight: 700; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
p { margin: 0; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 40px); }
.hl { color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 30px; height: auto; }
.brand-wordmark { height: 19px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--brand); }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-picker {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; padding: 7px 8px; font: 600 13px Inter, sans-serif;
}
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
}
.mobile-menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-family: var(--round);
  padding: 11px 20px; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(185, 74, 58, .8); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-lg { padding: 13px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- A day in your home ---------- */
.story { position: relative; }
.js .story { height: calc(100vh - var(--hdr) + var(--steps, 6) * 85vh); }

.stage {
  width: min(1280px, 100% - 40px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 56px); align-items: center; padding: 32px 0;
}
.js .stage { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); padding: 18px 0; }

.panel { position: relative; z-index: 2; }
.js .pstep { display: none; }
.js .pstep.on { display: block; animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
html:not(.js) .pstep { margin-bottom: 40px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero-copy h1 { font-size: clamp(34px, 4.4vw, 60px); margin: 18px 0 16px; letter-spacing: -0.04em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trust-line { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.when {
  display: inline-flex; align-items: center; gap: 8px; font: 600 13px Inter, sans-serif;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px;
}
.when .i { color: var(--brand); }
.when + h2 { margin-top: 14px;
}
.scene h2, .end-copy h2 { font-size: clamp(26px, 3vw, 40px); margin: 14px 0 18px; }
.scene .a { display: none; }
.scene.answer .q { display: none; }
.scene.answer .a { display: block; animation: rise .45s both; }
.hint { color: var(--muted); font-size: 14.5px; }
.scene.answer .hint { display: none; }
.hint { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.typing { display: inline-flex; gap: 4px; padding: 7px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: typing 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.js .scene .appcard { display: none; }
.js .scene.answer .appcard { display: block; animation: cardIn .6s cubic-bezier(.2, .8, .2, 1.1) .1s both; }
.end-copy .lead { margin-top: -4px; }

/* House column */
.house-col { display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 0; }
html:not(.js) .house-col { height: 62vh; }
.house-top { display: flex; justify-content: center; }
.who {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 6px 18px -12px rgba(92, 64, 55, .5);
}
.who-label { font: 700 13px var(--round); color: var(--muted); padding: 0 8px 0 10px; }
.who-btn {
  border: 0; background: transparent; padding: 7px 14px; border-radius: 999px;
  font: 700 14px var(--round); color: var(--text); transition: background .2s, color .2s;
}
.who-btn:hover { background: var(--surface-2); }
.who-btn.on { background: var(--brand); color: #fff; }
.housebox { position: relative; flex: 1; min-height: 240px; }
.frame { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
#house { width: 100%; height: 100%; display: block; }
.dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.skip { margin-inline-start: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.skip:hover { color: var(--brand); }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: var(--border-strong); transition: width .3s, background .3s; }
.dot.on { width: 26px; background: var(--brand); }

/* The drawing: sky and time of day */
#house { --sky-top: #8EC5E8; --sky-bot: #DDF0F6; --city: #BFD0DC; --sun: #FFC85C; }
.stage[data-time="morning"] #house { --sky-top: #F4A988; --sky-bot: #FDE7CF; --city: #E3C2B4; --sun: #FFB65C; }
.stage[data-time="afternoon"] #house { --sky-top: #6FB0DE; --sky-bot: #CFE8F5; --city: #B5CADB; --sun: #FFD36B; }
.stage[data-time="dusk"] #house { --sky-top: #E5866A; --sky-bot: #FDD6A8; --city: #D29C8C; --sun: #FF9F45; }
.stage[data-time="evening"] #house { --sky-top: #5B4B8A; --sky-bot: #F39A78; --city: #7A5E8E; --sun: #FF8A4C; }
.stage[data-time="night"] #house { --sky-top: #0F1330; --sky-bot: #2B2D5C; --city: #1D2148; --sun: #FFC85C; }
.sky-top { stop-color: var(--sky-top); transition: stop-color 1.2s; }
.sky-bot { stop-color: var(--sky-bot); transition: stop-color 1.2s; }
.city { fill: var(--city); transition: fill 1.2s; }
.sun-disc { fill: var(--sun); transition: fill 1.2s; }
.lit { opacity: 0; transition: opacity 1.2s; }
.stage[data-time="dusk"] .lit { opacity: .25; }
.stage[data-time="evening"] .lit { opacity: .5; }
.stage[data-time="night"] .lit { opacity: .95; }
.neon { font: 800 26px Nunito, sans-serif; fill: #FFE3EE; stroke: #FF5C93; stroke-width: 1.4; letter-spacing: .02em; opacity: .85; transition: opacity 1s; }
.stage[data-time="evening"] .neon, .stage[data-time="night"] .neon { opacity: 1; animation: flicker 6s infinite; }
#sun { transform: translate(670px, 70px); transition: transform 1.4s cubic-bezier(.4, 0, .2, 1), opacity 1s; }
.stage[data-time="morning"] #sun { transform: translate(110px, 150px); }
.stage[data-time="afternoon"] #sun { transform: translate(560px, 56px); }
.stage[data-time="dusk"] #sun { transform: translate(140px, 170px); }
.stage[data-time="evening"] #sun { transform: translate(700px, 200px); }
.stage[data-time="night"] #sun { transform: translate(760px, 340px); opacity: 0; }
#moon { transform: translate(120px, 64px); opacity: 0; transition: opacity 1.2s; }
.stage[data-time="night"] #moon { opacity: 1; }
.stars { opacity: 0; transition: opacity 1.2s; }
.stage[data-time="night"] .stars { opacity: 1; }
.clouds { transition: opacity 1s; }
.stage[data-time="night"] .clouds { opacity: .08; }
.cloud { animation: drift 26s ease-in-out infinite alternate; }
.cloud.c2 { animation-duration: 34s; animation-direction: alternate-reverse; }
.glow { opacity: 0; transition: opacity 1s; }
.stage[data-time="dusk"] .glow { opacity: .35; }
.stage[data-time="evening"] .glow { opacity: .6; }
.stage[data-time="night"] .glow { opacity: 1; }
.cooking { opacity: 0; transition: opacity .6s; }
.stage[data-scene="sf"] .cooking { opacity: 1; }
#cam { transform-origin: 0 0; transition: transform 1s cubic-bezier(.65, 0, .35, 1); }
.person { transition: transform .9s cubic-bezier(.65, 0, .35, 1), opacity .45s; }
.person.jump { transition: opacity .5s .35s; }
.person .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s var(--blink, 0s) infinite; }
.steam circle { animation: steam 2.4s ease-out infinite; transform-box: fill-box; }
.steam circle:nth-child(2) { animation-delay: .8s; }
.steam circle:nth-child(3) { animation-delay: 1.6s; }
#cat .tail { transform-box: fill-box; transform-origin: 0% 100%; animation: wag 2.6s ease-in-out infinite; }

/* Thought bubbles */
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.bubble { position: absolute; left: 0; top: 0; max-width: min(250px, 70%); }
.bubble-in {
  display: block; position: relative; padding: 10px 15px; border-radius: 20px;
  background: #fff; color: var(--ink); font: 600 14.5px/1.35 Inter, sans-serif; letter-spacing: -0.01em;
  box-shadow: 0 10px 26px -12px rgba(42, 28, 23, .55), 0 0 0 1.5px rgba(42, 28, 23, .08);
  transform-origin: var(--tail, 30px) 120%;
  animation: bubbleIn .55s cubic-bezier(.3, 1.6, .5, 1) var(--delay, 0s) both, float 3.6s ease-in-out calc(var(--delay, 0s) + .6s) infinite;
}
.bubble-in::before, .bubble-in::after {
  content: ""; position: absolute; background: #fff; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(42, 28, 23, .08);
}
.bubble-in::before { width: 12px; height: 12px; left: calc(var(--tail, 30px) - 6px); bottom: -15px; }
.bubble-in::after { width: 7px; height: 7px; left: calc(var(--tail, 30px) - 3.5px); bottom: -25px; }
.bubble.out .bubble-in { animation: pop .42s cubic-bezier(.5, 0, .75, 0) forwards; }
.burst { position: absolute; left: 50%; top: 50%; }
.burst i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--brand); opacity: 0; }
.burst i:nth-child(2n) { background: #E8B33E; }
.burst i:nth-child(3n) { background: var(--green); }
.bubble.out .burst i { animation: burst .55s ease-out .18s forwards; }
.burst i:nth-child(1) { --bx: -46px; --by: -18px; }
.burst i:nth-child(2) { --bx: 44px; --by: -22px; }
.burst i:nth-child(3) { --bx: -30px; --by: 24px; }
.burst i:nth-child(4) { --bx: 34px; --by: 22px; }
.burst i:nth-child(5) { --bx: 0px; --by: -36px; }
.burst i:nth-child(6) { --bx: 4px; --by: 34px; }

/* App pieces, rebuilt to look like the app */
.appcard {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 16px; box-shadow: var(--shadow); max-width: 420px; font-family: var(--round);
}
.ac-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ac-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; }
.ac-title .i { color: var(--brand); }
.ac-meta { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 3px 10px; border-radius: 99px; }
.ac-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 2px 4px; }
.ac-foot { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 10px; padding: 8px 10px; background: var(--bg-tint); border-radius: 12px; }
.row { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 14px; }
.row + .row { border-top: 1px solid var(--surface-2); }
.row-main { flex: 1; min-width: 0; }
.gname { font-weight: 750; font-size: 15px; }
.sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.sub.strong { color: var(--green); font-weight: 800; }
.answer .row, .answer .verdict, .answer .meter, .answer .safe, .answer .ac-label {
  animation: rise .45s backwards; animation-delay: calc(var(--i, 0) * 90ms + .25s);
}
.tick { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid var(--border-strong); display: grid; place-items: center; }
.tick::after { content: ""; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); }
.answer .gi.done .tick { animation: tickOn .3s .6s forwards; }
.answer .gi.done .tick::after { animation: tickMark .25s .75s forwards; }
.gi.done .gname { display: inline-block; background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0 2px; }
.answer .gi.done .gname { animation: strike .4s .85s forwards; }
.ico { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 16px; color: var(--text); }
.ico-amber { background: var(--amber-soft); }
.ico-purple { background: var(--purple-soft); }
.ico-blue { background: var(--blue-soft); }
.due { color: var(--brand); font-weight: 800; }
.paid { color: var(--green); font-weight: 800; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap .after { opacity: 0; }
.answer .swap .before { animation: fadeOut .2s 2.15s forwards; }
.answer .swap .after { animation: fadeIn .3s 2.25s forwards; }
.mp-btn {
  position: relative; display: inline-grid; place-items: center; min-width: 96px; padding: 7px 14px;
  border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 13.5px;
}
.mp-btn > * { grid-area: 1 / 1; }
.mp-done { opacity: 0; }
.answer .mp-btn { animation: press .3s 1.9s, toGreen .3s 2.1s forwards; }
.answer .mp-idle { animation: fadeOut .15s 2.1s forwards; }
.answer .mp-done { animation: fadeIn .25s 2.15s forwards; }
.afford .price-tag { font-weight: 900; font-size: 18px; }
.verdict { background: var(--green-soft); border-radius: 16px; padding: 12px 14px; margin-top: 6px; }
.verdict .yes { color: var(--green); font-weight: 900; font-size: 19px; }
.verdict .sub { color: #2F5E45; }
.meter { padding: 12px 8px 2px; }
.bar { height: 9px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 7px 0; flex: 1; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--green); }
.answer .bar i { animation: grow 1s cubic-bezier(.2, .7, .2, 1) .7s forwards; }
.safe { background: var(--bg-tint); border-radius: 16px; padding: 12px 14px; }
.safe-num { font-size: 34px; font-weight: 900; letter-spacing: -0.02em; color: var(--green); line-height: 1.15; }
.safe-num small { font-size: 15px; color: var(--muted); font-weight: 700; }
.row.cat { padding: 5px 8px; }
.row.cat .gname { width: 84px; font-size: 14px; }
.row.cat .sub { width: 64px; text-align: end; }
.row.cat .bar i { background: var(--brand); opacity: .75; }
.row.share .bar i { background: var(--purple); }
.note { background: var(--amber-soft); margin-top: 6px; border-top: 0 !important; }
.link-ish { font-weight: 800; color: var(--brand); font-size: 14px; }
.row.note.v-couple { background: var(--green-soft); color: var(--green); }

/* Which home's details show */
.stage .v { display: none; }
.stage[data-home="family"] .v-family,
.stage[data-home="couple"] .v-couple,
.stage[data-home="flat"] .v-flat,
.stage[data-home="solo"] .v-solo { display: revert; }
.stage[data-home="family"] .row.v-family,
.stage[data-home="couple"] .row.v-couple,
.stage[data-home="flat"] .row.v-flat,
.stage[data-home="solo"] .row.v-solo { display: flex; }
html:not(.js) .stage .v-family { display: revert; }

/* The tour-style pointer: a ring on what matters and a short note */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: -5px; border: 2.5px solid var(--brand); border-radius: 18px;
  opacity: 0; pointer-events: none;
}
.mp.spot::after { border-radius: 999px; }
.answer .spot::after { animation: ringIn .45s 1.05s forwards, ringPulse 2.2s 1.6s ease-in-out infinite; }
.answer .appcard > :not(.ac-head):not(.spot):not(:has(.spot)) { transition: opacity .4s 1.05s; opacity: .45; }
.callout {
  position: absolute; left: 0; top: calc(100% + 13px); z-index: 4; width: max-content; max-width: 250px;
  padding: 9px 13px; border-radius: 13px; background: var(--ink); color: #fff;
  font: 700 13.5px/1.35 var(--round); opacity: 0; pointer-events: none;
  box-shadow: 0 14px 30px -14px rgba(42, 28, 23, .8);
}
.callout::before {
  content: ""; position: absolute; top: -6px; left: 24px; width: 13px; height: 13px;
  background: inherit; transform: rotate(45deg); border-radius: 2px;
}
.callout.right { left: auto; right: 0; }
.callout.right::before { left: auto; right: 34px; }
.answer .callout { animation: calloutIn .4s 1.25s forwards; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.eyebrow {
  display: inline-block; margin-bottom: 10px; font: 800 12.5px var(--round);
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.muted { color: var(--muted); }
.footnote { color: var(--muted); font-size: 13.5px; margin-top: 18px; }
.center { text-align: center; }

.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; transition: transform .2s, box-shadow .2s; }
.usp:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.usp-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--brand-soft); font-size: 22px; margin-bottom: 14px; color: var(--text); }
.usp:nth-child(2) .usp-icon { background: var(--amber-soft); }
.usp:nth-child(3) .usp-icon { background: var(--green-soft); }
.usp:nth-child(4) .usp-icon { background: var(--purple-soft); }
.usp h3 { font-size: 19px; margin-bottom: 6px; }
.usp p { color: var(--muted); font-size: 15px; }
.proof-strip { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.proof-strip li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); }
.proof-strip li::before { content: "✓"; color: var(--green); font-weight: 800; margin-inline-end: 7px; }

/* How it works and the real app */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.how-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ink); color: #fff; font-size: 22px; margin-bottom: 14px; }
.how h3 { font-size: 19px; margin-bottom: 6px; }
.how p { color: var(--muted); font-size: 15px; }
.phones { display: flex; justify-content: center; gap: clamp(16px, 4vw, 56px); flex-wrap: wrap; }
.phone { margin: 0; width: min(310px, 40vw); text-align: center; }
.shot { position: relative; }
.tag {
  position: absolute; z-index: 2; width: max-content; max-width: 190px; padding: 8px 12px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: start;
  box-shadow: 0 12px 26px -12px rgba(42, 28, 23, .8);
}
.tag::after { content: ""; position: absolute; top: 50%; width: 22px; height: 2px; background: var(--ink); }
.tag-left { right: calc(100% - 24px); transform: translateY(-50%); }
.tag-left::after { left: 100%; }
.tag-right { left: calc(100% - 24px); transform: translateY(-50%); }
.tag-right::after { right: 100%; }
.phone img { width: 100%; height: auto; border-radius: 34px; border: 8px solid var(--ink); box-shadow: var(--shadow); background: var(--ink); }
.phone:nth-child(2) { margin-top: 48px; }
.phone figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.maker { max-width: 620px; margin: 34px auto 0; text-align: center; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--border-strong); }
.maker-title { font-weight: 700; margin-bottom: 4px; }
.maker p:last-child { color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 30px; font-size: 15px; font-weight: 600; }
.switch { width: 50px; height: 28px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); position: relative; padding: 0; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); transition: transform .2s; }
.switch.active { background: var(--brand); }
.switch.active .knob { transform: translateX(22px); background: #fff; }
.save { color: var(--green); font-weight: 700; font-size: 13px; margin-inline-start: 4px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.price-card h3 { font-size: 24px; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.price { display: flex; align-items: baseline; gap: 4px; font-family: var(--round); }
.price .cur { font-size: 22px; font-weight: 800; }
.price .amt { font-size: 46px; font-weight: 900; letter-spacing: -0.03em; transition: opacity .15s; }
.price .per { color: var(--muted); font-size: 14px; margin-inline-start: 6px; transition: opacity .15s; font-family: Inter, sans-serif; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 9px; font-size: 14.5px; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-inline-end: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ---------- Footer (sitemap) ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 54px 0 30px; background: var(--bg-tint); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 16px; max-width: 280px; }
.site-footer h4 { font: 800 12.5px var(--round); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.site-footer ul a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; color: var(--muted); font-size: 13.5px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px;
  background: rgba(42, 28, 23, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal-backdrop.active { display: grid; }
.modal { position: relative; width: min(420px, 100%); padding: 30px; border-radius: 24px; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.modal h3 { font-size: 23px; }
.modal .muted { margin-top: 6px; font-size: 15px; }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 20px; }
.label { display: block; font-size: 13px; color: var(--muted); margin: 18px 0 6px; font-weight: 600; }
.input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; }
#waitlistForm .btn { margin-top: 20px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--brand); font-size: 14px; margin-top: 12px; }
.form-success h4 { font-size: 20px; margin-bottom: 6px; }
.form-another { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 50% { translate: 0 -4px; } }
@keyframes pop { 0% { transform: scale(1); opacity: 1; } 45% { transform: scale(1.14); opacity: 1; } 100% { transform: scale(.1); opacity: 0; } }
@keyframes burst { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(var(--bx), var(--by)) scale(.4); } }
@keyframes drift { to { transform: translateX(46px); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(0) scale(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-22px) scale(1.4); } }
@keyframes flicker { 0%, 90%, 94%, 100% { opacity: 1; } 92% { opacity: .55; } }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes wag { 50% { transform: rotate(-16deg); } }
@keyframes tickOn { to { background: var(--green); border-color: var(--green); } }
@keyframes tickMark { to { transform: rotate(-45deg) translate(1px, -1px) scale(1); } }
@keyframes strike { to { background-size: 100% 2px; color: var(--muted); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes press { 50% { transform: scale(.9); } }
@keyframes toGreen { to { background: var(--green); } }
@keyframes grow { to { width: var(--w); } }
@keyframes ringIn { from { opacity: 0; transform: scale(1.15); } to { opacity: 1; transform: none; } }
@keyframes ringPulse { 50% { box-shadow: 0 0 0 6px rgba(185, 74, 58, .14); } }
@keyframes calloutIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Right to left ---------- */
[dir="rtl"] .callout { left: auto; right: 0; }
[dir="rtl"] .callout::before { left: auto; right: 24px; }
[dir="rtl"] .callout.right { right: auto; left: 0; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; width: min(100% - 32px, 640px); }
  .js .stage { padding: 12px 0 10px; }
  .hero-copy h1 { font-size: clamp(28px, 7.4vw, 40px); margin: 12px 0 8px; }
  .lead { font-size: 15px; }
  .cta-row { margin-top: 14px; }
  .btn-lg { padding: 11px 18px; font-size: 15px; }
  .trust-line { display: none; }
  .scene h2, .end-copy h2 { font-size: clamp(22px, 6vw, 30px); margin: 10px 0 10px; }
  .when { font-size: 12.5px; }
  .appcard { padding: 12px; border-radius: 18px; max-width: none; }
  .row { padding: 6px 6px; }
  .gname { font-size: 14px; }
  .ac-foot { display: none; }
  .safe-num { font-size: 28px; }
  .bubble-in { font-size: 13px; padding: 8px 12px; }
  .bubble { max-width: min(200px, 64%); }
  .callout { font-size: 12.5px; max-width: 220px; }
  .house-col { gap: 8px; }
  .who-label { display: none; }
  .who-btn { padding: 6px 12px; font-size: 13.5px; }
  .frame { border-radius: 20px; }
  .housebox { min-height: 170px; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: var(--hdr); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 18px;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-cta-mobile { display: block; margin-top: 8px; }
  .nav-cta-desktop { display: none; }
  .mobile-menu-btn { display: grid; }
  .section { padding: 64px 0; }
  .usp-grid, .pricing-grid, .how-grid { grid-template-columns: 1fr; }
  .phone:nth-child(2) { margin-top: 28px; }
  .phone { width: min(300px, 78vw); }
  /* No room beside the phone: the notes sit under the screen instead. */
  .tag { position: static; display: inline-block; transform: none; max-width: none; margin: 10px 4px 0; font-size: 12.5px; padding: 6px 11px; }
  .tag::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .scene .ac-label, .row.cat:nth-of-type(n+3) { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* A small note under a form field. */
.form-hint {
  margin: -4px 0 12px;
  font-size: 0.85rem;
}
