/* DialAnytime — Design System: "Warm Earth"
   Font: Plus Jakarta Sans (humanist, warm)
   Palette: Warm forest teal + amber accent on cream
   Optimized for ICP: ages 55-75, phone-preferring, readability-first */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Warm Earth palette */
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-surface-alt: #f3efe9;
  --color-border: #e0d9cf;
  --color-text: #2d2a26;
  --color-text-muted: #6b6560;

  --color-primary: #2b7a6f;
  --color-primary-hover: #236659;
  --color-primary-light: #e4f0ed;

  --color-accent: #c07d2b;
  --color-accent-hover: #a86b22;
  --color-accent-light: #fef3e0;

  --color-danger: #c53030;
  --color-danger-light: #fed7d7;
  --color-success: #2f855a;
  --color-success-light: #c6f6d5;
  --color-warning: #b7791f;
  --color-warning-light: #fefcbf;
  --color-info: #2b6cb0;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 4px rgba(45,42,38,0.08);
  --shadow-md: 0 2px 8px rgba(45,42,38,0.10);
  --shadow-lg: 0 4px 16px rgba(45,42,38,0.10);
}

/* ===== Reset & Base ===== */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 17px;
}

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== Header ===== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}
.header .logo:hover { color: var(--color-primary); }
.header nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.header nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}
.header nav a:hover { color: var(--color-primary); }
.header nav .btn { padding: 0.5rem 1.25rem; }
.nav-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ===== Main & Footer ===== */

.main {
  flex: 1;
  padding: 2.5rem 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.footer p { margin: 0; }
.footer a { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.footer a:hover { text-decoration: underline; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  position: relative;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:not(:disabled):active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 2px 6px rgba(43,122,111,0.25);
}
.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  box-shadow: 0 3px 10px rgba(43,122,111,0.3);
}

.btn-accent {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 2px 6px rgba(192,125,43,0.25);
}
.btn-accent:hover:not(:disabled) {
  background: var(--color-accent-hover);
  box-shadow: 0 3px 10px rgba(192,125,43,0.3);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover:not(:disabled) { background: var(--color-primary-light); }

.btn-link {
  background: none;
  color: var(--color-primary);
  padding: 0.5rem;
}
.btn-link:hover { text-decoration: underline; }

.btn-danger {
  background: transparent;
  color: var(--color-danger);
  border: 2px solid var(--color-danger);
}
.btn-danger:hover:not(:disabled) { background: var(--color-danger-light); }

.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9375rem; }

/* ===== Hero ===== */

.hero {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}
.hero-split {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  padding: 3.5rem 0 3rem;
}
.hero-text {
  flex: 1;
  min-width: 0;
}
.hero-image {
  flex: 0 1 420px;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.hero .lead {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.8;
}
.hero .btn { margin-top: 0.5rem; }
.hero-sub {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* ===== Trust Signals ===== */

.trust-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 1rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.trust-item {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}
.trust-item::before {
  content: '\2713 ';
  color: var(--color-success);
  font-weight: 700;
}

/* ===== Who Section ===== */

.who-section {
  padding: 3.5rem 0 1.5rem;
}
.who-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* ===== Features & Grid ===== */

.features {
  padding: 3.5rem 0;
}
.features h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.feature:hover {
  box-shadow: var(--shadow-md);
}
.feature h3 { font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 600; }
.feature p { color: var(--color-text-muted); font-size: 0.9375rem; margin: 0; line-height: 1.7; }

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.625rem;
}

/* ===== CTA ===== */

.cta {
  text-align: center;
  padding: 3.5rem 0;
}
.cta h2 { margin-bottom: 1rem; font-size: 1.5rem; font-weight: 700; }

/* ===== FAQ Accordion ===== */

.faq-section {
  padding: 3.5rem 0;
  max-width: 700px;
  margin: 0 auto;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--color-primary);
}
.faq-item summary {
  padding: 1.125rem 1.375rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  padding: 0 1.375rem 1.125rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ===== Disclaimer ===== */

.disclaimer-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  text-align: center;
}
.disclaimer-section p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.disclaimer-section strong { color: var(--color-text); }

/* ===== Forms ===== */

.form-section {
  max-width: 440px;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.form-section h1 { margin-bottom: 0.5rem; font-size: 1.5rem; font-weight: 700; }
.form-section > p { color: var(--color-text-muted); margin-bottom: 1.75rem; font-size: 1rem; }

.auth-form .form-group { margin-bottom: 1.375rem; }
.auth-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.auth-form input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(43,122,111,0.15);
}
.auth-form input::placeholder { color: #a09a94; }
.auth-form .form-error {
  font-size: 0.9375rem;
  color: var(--color-danger);
  margin-top: 0.375rem;
}
.auth-form button[type="submit"] { width: 100%; margin-top: 0.75rem; padding: 0.875rem; }

.form-footer {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}
.form-footer a { color: var(--color-primary); font-weight: 500; }
.form-footer a:hover { text-decoration: underline; }

/* ===== Plans ===== */

.plans-section { padding: 2.5rem 0; }
.plans-section h1 { text-align: center; margin-bottom: 0.5rem; font-size: 1.75rem; font-weight: 700; }
.plans-section .lead {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.plan-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.plan-card.popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  position: relative;
}
.plan-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-card.current {
  border-color: var(--color-success);
  position: relative;
}
.plan-card.pending {
  border-color: var(--color-info);
  position: relative;
  opacity: 0.85;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-success);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-card h3 { margin-bottom: 0.25rem; font-size: 1.25rem; font-weight: 700; }
.plan-card .minutes { color: var(--color-text-muted); font-size: 0.9375rem; margin: 0.375rem 0; }
.plan-card .price { font-size: 1.875rem; font-weight: 700; color: var(--color-text); }
.plan-card .price span { font-size: 1rem; font-weight: 400; color: var(--color-text-muted); }
.plan-card .overage { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.plan-card .btn { width: 100%; margin-top: 1.5rem; }
.plan-footnote { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.5rem; }

/* ===== Plans "Includes" ===== */

.plans-included {
  text-align: center;
  padding: 1.75rem;
  margin-top: 1.5rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.plans-included h3 { font-size: 1.0625rem; margin-bottom: 1rem; font-weight: 700; }
.plans-included-grid {
  display: flex;
  justify-content: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.plans-included-item {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.plans-included-item::before {
  content: '\2713 ';
  color: var(--color-success);
  font-weight: 700;
}

/* ===== Dashboard ===== */

.dashboard-section h1 { margin-bottom: 1.5rem; font-size: 1.5rem; font-weight: 700; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 700; }
.card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; font-weight: 600; }

.minutes-display { font-size: 1.625rem; font-weight: 700; color: var(--color-primary); }
.period { color: var(--color-text-muted); font-size: 0.9375rem; }

.call-number {
  font-size: 1.625rem;
  font-weight: 700;
  margin: 0.5rem 0;
  letter-spacing: 0.04em;
}
.call-card {
  text-align: center;
  border: 2px solid rgba(43,122,111,0.3);
  background: var(--color-primary-light);
}
.call-card .call-number {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 1rem;
  color: var(--color-text);
}

.usage-bar {
  width: 100%;
  height: 10px;
  background: var(--color-surface-alt);
  border-radius: 5px;
  margin: 0.625rem 0 0.375rem;
  overflow: hidden;
}
.usage-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease;
}
.usage-fill.green  { background: var(--color-success); }
.usage-fill.yellow { background: var(--color-warning); }
.usage-fill.red    { background: var(--color-danger); }

.low-minutes-banner {
  border-color: var(--color-warning);
  background: var(--color-warning-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.low-minutes-banner p { margin: 0; font-weight: 600; color: var(--color-warning); }

.period-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.manage-sub-card h3 { font-weight: 600; }

/* ===== Tables ===== */

.calls-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.calls-table th, .calls-table td {
  padding: 0.875rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.calls-table th {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.calls-table tbody tr:hover { background: var(--color-surface-alt); }

/* ===== Toast Notifications ===== */

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 380px;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s ease;
}
.toast.success { background: var(--color-success); color: white; }
.toast.error { background: var(--color-danger); color: white; }
.toast.info { background: var(--color-text); color: white; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Loading States ===== */

.btn.loading { color: transparent; pointer-events: none; }
.btn.loading::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -0.625em;
  margin-top: -0.625em;
  width: 1.25em;
  height: 1.25em;
  border: 2.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.btn-primary.loading::after { border-color: white; border-top-color: transparent; }
.btn-accent.loading::after { border-color: white; border-top-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ===== Legal Pages ===== */

.legal-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.legal-page h1 { font-size: 1.75rem; margin-bottom: 0.25rem; font-weight: 700; }
.legal-updated { color: var(--color-text-muted); font-size: 0.9375rem; margin-bottom: 2rem; }
.legal-page section { margin-bottom: 2.25rem; }
.legal-page h2 { font-size: 1.125rem; margin-bottom: 0.75rem; font-weight: 600; }
.legal-page p, .legal-page li { color: var(--color-text-muted); font-size: 0.9375rem; line-height: 1.8; }
.legal-page ul { margin: 0.5rem 0 0 1.25rem; padding: 0; }
.legal-page a { color: var(--color-primary); font-weight: 500; }
.legal-page a:hover { text-decoration: underline; }

/* ===== Form Checkboxes ===== */

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
}
.form-group.checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}
.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
}
.form-group.checkbox label a { color: var(--color-primary); font-weight: 500; }
.form-group.checkbox .consent-text { display: block; font-size: 0.9375rem; color: var(--color-text-muted); margin-top: 0.25rem; }

/* ===== AI Disclaimer Banner (dismissable) ===== */

.disclaimer-banner {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.375rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.disclaimer-banner strong { color: var(--color-text); }
.disclaimer-close {
  background: none;
  border: none;
  font-size: 1.375rem;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.disclaimer-close:hover { color: var(--color-text); }

/* ===== Contact Form ===== */

.contact-form .form-group { margin-bottom: 1.375rem; }
.contact-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(43,122,111,0.15);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #a09a94; }
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ===== Guide Page ===== */

.guide-page { max-width: 700px; margin: 0 auto; padding: 2.5rem 0; }
.guide-page h1 { font-size: 1.75rem; margin-bottom: 0.5rem; font-weight: 700; }
.guide-page > p { color: var(--color-text-muted); margin-bottom: 2.25rem; font-size: 1.0625rem; line-height: 1.7; }
.guide-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}
.guide-step .step-number { flex-shrink: 0; margin-top: 0.125rem; }
.guide-step h3 { font-size: 1.125rem; margin-bottom: 0.375rem; font-weight: 600; }
.guide-step p { color: var(--color-text-muted); font-size: 1rem; margin: 0; line-height: 1.8; }
.guide-tips {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2.5rem;
}
.guide-tips h3 { font-size: 1.125rem; margin-bottom: 0.75rem; font-weight: 700; }
.guide-tips ul { margin: 0; padding-left: 1.25rem; }
.guide-tips li { color: var(--color-text-muted); font-size: 1rem; line-height: 1.9; }

/* ===== Utility Classes ===== */

.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 0.9375rem; }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ===== Profile Page ===== */

.profile-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.profile-page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.75rem; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.profile-col { display: flex; flex-direction: column; gap: 1.5rem; }

.profile-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
}
.profile-field:last-of-type { border-bottom: none; }
.profile-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.profile-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

.profile-phone-display {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phone-prefix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.phone-input-wrap input { flex: 1; }

.profile-help-card h3 { margin-bottom: 0.75rem; }
.profile-help-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-help-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.profile-help-links li:last-child { border-bottom: none; }
.profile-help-links a { font-weight: 500; }

.profile-danger-zone {
  padding-top: 0.5rem;
}
.profile-danger-zone a {
  font-size: 0.9375rem;
  color: var(--color-danger);
  font-weight: 500;
  text-decoration: none;
}
.profile-danger-zone a:hover { text-decoration: underline; }

/* ===== Dashboard Helpers ===== */

.dash-subtitle {
  color: var(--color-text-muted);
  margin: -1rem 0 1.5rem;
  font-size: 0.9375rem;
}

.banner-info {
  border-color: var(--color-info);
  background: #eef4fb;
}

/* ===== Share Button Group ===== */

.share-btn-group {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  justify-content: center;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .plans-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .plan-card {
    flex: 0 0 260px;
    scroll-snap-align: center;
  }
}

@media (max-width: 640px) {
  .header { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .header nav { justify-content: center; gap: 1rem; }
  .hero-split { flex-direction: column; text-align: center; gap: 2rem; padding: 2.5rem 0 2rem; }
  .hero-image { flex-basis: auto; }
  .hero-image img { max-width: 300px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: 1.75rem; }
  .hero .lead { font-size: 1.0625rem; }
  .main { padding: 1.5rem 1rem; }
  .plans-grid { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; }
  .plan-card { flex: 0 0 240px; }
  .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
  .call-number { font-size: 1.375rem; }
  .call-card .call-number { font-size: 1.5rem; }
  .calls-table { font-size: 0.875rem; }
  .calls-table th, .calls-table td { padding: 0.625rem 0.5rem; }
  .trust-row { gap: 0.75rem 1.5rem; padding: 1.25rem 0.75rem; }
  .trust-item { font-size: 0.875rem; }
  .guide-step { flex-direction: column; gap: 0.5rem; }
  .card { padding: 1.5rem; }
  .form-section { padding: 1.5rem 0; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-page { padding: 1.5rem 0; }
  .nav-divider { display: none !important; }
}
