/* h1902y landing page DS v1. GENERATED by scripts/ds/build-css.mjs; edit scripts/ds/components.css or globals.css.
   Link: <link rel="stylesheet" href="https://h1902y.com/ds/v1/ds.css">. Fonts (Geist, Geist Mono, Instrument Serif,
   Inter Tight) come from Google Fonts: see docs/design-system.md. Light only. Breaking change = /ds/v2/. */
:root {
    color-scheme: light;
    --background: #fcfbf8;
    --foreground: #292421;
    --card: #ffffff;
    --primary: #c2462b;
    --primary-hover: #a93c24;
    --plum: #b8432a;
    --ink: #1c2420;
    --brand: #db5235;
    --brand-tint: #fbe4da;
    --muted: #f5f4f1;
    --muted-foreground: #6b6560;
    --border: #e6e4de;
    --destructive: #c8364a;
    --ring: #db5235;
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --shadow-soft: 0 1px 2px rgba(22, 15, 12, 0.04), 0 12px 32px -16px rgba(22, 15, 12, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --display: 'Inter Tight', 'Geist', ui-sans-serif, sans-serif;
}
* { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--background); color: var(--foreground); font: 400 16px/1.6 'Geist', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  ::selection { background: var(--primary); color: #fff; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; text-wrap: balance; }
  em.a { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--plum); letter-spacing: -.01em; }
  .nowrap { white-space: nowrap; }
  .container { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
  @media (min-width: 640px) { .container { padding: 0 32px; } }
  .display-xl { font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; }
  .display-md { font-size: clamp(1.875rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
  .display-lg { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
  .title { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
  .muted { color: var(--muted-foreground); }
  .mono { font: 400 11px 'Geist Mono', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }

  /* Cta */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; font: 400 14px 'Geist', sans-serif; height: 44px; padding: 0 20px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
  .btn.lg { height: 48px; padding: 0 24px; font-size: 16px; }
  .btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
  .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px -12px rgba(194,70,43,.6); }
  .btn-primary:hover { background: var(--primary-hover); }
  .btn-secondary { background: var(--card); color: var(--foreground); border: 1px solid rgba(41,36,33,.1); }
  .btn-secondary:hover { border-color: rgba(41,36,33,.25); }
  .btn-ghost { background: none; color: var(--foreground); }
  .btn-ghost:hover { color: var(--plum); }
  .arrow::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat; }

  /* Header */
  header.site { position: sticky; top: 0; z-index: 50; height: 72px; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
  header.site.scrolled { background: rgba(252,251,248,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(41,36,33,.08); }
  header.site .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
  @media (min-width: 768px) { header.site .container { display: grid; grid-template-columns: 1fr auto 1fr; } }
  .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
  .logo img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
  .logo b { font: 400 18px var(--display); letter-spacing: -.02em; color: var(--ink); }
  .logo span { font-size: 14px; color: var(--muted-foreground); margin-left: 2px; }
  nav.primary { display: none; gap: 36px; }
  nav.primary a { font-size: 14px; color: rgba(41,36,33,.65); text-decoration: none; }
  nav.primary a:hover { color: var(--ink); }
  @media (min-width: 768px) { nav.primary { display: flex; } }

  /* Hero: the sky */
  .hero { position: relative; margin-top: -72px; padding: 132px 0 64px; overflow: hidden; text-align: center; }
  @media (min-width: 640px) { .hero { padding: 150px 0 88px; } }
  .hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero .container { position: relative; z-index: 1; }
  .badge { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 9999px; background: rgba(28,36,32,.7); color: #fff; font-size: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-decoration: none; }
  .badge i { width: 7px; height: 7px; border-radius: 50%; background: #9fe3b8; }
  .hero h1 { margin: 24px auto 0; max-width: 56rem; }
  .hero .lede { margin: 24px auto 0; max-width: 42rem; font-size: 18px; line-height: 1.65; color: rgba(41,36,33,.75); }
  @media (min-width: 640px) { .hero .lede { font-size: 20px; } }
  .hero .ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero .fine { margin-top: 24px; font-size: 14px; color: var(--muted-foreground); }

  /* Section + wash */
  section.sec { position: relative; isolation: isolate; padding: 80px 0; }
  @media (min-width: 640px) { section.sec { padding: 112px 0; } }
  .wash { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); pointer-events: none; }
  .sec-head { max-width: 42rem; margin-bottom: 48px; }
  @media (min-width: 640px) { .sec-head { margin-bottom: 64px; } }
  .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .eyebrow { font-size: 14px; color: var(--muted-foreground); margin: 0 0 16px; }
  .sec-head p.intro { margin: 20px 0 0; font-size: 18px; line-height: 1.65; color: var(--muted-foreground); }
  .glass { background: rgba(255,255,255,.6); border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(41,36,33,.05); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .grid3 { display: grid; gap: 20px; }
  .grid4 { display: grid; gap: 20px; }
  @media (min-width: 768px) { .grid3 { grid-template-columns: repeat(3, 1fr); } .grid4 { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
  .card { padding: 28px; }
  .tile { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--ink); margin-bottom: 24px; }
  .header-cta { justify-self: end; }
  .stat { font: 400 clamp(2.5rem, 4vw, 3.25rem)/1 var(--display); letter-spacing: -.05em; color: var(--ink); margin-bottom: 20px; }
  .tile svg { width: 20px; height: 20px; }
  .card h3 { font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.25; }
  .card p { margin: 12px 0 0; line-height: 1.65; color: var(--muted-foreground); }

  ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
  ul.checks li { display: flex; gap: 12px; line-height: 1.6; }
  ul.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: var(--plum); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
  ul.checks b { font-weight: 400; color: var(--ink); }

  /* Pricing */
  .pricing { display: grid; gap: 20px; }
  @media (min-width: 1024px) { .pricing { grid-template-columns: 1.55fr 1fr; } }
  .pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px rgba(194,70,43,.4), 0 30px 80px -40px rgba(219,82,53,.55); }
  .pband { position: relative; height: 112px; overflow: hidden; }
  @media (min-width: 640px) { .pband { height: 160px; } }
  .pband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,#F3B79F 0%,#E58468 38%,#9A6FB6 72%,#4E5A9E 100%); }
  .pband::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.35), transparent 60%); }
  .pband img { position: absolute; z-index: 1; right: 4px; bottom: -20px; width: 160px; }
  @media (min-width: 640px) { .pband img { right: 24px; bottom: -24px; width: 256px; } }
  .pband .tag { position: absolute; z-index: 2; left: 20px; top: 16px; border-radius: 9999px; background: rgba(255,255,255,.9); color: var(--ink); padding: 4px 10px; }
  @media (min-width: 640px) { .pband .tag { left: 32px; top: 20px; padding: 4px 12px; } }
  .pbody { display: grid; gap: 24px; padding: 20px; flex: 1; }
  @media (min-width: 640px) { .pbody { grid-template-columns: 1fr 1.1fr; column-gap: 32px; padding: 32px; } }
  .pbody .k { color: var(--plum); margin: 0; }
  .price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 12px; margin-top: 12px; }
  .price b { font: 400 clamp(2.75rem, 6vw, 4.25rem)/1 var(--display); letter-spacing: -.05em; color: var(--ink); }
  .price span { padding-bottom: 4px; font-size: 14px; color: var(--muted-foreground); }
  .price s { text-decoration-thickness: 1px; }
  .chip { display: inline-block; margin-top: 12px; border-radius: 9999px; background: rgba(184,67,42,.15); color: var(--plum); font-size: 14px; padding: 4px 12px; }
  .pbody .btn { margin-top: 24px; width: 100%; }
  .pbody .small { font-size: 14px; color: var(--muted-foreground); margin: 12px 0 0; text-align: center; }
  .pbody ul.checks { border-top: 1px solid rgba(41,36,33,.1); padding-top: 20px; }
  @media (min-width: 640px) { .pbody ul.checks { border-top: 0; border-left: 1px solid rgba(41,36,33,.1); padding: 0 0 0 32px; } }
  .ccard { padding: 28px; display: flex; flex-direction: column; }
  .ccard .k { color: var(--plum); margin: 0; }
  .ccard h3 { margin-top: 10px; }
  .ccard p { margin: 10px 0 0; line-height: 1.6; color: var(--muted-foreground); font-size: 15px; }
  .receipt { margin: 20px 0 0; border-radius: var(--r-md); background: var(--muted); padding: 16px 18px; font-size: 15px; }
  .receipt div { display: flex; justify-content: space-between; padding: 6px 0; }
  .receipt .neg { color: var(--plum); }
  .receipt .total { border-top: 1px solid rgba(41,36,33,.1); margin-top: 6px; padding-top: 12px; align-items: baseline; }
  .receipt .total b { font: 400 28px var(--display); letter-spacing: -.04em; color: var(--ink); }
  .ccard ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }
  .ccard .next { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted-foreground); }

  /* Founder */
  .founder { display: grid; gap: 32px; align-items: center; padding: 24px; position: relative; overflow: hidden; }
  @media (min-width: 640px) { .founder { grid-template-columns: 180px 1fr; padding: 40px; } }
  .founder img { width: 160px; aspect-ratio: 1; border-radius: var(--r-md); object-fit: cover; object-position: top; }
  @media (min-width: 640px) { .founder img { width: 100%; } }
  .founder p { margin: 12px 0 0; max-width: 42rem; line-height: 1.65; color: var(--muted-foreground); }
  .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .pills .pill-link { font-size: 14px; padding: 6px 14px; border-radius: 9999px; background: var(--card); box-shadow: 0 0 0 1px rgba(194,70,43,.35); color: var(--plum); text-decoration: none; }
  .pills span { font-size: 14px; padding: 6px 14px; border-radius: 9999px; background: var(--card); box-shadow: 0 0 0 1px rgba(41,36,33,.1); color: var(--ink); }

  /* FAQ */
  .faq { max-width: 48rem; border-top: 1px solid rgba(41,36,33,.1); }
  .faq details { border-bottom: 1px solid rgba(41,36,33,.1); padding: 24px 0; }
  .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; font-size: 18px; color: var(--ink); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary span { font: 300 24px 'Geist', sans-serif; color: var(--muted-foreground); transition: transform .3s; }
  .faq details[open] summary span { transform: rotate(45deg); }
  .faq p { margin: 12px 0 0; max-width: 42rem; line-height: 1.65; color: var(--muted-foreground); }

  /* Final */
  .final { text-align: center; }
  .final .ctas { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  footer.site { border-top: 1px solid rgba(41,36,33,.1); padding: 32px 0 48px; font-size: 14px; color: var(--muted-foreground); }
  footer.site .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  footer.site a { text-decoration: none; } footer.site a:hover { color: var(--ink); }

  /* Scroll reveal: content stays visible without JS */
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

  @media (max-width: 640px) { .founder img { width: 120px; } }

  /* Dialog: a modal styled like the Get started form */
  dialog.ds-dialog { border: 0; padding: 0; width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: var(--r-lg); background: var(--card); color: var(--foreground); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 40px 100px -30px rgba(28,36,32,.45); overflow: auto; }
  dialog.ds-dialog::backdrop { background: rgba(28,36,32,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 32px 40px 0; }
  .dlg-head h3 { font-size: 1.75rem; letter-spacing: -.025em; line-height: 1.2; }
  .dlg-head p { margin: 6px 0 0; font-size: 15px; color: var(--muted-foreground); }
  .dlg-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(41,36,33,.1); background: var(--card); cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted-foreground); }
  .dlg-close:hover { border-color: rgba(41,36,33,.25); color: var(--ink); }
  .dlg-body { padding: 24px 40px 36px; }
  .steps-wrap { margin-bottom: 28px; }
  .steps-wrap .mono { color: var(--muted-foreground); }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
  .steps i { display: block; height: 4px; border-radius: 9999px; background: rgba(0,0,0,.1); transition: background-color .3s; }
  .steps i.on { background: var(--primary); }
  fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 24px; }
  fieldset.step legend { padding: 0; margin-bottom: 4px; font: 400 1.25rem var(--display); letter-spacing: -.02em; color: var(--ink); }
  .dlg-grid { display: grid; gap: 20px; }
  @media (min-width: 640px) { .dlg-grid { grid-template-columns: 1fr 1fr; } .dlg-grid .full { grid-column: 1 / -1; } }
  .field { display: grid; gap: 8px; }
  .field > label, .field .q { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink); }
  .field .opt { color: var(--muted-foreground); }
  .field input, .field textarea, .field select { width: 100%; font: 400 16px 'Geist', sans-serif; color: var(--ink); background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: var(--r-sm); padding: 0 16px; height: 48px; transition: border-color .2s, box-shadow .2s; }
  .field textarea { height: auto; min-height: 112px; padding: 12px 16px; line-height: 1.6; resize: vertical; }
  .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
  .field input::placeholder, .field textarea::placeholder { color: rgba(107,101,96,.7); }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,36,32,.15); }
  .field .err { display: none; font-size: 13px; color: var(--destructive); }
  .field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--destructive); }
  .field.invalid .err { display: block; }
  .choices { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
  .choice { display: flex; align-items: center; gap: 12px; cursor: pointer; border-radius: 16px; padding: 12px 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); transition: box-shadow .2s, background-color .2s; }
  .choice:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
  .choice input { position: absolute; opacity: 0; pointer-events: none; }
  .choice::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
  .choice:has(input:checked) { background: rgba(194,70,43,.06); box-shadow: 0 0 0 1px var(--primary); }
  .choice:has(input:checked)::before { background: radial-gradient(circle, #fff 0 4px, var(--primary) 4.5px); box-shadow: none; }
  .choice:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--ring); }
  .choice span { display: block; color: var(--ink); }
  .choice small { display: block; font-size: 14px; color: var(--muted-foreground); }
  .field.invalid .choice { box-shadow: 0 0 0 1px rgba(200,54,74,.5); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips label { cursor: pointer; }
  .chips input { position: absolute; opacity: 0; pointer-events: none; }
  .chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 9999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); font-size: 14px; color: var(--foreground); transition: all .2s; }
  .chips label:hover span { box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
  .chips input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); }
  .chips input:focus-visible + span { box-shadow: 0 0 0 2px var(--ring); }
  .scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .scale label { cursor: pointer; }
  .scale input { position: absolute; opacity: 0; pointer-events: none; }
  .scale span { display: grid; place-items: center; height: 44px; border-radius: 9999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); font: 400 16px var(--display); color: var(--ink); transition: all .2s; }
  .scale label:hover span { box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
  .scale input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); }
  .scale input:focus-visible + span { box-shadow: 0 0 0 2px var(--ring); }
  .field.invalid .scale span { box-shadow: 0 0 0 1px rgba(200,54,74,.5); }
  .scale-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-foreground); }
  .check { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 14px 16px; background: var(--muted); font-size: 15px; color: var(--ink); cursor: pointer; }
  .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary); flex: none; }
  .check.invalid { box-shadow: 0 0 0 1px var(--destructive); }
  .banner { display: none; align-items: flex-start; gap: 8px; border-radius: var(--r-sm); padding: 12px; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
  .banner.show { display: block; }
  .banner.warn { background: rgba(180,83,9,.1); color: #8a4b08; }
  .banner.bad { background: rgba(200,54,74,.1); color: var(--destructive); }
  .dlg-nav { display: flex; gap: 10px; margin-top: 28px; }
  .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: rot .8s linear infinite; display: none; }
  .busy .spin { display: inline-block; } .busy .arrow::after { display: none; }
  @keyframes rot { to { transform: rotate(360deg); } }
  .dlg-note { font-size: 14px; color: var(--muted-foreground); text-align: center; margin: 14px 0 0; }
  dialog.ds-dialog.done .dlg-head, dialog.ds-dialog.done .dlg-body { display: none; }
  dialog.ds-dialog.done .dlg-done { display: block; }
  @media (max-width: 640px) {
    dialog.ds-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
    .dlg-head { padding: 20px 20px 0; } .dlg-body { padding: 20px 20px 24px; }
    .dlg-nav { position: sticky; bottom: 0; background: var(--card); padding: 12px 0 4px; margin-top: 16px; }
  }

  .field.invalid .tz span { box-shadow: 0 0 0 1px rgba(200,54,74,.5); }
  .check > span > span { display: block; }
  .check small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--muted-foreground); }
  @media (max-width: 640px) { .choice { padding: 10px 12px; gap: 10px; align-items: flex-start; } .choice::before { margin-top: 2px; } .choice small { font-size: 13px; } }

  /* Dialog gotcha: showModal() puts the dialog in the top layer, above third-party overlays
     (Razorpay Checkout). Close it before opening them: dsDialog.suspend(dlg) / dsDialog.resume(dlg). */
