@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f2e7db;
  --bg-soft: #f8f0e7;
  --text: #2b201c;
  --muted: #7b685f;
  --line: rgba(67, 48, 38, .08);
  --card: rgba(255, 250, 246, .72);
  --card-strong: rgba(255, 252, 248, .88);
  --card-dark: #131110;
  --accent: #9b4d36;
  --accent-2: #d6a15d;
  --btn-text: #fffaf6;
  --success: #3b825b;
  --warning: #bf7b23;
  --danger: #c35d57;
  --radius: 28px;
  --shadow: 0 22px 60px rgba(51, 33, 21, .10);
  --shadow-soft: 0 14px 30px rgba(51, 33, 21, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.72), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.52), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(214,161,93,.10), transparent 34%),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 72px),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 24%, transparent, rgba(242, 231, 219, .30) 78%);
}

img {
  display: block;
  max-width: 100%;
}

a { color: inherit; }

button,
input,
textarea,
select { font: inherit; }

.hidden { display: none !important; }

.page-shell,
.center-shell {
  position: relative;
  z-index: 1;
}

.page-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 48px;
}

.center-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.topbar,
.hero-copy-card,
.hero-stage,
.feature-card,
.step-card,
.price-card,
.cta-panel,
.footer-card,
.command-card,
.state-card,
.board-card,
.view,
.center-card,
.doc-card,
.summary-card,
.feed-card,
.task-card,
.status-banner,
.message,
.top-status,
.captcha-shell,
.modal-card,
.auth-panel {
  border: 1px solid rgba(67, 48, 38, .10);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar,
.hero-copy-card,
.hero-stage,
.feature-card,
.step-card,
.price-card,
.cta-panel,
.footer-card,
.command-card,
.state-card,
.board-card,
.view,
.center-card,
.doc-card,
.summary-card,
.feed-card,
.task-card,
.status-banner,
.message,
.top-status,
.modal-card,
.auth-panel {
  border-radius: 30px;
}

.hero-copy-card,
.hero-stage,
.feature-card,
.step-card,
.price-card,
.cta-panel,
.footer-card,
.command-card,
.state-card,
.board-card,
.view,
.center-card,
.doc-card,
.summary-card,
.feed-card,
.task-card,
.modal-card,
.auth-panel {
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 252, 249, .74);
  position: relative;
}

.topbar.simple { justify-content: space-between; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(30, 20, 16, .10);
}

.brand-copy strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -.05em;
  line-height: 1;
}

.brand-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: rgba(43, 32, 28, .74);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-locale {
  display: inline-flex;
  align-items: center;
}

.locale-select {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(67, 48, 38, .12);
  background: rgba(255, 255, 255, .72);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
}

.locale-select.compact {
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(67, 48, 38, .12);
  background: rgba(255, 255, 255, .72);
  color: var(--text);
  cursor: pointer;
}

.topbar-actions,
.hero-actions,
.hero-tools,
.tab-row,
.modal-actions,
.link-row,
.action-row,
.home-actions,
.verify-actions,
.micro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-actions { justify-content: flex-end; }

.workspace-footer {
  margin-top: 18px;
  padding: 12px 4px 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(43, 32, 28, .64);
  font-size: 13px;
}

.workspace-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.workspace-footer a {
  color: rgba(43, 32, 28, .78);
  text-decoration: none;
  font-weight: 750;
}

.workspace-footer a:hover { color: var(--text); text-decoration: underline; }

.workspace-footer-meta { opacity: .78; font-weight: 700; }

.btn,
.btn-primary,
.btn-secondary,
.btn-plain,
.action-btn,
.tab-btn,
.date-chip,
.top-chip {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-plain:hover,
.action-btn:hover,
.tab-btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.action-btn {
  color: var(--btn-text);
  border: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(155, 77, 54, .22);
}

.btn-primary.recording { background: linear-gradient(120deg, #c35d57, #d78963); }

.btn,
.btn-secondary,
.tab-btn,
.date-chip,
.top-chip {
  color: var(--text);
  border: 1px solid rgba(67, 48, 38, .12);
  background: rgba(255, 255, 255, .74);
}

.btn-plain {
  color: var(--muted);
  border: 1px dashed rgba(67, 48, 38, .16);
  background: rgba(255, 255, 255, .52);
}

.btn.compact,
.btn-primary.compact,
.btn-secondary.compact,
.btn-plain.compact {
  min-height: 42px;
  padding: 0 14px;
}

.btn.wide,
.btn-primary.wide,
.btn-secondary.wide,
.btn-plain.wide {
  min-height: 54px;
  padding: 0 22px;
}

.date-chip,
.top-chip { cursor: default; }

.top-chip {
  color: var(--accent);
  background: rgba(248, 236, 228, .96);
}

.eyebrow,
.capsule,
.section-label,
.label-sm,
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(67, 48, 38, .10);
  background: rgba(255, 255, 255, .62);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stage-pill {
  max-width: 100%;
  white-space: normal;
  line-height: 1.45;
}

.display-title,
.section-title,
.command-title,
.auth-title,
.center-title,
.doc-card h1,
.doc-card h2,
.state-card h2,
.hero-stat strong,
.summary-card strong {
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -.06em;
}

.display-title {
  font-size: clamp(48px, 7vw, 92px);
  line-height: .94;
}

.display-title span,
.command-title span,
.section-title span,
.auth-title span,
.center-title span,
.is-accent {
  color: var(--accent);
  font-style: normal;
}

.section-title { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.02; }

.command-title { font-size: clamp(34px, 4.2vw, 62px); line-height: .96; }

.auth-title,
.center-title { font-size: clamp(28px, 4vw, 46px); line-height: 1.04; }

.muted-copy,
.section-subtitle,
.command-copy,
.auth-copy,
.doc-card p,
.doc-card li,
.task-body p,
.feed-card p,
.summary-card p,
.status-banner,
.top-status,
.center-copy,
.footer-note,
.link-row,
.text-soft,
.card-copy {
  color: var(--muted);
  line-height: 1.62;
}

.section { padding: 38px 0; }

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.section-head.center {
  text-align: center;
  justify-items: center;
}

.feature-grid,
.steps-grid,
.footer-grid,
.metrics-grid,
.summary-grid,
.price-points {
  display: grid;
  gap: 16px;
}

.feature-grid,
.steps-grid,
.metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hero-grid {
  min-height: calc(100vh - 106px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .97fr);
  align-items: center;
  gap: 18px;
  padding: 28px 0 46px;
}

.hero-copy-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
}

.hero-copy-card::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(214, 161, 93, .18), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-intro {
  max-width: 690px;
  display: grid;
  gap: 18px;
}

.proof-list {
  display: grid;
  gap: 10px;
  max-width: 620px;
}

.proof-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .54);
  border: 1px solid rgba(67, 48, 38, .08);
}

.proof-item i {
  color: var(--accent);
  margin-top: 2px;
}

.hero-stage {
  display: grid;
  gap: 14px;
  min-height: 640px;
}

.hero-stage-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #101010, #050505);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.hero-stage-frame spline-viewer,
.hero-stage-frame .spline-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-stage-frame .spline-fallback { display: none; }

.hero-stage-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.stage-note,
.stage-floating {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

.stage-note strong,
.stage-floating strong {
  display: block;
  font-family: 'Sora', sans-serif;
  letter-spacing: -.04em;
  margin-bottom: 4px;
}

.metrics-grid { margin-top: 8px; }

.hero-stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(67, 48, 38, .08);
  box-shadow: var(--shadow-soft);
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stat span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.feature-card,
.step-card,
.price-card,
.footer-card,
.summary-card,
.feed-card,
.task-card { background: var(--card-strong); }

.feature-card h3,
.step-card h3,
.price-card h3,
.summary-card h3,
.task-body h3,
.doc-card h2 {
  margin: 0 0 10px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.feature-card .icon,
.step-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(155, 77, 54, .12), rgba(214, 161, 93, .22));
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 20px;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.step-index {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(52px, 5vw, 70px);
  color: rgba(155, 77, 54, .10);
  letter-spacing: -.08em;
}

.price-shell {
  display: grid;
  justify-content: center;
}

.price-card {
  width: min(560px, 100%);
  position: relative;
  display: grid;
  gap: 10px;
}

.price-chip {
  position: absolute;
  top: -16px;
  left: 24px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--btn-text);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.price-amount {
  font-family: 'Sora', sans-serif;
  font-size: clamp(58px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -.08em;
  color: var(--accent);
}

.price-meta { color: var(--muted); }

.price-points {
  grid-template-columns: 1fr;
  margin: 10px 0 18px;
}

.price-points li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.55;
}

.price-points i {
  color: var(--accent);
  margin-top: 4px;
}

.cta-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.cta-glow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 161, 93, .92), rgba(155, 77, 54, .26) 56%, transparent 72%);
  box-shadow: 0 0 40px rgba(155, 77, 54, .18);
}

.checks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.checks-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.checks-row i { color: var(--accent); }

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer-card h4 {
  margin: 0 0 12px;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  letter-spacing: -.04em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover { color: var(--text); }

.footer-note {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
}

.workspace-shell {
  width: min(1320px, calc(100% - 20px));
  padding-bottom: 24px;
}

.workspace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  margin-top: 16px;
}

.command-card,
.state-card,
.board-card { background: rgba(255, 250, 246, .82); }

.command-card { display: grid; gap: 16px; }

.command-copy {
  max-width: 760px;
  font-size: 17px;
}

.micro-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
  border: 1px solid rgba(67, 48, 38, .08);
  color: var(--muted);
  font-size: 14px;
}

.micro-meta strong { color: var(--text); }

.label-sm { color: var(--muted); }

.state-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.state-card h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.06;
}

.summary-grid { grid-template-columns: 1fr; }

.summary-card strong {
  display: block;
  font-size: clamp(34px, 4vw, 46px);
  color: var(--accent);
  line-height: .96;
}

.summary-card p { margin: 8px 0 0; }

.board-layout { margin-top: 16px; }

.board-card {
  display: grid;
  gap: 14px;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primary-actions .btn-primary.wide,
.primary-actions .btn.btn-secondary.wide {
  flex: 1 1 280px;
}

.primary-actions .btn:not(.wide) {
  flex: 1 1 160px;
}

.profile-shell {
  display: grid;
  gap: 14px;
}

.profile-head {
  display: grid;
  gap: 6px;
}

.pref-group {
  border: 1px solid rgba(67, 48, 38, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .54);
  padding: 14px 16px;
}

.pref-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.pref-group summary::-webkit-details-marker { display: none; }

details.pref-group summary::after {
  content: '▾';
  width: 34px;
  height: 34px;
  border-radius: 14px;
  border: 1px solid rgba(67, 48, 38, .10);
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  line-height: 1;
  font-size: 16px;
}

details.pref-group[open] summary::after { content: '▴'; }

.pref-body {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid rgba(67, 48, 38, .08);
  background: rgba(255, 255, 255, .62);
}

.pref-row > :first-child { flex: 1 1 auto; }

.pref-row select,
.pref-row input[type="number"] { min-width: 140px; }

.pref-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.density-compact .board-card,
body.density-compact .command-card,
body.density-compact .state-card {
  gap: 10px;
}

body.density-compact .task-card,
body.density-compact .feed-card,
body.density-compact .summary-card {
  padding: 16px;
}

body.density-compact .btn,
body.density-compact .btn-primary,
body.density-compact .btn-secondary,
body.density-compact .btn-plain,
body.density-compact .action-btn,
body.density-compact .tab-btn {
  min-height: 42px;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}

.status-banner {
  padding: 14px 16px;
  font-size: 14px;
  background: rgba(255, 255, 255, .60);
}

.status-banner.success {
  color: var(--success);
  border-color: rgba(59, 130, 91, .16);
  background: rgba(226, 245, 233, .92);
}

.status-banner.error {
  color: var(--danger);
  border-color: rgba(195, 93, 87, .16);
  background: rgba(253, 236, 234, .92);
}

.tab-row { gap: 10px; }

.tab-btn.active {
  color: var(--btn-text);
  border-color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.list,
.feed {
  display: grid;
  gap: 12px;
}

.task-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.task-card::before {
  content: '';
  position: absolute;
  inset: 16px auto 16px 0;
  width: 4px;
  border-radius: 999px;
  background: var(--warning);
}

.task-card.high::before { background: var(--danger); }

.task-card.low::before { background: var(--success); }

.task-time {
  padding-left: 10px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 2.4vw, 36px);
  color: var(--accent);
  letter-spacing: -.06em;
}

.action-btn {
  min-height: 42px;
  padding: 0 16px;
}

.feed-card time {
  display: block;
  color: rgba(123, 104, 95, .82);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.empty-state {
  text-align: center;
  padding: 34px 20px;
  border: 1px dashed rgba(67, 48, 38, .14);
  background: rgba(255, 255, 255, .54);
  border-radius: 26px;
}

.empty-state h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.05em;
}

.empty-state p {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(33, 23, 18, .24);
  z-index: 50;
}

.modal.open { display: flex; }

.modal-card {
  width: min(720px, 100%);
  background: rgba(255, 252, 248, .92);
}

.modal-card p { margin: 10px 0 0; }

.field,
.settings-grid > label,
.auth-form {
  display: grid;
  gap: 14px;
}

.settings-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field label,
.settings-grid > label {
  color: rgba(43, 32, 28, .78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.field input,
.modal-card textarea,
.modal-card input,
.modal-card select,
.password-row button,
.top-status,
.captcha-shell {
  border: 1px solid rgba(67, 48, 38, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
}

.field input,
.modal-card textarea,
.modal-card input,
.modal-card select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
}

.modal-card textarea {
  min-height: 150px;
  resize: vertical;
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.password-row button {
  min-width: 112px;
  padding: 0 16px;
  cursor: pointer;
}

.auth-shell {
  width: min(920px, calc(100% - 24px));
  padding-bottom: 32px;
}

.auth-layout {
  display: grid;
  justify-items: center;
  margin-top: 18px;
}

.auth-panel {
  width: min(100%, 760px);
  display: grid;
  gap: 16px;
  background: rgba(255, 252, 248, .86);
}

.auth-head { display: grid; gap: 14px; }

.auth-head-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}

.top-status {
  min-width: 220px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
}

.view {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, .56);
}

.home-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.auth-copy { font-size: 15px; }

.split {
  position: relative;
  text-align: center;
  color: rgba(123, 104, 95, .76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.split::before,
.split::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 34px);
  height: 1px;
  background: rgba(67, 48, 38, .12);
}

.split::before { left: 0; }

.split::after { right: 0; }

.rules {
  margin: 0;
  padding-left: 18px;
  color: rgba(123, 104, 95, .92);
  line-height: 1.55;
  font-size: 13px;
}

.captcha-shell { padding: 12px; }

.hcaptcha-box {
  min-height: 78px;
  display: grid;
  place-items: center;
}

.google i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #1b1b1b;
  font-style: normal;
  font-weight: 800;
}

.link-row {
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.check-row input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.legal-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.legal-note a {
  color: var(--accent);
}

.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.message {
  padding: 14px 16px;
  font-size: 14px;
}

.message.error {
  color: var(--danger);
  border-color: rgba(195, 93, 87, .16);
  background: rgba(253, 236, 234, .92);
}

.message.success {
  color: var(--success);
  border-color: rgba(59, 130, 91, .16);
  background: rgba(226, 245, 233, .92);
}

.message.info {
  color: var(--accent);
  border-color: rgba(155, 77, 54, .16);
  background: rgba(248, 236, 228, .94);
}

.card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(67, 48, 38, .08);
}

.app-prompt {
  margin-top: 18px;
  gap: 14px;
  background: rgba(255, 250, 246, .88);
}

.app-prompt .hero-actions {
  justify-content: flex-start;
}

.app-shell {
  min-height: 100vh;
}

.card-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 252, 248, .92);
  border: 1px solid rgba(67, 48, 38, .08);
}

.card-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slide-card {
  min-width: 100%;
  scroll-snap-align: start;
  min-height: 360px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.slide-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(30, 20, 16, .12);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--text);
  box-shadow: 0 10px 20px rgba(30, 20, 16, .10);
  cursor: pointer;
  z-index: 2;
}

.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slide-btn:disabled { opacity: .35; cursor: default; }

.slide-tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
}

.slide-tap.prev { left: 0; }
.slide-tap.next { right: 0; }

@media (max-width: 720px) {
  .slide-btn { display: none; }
  .slide-card { min-height: 320px; }
}

.card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.center-card {
  width: min(760px, 100%);
  text-align: center;
  display: grid;
  gap: 16px;
  background: rgba(255, 252, 248, .88);
}

.center-brand { justify-content: center; }

.center-copy { font-size: 16px; }

.status-line {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(67, 48, 38, .10);
  background: rgba(255, 255, 255, .60);
  color: var(--accent);
  font-weight: 700;
}

.status-line.error {
  color: var(--danger);
  background: rgba(253, 236, 234, .92);
}

.error-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.error-digit {
  font-family: 'Sora', sans-serif;
  font-size: clamp(120px, 16vw, 190px);
  line-height: .84;
  letter-spacing: -.10em;
}

.error-zero {
  position: relative;
  width: clamp(128px, 16vw, 190px);
  aspect-ratio: 1;
  border-radius: 32px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 22px 40px rgba(23, 14, 8, .12);
}

.error-zero video,
.error-zero .fallback-zero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.error-zero .fallback-zero {
  display: none;
  place-items: center;
  background: linear-gradient(180deg, #222, #090909);
  color: rgba(255, 255, 255, .86);
  font-family: 'Sora', sans-serif;
  font-size: 54px;
}

.sound-toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(67, 48, 38, .10);
  background: rgba(255, 255, 255, .84);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.doc-card {
  width: min(980px, 100%);
  background: rgba(255, 252, 248, .88);
}

.doc-card h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 10px;
}

.doc-card h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-top: 28px;
}

.doc-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.doc-card ul { padding-left: 18px; }

.doc-card li + li { margin-top: 6px; }

.doc-card a { color: var(--accent); }

@media (max-width: 1120px) {
  .hero-grid,
  .workspace-hero,
  .feature-grid,
  .steps-grid,
  .metrics-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage { min-height: auto; }
  .hero-stage-frame { min-height: 420px; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: fixed;
    top: 60px;
    right: 10px;
    left: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: rgba(255, 252, 248, .98);
    border: 1px solid rgba(67, 48, 38, .12);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(43, 32, 28, .15);
    z-index: 9999;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(67, 48, 38, .08);
  }

  .nav a:last-of-type {
    border-bottom: none;
  }

  .nav-locale {
    padding: 12px 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(67, 48, 38, .1);
  }

  .nav-locale .locale-select {
    width: 100%;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .section { padding: 26px 0; }

  .page-shell {
    width: min(100% - 12px, 100%);
    padding-top: 10px;
  }

  .topbar,
  .hero-copy-card,
  .hero-stage,
  .feature-card,
  .step-card,
  .price-card,
  .cta-panel,
  .footer-card,
  .command-card,
  .state-card,
  .board-card,
  .view,
  .center-card,
  .doc-card,
  .summary-card,
  .feed-card,
  .task-card,
  .status-banner,
  .message,
  .top-status,
  .modal-card,
  .auth-panel {
    border-radius: 24px;
  }

  .topbar,
  .hero-copy-card,
  .hero-stage,
  .feature-card,
  .step-card,
  .price-card,
  .cta-panel,
  .footer-card,
  .command-card,
  .state-card,
  .board-card,
  .view,
  .center-card,
  .doc-card,
  .summary-card,
  .feed-card,
  .task-card,
  .modal-card,
  .auth-panel {
    padding: 18px;
  }

  .topbar {
    align-items: center;
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 9px;
    letter-spacing: .11em;
  }

  .topbar-actions,
  .hero-actions,
  .hero-tools,
  .tab-row,
  .modal-actions,
  .verify-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .topbar-actions > a,
  .topbar-actions > button,
  .hero-actions > a,
  .hero-actions > button,
  .hero-tools > a,
  .hero-tools > button,
  .tab-row > a,
  .tab-row > button,
  .modal-actions > a,
  .modal-actions > button,
  .verify-actions > a,
  .verify-actions > button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 999px;
    box-sizing: border-box;
  }

  .hero-grid {
    min-height: auto;
    padding: 12px 0 24px;
  }

  .display-title {
    font-size: clamp(30px, 10.2vw, 46px);
    line-height: .98;
  }

  .muted-copy,
  .section-subtitle,
  .command-copy {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-stage-frame { min-height: 300px; }

  .hero-intro { gap: 12px; }

  .eyebrow,
  .capsule,
  .section-label,
  .label-sm,
  .stage-pill {
    min-height: 32px;
    padding: 0 12px;
    font-size: 10px;
  }

  .task-card { grid-template-columns: 1fr; }

  .task-card::before {
    inset: 0 18px auto 18px;
    width: auto;
    height: 4px;
  }

  .task-time { padding-left: 0; }

  .password-row { grid-template-columns: 1fr; }

  .settings-grid { grid-template-columns: 1fr; }

  .auth-head-row { flex-direction: column; }

  .top-status {
    min-width: 0;
    width: 100%;
  }

  .error-visual { gap: 8px; }
  .error-digit { font-size: clamp(92px, 24vw, 132px); }
  .sound-toggle { right: 12px; bottom: 12px; }

  body[data-page="landing"] .topbar {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  body[data-page="landing"] .topbar-actions {
    display: none;
  }

  body[data-page="assistant"] .topbar-actions,
  body[data-page="auth"] .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="assistant"] #openSettingsBtn {
    display: none !important;
  }

  body[data-page="assistant"] .topbar-actions > :first-child {
    grid-column: 1 / -1;
  }

  body[data-page="assistant"] .workspace-hero {
    gap: 12px;
  }

  body[data-page="assistant"] .board-card {
    padding-bottom: 96px;
  }

  body[data-page="assistant"] .workspace-footer {
    padding-bottom: 96px;
  }

  body[data-page="assistant"] .primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="assistant"] .primary-actions #recordButton,
  body[data-page="assistant"] .primary-actions #openComposerBtn {
    grid-column: 1 / -1;
  }

  body[data-page="assistant"] .pref-row {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="assistant"] .pref-row select,
  body[data-page="assistant"] .pref-row input[type="number"] {
    width: 100%;
    min-width: 0;
  }

  body[data-page="assistant"] .tab-row {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    width: min(560px, calc(100% - 20px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 252, 249, .92);
    border: 1px solid rgba(67, 48, 38, .14);
    box-shadow: 0 18px 44px rgba(51, 33, 21, .18);
    backdrop-filter: blur(14px);
    z-index: 60;
  }

  body[data-page="assistant"] .tab-row > * {
    width: auto;
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
    gap: 6px;
  }

  body[data-page="assistant"] .tab-row i { font-size: 14px; }

  body[data-page="assistant"] .command-card,
  body[data-page="assistant"] .state-card,
  body[data-page="assistant"] .board-card {
    padding: 16px;
  }

  body[data-page="assistant"] .board-card {
    padding-bottom: 96px;
  }

  body[data-page="assistant"] .command-title {
    font-size: clamp(26px, 8.4vw, 36px);
  }

  body[data-page="assistant"] .hero-actions .btn,
  body[data-page="assistant"] .hero-actions .btn-primary {
    min-height: 48px;
  }

  body[data-page="auth"] .auth-panel {
    padding: 16px;
  }

  body[data-page="auth"] .view {
    padding: 16px;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .action-row > * {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .workspace-shell,
  .auth-shell {
    width: min(100% - 10px, 100%);
    padding-top: 8px;
    padding-bottom: 18px;
  }

  .topbar {
    padding: 12px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    font-size: 8px;
    letter-spacing: .10em;
  }

  .menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .hero-grid {
    gap: 10px;
    padding: 8px 0 18px;
  }

  .hero-copy-card,
  .hero-stage,
  .feature-card,
  .step-card,
  .price-card,
  .cta-panel,
  .footer-card,
  .command-card,
  .state-card,
  .board-card,
  .view,
  .center-card,
  .doc-card,
  .summary-card,
  .feed-card,
  .task-card,
  .status-banner,
  .message,
  .top-status,
  .modal-card,
  .auth-panel {
    border-radius: 20px;
    padding: 14px;
  }

  .display-title {
    font-size: clamp(26px, 9.8vw, 36px);
    line-height: .97;
  }

  .section-title,
  .command-title,
  .auth-title,
  .center-title {
    font-size: clamp(26px, 8.8vw, 34px);
    line-height: 1;
  }

  .muted-copy,
  .section-subtitle,
  .command-copy,
  .auth-copy,
  .center-copy,
  .card-copy,
  .task-body p,
  .feed-card p,
  .summary-card p,
  .status-banner,
  .top-status {
    font-size: 14px;
    line-height: 1.52;
  }

  .proof-list,
  .metrics-grid,
  .summary-grid,
  .price-points,
  .footer-grid {
    gap: 10px;
  }

  .proof-item {
    padding: 12px 13px;
    gap: 10px;
  }

  .proof-item strong,
  .feature-card h3,
  .step-card h3,
  .price-card h3 {
    font-size: 16px;
    line-height: 1.15;
  }

  .hero-stat {
    padding: 12px;
    border-radius: 16px;
  }

  .hero-stat strong,
  .summary-card strong {
    font-size: 20px;
    line-height: 1.2;
  }

  .hero-stat span {
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-stage-frame {
    min-height: 240px;
    border-radius: 20px;
  }

  .stage-pill,
  .eyebrow,
  .capsule,
  .section-label,
  .label-sm {
    min-height: 28px;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: .14em;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-plain,
  .action-btn,
  .tab-btn,
  .date-chip,
  .top-chip {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  body[data-page="landing"] .nav.open,
  body[data-page="assistant"] .topbar-actions,
  body[data-page="auth"] .topbar-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .hero-actions .btn,
  body[data-page="landing"] .hero-actions .btn-primary,
  body[data-page="auth"] .home-actions .btn,
  body[data-page="auth"] .home-actions .btn-primary {
    min-height: 46px;
    font-size: 14px;
  }

  body[data-page="assistant"] .topbar-actions > :first-child {
    grid-column: auto;
  }

  body[data-page="assistant"] .workspace-hero {
    gap: 10px;
    margin-top: 10px;
  }

  body[data-page="assistant"] .hero-actions,
  body[data-page="assistant"] .hero-tools,
  body[data-page="assistant"] .tab-row {
    gap: 10px;
  }

  .micro-meta {
    display: grid;
    gap: 8px;
    font-size: 13px;
  }

  .task-card {
    gap: 10px;
  }

  .task-time {
    font-size: 24px;
  }

  .sound-toggle {
    width: 46px;
    height: 46px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 400px) {
  body[data-page="assistant"] .tab-row > * span {
    display: none;
  }

  body[data-page="assistant"] .tab-row {
    width: min(420px, calc(100% - 18px));
    padding: 10px 12px;
  }

  body[data-page="assistant"] .tab-row > * {
    min-height: 46px;
    padding: 0 12px;
  }

  .page-shell,
  .workspace-shell,
  .auth-shell {
    width: min(100% - 8px, 100%);
  }

  .display-title {
    font-size: clamp(24px, 9.6vw, 31px);
  }

  .hero-stage-frame {
    min-height: 220px;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-plain,
  .action-btn,
  .tab-btn,
  .date-chip,
  .top-chip {
    min-height: 40px;
    font-size: 13px;
  }

  
  
  
  #topLoginBtn {
    display: none !important;
  }

  
  .hero-actions .btn-primary.wide,
  .hero-actions .btn-secondary.wide {
    width: 100% !important;
    margin: 6px 0;
    padding: 16px;
    font-size: 16px;
  }

  
  .metrics-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  
  .proof-list {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  position: relative;
}

.voice-circle {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-core {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 0 40px rgba(155, 77, 54, 0.4), 0 0 80px rgba(155, 77, 54, 0.2);
  z-index: 2;
  animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(155, 77, 54, 0.4), 0 0 80px rgba(155, 77, 54, 0.2); }
  50% { box-shadow: 0 0 60px rgba(155, 77, 54, 0.6), 0 0 100px rgba(155, 77, 54, 0.3); }
}

.voice-ring {
  position: absolute;
  border: 3px solid;
  border-radius: 50%;
  opacity: 0;
  animation: ringExpand 3s ease-out infinite;
}

.voice-ring:nth-child(1) {
  width: 100px;
  height: 100px;
  border-color: var(--accent);
  animation-delay: 0s;
}

.voice-ring:nth-child(2) {
  width: 100px;
  height: 100px;
  border-color: var(--accent-2);
  animation-delay: 0.8s;
}

.voice-ring:nth-child(3) {
  width: 100px;
  height: 100px;
  border-color: var(--accent);
  animation-delay: 1.6s;
}

@keyframes ringExpand {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.voice-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: dotFloat 2s ease-in-out infinite;
}

.voice-dot:nth-child(4) { top: 10px; left: 50%; animation-delay: 0s; }
.voice-dot:nth-child(5) { top: 50%; right: 10px; animation-delay: 0.3s; }
.voice-dot:nth-child(6) { bottom: 10px; left: 50%; animation-delay: 0.6s; }
.voice-dot:nth-child(7) { top: 50%; left: 10px; animation-delay: 0.9s; }

@keyframes dotFloat {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-8px); opacity: 1; }
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn:hover {
  filter: brightness(0.95);
}

body[data-active-tab="profile"] .workspace-hero,
body[data-active-tab="profile"] .primary-actions,
body[data-active-tab="profile"] .tab-row,
body[data-active-tab="profile"] .status-banner {
  display: none !important;
}

body[data-active-tab="profile"] .board-card {
  padding-bottom: 18px;
}

@media (min-width: 768px) {
  .pref-group {
    padding: 20px 24px;
    border-radius: 28px;
  }

  .pref-group summary {
    font-size: 16px;
  }

  .pref-body {
    gap: 16px;
  }

  .pref-row {
    padding: 16px 20px;
    border-radius: 24px;
  }

  .pref-row input[type="text"],
  .pref-row input[type="email"],
  .pref-row input[type="password"],
  .pref-row input[type="number"] {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 14px;
  }

  .pref-row select {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 14px;
  }

  .pref-row .btn,
  .pref-row .btn-primary,
  .pref-row .btn-secondary {
    min-height: 50px;
    padding: 12px 24px;
    font-size: 15px;
  }

  .profile-page {
    max-width: 600px;
    margin: 0 auto;
  }

  .profile-top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    margin-bottom: 20px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 28px;
    border-radius: 24px;
  }

  .profile-info h2 {
    font-size: 22px;
  }

  .profile-info p {
    font-size: 15px;
  }

  .pref-row .message-box {
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 16px;
  }
}

@media (min-width: 1024px) {
  .pref-group {
    padding: 24px 28px;
  }

  .pref-row {
    padding: 18px 24px;
  }

  .pref-row input[type="text"],
  .pref-row input[type="email"],
  .pref-row input[type="password"] {
    min-height: 54px;
    font-size: 16px;
  }

  .pref-row .btn,
  .pref-row .btn-primary,
  .pref-row .btn-secondary {
    min-height: 54px;
    padding: 14px 28px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .pref-group {
    padding: 12px 14px;
    border-radius: 20px;
  }

  .pref-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .pref-row > :first-child {
    text-align: center;
  }

  .pref-row .btn,
  .pref-row .btn-primary,
  .pref-row .btn-secondary {
    width: 100%;
    min-height: 48px;
  }

  .pref-row input {
    width: 100%;
    min-height: 48px;
  }
}

body[data-page="assistant"] .primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  overflow: visible;
}

body[data-page="assistant"] .primary-actions > * {
  flex: 1 1 auto;
  min-width: calc(50% - 6px);
  max-width: 100%;
}

body[data-page="assistant"] .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  overflow: visible;
}

body[data-page="assistant"] .hero-actions > * {
  flex: 1 1 auto;
}

@media (max-width: 480px) {
  body[data-page="assistant"] .primary-actions > * {
    min-width: 100%;
  }
}
