/* Duri marketing site, one deliberate light theme (older readers, high contrast; the page does not
   follow dark mode). Layout: split hero with a lit phone stage, a scrolling band of real scam
   openers, card rows, an illustrated family band, a navy closer. Colors come from the app's skin. */
:root {
  --ivory: #FBF8F3;
  --sand: #F3EDE4;
  --white: #FFFFFF;
  --ink: #0B1220;
  --ink-2: #4A5468;
  --navy: #0A1B3F;
  --blue: #1261D8;
  --blue-deep: #0B4BB0;
  --tint: #EAF1FD;
  --line: #E6DFD4;
  --red: #C8231B;
  --red-tint: #FDEDEC;
  --yellow: #FFD60A;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251, 248, 243, .86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 800 1.45rem var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: 1rem; }
.nav nav a:hover { color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; background: var(--blue); color: #fff;
  font: 700 1rem var(--body); text-decoration: none; border: 0; cursor: pointer; padding: 0 20px; min-height: 46px;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -10px rgba(18, 97, 216, .8); transition: transform .15s, background .15s; }
.btn:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-big { min-height: 60px; padding: 0 28px; font-size: 1.1rem; border-radius: 16px; }
.btn-small { min-height: 42px; font-size: .95rem; }
.btn-quiet { background: var(--white); color: var(--navy); box-shadow: 0 0 0 1.5px var(--line) inset; }
.btn-quiet:hover { background: var(--white); box-shadow: 0 0 0 1.5px var(--navy) inset; }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.btn-light:hover { background: var(--tint); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,.5) inset; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }

/* Hero */
.hero { padding-block: 48px 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; font-size: .92rem; font-weight: 700; color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #23A65A; box-shadow: 0 0 0 4px rgba(35,166,90,.18); }
.lede { font-size: 1.25rem; color: var(--ink-2); max-width: 32em; margin: 24px 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: .98rem; color: var(--ink-2); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231261D8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.badges img { height: 40px; width: auto; opacity: .5; filter: grayscale(1); }
.badges img.gp { height: 58px; margin: -9px -8px; }
.badges span { font-size: .88rem; color: var(--ink-2); }

/* Phone stage */
.stage { position: relative; display: grid; justify-items: center; gap: 16px; }
.halo { position: absolute; inset: -40px -60px 60px; background: radial-gradient(closest-side, rgba(18,97,216,.18), rgba(18,97,216,0) 70%),
  radial-gradient(circle at 70% 80%, rgba(255,214,10,.16), transparent 45%); z-index: 0; pointer-events: none; }
.device { position: relative; z-index: 1; width: min(100%, 372px); padding: 12px; border-radius: 52px; background: #101624;
  box-shadow: 0 0 0 2px #2A3142 inset, 0 50px 80px -40px rgba(10, 27, 63, .55), 0 24px 40px -24px rgba(10,27,63,.35); }
.notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 26px; margin-left: -48px; border-radius: 20px; background: #101624; z-index: 2; }
.screen { border-radius: 41px; background: linear-gradient(180deg, #F4F7FD 0%, #FFFFFF 38%); min-height: 600px; padding: 54px 16px 16px;
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; overflow: hidden; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; }
.sim { background: var(--yellow); color: #1A1400; border-radius: 999px; padding: 3px 10px; font-weight: 700; }
.clock { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 700; }
.caller { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px #E8EDF6 inset; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; flex: none; }
.avatar svg { width: 24px; height: 24px; fill: var(--blue); }
.caller-name { font-weight: 700; font-size: 1rem; }
.caller-status { font-size: .86rem; color: var(--ink-2); }
.alert-slot:empty { display: none; }
.alert { background: var(--red-tint); box-shadow: 0 0 0 1.5px var(--red) inset; border-radius: 16px; padding: 10px 12px; font-size: .9rem;
  display: flex; gap: 10px; animation: drop .35s ease-out; line-height: 1.4; }
.alert strong { color: var(--red); display: block; }
.alert .bell { flex: none; animation: ring 1s ease-in-out 2; transform-origin: 50% 10%; }
.alert.helper { background: var(--tint); box-shadow: 0 0 0 1.5px var(--blue) inset; }
.alert.helper strong { color: var(--blue); }
.idle { align-self: center; }
.idle[hidden] { display: none; }
.stopped { background: var(--white); border-radius: 20px; padding: 16px; box-shadow: 0 0 0 1px #E8EDF6 inset, 0 16px 30px -24px rgba(10,27,63,.5); display: grid; gap: 10px; }
.stopped-tag { justify-self: start; background: var(--red-tint); color: var(--red); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 4px 10px; letter-spacing: .01em; }
.stopped p { margin: 0; font-size: 1rem; line-height: 1.45; }
.stopped-why { font-size: .86rem; color: var(--ink-2); }
.bubbles { list-style: none; margin: 0; padding: 0 2px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 360px; scrollbar-width: thin; }
.bubbles:empty { display: none; }
.bubble { padding: 9px 12px; border-radius: 16px; font-size: .93rem; line-height: 1.42; max-width: 92%; animation: rise .3s ease-out; }
.bubble b { font-weight: 700; }
.bubble.caller { background: var(--sand); align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.assistant { background: var(--tint); align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.bubble.caregiver { background: var(--white); box-shadow: 0 0 0 1.5px var(--blue) inset; align-self: flex-end; font-weight: 700; }
.bubble.note { align-self: center; background: none; color: var(--ink-2); font-size: .8rem; padding: 2px; text-align: center; }
.bubble.result { align-self: stretch; max-width: none; background: var(--white); box-shadow: 0 0 0 1px #E8EDF6 inset; font-size: .88rem; white-space: pre-line; }
mark.risk { background: linear-gradient(transparent 62%, rgba(200,35,27,.18) 0); color: var(--red); font-weight: 700; padding: 0 1px; }
.controls { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; background: var(--white); border-radius: 22px; box-shadow: 0 0 0 1px #E8EDF6 inset; }
.play { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--blue); cursor: pointer; display: grid; place-items: center; flex: none;
  box-shadow: 0 10px 20px -10px rgba(18,97,216,.9); animation: pulse 2.4s ease-in-out infinite; }
.play svg { width: 24px; height: 24px; fill: #fff; }
.track { flex: 1; display: grid; gap: 6px; }
.track-label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.progress { height: 5px; border-radius: 3px; background: #E3E9F3; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--blue); transition: width .25s linear; }
.picker { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 440px; }
.picker button, .langs button { font: 700 .9rem var(--body); border-radius: 999px; padding: 9px 15px; cursor: pointer; border: 0;
  background: var(--white); color: var(--navy); box-shadow: 0 0 0 1.5px var(--line) inset; }
.picker button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.langs { position: relative; z-index: 1; display: flex; gap: 6px; }
.langs button { padding: 5px 12px; font-weight: 400; font-size: .85rem; }
.langs button[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--blue) inset; color: var(--blue); font-weight: 700; }

/* Openers band */
.openers { background: var(--navy); color: #fff; overflow: hidden; padding-block: 22px; }
.openers-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.openers-track span { white-space: nowrap; font: 500 1.05rem var(--display); padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.openers:hover .openers-track { animation-play-state: paused; }

/* Sections */
.section-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--blue); margin: 0 0 14px; }
.body-lg { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.body-lg.center { max-width: 30em; }
.fine { font-size: .9rem; color: var(--ink-2); margin-top: 22px; }
.how, .pricing, .faq { padding-block: 110px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.how-card { background: var(--white); border-radius: 24px; padding: 30px 28px; display: grid; gap: 12px; align-content: start; box-shadow: 0 0 0 1px var(--line) inset; }
.how-card p { margin: 0; color: var(--ink-2); }
.ico { width: 52px; height: 52px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  background: var(--tint); border-radius: 16px; padding: 8px; margin-bottom: 8px; }

.family { padding-block: 110px 0; }
.family-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.family-art { position: relative; background: radial-gradient(circle at 50% 55%, #DCE8FC 0 58%, transparent 58.5%); padding: 20px; }
.family-art img { width: 86%; margin-inline: auto; }
.toast { position: absolute; right: 0; bottom: 14%; background: var(--white); border-radius: 18px; padding: 14px 16px; max-width: 250px; display: grid; gap: 2px;
  box-shadow: 0 0 0 1px var(--line) inset, 0 24px 40px -24px rgba(10,27,63,.45); font-size: .92rem; line-height: 1.35; }
.toast strong { color: var(--red); }
.toast span { color: var(--ink-2); }
.family-copy .body-lg { margin: 20px 0 22px; }
.checks { padding: 0; list-style: none; display: grid; gap: 12px; margin: 0 0 32px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231261D8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px)); justify-content: center; gap: 20px; margin-top: 44px; }
.plan { background: var(--white); border-radius: 24px; padding: 30px; display: grid; gap: 12px; align-content: start; box-shadow: 0 0 0 1px var(--line) inset; }
.plan.featured { box-shadow: 0 0 0 2px var(--blue) inset, 0 30px 50px -36px rgba(18,97,216,.6); }
.plan h3 { font-size: 1.1rem; color: var(--ink-2); font-weight: 700; }
.plan .price { font: 800 2.6rem/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.plan .price small { font: 400 1rem var(--body); color: var(--ink-2); letter-spacing: 0; }
.plan p { margin: 0; color: var(--ink-2); }
.plan .btn { margin-top: 10px; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; padding: 20px 24px; box-shadow: 0 0 0 1px var(--line) inset; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.08rem; color: var(--navy); }
.faq summary::after { content: "+"; font: 500 1.5rem/1 var(--display); color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

.closer { margin-top: 120px; background: var(--navy); color: #fff; padding-block: 96px; position: relative; overflow: hidden; }
.closer::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18,97,216,.55), transparent); }
.closer-inner { position: relative; display: grid; gap: 30px; justify-items: start; }
.closer h2 { color: #fff; max-width: 14em; }
.foot { background: var(--navy); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); }
.foot-inner { display: flex; gap: 24px; flex-wrap: wrap; padding-block: 26px 40px; font-size: .9rem; }
.foot a { color: rgba(255,255,255,.7); }
.sticky-cta { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18,97,216,.45), 0 10px 20px -10px rgba(18,97,216,.9); } 50% { box-shadow: 0 0 0 12px rgba(18,97,216,0), 0 10px 20px -10px rgba(18,97,216,.9); } }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 960px) {
  .hero-grid, .family-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { padding-top: 24px; }
  .family-art { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .screen { min-height: 560px; }
  .how, .pricing, .faq, .family { padding-top: 80px; }
  .closer { margin-top: 80px; padding-block: 72px; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30;
    justify-content: center; align-items: center; min-height: 56px; border-radius: 16px; background: var(--blue); color: #fff; font-weight: 700;
    text-decoration: none; box-shadow: 0 18px 30px -12px rgba(10,27,63,.55); }
  .foot-inner { padding-bottom: 96px; }
}

/* Start flow */
.start { max-width: 580px; margin: 32px auto 96px; background: var(--white); border-radius: 28px; padding: 36px 32px; box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -40px rgba(10,27,63,.4); }
.start h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.start .step-count { font-size: .82rem; color: var(--blue); margin: 0 0 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.choices { display: grid; gap: 12px; margin: 26px 0 4px; }
.choice { text-align: left; display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; border: 0; box-shadow: 0 0 0 1.5px var(--line) inset;
  background: var(--white); color: var(--ink); cursor: pointer; font: inherit; }
.choice strong { font-family: var(--display); font-size: 1.25rem; color: var(--navy); }
.choice span { color: var(--ink-2); font-size: .98rem; }
.choice:hover, .choice[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blue) inset; background: var(--tint); }
.field { display: grid; gap: 6px; margin: 20px 0; }
.field label { font-weight: 700; color: var(--navy); }
.field small { color: var(--ink-2); }
.field input { font: inherit; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 0; box-shadow: 0 0 0 1.5px var(--line) inset; background: var(--ivory); color: var(--ink); }
.field input:focus { box-shadow: 0 0 0 2px var(--blue) inset; outline: none; background: var(--white); }
.err { color: var(--red); font-weight: 700; min-height: 1.5em; margin: 8px 0 0; }
.start .btn { width: 100%; margin-top: 10px; min-height: 58px; font-size: 1.08rem; }
.back { background: none; border: 0; color: var(--ink-2); font: inherit; cursor: pointer; padding: 10px 0; margin-top: 6px; }
.next-list { padding-left: 1.2em; display: grid; gap: 14px; }
.start .badges { margin-top: 26px; }
.start .fine, .start .fineprint { font-size: .88rem; color: var(--ink-2); }

.controls { align-self: end; }
.idle { align-self: start; }

/* Legal and help pages */
.doc { max-width: 760px; margin: 40px auto 110px; background: var(--white); border-radius: 28px; padding: 44px 44px 36px; box-shadow: 0 0 0 1px var(--line) inset; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 2.8rem); }
.doc .effective { color: var(--ink-2); font-size: .95rem; margin: 10px 0 28px; }
.doc h2 { font-size: 1.4rem; margin: 34px 0 10px; letter-spacing: -.01em; }
.doc h3 { font-size: 1.1rem; margin: 20px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .summary { background: var(--tint); border-radius: 18px; padding: 18px 22px; margin: 0 0 8px; }
.doc .summary ul { margin: 8px 0 0; }
.doc address { font-style: normal; line-height: 1.6; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: .92rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .doc { padding: 30px 22px; border-radius: 22px; margin-top: 20px; } }
