/* duri.ai home (Orchard). Built from the owner-approved preview by scratchpad port.py; edit here from now on.
   Palette: sage page, custard panel, moss ink and buttons. Display Lexend, body Atkinson Hyperlegible. */
/* Fonts served from duri.ai (SIL Open Font License; Latin subsets from Google Fonts). Other scripts use the system font. */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --husk: #5F7A22; --moss: #2C3810; --custard: #F5D35C; --cream: #FFF8DE; --white: #FFFFFF;
  --scam: #D9363E; --safe: #2E8F5A;
  --bg: #F1F3E6; --surface: #FFFFFF; --ink: #1F2A12; --ink2: #586150; --line: #DDE2CB; --panel: #E4E9D2;
  --btn: #5F7A22; --btn-ink: #FFFFFF; --hero-bg: #F1F3E6; --hero-ink: #1F2A12; --hero-ink2: #586150; --hero-panel: #FBEFC0; --hero-surface: #FFFFFF;
  --sel: #5F7A22; --sel-ink: #FFFFFF;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --disp: "Lexend", "Avenir Next", system-ui, sans-serif; --disp-w: 600; --disp-track: -.035em;
  color-scheme: light;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--disp); font-weight: var(--disp-w); letter-spacing: var(--disp-track); text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.18rem; line-height: 1.3; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--husk); outline-offset: 3px; border-radius: 10px; }
.shell { max-width: 1160px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink);
  font: 700 1.05rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* Nav + logo */
.top { background: var(--hero-bg); color: var(--hero-ink); }
.nav { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: var(--disp-w) 1.55rem var(--disp); letter-spacing: var(--disp-track); }
.logo svg { width: 36px; height: 36px; }
.nav nav { margin-left: auto; display: flex; gap: 24px; font-size: .98rem; color: var(--hero-ink2); }
.nav nav a { text-decoration: none; }

/* Hero: copy + Margaret's calls on one side, the phone on the other */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "copy phone" "ex phone"; gap: 28px 88px; align-items: start; padding-block: 28px 72px; }
.hero .copy { grid-area: copy; } .hero .ex { grid-area: ex; max-width: 560px; } .hero .phone { grid-area: phone; }
.copy { display: grid; gap: 22px; align-content: start; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.04; }
.kicker { font: var(--disp-w) 1.05rem var(--disp); color: #445A14; letter-spacing: -.01em; }
.lede { font-size: 1.15rem; color: var(--hero-ink2); max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.cta small { color: var(--hero-ink2); font-size: .95rem; }
.phone { display: grid; justify-items: center; gap: 14px; }
.device { position: relative; width: 100%; padding: 10px; border-radius: 48px; background: #141709; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 40px 70px -32px rgba(30,35,10,.55); }
.screen { position: relative; border-radius: 39px; overflow: hidden; aspect-ratio: 393 / 852; background: #000; isolation: isolate; }
.sound { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px 0 10px; font-size: .85rem !important; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--hero-surface); color: var(--ink); font-weight: 700; font-size: .96rem; box-shadow: 0 1px 0 var(--line); }
.sound svg { width: 20px; height: 20px; }
.sound svg path { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.sound svg path:first-child { fill: currentColor; stroke: none; }
.sound .w { opacity: .35; }
.sound[aria-pressed="true"] { background: var(--sel); color: var(--sel-ink); }
.sound[aria-pressed="true"] .w { opacity: 1; }

/* The example widget (round 1): two tabs, three calls each, what's playing, language */
.ex { display: grid; gap: 12px; padding: 18px; border-radius: 24px; background: var(--hero-panel); }
.bar { position: absolute; top: 18px; left: 22px; right: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bar .ex-langs { flex-wrap: wrap; padding: 3px; border-radius: 999px; background: rgba(95,122,34,.1); }
.bar .sound { margin-left: auto; }
.ex-title { font: var(--disp-w) 1.05rem var(--disp); letter-spacing: var(--disp-track); }
.ex-langs { display: flex; gap: 2px; }
.ex-langs button { border: 0; background: none; color: var(--hero-ink2); font: 700 .8rem var(--body); padding: 5px 9px; border-radius: 999px; cursor: pointer; }
.ex-langs button[aria-pressed="true"] { background: var(--hero-surface); color: var(--ink); }
.ex-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--hero-panel); }
.ex-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 10px 8px; cursor: pointer; background: none;
  color: var(--hero-ink2); font: 700 .92rem/1.2 var(--body); }
.ex-tabs button[aria-selected="true"] { background: var(--hero-surface); color: var(--ink); box-shadow: 0 1px 2px rgba(30,35,10,.12); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.scam { background: var(--scam); } .dot.safe { background: var(--safe); }
.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ex-list button { width: 100%; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; padding: 10px 10px; border: 0; border-radius: 14px; background: none;
  color: var(--hero-ink); text-align: left; cursor: pointer; font-size: 1rem; line-height: 1.3; }
.ex-list button:hover { background: var(--hero-panel); }
.ex-list .pi { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .7; }
.ex-list .pi svg { width: 10px; height: 10px; fill: currentColor; margin-left: 2px; }
.ex-list button[aria-current="true"] { font-weight: 700; }
.ex-list button[aria-current="true"] .pi { background: var(--sel); color: var(--sel-ink); box-shadow: none; opacity: 1; }
.ex-now { font-size: .93rem; color: var(--hero-ink2); padding: 0 10px; min-height: 2.6em; }
.nudge { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--hero-surface); color: var(--ink); }
.nudge p { font-weight: 700; }
.nudge .btn { justify-self: start; min-height: 46px; }

/* Thorn edge: a row of soft durian spikes where the hero meets the page */
.thorns { height: 13px; background: linear-gradient(135deg, var(--hero-bg) 25%, transparent 25%) -13px 0 / 26px 26px repeat-x, linear-gradient(225deg, var(--hero-bg) 25%, transparent 25%) -13px 0 / 26px 26px repeat-x; }

/* Steps strip */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 56px; border-bottom: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start; }
.step b { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); font: var(--disp-w) 1.05rem var(--disp); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink2); font-size: 1rem; grid-column: 2; }

/* More than a screener */
.more { padding-block: 80px; }
.more .head { display: grid; gap: 12px; max-width: 760px; margin-inline: auto; text-align: center; justify-items: center; }
.more .head p { color: var(--ink2); font-size: 1.12rem; }
.half { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 1.05rem; }
.half svg { width: 24px; height: 24px; }
.feats { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 16px; }
.feat { padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: 0 1px 0 var(--line); display: grid; gap: 8px; align-content: start; }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--panel); display: grid; place-items: center; color: var(--ink); }
.feat .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--ink2); font-size: 1rem; }
.soon { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--panel); color: var(--ink2); font: 700 .7rem/1.5 var(--body); letter-spacing: .06em; text-transform: uppercase; vertical-align: .2em; }

/* Tough outside / sweet inside */
.duo { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.col { padding: 28px 30px; border-radius: 28px; }
.col h3 { font-size: 1.3rem; margin-bottom: 14px; }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.col li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 1.04rem; line-height: 1.45; }
.col li svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tough { background: var(--moss); color: var(--cream); }
.tough li svg { color: var(--custard); }
.sweet { background: #FBEFC0; color: var(--ink); }
.sweet li svg { color: var(--husk); }
.sweet .soon { background: rgba(44,56,16,.1); color: var(--moss); }
/* Emotional beat */
.feel { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 24px 8px; }
.faces-row { display: flex; }
.faces-row img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); margin-left: -14px; }
.faces-row img:first-child { margin-left: 0; }
.feel h2 { max-width: 18ch; }
.feel p { color: var(--ink2); font-size: 1.1rem; }
/* Family */
.family { padding-block: 0; }
.fam { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px; border-radius: 36px; background: var(--panel); }
.fam p { margin-top: 14px; color: var(--ink2); font-size: 1.1rem; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.faces figure { margin: 0; position: relative; }
.faces img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.faces figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 10px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: .85rem; }

/* Price */
.price { padding-block: 0 80px; }
.price-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: 36px; border-block: 1px solid var(--line); }
.price-row big { font: var(--disp-w) clamp(3rem, 6vw, 4.6rem)/1 var(--disp); letter-spacing: var(--disp-track); }
.price-row p { color: var(--ink2); }
.price-row p b { color: var(--ink); display: block; font-size: 1.1rem; }
.fine { margin-top: 18px; font-size: .86rem; color: var(--ink2); max-width: 92ch; }

/* FAQ */
.faq { padding-block: 72px 80px; }
.faq-title { text-align: center; margin-bottom: 32px; }
.faq-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq-cols > div > details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--ink2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink2); max-width: 62ch; }

/* Closer with the mascot */
.closer { background: var(--moss); color: var(--cream); }
.closer .btn { background: var(--custard); color: var(--moss); }
.price-line { margin-top: 0; color: rgba(255,248,222,.85); font-size: 1.1rem; max-width: 60ch; }
.price-line b { color: var(--cream); }
.closer .fine { color: rgba(255,248,222,.7); font-size: .9rem; max-width: 46ch; line-height: 1.4; }
.closer-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px; }
.closer-in { display: grid; gap: 18px; padding-block: 72px; justify-items: center; text-align: center; }
.closer-head { display: flex; align-items: center; justify-content: center; gap: 20px; }
.closer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 6px; }
.closer .fine { text-align: left; }
.closer .tile { flex: none; width: 76px; height: 76px; border-radius: 22px; background: var(--custard); display: grid; place-items: center; }
.closer svg { width: 54px; height: 54px; animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.closer h2 { max-width: none; }

.closer .btn { margin-top: 22px; }
.foot { font-size: .88rem; color: var(--ink2); padding-block: 28px; display: grid; gap: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot .legal { max-width: 90ch; }

/* Look-specific arrangements */
.hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 36px; justify-items: center; text-align: center; }
.hero .copy, .hero .ex, .hero .phone { grid-area: auto; }
.copy { justify-items: center; max-width: 760px; }
.cta { justify-content: center; }
.stage3 { display: grid; grid-template-columns: minmax(0, 380px) 280px; gap: 48px; align-items: start; padding: 76px 48px 40px; position: relative; border-radius: 40px; background: var(--hero-panel); text-align: left; }
.stage3 { align-items: stretch; }
.stage3 .ex { background: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.stage3 .nudge { margin-top: auto; }
.ex-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ex-row .ex-now { padding: 0 0 0 10px; min-height: 0; }
.next { flex: none; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--hero-surface); color: var(--ink); font: 700 .88rem var(--body); cursor: pointer; box-shadow: 0 1px 2px rgba(30,35,10,.12); }
.next:hover { transform: translateY(-1px); }
.phone { align-self: start; }
.ex-tabs { background: rgba(95,122,34,.1); }

@media (max-width: 960px) {
  .stage3 { grid-template-columns: minmax(0, 1fr); padding: 76px 24px 24px; }
  .stage3 .phone { order: -1; width: 100%; }
  .phone .device { width: 290px; max-width: 100%; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam, .faq-cols, .duo { grid-template-columns: minmax(0, 1fr); }
  .faq-cols > div + div > details:first-child { border-top: 0; }
  .price-row { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .feats, .ms { grid-template-columns: minmax(0, 1fr); }
  .fam { padding: 24px; }
  .closer-head { align-items: flex-start; }
  .closer .tile { width: 56px; height: 56px; border-radius: 16px; } .closer svg { width: 40px; height: 40px; }
  .stage3 { padding: 20px 16px 24px; }
  .bar { position: static; flex-wrap: wrap; order: -2; }
  .bar .ex-langs { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Phone-width sticky button; it steps aside while a call plays */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; z-index: 30; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)); justify-content: center; align-items: center; min-height: 54px; border-radius: 999px;
    background: var(--btn); color: var(--btn-ink); font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(30,35,10,.55); }
  .foot { padding-bottom: 96px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The phone's first frame, in the page itself: the lock screen the demo opens on. The demo replaces it
   with the same picture once the page is idle, so nothing jumps and the phone never waits on scripts. */
.screen { container-type: inline-size; }
.poster { position: absolute; inset: 0; background:
  radial-gradient(120% 60% at 20% 8%, rgba(120,160,255,.55), transparent 60%),
  radial-gradient(90% 55% at 90% 100%, rgba(245,176,130,.75), transparent 65%),
  linear-gradient(170deg, #142554 0%, #2B4790 48%, #8E7BB0 78%, #E9B08C 100%); color: #fff; text-align: center; }
.p-date { position: absolute; left: 0; right: 0; top: 24.4cqw; font: 600 5.34cqw/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; opacity: .92; }
.p-time { position: absolute; left: 0; right: 0; top: 28.5cqw; font: 700 24.9cqw/1.08 "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: -.5cqw; opacity: .95; }

.sound .x { opacity: 1; } .sound .w { display: none; }
.sound[aria-pressed="true"] .x { display: none; } .sound[aria-pressed="true"] .w { display: inline; opacity: 1; }

/* Family band: one account, several people */
.band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 32px; border-radius: 28px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.band p { margin-top: 6px; color: var(--ink2); }
.band .faces-row img { border-color: var(--surface); }
@media (max-width: 640px) { .band { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 22px; } }

/* Korean wraps between words, never inside one */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }

.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .p-date { z-index: 1; }
