/*
 * Landing page only: live demo + scroll story (assets/demo.js). Builds on
 * site.css tokens. Clean white canvas, one brand colour, motion only where
 * it explains something. Everything still works with reduced motion.
 */
.display { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--muted); }

/* Hero demo stage */
.stage { background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 40px 80px -40px rgba(15,23,42,.25); }
/* Sample-card picker: mini card pictures with whose card it is */
.demo-step { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #0F172A; }
.demo-step-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; }
.pick-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 10px 8px 14px; }
.pick-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .pick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }
/* Cards you can pick have a light running round their border (an invitation to
   click); the chosen one gets a solid brand border instead. */
@property --pick-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes pick-flow { to { --pick-a: 360deg; } }
.pick { position: relative; flex: none; min-width: 220px; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 16px; border: 2px solid transparent; text-align: left; cursor: pointer; transition: box-shadow .2s, transform .2s;
        background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--pick-a), var(--line) 0 50%, color-mix(in srgb, var(--brand) 55%, var(--line)) 62%, var(--brand) 72%, var(--brand-2) 78%, var(--line) 90%) border-box;
        animation: pick-flow 3.2s linear infinite; }
.pick:nth-child(2) { animation-delay: -1.1s; }
.pick:nth-child(3) { animation-delay: -2.2s; }
.pick:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(15,23,42,.35); animation-duration: 1.6s; }
.pick[aria-checked=true] { animation: none; background: linear-gradient(color-mix(in srgb, var(--brand-soft) 55%, #fff), color-mix(in srgb, var(--brand-soft) 55%, #fff)) padding-box, linear-gradient(var(--brand), var(--brand)) border-box; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.pick-name { display: block; font-size: .9rem; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-meta { display: block; margin-top: 1px; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-thumb { flex: none; width: 54px; height: 34px; padding: 6px; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 4px 10px -4px rgba(15,23,42,.45); transition: transform .2s; }
.pick:hover .pick-thumb, .pick[aria-checked=true] .pick-thumb { transform: rotate(0); }
.pick-thumb i { display: block; width: 8px; height: 8px; border-radius: 2px; }
.pick-thumb b { display: block; height: 3px; margin-top: 4px; border-radius: 2px; width: 70%; }
.pick-thumb b + b { width: 45%; margin-top: 3px; }
.pick-ink { background: #0F172A; } .pick-ink i { background: var(--brand); } .pick-ink b { background: rgba(255,255,255,.75); }
.pick-paper { background: #fff; border-left: 4px solid #F97316; } .pick-paper i { background: #EA580C; } .pick-paper b { background: #CBD5E1; }
.pick-leaf { background: #F6F3EA; } .pick-leaf i { background: #15803D; } .pick-leaf b { background: rgba(20,83,45,.45); }

.scan-zone { position: relative; border-radius: 24px; background: #F1F4F9; padding: 28px; display: grid; place-items: center; overflow: hidden; min-height: 260px; }
.scan-zone .corner { position: absolute; width: 26px; height: 26px; border-color: var(--brand); opacity: 0; transition: opacity .2s; }
.scan-zone .c1 { top: 14px; left: 14px; border-top: 3px solid; border-left: 3px solid; border-radius: 8px 0 0 0; }
.scan-zone .c2 { top: 14px; right: 14px; border-top: 3px solid; border-right: 3px solid; border-radius: 0 8px 0 0; }
.scan-zone .c3 { bottom: 14px; left: 14px; border-bottom: 3px solid; border-left: 3px solid; border-radius: 0 0 0 8px; }
.scan-zone .c4 { bottom: 14px; right: 14px; border-bottom: 3px solid; border-right: 3px solid; border-radius: 0 0 8px 0; }
.scan-zone .beam { position: absolute; left: 6%; right: 6%; height: 70px; top: -70px; opacity: 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 22%, transparent) 85%, var(--brand) 100%); border-bottom: 2px solid var(--brand); }
.scanning .scan-zone .corner { opacity: 1; }
.scanning .scan-zone .beam { opacity: 1; animation: beam 1.3s cubic-bezier(.45,0,.55,1) forwards; }
@keyframes beam { from { top: -70px; } to { top: 100%; } }

.vcard { width: 100%; max-width: 360px; aspect-ratio: 1.75; border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; box-shadow: 0 2px 4px rgba(15,23,42,.06), 0 24px 40px -18px rgba(15,23,42,.35); transform: rotate(-3deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); animation: card-in .5s cubic-bezier(.2,.8,.2,1); }
.scanning .vcard, .scanned .vcard { transform: rotate(0); }
@keyframes card-in { from { transform: rotate(-8deg) translateY(16px); opacity: 0; } }
.vlogo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 800; font-size: 13px; }
.vname { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.vrole { font-size: .74rem; opacity: .75; margin-top: 2px; }
.vmeta { margin-top: 10px; font-size: .68rem; line-height: 1.55; opacity: .85; }
.vcard-ink { background: #0F172A; color: #fff; }
.vcard-ink .vlogo { background: var(--brand); color: #fff; }
.vcard-paper { background: #fff; color: #0F172A; border-left: 6px solid #F97316; }
.vcard-paper .vlogo { background: #FFF1E6; color: #EA580C; }
.vcard-leaf { background: #F6F3EA; color: #14532D; }
.vcard-leaf .vlogo { background: #15803D; color: #fff; }

.frow { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; transition: background .25s; }
.frow + .frow { border-top: 1px dashed var(--line); }
.frow.live { background: var(--brand-soft); border-top-color: transparent; }
.flabel { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; }
.fval { font-size: .95rem; font-weight: 600; color: #0F172A; min-height: 1.4em; overflow-wrap: anywhere; }
.fval:empty::after { content: ""; display: block; height: 10px; width: 60%; margin-top: 5px; border-radius: 99px; background: linear-gradient(90deg, #EEF2F7, #F8FAFC, #EEF2F7); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--brand); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.status-dot { width: 8px; height: 8px; border-radius: 99px; background: #CBD5E1; }
.status-dot.busy { background: #F59E0B; animation: pulse 1s ease-in-out infinite; }
.status-dot.ok { background: #16A34A; }
@keyframes pulse { 50% { opacity: .35; } }

/* Scroll story (demo.js). Desktop: details | sticky phone | step names on an arc
   around the phone that turns as you scroll. Below lg: step tabs, details, phone. */
.st { cursor: pointer; white-space: nowrap; }
.st-num { font-variant-numeric: tabular-nums; }
.st-pin { display: flex; flex-direction: column; gap: 22px; }
.st-head { margin-bottom: 18px; }
.st-info { text-align: center; }
.st-meta { display: flex; align-items: center; justify-content: center; gap: 12px; }
.st-count { font-size: .8rem; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.st-dots { display: inline-flex; gap: 5px; }
.st-dots i { width: 6px; height: 6px; border-radius: 99px; background: #CBD5E1; transition: width .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.st-dots i.on { width: 20px; background: var(--brand); }
.sound-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); transition: color .15s, border-color .15s; }
.sound-btn:hover, .sound-btn[aria-pressed=true] { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.st-panes { display: grid; margin-top: 14px; }
.st-pane { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.st-pane.on { opacity: 1; transform: none; pointer-events: auto; }
.st-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.st-desc { margin: 10px auto 0; max-width: 30rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 1023px) {
  /* Tabs stick under the header so steps can be switched while looking at the phone */
  .st-list { position: sticky; top: 76px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  @media (min-width: 640px) { .st-list { margin: 0 -24px; padding: 8px 24px; } }
  .st-list::-webkit-scrollbar { display: none; }
  .st { flex: none; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: #334155; transition: background .2s, color .2s; }
  .st.on { background: #0F172A; color: #fff; border-color: #0F172A; }
  .st .st-num { display: none; }
  .st-ghost { display: none; }
}

@media (min-width: 1024px) {
  /* ~65vh of scrolling per step while the panel stays pinned */
  .st-track { height: calc(360vh - 6.5rem); overflow-x: clip; } /* clip, not hidden: keeps the pin sticky */
  .st-pin { position: sticky; top: 5.5rem; height: calc(100vh - 6.5rem); min-height: 540px; display: grid; grid-template-columns: 1fr 300px 1fr; grid-template-rows: auto minmax(0, 1fr); column-gap: 56px; align-items: center; }
  /* Heading stays on screen for the whole story, as one compact line */
  .st-head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0; padding-top: 4px; }
  .st-head .h2 { margin-top: 6px; font-size: clamp(2rem, 2.7vw, 2.6rem); }
  .st-head .lead { margin-top: 6px; font-size: 1.02rem; }
  .st-info { grid-column: 1; grid-row: 2; text-align: left; }
  .st-meta { justify-content: flex-start; }
  .st-title { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
  .st-desc { margin-left: 0; font-size: 1.05rem; }
  .st-phone { grid-column: 2; grid-row: 2; position: relative; z-index: 2; }
  /* Soft brand glow behind the phone */
  .st-phone::before { content: ""; position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--brand-2) 6%, transparent) 60%, transparent); z-index: -1; pointer-events: none; }

  .st-list { --r: 460px; --step: 11deg; grid-column: 3; grid-row: 2; position: relative; height: 100%; }
  /* Dashed guide arc just inside the labels, centred to the left like a dial */
  .st-list::before { content: ""; position: absolute; left: calc(-2 * var(--r) + 26px); top: calc(50% - var(--r) + 26px); width: calc(2 * var(--r) - 52px); height: calc(2 * var(--r) - 52px); border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--brand) 22%, var(--line)); clip-path: inset(0 0 0 50%); -webkit-mask-image: linear-gradient(transparent 8%, #000 38%, #000 62%, transparent 92%); mask-image: linear-gradient(transparent 8%, #000 38%, #000 62%, transparent 92%); pointer-events: none; }
  /* Marker where the arc meets the current step */
  .st-list::after { content: ""; position: absolute; left: -31px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 99px; background: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 16%, transparent); }

  .st { position: absolute; left: 0; top: 50%; display: flex; align-items: baseline; gap: 10px; padding: 6px 0; font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: #94A3B8;
        transform-origin: calc(-1 * var(--r)) 50%; transform: translateY(-50%) rotate(calc(var(--d, 0) * var(--step)));
        transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s, color .3s; }
  .st .st-num { font-size: .8rem; font-weight: 700; color: #CBD5E1; transition: color .3s; }
  .st:hover { color: #475569; }
  .st[data-far="1"] { opacity: .5; }
  .st[data-far="2"] { opacity: .18; }
  .st[data-far="3"] { opacity: 0; pointer-events: none; }
  .st.on { color: var(--brand); }
  .st.on .st-num { color: var(--brand); }
  .st.on .st-label::before { content: "[ "; font-weight: 500; }
  .st.on .st-label::after { content: " ]"; font-weight: 500; }
}
@media (min-width: 1280px) {
  .st-pin { column-gap: 96px; }
  .st-desc { font-size: 1.1rem; }
}
@media (min-width: 1536px) {
  .st-pin { column-gap: 128px; }
}
/* Laptops with short screens: shrink the phone so heading + phone fit the pinned
   panel. zoom (not transform) so the layout really gets smaller. */
@media (min-width: 1024px) and (max-height: 860px) {
  .st-phone .phone { zoom: .88; }
}
@media (min-width: 1024px) and (max-height: 780px) {
  .st-phone .phone { zoom: .8; }
  .st-head .lead { display: none; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .st-phone .phone { zoom: .7; }
}

.phone { width: 300px; max-width: 100%; border-radius: 46px; background: #0F172A; padding: 10px; box-shadow: 0 50px 90px -40px rgba(15,23,42,.55); }
.phone-screen { position: relative; height: 590px; border-radius: 37px; background: #F5F7FB; overflow: hidden; }
.screen { position: absolute; inset: 0; padding: 44px 16px 16px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; pointer-events: none; display: flex; flex-direction: column; }
.screen.on { opacity: 1; transform: none; pointer-events: auto; }
.notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 99px; background: #0F172A; z-index: 5; }
.app-card { background: #fff; border-radius: 18px; padding: 14px; }
.avatar { display: grid; place-items: center; border-radius: 999px; color: #fff; font-weight: 800; background-image: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.mini-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-ink); }
.pro { font-size: 9px; font-weight: 800; letter-spacing: .05em; padding: 2px 6px; border-radius: 99px; background: #0F172A; color: #fff; }

.mic { position: relative; width: 64px; height: 64px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; transition: transform .15s, background .2s; }
.mic:active { transform: scale(.95); }
.mic.hint::before { content: ""; position: absolute; inset: -8px; border-radius: inherit; border: 2px solid var(--brand); animation: ring 1.6s ease-out infinite; }
.mic.rec { background: #DC2626; }
@keyframes ring { from { transform: scale(.85); opacity: .8; } to { transform: scale(1.25); opacity: 0; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 40px; }
.wave i { width: 3px; height: 6px; border-radius: 99px; background: #CBD5E1; }
.wave.on i { background: var(--brand); animation: bar .9s ease-in-out infinite; }
.wave.on i:nth-child(3n) { animation-delay: -.3s; }
.wave.on i:nth-child(3n+1) { animation-delay: -.6s; }
.wave.on i:nth-child(4n) { animation-duration: .7s; }
@keyframes bar { 0%, 100% { height: 6px; } 50% { height: 34px; } }

.tone { font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: #334155; }
.tone[aria-pressed=true] { background: #0F172A; border-color: #0F172A; color: #fff; }
.ai-msg { font-size: 13px; line-height: 1.55; color: #1E293B; white-space: pre-line; min-height: 150px; }
.ai-wait { height: 10px; border-radius: 99px; margin-top: 8px; background: linear-gradient(90deg, var(--brand-soft), #fff, var(--brand-soft)); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }

.wa-top { background: #075E54; color: #fff; padding: 44px 14px 12px; margin: -44px -16px 0; display: flex; align-items: center; gap: 10px; }
.wa-body { flex: 1; margin: 0 -16px -16px; padding: 14px 12px; background: #EAE6DF; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.bubble { align-self: flex-end; max-width: 86%; background: #D9FDD3; border-radius: 12px 12px 4px 12px; padding: 8px 10px 6px; font-size: 12px; line-height: 1.5; color: #111B21; white-space: pre-line; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: pop .3s ease-out; }
.ticks { display: inline-flex; color: #8696A0; transition: color .3s; }
.ticks.read { color: #53BDEB; }
.remind { animation: sheet-up .35s ease-out; }

/* Header + hero: the owner's mockup, in the app's primary colour (the logo's,
   --brand from the backend) rather than the mockup's indigo. */
.mock-bar { background: transparent; transition: box-shadow .25s, background .25s; }
.scrolled .mock-bar { background: color-mix(in srgb, #fff 92%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(15,23,42,.25); }
.btn-sq { border-radius: 12px; }
.btn-sq:focus-visible { border-radius: 12px; }

/* Copy | two phones | feature cards. The phones sit in a 460x610 box; below lg the
   box is zoomed to fit and the cards wrap in a row under it. */
.mock-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(closest-side circle at 66% 44%, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--brand) 7%, transparent) 50%, transparent 85%) 66% 44% / 820px 700px no-repeat,
  radial-gradient(circle at 66% 44%, color-mix(in srgb, var(--brand) 6%, #fff) 0 300px, color-mix(in srgb, var(--brand) 4%, transparent) 340px, transparent 420px),
  linear-gradient(180deg, #FCFDFF, #F7F9FC 92%); }
#hero { margin-top: -76px; padding-top: 76px; }
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 36px; padding-bottom: 8px; }
.hero-copy { width: 100%; container-type: inline-size; }
.hero-badge { display: inline-flex; padding: .45rem 1.1rem; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--brand); background: #fff; border: 1.5px solid color-mix(in srgb, var(--brand) 35%, transparent); }
/* Sized from the column's width (cqi) so it breaks into two lines like the mockup */
.hero-h1 { font-size: clamp(2.2rem, 8.1cqi, 4.4rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 800; color: #111827; }
.hero-lead { max-width: 36rem; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.65; color: #4B5563; }
.hero-av { width: 42px; height: 42px; border-radius: 99px; object-fit: cover; box-shadow: 0 0 0 3px #fff; }

.hero-visual { position: relative; width: 530px; height: 620px; flex: none; zoom: .6; }
.hero-phone-front { position: absolute; left: 0; top: 0; z-index: 2; padding: 11px; border-radius: 50px; background: linear-gradient(145deg, #4B5059, #1C1F24 38%, #2E3238 70%, #15171B); box-shadow: inset 0 0 0 1.5px #6B717B, inset 0 0 0 5px #121418, 0 60px 90px -40px rgba(30,27,75,.55), 0 20px 40px -24px rgba(30,27,75,.35); }
.hero-phone-front::before, .hero-phone-front::after { content: ""; position: absolute; left: -3px; width: 4px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #2B2F35, #4B5059); }
.hero-phone-front::before { top: 120px; height: 28px; }
.hero-phone-front::after { top: 165px; height: 52px; box-shadow: 0 66px 0 #3A3E45; }
.hero-phone-back { position: absolute; left: 296px; top: 34px; padding: 9px; border-radius: 46px; transform: scale(.78); transform-origin: 0 0; background: #0B0B0D; box-shadow: inset 0 0 0 2px #D4D7DD, inset 0 0 0 4px #9CA3AF, 0 40px 70px -40px rgba(30,27,75,.45); }

.hscreen { position: absolute; inset: 0; padding: 42px 16px 16px; display: flex; flex-direction: column; }
.hero-visual .phone-screen { border-radius: 40px; }
.hero-visual .notch { top: 0; width: 48%; height: 27px; border-radius: 0 0 18px 18px; background: #0B0B0D; }
.hs-status { position: absolute; top: 8px; left: 24px; right: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.hs-sys { display: inline-flex; gap: 3px; align-items: flex-end; }
.hs-sys i { display: block; width: 4px; border-radius: 1px; background: currentColor; }
.hs-sys i:nth-child(1) { height: 5px; } .hs-sys i:nth-child(2) { height: 7px; } .hs-sys i:nth-child(3) { width: 16px; height: 8px; border-radius: 2px; margin-left: 3px; }

/* Front: camera over a desk, the card, white corners, shutter */
.hs-cam { color: #fff; padding-bottom: 0; background: radial-gradient(110% 70% at 50% 28%, #D9C8AE, #B09A7E 32%, #7D6A55 62%, #4A3D31 88%); }
.hs-view { position: relative; flex: 1; display: grid; place-items: center; }
.hs-c { position: absolute; width: 26px; height: 26px; border-color: rgba(255,255,255,.9); }
.hs-c.c1 { top: 22%; left: 0; border-top: 2.5px solid; border-left: 2.5px solid; }
.hs-c.c2 { top: 22%; right: 0; border-top: 2.5px solid; border-right: 2.5px solid; }
.hs-c.c3 { bottom: 22%; left: 0; border-bottom: 2.5px solid; border-left: 2.5px solid; }
.hs-c.c4 { bottom: 22%; right: 0; border-bottom: 2.5px solid; border-right: 2.5px solid; }
.hs-card { width: 100%; aspect-ratio: 1.45; display: flex; flex-direction: column; padding: 16px 16px 14px; border-radius: 5px; background: linear-gradient(155deg, #FFFFFF, #F1F1F3 70%, #E6E6EA); color: #111827; box-shadow: 0 30px 40px -20px rgba(0,0,0,.65), 0 2px 4px rgba(0,0,0,.2); transform: perspective(700px) rotateX(10deg) rotateY(-12deg) rotate(-4deg); }
.hs-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 0 -16px 0; padding: 8px 22px 14px; font-size: 11px; color: rgba(255,255,255,.75); background: linear-gradient(180deg, rgba(28,22,17,.75), #1A1511); }
.hs-shutter { width: 50px; height: 50px; border-radius: 99px; border: 4px solid rgba(255,255,255,.92); box-shadow: inset 0 0 0 4px #1A1511; background: #fff; }

/* Back: contacts list */
.hs-contacts { background: #fff; color: #111827; }
.hc-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F1F5F9; }
.hc-av { width: 36px; height: 36px; flex: none; border-radius: 99px; object-fit: cover; }
.hc-fab { position: absolute; right: 16px; bottom: 50px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 24px; box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.hc-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 12px 18px 16px; border-top: 1px solid #F1F5F9; color: #9CA3AF; background: #fff; }

/* Feature cards */
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.htag { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 16px 36px -14px rgba(30,27,75,.22); font-size: .95rem; font-weight: 500; color: #1F2937; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.htag:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 22px 40px -14px rgba(30,27,75,.3); }

@media (min-width: 640px) { .hero-visual { zoom: .9; } }
@media (min-width: 1024px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .hero-visual { zoom: .7; }
  /* Down the right, staggered like the mockup, gently floating */
  .hero-tags { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 34px; }
  .htag:nth-child(2) { margin-left: 12px; }
  .htag:nth-child(4) { margin-left: 6px; }
  .htag { animation: htag-float 5s ease-in-out infinite; }
  .htag:nth-child(2) { animation-delay: -1.2s; }
  .htag:nth-child(3) { animation-delay: -2.5s; }
  .htag:nth-child(4) { animation-delay: -3.7s; }
  .htag:hover { animation-play-state: paused; }
}
@keyframes htag-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (min-width: 1280px) {
  .hero-grid { column-gap: 40px; }
  .hero-visual { zoom: .8; }
  .htag:nth-child(2) { margin-left: 36px; }
  .htag:nth-child(4) { margin-left: 16px; }
}
@media (min-width: 1536px) {
  .hero-grid { column-gap: 44px; }
  .hero-visual { zoom: .95; }
}
@media (min-width: 1024px) and (max-height: 820px) { .hero-visual { zoom: .72; } }
@media (min-width: 1024px) and (max-height: 700px) { .hero-visual { zoom: .66; } }

/* Bento */
.bento { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; overflow: hidden; position: relative; transition: box-shadow .25s, border-color .25s; }
.bento:hover { border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 22px 44px -24px rgba(15,23,42,.28); }
.bento .icon-tile { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; }
.bento h3 { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }

/* Before / after */
.compare { border-radius: 26px; padding: 28px; border: 1px solid var(--line); }
.compare-old { background: #F8FAFC; }
.compare-new { background: #fff; border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 6%, transparent), 0 30px 60px -32px color-mix(in srgb, var(--brand) 45%, transparent); }
.compare li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.compare li + li { margin-top: 14px; }
.compare .mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 999px; }
.compare-old .mark { background: #F1F5F9; color: #94A3B8; }
.compare-old li { color: #64748B; }
.compare-new .mark { background: var(--brand); color: #fff; }

/* FAQ */
.faq { transition: border-color .2s, box-shadow .2s; }
.faq summary { transition: color .15s; }
.faq summary:hover { color: var(--brand-ink); }
.faq[open] { border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); box-shadow: 0 14px 30px -20px rgba(15,23,42,.22); }
.faq[open] summary { color: var(--brand-ink); }
.faq[open] > p { animation: faq-in .25s ease-out; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

.foot-link { color: var(--muted); transition: color .15s; }
.foot-link:hover { color: #0F172A; }
.bento p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-top: 6px; }
.tier { display: inline-block; margin-top: 10px; font-size: .72rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 9px; border-radius: 99px; }
.hello-word { display: inline-block; font-weight: 800; color: var(--brand); animation: pop .35s ease-out; }
/* Many cards, one photo: a photo of three cards on a desk, each found (numbered
   box), then the three saved contacts. Plays once as the card scrolls in. */
.multi { flex: 1; display: grid; gap: 14px; align-items: center; margin-top: 22px; }
/* Side by side only when the card itself has room (it is a half-width card on tablets) */
.bento:has(.multi) { container-type: inline-size; }
@container (min-width: 452px) { .multi { grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); } .multi-arrow { transform: none; } }
.multi-photo { position: relative; container-type: inline-size; width: 100%; max-width: 340px; justify-self: center; aspect-ratio: 1.22; border-radius: 18px; overflow: hidden; background: #2A1E14; box-shadow: 0 0 0 5px #111827, 0 18px 34px -18px rgba(15,23,42,.55); }
.mp-desk { position: absolute; inset: -12% -10% -6%; transform: perspective(520px) rotateX(16deg); transform-origin: 50% 70%;
  background:
    radial-gradient(70% 60% at 22% 18%, rgba(255,236,205,.55), transparent 70%),
    radial-gradient(130% 120% at 50% 45%, transparent 55%, rgba(30,18,8,.55)),
    repeating-linear-gradient(92deg, rgba(60,35,15,.10) 0 2px, transparent 2px 7px, rgba(255,240,220,.06) 7px 9px, transparent 9px 15px),
    linear-gradient(90deg, #A9774A, #BD8A59 18%, #A87649 33%, #C08E5D 52%, #AE7C4E 70%, #BF8C5B 86%, #A57347); }
.mc { position: absolute; width: 34%; aspect-ratio: 1.75; display: flex; flex-direction: column; padding: 6% 7%; border-radius: 4px; transform: rotate(var(--r)); font-size: 5.6px; line-height: 1.3; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 1px rgba(20,10,0,.35), 0 5px 8px -3px rgba(40,22,8,.5), 0 16px 22px -12px rgba(40,22,8,.55); }
.mc-top { display: flex; align-items: center; gap: 3px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 5px; }
.mc-top i { width: 8px; height: 8px; border-radius: 2px; }
.mc-name { margin-top: auto; font-size: 8px; font-weight: 800; letter-spacing: -.01em; }
.mc-role { opacity: .7; margin-bottom: 3px; }
.mc-line { display: flex; align-items: center; gap: 2.5px; opacity: .8; font-size: 5px; white-space: nowrap; }
.mc-ic { display: block; width: 5px; height: 5px; flex: none; }
.mc-ic svg { display: block; width: 100%; height: 100%; }
.mc-ink { background: linear-gradient(160deg, #1E293B, #0F172A 60%); color: #fff; } .mc-ink i { background: var(--brand); }
.mc-paper { background: linear-gradient(160deg, #FFFFFF, #F1F0EC); color: #0F172A; border-left: 3px solid #F97316; } .mc-paper i { background: #EA580C; }
.mc-leaf { background: linear-gradient(160deg, #FAF7EE, #ECE6D4); color: #14532D; } .mc-leaf i { background: #15803D; }
.mc-box { position: absolute; inset: -6px; border-radius: 6px; background-color: color-mix(in srgb, var(--brand) 10%, transparent); background-image: linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)); background-repeat: no-repeat; background-size: 12px 2.5px, 2.5px 12px, 12px 2.5px, 2.5px 12px, 12px 2.5px, 2.5px 12px, 12px 2.5px, 2.5px 12px; background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; }
.mc-n { position: absolute; top: -8px; left: -8px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 9px; font-weight: 800; box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(0,0,0,.3); }
.mp-beam { position: absolute; left: 0; right: 0; height: 46px; top: -46px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 22%, transparent) 85%, var(--brand)); border-bottom: 2px solid var(--brand); opacity: 0; }
.mp-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: center; padding: 2.4cqi; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent); }
.mp-found { display: inline-flex; align-items: center; gap: 1.6cqi; padding: .9cqi 2.8cqi; border-radius: 99px; background: rgba(15,23,42,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: clamp(7.5px, 3.1cqi, 10.5px); font-weight: 700; }
.mp-found i { width: 1.8cqi; height: 1.8cqi; border-radius: 99px; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.mp-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 4cqi 0 2.4cqi; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent); }
.mp-shutter { width: clamp(16px, 7.5cqi, 26px); height: clamp(16px, 7.5cqi, 26px); border-radius: 99px; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 0 4px rgba(255,255,255,.9); }
.reveal.in .mp-found { animation: ml-in .35s ease-out 1.15s both; }
.multi-arrow { justify-self: center; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); transform: rotate(90deg); }
.multi-list { display: grid; gap: 8px; width: 100%; max-width: 340px; justify-self: center; }
.multi-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 14px -12px rgba(15,23,42,.35); }
.multi-list b { display: block; font-size: .82rem; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.multi-list small { display: block; font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-orange { background-image: linear-gradient(135deg, #EA580C, #FB923C); }
.av-green { background-image: linear-gradient(135deg, #15803D, #34D399); }
.ml-ok { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; background: #DCFCE7; color: #15803D; }
.multi-list .ml-total { justify-content: center; gap: 6px; border: 0; box-shadow: none; background: transparent; padding: 2px 0 0; font-size: .75rem; font-weight: 700; color: #15803D; }
/* Plays when the card scrolls in (.reveal.in): beam, boxes 1-2-3, then the contacts */
.reveal.in .mp-beam { animation: mp-beam 1.1s cubic-bezier(.45,0,.55,1) .2s both; }
@keyframes mp-beam { 0% { top: -46px; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.reveal.in .mc-box { animation: mc-found .35s ease-out both; }
.reveal.in .mc:nth-of-type(1) .mc-box { animation-delay: .55s; }
.reveal.in .mc:nth-of-type(2) .mc-box { animation-delay: .75s; }
.reveal.in .mc:nth-of-type(3) .mc-box { animation-delay: .95s; }
@keyframes mc-found { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
.reveal.in .multi-list li { animation: ml-in .4s ease-out both; }
.reveal.in .multi-list li:nth-child(1) { animation-delay: 1.15s; }
.reveal.in .multi-list li:nth-child(2) { animation-delay: 1.3s; }
.reveal.in .multi-list li:nth-child(3) { animation-delay: 1.45s; }
.reveal.in .multi-list li:nth-child(4) { animation-delay: 1.65s; }
@keyframes ml-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.search-box { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: #F8FAFC; }
.search-box input { flex: 1; background: transparent; outline: none; font-size: .92rem; min-width: 0; }
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); background: #fff; }
.s-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: .85rem; }
.s-row + .s-row { border-top: 1px solid #F1F5F9; }
.s-row mark { background: color-mix(in srgb, var(--brand) 18%, transparent); color: inherit; border-radius: 3px; }

.cta-band { border-radius: 32px; background: #0F172A; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), radial-gradient(500px 260px at 0% 100%, color-mix(in srgb, var(--brand-2) 30%, transparent), transparent 70%); }
.cta-band > * { position: relative; }

/* Scroll reveal (demo.js adds .in) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.bento.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
