:root {
  --bg: #0b1220;
  --card: #131e2e;
  --card-2: #172439;
  --accent: #a9c9f5;
  --accent-2: #aecdf5;
  --accent-3: #dec18c;
  --text: #edf2f8;
  --muted: #a6b4c7;
  --border: #29394d;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}
/* Consistent forms, quiet surfaces, and mobile navigation across every page. */
input:not([type='checkbox']):not([type='radio']), select, textarea { background-color: #0f1928 !important; border: 1px solid #35465d !important; border-radius: 10px !important; color: var(--text); min-height: 44px; font: inherit; }
input::placeholder { color: #8393a9; }
h1, h2, h3 { letter-spacing: -.5px; }
footer { border-top: 1px solid var(--border); line-height: 1.8; }
.email-preview { font-family: inherit !important; line-height: 1.75 !important; }
@media (max-width: 640px) {
  .site-header { padding: 20px; flex-wrap: wrap; gap: 16px; }
  .site-nav { gap: 18px; font-size: 12px; }
  .card { padding: 24px; }
  .hero-cta { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
* { box-sizing: border-box; }
html { color-scheme: dark; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .45; }
.site-header { max-width: 1180px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--border); }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: 13px; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.site-brand-mark { width: 30px; height: 30px; color: var(--accent-3); flex-shrink: 0; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; color: #0b1a2c; background: var(--accent); border-radius: 10px; font-weight: 600; border: 1px solid transparent; transition: background .15s; }
.button-link:hover { background: #c1daf9; }
.button-link.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.button-link.btn-secondary:hover { background: var(--card); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  --scroll-hue: 0deg;
}

/* ===== Animated background orbs ===== */
.orb-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  animation: none;
  will-change: transform;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -150px;
  left: -100px;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -200px;
  right: -150px;
  animation-delay: -9s;
  animation-duration: 22s;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -4s;
  animation-duration: 26s;
  opacity: 0.04;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}

.content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(110, 168, 254, 0.25); }
  50% { box-shadow: 0 8px 32px rgba(110, 168, 254, 0.45); }
}

/* ===== Header ===== */
header {
  padding: 22px 32px;
  font-size: 21px;
  font-weight: 700;
}
.brand {
  color: inherit;
  text-decoration: none;
  background: none;
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--text);
  letter-spacing: -.7px;
  animation: none;
}

/* ===== Main ===== */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
h1 { font-size: 28px; margin: 0 0 6px; font-weight: 700; }
h2 { margin: 0 0 6px; }
h3 { margin: 0; }
.subtitle { color: var(--muted); margin: 0 0 20px; font-size: 15px; }

/* ===== Shared components ===== */
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}
.plans {
  display: flex;
  gap: 16px;
  max-width: 720px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.plan {
  position: relative;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  width: 300px;
  max-width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.plan:hover { transform: translateY(-3px); }
.plan-featured {
  border-color: rgba(110, 168, 254, 0.45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(110, 168, 254, 0.15) inset;
}
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0c10;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.price {
  font-size: 44px;
  font-weight: 800;
  margin: 10px 0;
  letter-spacing: -1px;
}
.price-period { font-size: 18px; font-weight: 600; color: var(--muted); }
.plan-desc { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}
.features li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
input {
  width: 100%;
  padding: 11px 12px;
  margin: 8px 0 16px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0c10;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 168, 254, 0.18);
}
label { font-size: 14px; color: var(--muted); }
button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #0a0c10;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: none;
}
button:hover { transform: translateY(-1px); opacity: 0.96; }
button:active { transform: translateY(0); }
.error { color: #f28b82; font-size: 14px; margin-top: 8px; min-height: 18px; }
a { color: var(--accent); }
footer {
  text-align: center;
  padding: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* ===== Pricing page ===== */
main.pricing-layout {
  display: block;
  padding: 0;
}
.pricing-hero {
  text-align: center;
  padding: 64px 24px 52px;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(110, 168, 254, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(18, 21, 28, 0.5), transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.pricing-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}
.price-hero {
  font-size: 60px;
  font-weight: 800;
  margin: 10px 0 4px;
  letter-spacing: -2px;
  background: none;
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--text);
  animation: none;
}
.hero-tagline {
  color: var(--muted);
  font-size: 16px;
  margin: 8px auto 20px;
  max-width: 520px;
  line-height: 1.65;
}
.btn-hero {
  width: auto;
  padding: 14px 48px;
  font-size: 16px;
  border-radius: 10px;
  animation: none;
}
.cancel-note {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 0;
}
.coming-soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-3);
  background: rgba(139, 123, 240, 0.12);
  border: 1px solid rgba(139, 123, 240, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-top: 6px;
}

/* ===== Unified feature flow (no boxes) ===== */
.pricing-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.feature-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.feature-section {
  padding: 28px 36px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  transition: background 0.3s ease;
}
.feature-section:nth-child(odd) {
  border-right: 1px solid var(--border);
}
.feature-section:nth-child(-n+2) {
  border-bottom: 1px solid var(--border);
}
.feature-section:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: none;
}
.feature-section:hover {
  background: rgba(110, 168, 254, 0.03);
}
.feature-section h4 {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.feature-section h4::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}
.feature-section .features li {
  font-size: 15px;
  line-height: 1.7;
  padding: 9px 0 9px 24px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.feature-section .features li:hover {
  color: #fff;
  transform: translateX(3px);
}
.feature-section .features li::before {
  width: 12px;
  height: 7px;
  top: 12px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent-2);
}
@media (max-width: 640px) {
  .feature-flow { grid-template-columns: 1fr; }
  .feature-section:nth-child(odd) { border-right: none; }
  .feature-section:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .feature-section { padding: 24px 8px; }
  .price-hero { font-size: 48px; }
}

/* ===== Legal pages ===== */
main.legal-layout {
  display: block;
  padding: 0;
}
.legal-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.legal-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 4px;
  background: none;
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--text);
  letter-spacing: -1px;
  animation: none;
}
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.legal-content h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 10px;
  color: var(--text);
}
.legal-content h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 14px;
}
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.legal-list li {
  font-size: 15px;
  line-height: 1.75;
  padding: 6px 0 6px 24px;
  position: relative;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.legal-list strong {
  color: #fff;
  font-weight: 600;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 20px auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== County autocomplete ===== */
.autocomplete-wrap {
  position: relative;
}
.autocomplete-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #12151c;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.autocomplete-item {
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.12s ease;
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item:hover,
.autocomplete-item.active {
  background: rgba(110, 168, 254, 0.1);
  color: var(--accent);
}
.autocomplete-empty {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}
.county-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 16px;
}

/* ===== Landing page ===== */
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  width: auto;
  padding: 14px 48px;
  font-size: 16px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn-secondary:hover {
  border-color: var(--accent);
}

/* ===== Sample page ===== */
.email-preview {
  background: #0a0c10;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  font-family: inherit;
}

/* ===== Coverage page ===== */
.coverage-table {
  width: 100%;
  border-collapse: collapse;
}
.coverage-table th {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent-2), var(--accent));
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s linear infinite;
}
.coverage-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.coverage-table tbody tr {
  transition: background 0.2s ease;
}
.coverage-table tbody tr:hover {
  background: rgba(110, 168, 254, 0.03);
}
.coverage-state {
  margin: 24px 0 0;
  font-size: 18px;
  font-weight: 600;
  background: none;
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--text);
  animation: none;
}

.coverage-table th { background: none; -webkit-text-fill-color: var(--muted); animation: none; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.2px; color: var(--accent-3); margin: 0 0 20px; }
.price-hero { font-size: clamp(38px, 5vw, 60px); line-height: 1.1; margin-bottom: 24px; }
.email-preview { background: #0f1928; border-radius: 12px; }
@media (max-width: 640px) {
  .site-header { padding: 20px; flex-wrap: wrap; gap: 16px; }
  .site-nav { gap: 18px; font-size: 12px; }
  .card { padding: 24px; }
  .hero-cta { flex-wrap: wrap; }
  .btn-hero, .btn-secondary { padding: 13px 24px; }
}

/* Phone-first finishing pass shared by every public page. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { min-height: 100svh; }
main, .content-wrap, .pricing-hero-inner, .feature-section, .legal-content, .card { min-width: 0; }
img, svg, video { max-width: 100%; }
button, .button-link, .site-nav a, .autocomplete-item { touch-action: manipulation; }
input:not([type='hidden']), select, textarea { scroll-margin: 24px; }
input:not([type='checkbox']):not([type='radio']):not([type='hidden']), select, textarea { font-size: 16px !important; }
button, .button-link { min-height: 48px; }
.hero-cta .coming-soon { flex-basis: 100%; width: fit-content; max-width: fit-content; margin: 2px auto 0; }
.email-preview, .legal-content, footer, #dashboard-email, .error { overflow-wrap: anywhere; }
.autocomplete-item { min-height: 48px; display: flex; align-items: center; }
.autocomplete-list { overscroll-behavior: contain; max-height: min(240px, 35svh); }
.status-trialing { color: #9ed7b5; background: #17362a; border: 1px solid #2d5741; }
.status-trial_expired { color: #dec18c; background: #352b1b; border: 1px solid #655032; }

@media (max-width: 760px) {
  .site-header { padding: 18px 16px 12px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand { font-size: 23px; min-height: 40px; }
  .site-nav { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; font-size: 14px; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 6px 4px; text-align: center; border-radius: 8px; }
  .site-nav a:hover, .site-nav a:focus-visible { background: var(--card); }
  main { padding: 24px 16px 32px; align-items: flex-start; }
  .card { padding: 24px 20px; max-width: 480px; }
  .card h2 { font-size: 25px; line-height: 1.25; margin-bottom: 16px; }
  .card > p { line-height: 1.65; }
  .card label { display: block; margin-top: 14px; margin-bottom: 6px; font-size: 14px; }
  .card input, .card select { min-height: 48px; margin-bottom: 8px; }
  .card button[type='submit'] { margin-top: 16px; }
  main.pricing-layout, main.legal-layout { padding: 0; }
  .pricing-hero { padding: 36px 20px 32px; }
  .price-hero { font-size: clamp(32px, 8.8vw, 48px); letter-spacing: -1.2px; line-height: 1.12; }
  .price-period { display: block; font-size: 20px; margin-top: 10px; letter-spacing: 0; }
  .hero-tagline { font-size: 16px; line-height: 1.65; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .button-link, .pricing-hero .btn-hero { width: 100%; }
  .hero-cta .coming-soon { align-self: center; flex-basis: auto; }
  .btn-hero, .btn-secondary { padding: 14px 18px; font-size: 16px; }
  .pricing-body { padding: 12px 16px 36px; }
  .feature-flow { grid-template-columns: minmax(0, 1fr); }
  .feature-section { padding: 24px 4px; border-right: none !important; }
  .features li { font-size: 16px; line-height: 1.6; }
  .legal-content { padding: 28px 20px 40px; }
  .legal-content h1 { font-size: clamp(27px, 7.6vw, 32px); line-height: 1.2; }
  .legal-content p, .legal-list li { font-size: 16px; line-height: 1.7; }
  .legal-content h2 { font-size: 20px; margin-top: 28px; }
  .coverage-table { table-layout: fixed; }
  .coverage-table th, .coverage-table td { padding: 12px 8px; overflow-wrap: anywhere; font-size: 14px; vertical-align: top; }
  .coverage-table th { font-size: 12px; letter-spacing: .5px; }
  .email-preview { padding: 16px; font-size: 15px; line-height: 1.7 !important; }
  .pricing-body .card { padding: 20px 16px; }
  .county-hint { font-size: 14px; line-height: 1.5; }
  #save-county-btn, #sub-actions button { width: 100% !important; }
  footer { padding: 20px 16px max(20px, env(safe-area-inset-bottom)); font-size: 14px; text-align: center; }
  footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 6px; }
}
@media (max-width: 760px) {
  .orb-layer { display: none; }
  .pricing-hero { backdrop-filter: none; }
  .fade-up { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  input:not([type='hidden']):not([type='checkbox']):not([type='radio']), select, textarea { min-height: 48px; }
}

/* Account dashboard */
.dashboard-page .legal-layout { padding: 48px 24px 72px; }
.dashboard-page .legal-content { width: 100%; max-width: 960px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.dashboard-heading h1 { font-size: clamp(32px,5vw,44px); line-height: 1.15; margin: 8px 0 12px; }
.dashboard-page .eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--accent); font-weight: 700; margin: 0; }
.dashboard-email { color: var(--muted); margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.quiet-link { white-space: nowrap; font-size: 14px; text-decoration: none; }
.dashboard-card { border: 1px solid #2b3c52; border-radius: 20px; padding: 28px; margin: 0 0 24px; background: rgba(15,25,40,.93); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.dashboard-page .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dashboard-page .section-heading h2 { font-size: 22px; line-height: 1.3; margin: 0 0 4px; color: #eff5ff; }
.dashboard-page .section-heading p { margin: 6px 0 0; color: #a7b6c9; font-size: 14px; line-height: 1.6; }
.account-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0; }
.account-facts dt { font-size: 12px; color: #a7b6c9; margin-bottom: 7px; }
.account-facts dd { margin: 0; color: #e9f1ff; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.small-badge { flex-shrink: 0; border: 1px solid #354b67; color: #b6cef0; font-size: 12px; padding: 7px 10px; border-radius: 999px; }
.dashboard-page label { display: block; color: #c3cfdf; font-size: 14px; margin-bottom: 8px; }
.dashboard-page input:not([type='checkbox']):not([type='hidden']), .dashboard-page select { width: 100%; padding: 12px 14px; margin: 0; line-height: 1.4; min-height: 48px; }
.dashboard-page select { text-overflow: ellipsis; padding-right: 30px; }
.address-picker { padding: 20px; background: #121f32; border: 1px solid #30435c; border-radius: 14px; }
.verification-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.verification-row p { margin: 0; color: #a8d8b8; font-size: 12px; }
.dashboard-page .text-button { width: auto; min-height: 32px; padding: 5px 0; background: transparent; color: var(--accent); font-size: 12px; }
.dashboard-page [hidden] { display: none !important; }
.dashboard-page .option-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 16px; margin: 0; border: 1px solid #2d4059; border-radius: 12px; background: #111e30; cursor: pointer; }
.option-row span { min-width: 0; }
.option-row strong { display: block; font-size: 14px; color: #e5edf9; line-height: 1.4; font-weight: 600; }
.option-row small { display: block; font-size: 12px; font-weight: 400; color: #a4b5ca; line-height: 1.5; margin-top: 4px; }
.dashboard-page .option-row input[type='checkbox'] { appearance: none; -webkit-appearance: none; position: relative; width: 42px; height: 24px; min-height: 24px; margin: 0; padding: 0; flex: 0 0 42px; border-radius: 24px; background: #35455c; border: 1px solid #536581; cursor: pointer; transition: background .15s; }
.dashboard-page .option-row input[type='checkbox']::before { content: ''; display: block; position: absolute; width: 18px; height: 18px; border-radius: 50%; left: 2px; top: 2px; background: #d6e1f2; transition: transform .15s; }
.dashboard-page .option-row input[type='checkbox']:checked { background: #83b5ed; border-color: #83b5ed; }
.dashboard-page .option-row input[type='checkbox']:checked::before { transform: translateX(18px); background: #12243b; }
.dashboard-page .linked-option { margin: 14px 0 24px; background: transparent; }
.settings-jump-links { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid #2b3c52; }
.settings-jump-links a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 9px; background: #19283d; color: #c4d8f4; font-size: 13px; }
.settings-group { margin-top: 28px; scroll-margin-top: 24px; }
.dashboard-page .settings-group h3 { font-size: 17px; color: #edf3fd; margin: 0 0 18px; }
.dashboard-page .group-help { color: #a4b5ca; font-size: 13px; line-height: 1.6; margin: 8px 0 16px; }
.settings-grid, .section-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.section-options { gap: 10px; }
.dashboard-page .always-included { font-size: 12px; line-height: 1.6; color: #a4b5ca; margin: 16px 0 0; }
.delivery-settings { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: start; }
.save-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #1b2b42; border: 1px solid #3b5473; border-radius: 14px; padding: 18px; margin-top: 28px; }
.save-bar strong { color: #e5eefb; font-size: 14px; }
.save-bar p { font-size: 12px; color: #b2c3d9; margin: 5px 0 0; line-height: 1.5; }
.dashboard-page .save-bar button { width: auto; flex-shrink: 0; padding: 12px 24px; }
.password-confirm { max-width: 520px; margin-bottom: 20px; }
.account-action { border-top: 1px solid #2b3c52; }
.account-action summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; padding: 20px 0; list-style: none; color: #e1ebf9; font-size: 15px; font-weight: 600; min-height: 76px; }
.account-action summary::-webkit-details-marker { display: none; }
.account-action summary::after { content: '+'; font-size: 23px; font-weight: 400; color: #a2bfdf; }
.account-action[open] summary::after { content: '−'; }
.account-action summary small { display: block; margin-top: 5px; color: #a4b5ca; font-size: 12px; font-weight: 400; line-height: 1.5; }
.action-content { padding: 0 0 24px; max-width: 620px; }
.dashboard-page .action-content p { font-size: 14px; color: #b7c6d9; line-height: 1.65; margin: 0 0 18px; }
.dashboard-page .action-content input { margin-bottom: 14px !important; }
.action-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.dashboard-page .action-content button, .dashboard-page .action-content .button-link { width: auto; padding: 12px 18px; }
.dashboard-page .secondary-button { background: transparent; border: 1px solid #405875; color: #c4d8f4; }
.danger-action summary, .danger-action summary::after { color: #eea2aa; }
.dashboard-page .danger-button { color: #ffe4e7; background: #702b3c; border: 1px solid #a45065; }
#account-result:not(:empty) { background: #172b40; padding: 14px; border-radius: 10px; font-size: 14px; color: #d7e7fc; line-height: 1.6; }
@media(max-width:640px) {
 .dashboard-page .legal-layout { padding: 28px 16px 48px; }
 .dashboard-heading { display: block; margin-bottom: 24px; }
 .dashboard-heading .quiet-link { display: inline-block; margin-top: 16px; }
 .dashboard-card { padding: 20px 16px; border-radius: 16px; }
 .dashboard-page .section-heading { align-items: flex-start; gap: 12px; }
 .dashboard-page .section-heading h2 { font-size: 20px; }
 .account-facts { grid-template-columns: 1fr; gap: 16px; }
 .account-facts div { display: flex; justify-content: space-between; gap: 20px; }
 .account-facts dt { margin: 0; flex-shrink: 0; }
 .account-facts dd { text-align: right; }
 .address-picker { padding: 16px 12px; }
 .settings-grid, .section-options, .delivery-settings { grid-template-columns: 1fr; }
 .settings-jump-links { gap: 6px; }
 .settings-jump-links a { padding: 8px 10px; font-size: 12px; }
 .save-bar { display: block; padding: 16px; }
 .dashboard-page .save-bar button { width: 100%; margin-top: 14px; }
 .action-buttons { display: grid; grid-template-columns: 1fr; }
 .dashboard-page .action-content button, .dashboard-page .action-content .button-link { width: 100%; }
}

.dashboard-page .section-heading h2::after { display: none; }
.dashboard-page #sub-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.dashboard-page #sub-actions p { flex-basis:100%; margin:0; color:#a4b5ca; font-size:13px; line-height:1.6; }

/* Phone layout and Safari's native time-input sizing. */
.dashboard-page .legal-content { padding: 0; }
.dashboard-page .settings-grid > div, .dashboard-page .delivery-settings > div { min-width: 0; }
.dashboard-page input:not([type='checkbox']):not([type='hidden']), .dashboard-page select { min-width: 0; max-width: 100%; box-sizing: border-box; }
.dashboard-page input[type='time'] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; height: 48px; text-align: left; }
.dashboard-page input[type='time']::-webkit-date-and-time-value { text-align: left; min-width: 0; margin: 0; }
.dashboard-page input[type='time']::-webkit-datetime-edit { padding: 0; min-width: 0; }
.dashboard-page .site-nav .nav-sign-out { width: auto; padding: 8px 4px; min-height: 44px; background: transparent; color: var(--muted); font-size: inherit; font-weight: 500; }
@media(max-width:640px) {
 .dashboard-page .legal-layout { padding: 24px 16px 40px; }
 .dashboard-page .dashboard-heading h1 { font-size: 32px; }
 .dashboard-page .section-heading { margin-bottom: 18px; }
 .dashboard-page .account-facts { gap: 12px; }
 .dashboard-page .settings-grid, .dashboard-page .section-options, .dashboard-page .delivery-settings { grid-template-columns: minmax(0,1fr); }
 .dashboard-page .dashboard-card { padding: 20px 16px; }
 .dashboard-page .settings-group { margin-top: 24px; }
 .dashboard-page .section-options { gap: 0; border-top: 1px solid #2b3c52; }
 .dashboard-page .section-options .option-row { min-height: 70px; padding: 13px 0; border: 0; border-bottom: 1px solid #2b3c52; border-radius: 0; background: transparent; }
 .dashboard-page .delivery-settings { gap: 12px; }
 .dashboard-page .pause-option { padding: 14px; }
 .dashboard-page .save-bar { margin-top: 20px; }
 .dashboard-page .settings-jump-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
 .dashboard-page .settings-jump-links a { justify-content: center; text-align: center; min-height: 44px; }
}
