:root {
  color-scheme: light;
  --accent: #ff7a00;
  --accent-soft: #fff0e1;
  --accent-glow: #ffaf38;
  --bg: #fff6ea;
  --bg-pattern: rgba(255, 126, 27, .09);
  --card: rgba(255, 255, 255, .92);
  --card-solid: #fff;
  --card-muted: #fff8f0;
  --line: #f0dfce;
  --text: #111827;
  --muted: #49617a;
  --shadow: 0 12px 36px rgba(110, 65, 22, .11);
  --header: rgba(255, 255, 255, .88);
  --flow-bg: #edf8ff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #ff851b;
  --accent-soft: rgba(130, 68, 17, .34);
  --accent-glow: #ffc46c;
  --bg: #071d29;
  --bg-pattern: rgba(255, 138, 31, .08);
  --card: rgba(11, 36, 47, .92);
  --card-solid: #0c2530;
  --card-muted: #0a202a;
  --line: #24414c;
  --text: #f7fafc;
  --muted: #b7c4cb;
  --shadow: 0 16px 42px rgba(0, 0, 0, .32);
  --header: rgba(5, 24, 34, .9);
  --flow-bg: #071d29;
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: clip; background: var(--bg); }
body {
  min-width: 300px;
  min-height: 100%;
  overflow-x: clip;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, var(--bg-pattern) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 25%, var(--bg-pattern) 0 3px, transparent 4px),
    linear-gradient(150deg, var(--bg), color-mix(in srgb, var(--bg) 88%, var(--accent) 12%));
  background-size: 42px 42px, 68px 68px, auto;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; }
button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 65%, transparent); outline-offset: 2px; }
.access-shell { min-height: 100svh; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom)); }
.access-card { width: min(100%, 430px); padding: 30px 24px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(18px); }
.access-card > .brand-avatar { width: 88px; height: 88px; margin-bottom: 18px; border: 2px solid color-mix(in srgb, var(--accent) 52%, transparent); }
.brand-lockup { display: block; width: min(100%, 300px); aspect-ratio: 1; margin: -18px auto -24px; object-fit: contain; border-radius: 24px; }
.access-card h1 { margin: 0; font-size: clamp(30px, 9vw, 42px); line-height: 1; letter-spacing: -.045em; }
.access-card > p:not(.eyebrow):not(.access-error):not(.access-hint) { margin: 14px auto 22px; max-width: 330px; color: var(--muted); line-height: 1.5; }
.access-label { display: block; margin: 20px 2px 7px; font-size: 13px; font-weight: 750; text-align: left; }
.access-input { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--card-solid); font: inherit; }
.access-input:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.access-submit { width: 100%; min-height: 52px; margin-top: 14px; }
.access-error { margin: 10px 2px 0; color: #c53f2f; font-size: 13px; text-align: left; }
.access-hint { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.access-loader { width: 34px; height: 34px; margin: 24px auto 4px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: access-spin .75s linear infinite; }
@keyframes access-spin { to { transform: rotate(360deg); } }
.app-shell { width: min(100%, 540px); min-height: 100svh; margin: 0 auto; position: relative; overflow-x: clip; background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: 0 0 80px rgba(0,0,0,.08); }
main { min-width: 0; padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
.app-header { position: sticky; z-index: 50; top: 0; height: calc(68px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(18px); }
.icon-button, .brand-button, .popover-menu button { border: 0; color: inherit; background: transparent; cursor: pointer; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; }
.icon-button:hover { background: var(--accent-soft); }
.icon-button svg { width: 27px; height: 27px; stroke: var(--accent); fill: var(--accent); }
.back-button svg { fill: none; stroke: var(--muted); stroke-width: 2.2; }
.is-hidden { visibility: hidden; }
.brand-button { justify-self: start; display: flex; gap: 10px; align-items: center; padding: 4px; text-align: left; border-radius: 12px; }
.brand-button > span:last-child { display: flex; flex-direction: column; line-height: 1.08; }
.brand-button strong { font-size: 18px; letter-spacing: .02em; }
.brand-button small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.brand-avatar { width: 40px; height: 40px; flex: 0 0 auto; object-fit: cover; border-radius: 50%; background: #0a0a0a; box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.menu-scrim { position: fixed; z-index: 60; inset: 0; background: rgba(0,0,0,.18); backdrop-filter: blur(2px); }
.popover-menu { position: fixed; z-index: 70; top: calc(58px + env(safe-area-inset-top)); left: max(16px, calc(50% + 20px)); width: min(288px, calc(100vw - 32px)); padding: 9px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--card-solid) 94%, transparent); box-shadow: 0 22px 60px rgba(0,0,0,.25); backdrop-filter: blur(22px); animation: menu-in .18s ease-out; }
.popover-menu button { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 13px; padding: 9px 12px; border-radius: 12px; font-weight: 650; text-align: left; }
.popover-menu button:hover { background: var(--accent-soft); }
.popover-menu .icon { color: var(--accent); }
.popover-menu hr { margin: 6px 8px; border: 0; border-top: 1px solid var(--line); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.icon { width: 28px; height: 28px; flex: 0 0 auto; display: inline-grid; place-items: center; color: var(--accent); }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero { position: relative; overflow: hidden; margin: 0 -16px; }
.home-hero { min-height: 310px; padding: 24px 20px; background: radial-gradient(circle at 50% 62%, rgba(255,151,41,.25), transparent 43%); }
.hero-brand { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; }
.hero-brand .brand-avatar { width: 66px; height: 66px; border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.hero-brand > div { display: flex; flex-direction: column; }
.hero-brand b { font-size: clamp(28px, 8vw, 38px); letter-spacing: -.04em; }
.hero-brand span { color: var(--muted); font-size: 15px; }
.hero-token { position: absolute; z-index: 1; inset: 82px 0 0; display: grid; place-items: center; }
.hero-token .brand-avatar { width: 172px; height: 172px; border: 0; box-shadow: 0 0 44px rgba(255,122,0,.32); }
.sound-wave { position: absolute; z-index: -1; width: min(92%, 480px); height: 82px; opacity: .8; background: repeating-linear-gradient(90deg, transparent 0 8px, var(--accent) 9px 12px, transparent 13px 19px); clip-path: polygon(0 45%,5% 38%,10% 48%,15% 24%,20% 42%,25% 12%,30% 38%,35% 20%,40% 44%,45% 8%,50% 40%,55% 8%,60% 44%,65% 20%,70% 38%,75% 12%,80% 42%,85% 24%,90% 48%,95% 38%,100% 45%,100% 55%,95% 62%,90% 52%,85% 76%,80% 58%,75% 88%,70% 62%,65% 80%,60% 56%,55% 92%,50% 60%,45% 92%,40% 56%,35% 80%,30% 62%,25% 88%,20% 58%,15% 76%,10% 52%,5% 62%,0 55%); }
.float-note { position: absolute; z-index: 2; color: var(--accent); font-weight: 900; opacity: .8; }
.note-one { left: 7%; bottom: 55px; font-size: 33px; transform: rotate(-12deg); }
.note-two { right: 5%; top: 20px; font-size: 26px; transform: rotate(12deg); }
.note-three { left: 45%; top: 90px; font-size: 25px; }
.welcome-card { position: relative; z-index: 5; margin-top: -24px; padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, p { overflow-wrap: anywhere; }
.welcome-card h1 { margin: 0; font-size: clamp(31px, 8vw, 43px); line-height: .98; letter-spacing: -.045em; }
.welcome-card h1 span { font-size: .68em; line-height: 1.15; }
.welcome-card > p:last-child { margin: 15px 0 0; color: var(--muted); line-height: 1.5; }
.primary-actions { display: grid; gap: 11px; margin-top: 16px; }
.action-card { width: 100%; min-width: 0; min-height: 92px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 22px; color: var(--text); background: var(--card); box-shadow: 0 5px 18px rgba(0,0,0,.04); text-align: left; cursor: pointer; }
.action-card.featured { border-color: var(--accent); background: linear-gradient(110deg, var(--card), var(--accent-soft)); }
.action-card:not(:disabled):hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.action-card:not(:disabled):focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.action-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.action-card b { font-size: 18px; }
.action-card small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 24px 0; }
.benefits div { min-width: 0; padding: 0 4px; text-align: center; border-right: 1px solid var(--line); }
.benefits div:last-child { border: 0; }
.benefits .icon { width: 32px; height: 32px; margin: 0 auto 7px; }
.benefits span { color: var(--muted); font-size: clamp(10px, 2.8vw, 13px); line-height: 1.25; }
.brand-footer { margin: 24px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--accent); text-align: center; }
.brand-footer strong { font-family: Georgia, serif; font-style: italic; font-size: 20px; }
.brand-footer span { color: var(--muted); font-size: 12px; }
.home-voice-button { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--accent); border-radius: 24px; color: var(--accent); background: var(--card); font-weight: 750; cursor: pointer; }
.home-voice-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-voice-button span { color: inherit; font-size: 13px; }
.page-intro { margin: 18px 0; padding: 18px; display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.page-intro h1, .page-hero h1 { margin: 0; font-size: clamp(28px, 8vw, 40px); letter-spacing: -.04em; line-height: 1; }
.page-intro p:last-child, .page-hero p:last-child { margin: 9px 0 0; color: var(--muted); line-height: 1.4; }
.mini-avatar .brand-avatar { width: 48px; height: 48px; }
.compact-action { min-height: 74px; margin: 12px 0; }
.status-dot { width: 27px; height: 27px; display: grid !important; place-items: center; border-radius: 50%; color: white; background: var(--accent); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice { min-height: 68px; padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--card); text-align: left; cursor: pointer; }
.choice:hover, .choice.selected { border-color: var(--accent); background: var(--accent-soft); }
.choice .icon { width: 25px; height: 25px; }
.choice span:last-child { font-weight: 700; font-size: 14px; }
.stage-boundary, .tip-card { margin: 16px 0; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); border-radius: 17px; color: var(--muted); background: color-mix(in srgb, var(--accent-soft) 45%, var(--card)); font-size: 13px; line-height: 1.45; }
.bottom-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 20%); }
.primary-button, .secondary-button { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 17px; font-weight: 750; cursor: pointer; }
.primary-button { border: 0; color: white; background: linear-gradient(135deg, var(--accent), #ff8c18); }
.primary-button:disabled { opacity: .46; cursor: not-allowed; }
.secondary-button { border: 1px solid var(--line); color: var(--text); background: var(--card); }
.primary-button .icon, .secondary-button .icon { width: 20px; height: 20px; }
.page-hero { min-height: 190px; margin: 0 -16px 18px; padding: 32px 22px 24px; position: relative; overflow: hidden; display: flex; align-items: center; background: radial-gradient(circle at 90% 30%, var(--accent-soft), transparent 53%); }
.page-hero > div:first-child { position: relative; z-index: 2; width: 68%; }
.page-token { position: absolute; right: 12px; bottom: 18px; width: 125px; height: 125px; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 0 35px color-mix(in srgb, var(--accent) 28%, transparent); }
.page-token .brand-avatar { width: 116px; height: 116px; }
.empty-state { min-height: 260px; padding: 36px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 24px; background: var(--card); text-align: center; }
.empty-state .icon { width: 58px; height: 58px; }
.empty-state h2 { margin: 17px 0 6px; }
.empty-state p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.5; }
.single-back { margin: 18px 0 0; }
.single-back button { width: 100%; }
.neutral-list { display: grid; gap: 10px; }
.neutral-list > div { min-height: 82px; padding: 15px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 19px; background: var(--card); }
.neutral-list span { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.neutral-list small { color: var(--muted); }
.neutral-list em { color: var(--muted); font-size: 25px; font-style: normal; }
.steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 62px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--card); }
.steps li > button, .steps li > div { width: 100%; min-height: 62px; display: grid; grid-template-columns: 34px 32px minmax(0, 1fr) 25px; align-items: center; gap: 10px; padding: 10px 13px; border: 0; color: var(--text); background: transparent; text-align: left; }
.steps li > button { cursor: pointer; }
.steps li.available:hover { border-color: var(--accent); background: var(--accent-soft); }
.steps li > button > span:first-child, .steps li > div > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-weight: 800; }
.steps p { margin: 0; color: var(--muted); }
.steps small { color: var(--muted); font-size: 10px; }
.tip-card { display: flex; gap: 12px; align-items: flex-start; }
.tip-card p { margin: 0; }
.support-list { display: grid; gap: 9px; }
.support-list button { min-height: 72px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 22px; gap: 3px 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--card); text-align: left; }
.support-list button { cursor: pointer; }
.support-list button:hover { border-color: var(--accent); background: var(--accent-soft); }
.support-list .icon:last-child { width: 22px; height: 22px; color: var(--muted); }
.support-list span { font-weight: 700; }
.support-list small { color: var(--muted); }
.support-action { margin-top: 10px; }
.support-form { display: grid; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.support-form label { display: grid; gap: 7px; font-weight: 700; }
.support-form label > span small { color: var(--muted); font-weight: 500; }
.support-form select, .support-form textarea, .support-form input { width: 100%; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: var(--card-solid); font: inherit; }
.support-form select, .support-form input { min-height: 50px; padding: 10px 13px; }
.support-form textarea { min-height: 132px; padding: 13px; resize: vertical; line-height: 1.45; }
.support-form select:focus, .support-form textarea:focus, .support-form input:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 15%, transparent); }
.support-context { display: flex; gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--card-muted); }
.support-context span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.support-context small { color: var(--muted); line-height: 1.35; }
.support-form-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.support-feedback { margin: 13px 0; padding: 13px 15px; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--accent-soft) 45%, var(--card)); }
.support-feedback.success { border-color: #44a66e; }
.support-feedback.error { border-color: #d45a4d; }
.support-feedback p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.document-list { display: grid; gap: 9px; }
.document-list button, .document-list a { min-height: 64px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 11px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--card); text-align: left; cursor: pointer; text-decoration: none; }
.document-list button:hover, .document-list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.document-list button .icon:last-child, .document-list a .icon:last-child { width: 21px; height: 21px; color: var(--muted); }
.document-list span { display: flex; flex-direction: column; gap: 3px; font-weight: 700; }
.document-list small { color: var(--muted); font-weight: 500; }
.document-list .unavailable { opacity: .68; }
.legal-consent { margin: 18px 0 4px; padding: 14px; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 17px; background: var(--card); cursor: pointer; }
.legal-consent:has(input:disabled) { cursor: wait; }
.legal-consent input { position: absolute; opacity: 0; }
.legal-consent > span { width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid var(--accent); border-radius: 6px; color: white; }
.legal-consent input:checked + span, .legal-consent.accepted > span { background: var(--accent); }
.legal-consent p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.legal-consent a { color: var(--accent); font-weight: 700; }
.legal-consent small { display: block; margin-top: 5px; color: #c53f2f; }
.legal-consent.error { border-color: #d45a4d; }
.action-card:disabled, .home-voice-button:disabled { opacity: .48; cursor: not-allowed; }
.result-support { width: 100%; margin-top: 8px; color: var(--muted); }
.settings-card { margin: 12px 0; padding: 15px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.settings-card h2 { margin: 0 0 13px; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.settings-card h2 .icon { width: 24px; height: 24px; }
.theme-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.theme-picker button { min-height: 58px; display: flex; gap: 9px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--card-muted); cursor: pointer; }
.theme-picker button.selected { border-color: var(--accent); background: var(--accent-soft); }
.theme-picker i { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; }
.theme-picker button.selected i { border: 5px solid var(--accent); }
.moon { color: var(--accent); font-size: 29px; line-height: 0; }
.setting-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.setting-row:first-of-type { border-top: 0; }
.setting-row > span { display: flex; flex-direction: column; gap: 3px; }
.setting-row small { color: var(--muted); }
.setting-row.disabled { opacity: .65; }
.switch { width: 51px; height: 29px; flex: 0 0 auto; padding: 3px; border: 0; border-radius: 20px; background: #aeb8bd; }
.switch i { display: block; width: 23px; height: 23px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.25); }
.switch.on { background: var(--accent); }
.switch.on i { margin-left: 22px; }
.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; }
.flow-screen { min-height: calc(100svh - 68px); margin: 0 -16px; padding: 18px 16px 104px; background: var(--flow-bg); background-image: radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 13%, transparent) 0 2px, transparent 3px), radial-gradient(circle at 85% 32%, color-mix(in srgb, #3aaeff 12%, transparent) 0 2px, transparent 3px); background-size: 48px 48px, 64px 64px; }
.flow-intro { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: start; margin-bottom: 14px; }
.flow-avatar .brand-avatar { width: 48px; height: 48px; }
.flow-message { position: relative; padding: 15px 17px; border: 1px solid var(--line); border-radius: 20px 20px 20px 7px; background: var(--card); box-shadow: 0 5px 18px rgba(21, 72, 100, .08); }
.flow-message h1 { margin: 2px 0 7px; font-size: clamp(22px, 6vw, 30px); line-height: 1.08; letter-spacing: -.025em; }
.flow-message p { margin: 0; color: var(--muted); line-height: 1.4; }
.flow-progress { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.compact-action.selected { box-shadow: inset 0 0 0 1px var(--accent); }
.choice { position: relative; }
.choice-check { margin-left: auto; color: var(--accent); font-size: 17px; }
.flow-input-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; margin-top: 13px; align-items: center; }
.flow-input-row label { min-width: 0; }
.flow-input-row input, .details-card textarea { width: 100%; border: 1px solid color-mix(in srgb, #5aaee4 50%, var(--line)); color: var(--text); background: var(--card); outline: none; }
.flow-input-row input { height: 52px; padding: 0 17px; border-radius: 28px; }
.flow-input-row input:focus, .details-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.flow-input-row input::placeholder, .details-card textarea::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }
.mic-button { width: 46px; height: 46px; display: grid; place-items: center; padding: 8px; border: 0; border-radius: 50%; color: var(--accent); background: transparent; cursor: pointer; }
.mic-button:disabled { color: var(--muted); cursor: not-allowed; opacity: .45; }
.mic-button.recording { color: white; background: #e54838; box-shadow: 0 0 0 7px color-mix(in srgb, #e54838 20%, transparent); animation: mic-pulse 1.25s ease-in-out infinite; }
.mic-button svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mic-pulse { 50% { box-shadow: 0 0 0 13px color-mix(in srgb, #e54838 5%, transparent); } }
.flow-actions { margin-inline: -1px; background: linear-gradient(transparent, var(--flow-bg) 22%); }
.details-card { position: relative; margin-top: 12px; padding: 18px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.details-card > .icon { width: 32px; height: 32px; }
.details-card h2 { margin: 0 0 5px; font-size: 18px; }
.details-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.details-card label { grid-column: 1 / 3; }
.details-card textarea { min-height: 118px; padding: 14px 48px 14px 14px; resize: vertical; border-radius: 16px; font: inherit; line-height: 1.45; }
.details-mic { position: absolute; right: 20px; bottom: 23px; }
.ready-hero { padding: 24px 19px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 24px; background: linear-gradient(135deg, var(--card), var(--accent-soft)); text-align: center; box-shadow: var(--shadow); }
.ready-hero > .icon { width: 50px; height: 50px; }
.ready-hero h1 { margin: 5px 0 10px; font-size: clamp(29px, 8vw, 39px); line-height: 1; letter-spacing: -.04em; }
.ready-hero p:last-child { margin: 0; color: var(--muted); line-height: 1.45; }
.song-summary { display: grid; gap: 8px; margin-top: 14px; }
.song-summary button { min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--card); text-align: left; cursor: pointer; }
.song-summary button:hover { border-color: var(--accent); }
.song-summary button > span:first-child { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.song-summary small { color: var(--muted); }
.song-summary b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.song-summary .icon { width: 23px; height: 23px; }
.reset-draft { width: 100%; }
.assistant-note { display: grid; grid-template-columns: 50px 1fr; gap: 11px; align-items: start; margin-bottom: 14px; }
.assistant-avatar .brand-avatar { width: 48px; height: 48px; }
.assistant-note > div:last-child { padding: 13px 15px; border: 1px solid var(--line); border-radius: 19px 19px 19px 7px; background: var(--card); box-shadow: 0 5px 18px rgba(21, 72, 100, .08); }
.assistant-note h1 { margin: 0 0 5px; font-size: 18px; }
.assistant-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.lyrics-card, .final-song-card { padding: 17px; border: 1.5px solid color-mix(in srgb, var(--accent) 70%, var(--line)); border-radius: 21px; background: var(--card); box-shadow: var(--shadow); }
.lyrics-card > header, .final-song-card > header { display: flex; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.lyrics-card header > .icon, .final-song-card header > .icon { width: 28px; height: 28px; color: var(--accent); }
.lyrics-card h2, .final-song-card h2 { flex: 1; margin: 0; font-size: 20px; }
.lyrics-pencil { width: 38px; height: 38px; display: grid; place-items: center; padding: 7px; border: 0; color: var(--accent); background: transparent; cursor: pointer; }
.lyrics-pencil .icon { width: 26px; height: 26px; }
.lyrics-copy { margin: 0; padding: 16px 2px 9px; max-height: 52svh; overflow: auto; white-space: pre-wrap; color: var(--text); background: transparent; font: inherit; line-height: 1.62; }
.lyrics-card footer { margin-top: 8px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.lyrics-editor { width: 100%; min-height: 52svh; margin-top: 14px; padding: 13px; resize: vertical; border: 1px solid var(--accent); border-radius: 15px; color: var(--text); background: var(--card-muted); font: inherit; line-height: 1.55; outline: none; }
.lyrics-edit-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 9px; margin-top: 10px; }
.lyrics-command { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; margin-top: 13px; }
.lyrics-command label { min-width: 0; }
.lyrics-command textarea { width: 100%; min-height: 54px; max-height: 150px; padding: 14px 16px; resize: vertical; border: 1px solid color-mix(in srgb, #5aaee4 50%, var(--line)); border-radius: 20px; color: var(--text); background: var(--card); font: inherit; line-height: 1.4; outline: none; }
.lyrics-command textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.lyrics-command-submit { grid-column: 1 / 3; width: 100%; }
.final-song-card dl { margin: 8px 0 14px; }
.final-song-card dl div { display: grid; grid-template-columns: minmax(95px, .8fr) 1.4fr; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.final-song-card dt { color: var(--muted); }
.final-song-card dd { margin: 0; font-weight: 750; }
.final-song-card h3 { display: flex; align-items: center; gap: 8px; margin: 15px 0 0; font-size: 17px; }
.final-song-card h3 .icon { width: 24px; height: 24px; color: var(--accent); }
.final-copy { max-height: 35svh; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--card-muted); }
.final-slogan { display: grid; place-items: center; gap: 3px; padding: 16px 0 2px; color: var(--muted); }
.final-slogan b { color: var(--accent); font-size: 23px; font-style: italic; }
.boundary-card { padding: 28px 20px; border: 1px solid color-mix(in srgb, var(--accent) 52%, var(--line)); border-radius: 25px; background: linear-gradient(145deg, var(--card), var(--accent-soft)); text-align: center; box-shadow: var(--shadow); }
.boundary-card .brand-avatar { width: 78px; height: 78px; }
.boundary-card h1 { margin: 5px 0 10px; font-size: clamp(28px, 8vw, 39px); line-height: 1.05; }
.boundary-card p:last-child, .lyrics-empty p { color: var(--muted); line-height: 1.5; }
.lyrics-empty { padding: 28px 20px; border-radius: 22px; background: var(--card); text-align: center; }
.music-generation-hero { padding: 12px 12px 20px; text-align: center; }
.music-orbit { position: relative; width: 178px; height: 178px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, var(--card)) 0 35%, color-mix(in srgb, var(--accent) 12%, transparent) 36% 58%, transparent 59%); box-shadow: 0 0 55px color-mix(in srgb, var(--accent) 28%, transparent); }
.music-orbit::before, .music-orbit::after { content: ''; position: absolute; inset: 20px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 50%; animation: music-ring 2.4s ease-in-out infinite; }
.music-orbit::after { inset: 5px; animation-delay: .8s; }
.music-orbit .brand-avatar { width: 108px; height: 108px; z-index: 1; filter: drop-shadow(0 8px 16px rgba(0,0,0,.2)); }
.music-note { position: absolute; z-index: 2; right: 18px; bottom: 25px; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 27px; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent); }
@keyframes music-ring { 50% { transform: scale(1.08); opacity: .42; } }
.music-generation-hero h1 { margin: 0 0 7px; font-size: clamp(29px, 8vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.music-generation-hero p { max-width: 390px; margin: 0 auto; color: var(--muted); line-height: 1.45; }
.generation-steps { display: grid; gap: 0; margin: 0; padding: 18px; list-style: none; border: 1px solid var(--line); border-radius: 23px; background: var(--card); box-shadow: var(--shadow); }
.generation-steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; min-height: 74px; }
.generation-steps li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 43px; bottom: 3px; border-left: 2px dashed var(--line); }
.generation-steps li > span { position: relative; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; color: white; font-weight: 900; }
.generation-steps li.done > span { border-color: var(--accent); background: var(--accent); }
.generation-steps li.active > span { border-color: var(--accent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 13%, transparent); }
.generation-steps li.active > span i { width: 14px; height: 14px; border: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); border-radius: 50%; animation: voice-spin .8s linear infinite; }
.generation-steps li div { padding-top: 2px; }
.generation-steps b, .generation-steps small { display: block; }
.generation-steps b { margin-bottom: 4px; font-size: 17px; }
.generation-steps small { color: var(--muted); line-height: 1.35; }
.generation-wait { display: flex; justify-content: center; gap: 12px; align-items: center; padding: 20px 8px 4px; color: var(--muted); }
.generation-wait > span { color: var(--accent); font-size: 26px; }
.generation-wait b, .generation-wait small { display: block; }
.generation-wait small { margin-top: 3px; }
.music-error { margin-top: 14px; padding: 18px; border: 1px solid color-mix(in srgb, #d85848 55%, var(--line)); border-radius: 19px; background: color-mix(in srgb, #d85848 8%, var(--card)); }
.music-error > b { font-size: 18px; }
.music-error p { margin: 7px 0 14px; color: var(--muted); line-height: 1.45; }
.music-error button { width: 100%; }
.result-loading { min-height: 58svh; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; }
.result-loading h1, .result-loading p { margin: 0; }
.result-loading p { color: var(--muted); }
.result-ready-note { display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.result-ready-note > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 23px; font-weight: 900; }
.result-ready-note h1 { margin: 0 0 4px; font-size: 21px; }
.result-ready-note p { margin: 0; color: var(--accent); font-weight: 650; }
.locked-song-card { padding: 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); border-radius: 25px; background: var(--card); box-shadow: var(--shadow); }
.approved-cover { position: relative; aspect-ratio: 1.52; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 50% 45%, #ffc965, #ff8a00 66%, #dc5f00); }
.approved-cover::before, .approved-cover::after { content: '♪  ✦  ♡'; position: absolute; z-index: 2; color: white; font-size: 24px; letter-spacing: 22px; opacity: .75; }
.approved-cover::before { left: 17px; top: 15px; }
.approved-cover::after { right: -5px; bottom: 12px; transform: rotate(-9deg); }
.approved-cover img { position: absolute; z-index: 1; width: 76%; height: auto; left: 12%; top: -10%; border-radius: 50%; mix-blend-mode: normal; filter: drop-shadow(0 12px 18px rgba(92, 35, 0, .28)); }
.approved-song-cover { position: relative; overflow: hidden; aspect-ratio: 1.42; border-radius: 18px; background: #ffb34d; }
.approved-song-cover img { position: absolute; max-width: none; width: 390%; height: auto; left: -64.5%; top: -119%; }
[data-theme="dark"] .approved-song-cover img { left: -222.5%; }
.result-song-cover { width: 100%; }
.song-heading { display: flex; gap: 12px; align-items: start; padding: 12px 3px 9px; }
.song-heading > div { min-width: 0; flex: 1; }
.song-heading h2 { margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; }
.song-heading p { margin: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.song-heading > span { color: var(--accent); font-size: 27px; line-height: 1; }
.locked-song-card audio { display: none; }
.preview-controls { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 11px; align-items: center; padding: 3px 1px 5px; }
.preview-play { width: 54px; height: 54px; display: grid; place-items: center; padding: 0 0 0 3px; border: 0; border-radius: 50%; color: white; background: linear-gradient(145deg, #ff9a16, #ff6500); box-shadow: 0 7px 17px rgba(255, 111, 0, .3); font-size: 22px; cursor: pointer; }
.preview-timeline { position: relative; min-width: 0; }
.preview-timeline input { width: 100%; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.preview-timeline > i { position: absolute; left: calc(100% - 4px); top: -2px; width: 18px; height: 25px; pointer-events: none; }
.preview-timeline > i::before { content: '🔒'; position: absolute; right: 0; top: -8px; font-style: normal; font-size: 17px; }
.preview-timeline > div { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: -2px; color: var(--muted); font-size: 12px; }
.preview-timeline > div b { color: var(--accent); font-weight: 700; }
.preview-timeline > div span:last-child { text-align: right; }
.preview-state { min-height: 64px; display: flex; gap: 11px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--card-muted); }
.preview-state > div { min-width: 0; flex: 1; }
.preview-state b, .preview-state small { display: block; }
.preview-state small { margin-top: 3px; color: var(--muted); }
.preview-state.error > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: #d85848; font-weight: 900; }
.preview-state .secondary-button { width: auto; min-height: 42px; padding: 0 13px; }
.locked-explanation { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; margin-top: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.locked-explanation > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); font-size: 23px; }
.locked-explanation b { display: block; margin-bottom: 4px; }
.locked-explanation p { margin: 0; color: var(--muted); line-height: 1.42; }
.locked-explanation.entitled { border-color: color-mix(in srgb, #25a46f 55%, var(--line)); }
.locked-explanation.entitled > span { color: white; background: #25a46f; font-weight: 900; }
.paywall-actions { display: grid; gap: 10px; margin-top: 13px; }
.unlock-button { min-height: 58px; font-size: 16px; box-shadow: 0 10px 25px rgba(255, 111, 0, .25); }
.packages-button { min-height: 56px; }
.packages-button .icon { margin-left: auto; }
.locked-footnote { margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.paywall-dialog .dialog-icon { font-size: 21px; }
.unlocked-song-card audio { display: none; }
.full-timeline > i { display: none; }
.full-timeline > div { grid-template-columns: auto 1fr auto; }
.unlocked-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.unlocked-actions .secondary-button { min-height: 54px; padding: 0 10px; }
.my-songs-note { margin-bottom: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 18px; color: var(--muted); background: var(--card); line-height: 1.42; }
.songs-list { display: grid; gap: 10px; }
.song-list-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--card); box-shadow: var(--shadow); }
.song-open { width: 100%; display: grid; grid-template-columns: 82px minmax(0, 1fr) 20px; gap: 11px; align-items: center; padding: 9px 62px 9px 9px; border: 0; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.song-open > span { min-width: 0; }
.song-open b, .song-open small, .song-open em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-open b { font-size: 15px; }
.song-open small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.song-open em { margin-top: 4px; color: var(--accent); font-size: 11px; font-style: normal; font-weight: 750; }
.song-open > .icon { color: var(--accent); }
.song-thumbnail { width: 82px; border-radius: 13px; }
.song-list-play { position: absolute; z-index: 2; right: 31px; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; color: white; background: var(--accent); cursor: pointer; }
.song-list-play:disabled { color: var(--muted); background: var(--card-muted); cursor: default; }
.songs-signature { margin: 18px 0 5px; color: var(--accent); text-align: center; font-weight: 750; }
.balance-card { display: flex; align-items: center; gap: 15px; margin-bottom: 13px; padding: 18px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.balance-card > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.balance-card .icon { width: 28px; height: 28px; }
.balance-card div { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 12px; }
.balance-card small { color: var(--muted); font-weight: 700; }
.balance-card b { color: var(--accent); font-size: 34px; line-height: 1; }
.billing-section { margin-top: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.billing-section h2 { margin: 0 0 11px; font-size: 18px; }
.billing-history-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.billing-history-row:first-of-type { border-top: 0; }
.billing-history-row span { min-width: 0; flex: 1; }
.billing-history-row b, .billing-history-row small, .billing-empty b, .billing-empty small { display: block; }
.billing-history-row small, .billing-empty small { margin-top: 4px; color: var(--muted); line-height: 1.4; }
.billing-history-row em { white-space: nowrap; color: var(--text); font-style: normal; font-weight: 800; }
.billing-empty { padding: 13px; border-radius: 15px; background: var(--card-muted); }
.package-options { display: grid; gap: 9px; }
.package-option { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--card-muted); text-align: left; cursor: pointer; }
.package-option:not(:disabled):hover, .package-option:not(:disabled):focus-visible { border-color: var(--accent); }
.package-option span { min-width: 0; flex: 1; }
.package-option b, .package-option small { display: block; }
.package-option small { margin-top: 4px; color: var(--muted); line-height: 1.35; }
.package-option em { white-space: nowrap; color: var(--accent); font-size: 18px; font-style: normal; font-weight: 850; }
.package-option:disabled { opacity: .55; cursor: not-allowed; }
.voice-status { margin: 0 0 13px; min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 5px 18px rgba(21, 72, 100, .07); color: var(--muted); font-size: 13px; }
.voice-status span:nth-child(2) { flex: 1; font-weight: 700; color: var(--text); }
.voice-status small { display: none; }
.recording-status { border-color: color-mix(in srgb, #e54838 55%, var(--line)); }
.recording-status > i { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: #e54838; animation: recording-dot 1s ease-in-out infinite; }
.recording-status > b { color: #e54838; font-variant-numeric: tabular-nums; }
@keyframes recording-dot { 50% { opacity: .25; } }
.voice-spinner { width: 20px; height: 20px; flex: 0 0 auto !important; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: voice-spin .8s linear infinite; }
@keyframes voice-spin { to { transform: rotate(360deg); } }
.success-status { border-color: color-mix(in srgb, #25a46f 45%, var(--line)); }
.success-status > span:first-child { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: #25a46f; font-weight: 900; }
.dialog-scrim { position: fixed; z-index: 100; inset: 0; display: grid; place-items: end center; padding: 18px max(16px, calc((100vw - 540px) / 2 + 16px)) max(18px, env(safe-area-inset-bottom)); background: rgba(0, 12, 18, .58); backdrop-filter: blur(7px); }
.voice-dialog { width: min(100%, 508px); padding: 23px; border: 1px solid var(--line); border-radius: 25px; color: var(--text); background: var(--card-solid); box-shadow: 0 25px 70px rgba(0,0,0,.35); animation: dialog-in .2s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px); } }
.dialog-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 50%; color: white; background: var(--accent); font-size: 24px; font-weight: 900; }
.dialog-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.dialog-icon.success { background: #25a46f; }
.dialog-icon.error { background: #d85848; }
.voice-dialog h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.voice-dialog > p { margin: 9px 0 17px; color: var(--muted); line-height: 1.45; }
.voice-dialog textarea { width: 100%; min-height: 132px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--card-muted); resize: vertical; font: inherit; line-height: 1.45; outline: none; }
.voice-dialog textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.dialog-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; margin-top: 17px; }
.dialog-actions.single { grid-template-columns: 1fr; }
.text-button { margin-top: 8px; padding: 8px 2px; border: 0; color: var(--accent); background: transparent; font-weight: 750; cursor: pointer; }
@media (max-width: 370px) {
  main { padding-inline: 11px; }
  .hero, .page-hero { margin-inline: -11px; }
  .choice-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .benefits div:nth-child(2) { border-right: 0; }
  .popover-menu { left: 16px; }
}
@media (min-width: 700px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100svh - 48px); border-radius: 28px; overflow: clip; }
  .app-header { top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
