/* EasyPeasy public website: design tokens, layout, and components. */

/* ── Tokens ── */
:root {
  --canvas:        #f7f3ef;
  --surface:       #fffdfb;
  --surface-soft:  #fbebe8;
  --ink:           #241513;
  --muted:         #725f5a;
  --subtle:        #a9928b;
  --border:        #eadbd6;
  --border-strong: #ddb8ae;
  --red:           #bd3428;
  --red-dark:      #8e211a;
  --red-soft:      #f4d7d1;
  --rose:          #fff2ef;
  --shadow-sm:     0 4px 12px rgba(80, 38, 30, 0.07);
  --shadow:        0 18px 45px rgba(80, 38, 30, 0.09);
  --shadow-lift:   0 28px 64px rgba(80, 38, 30, 0.14);
  --serif:         Georgia, "Times New Roman", serif;
  --sans:          Inter, ui-sans-serif, system-ui, -apple-system,
                   BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-pill:   999px;
  --radius-card:   24px;
  --radius-inner:  18px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
p { margin: 0; }

/* ── Links ── */
a {
  color: var(--red);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  transition: color 0.15s;
}
a:hover { color: var(--red-dark); }

/* ── Typography scale ── */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(46px, 8vw, 88px); line-height: 0.94; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; }
h3 { font-size: clamp(22px, 3vw, 28px); line-height: 1.12; }
h4 { font-size: 18px; line-height: 1.2; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lede {
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
}
.meta {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Layout shell ── */
.site-shell { min-height: 100vh; overflow-x: hidden; }

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Top navigation ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(221, 184, 174, 0.5);
  background: rgba(247, 243, 239, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

/* Brand mark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--red);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(148, 59, 45, 0.1);
}
.brand-word {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}

/* Primary nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--rose); color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff9f6 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(189, 52, 40, 0.22);
  transition: background 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { background: var(--red-dark) !important; box-shadow: 0 12px 28px rgba(189, 52, 40, 0.28); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff9f6;
  box-shadow: 0 14px 32px rgba(189, 52, 40, 0.22);
}
.btn-primary:hover { background: var(--red-dark); color: #fff9f6; box-shadow: 0 18px 40px rgba(189, 52, 40, 0.3); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--rose); color: var(--red); }
.btn-ghost {
  background: transparent;
  color: var(--red);
  border-color: var(--red-soft);
}
.btn-ghost:hover { background: var(--rose); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 17px; }

/* ── Section spacing ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 110px 0; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 52, 40, 0.10), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 52, 40, 0.06), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow { margin-bottom: 24px; }
.hero-heading { margin-bottom: 22px; }
.hero-lede { max-width: 560px; margin-bottom: 36px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

/* App store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff9f6;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 10px 24px rgba(36, 21, 19, 0.18);
}
.store-btn:hover { background: #3a2320; color: #fff9f6; transform: translateY(-1px); }
.store-btn-icon { font-size: 22px; line-height: 1; }
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-label { font-size: 10px; font-weight: 600; opacity: 0.75; letter-spacing: 0.04em; text-transform: uppercase; }
.store-btn-name { font-size: 15px; font-weight: 800; line-height: 1.1; }

/* ── Phone / Share card mockup ── */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 100%;
  max-width: 340px;
  border-radius: 38px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
}
.share-card {
  border-radius: 28px;
  padding: 32px 28px 28px;
  min-height: 460px;
  background:
    radial-gradient(circle at 80% 8%, rgba(255,255,255,0.22), transparent 32%),
    linear-gradient(148deg, #c93d30 0%, #9f261d 100%);
  color: #fff9f6;
  display: flex;
  flex-direction: column;
}
.share-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}
.share-card-ep {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,0.16);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
}
.share-card-headline {
  margin-top: auto;
  padding-top: 60px;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 52px);
  color: #fff9f6;
  line-height: 0.98;
}
.share-card-sub {
  margin-top: 18px;
  color: rgba(255, 249, 246, 0.78);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}
.share-card-progress {
  margin-top: 28px;
}
.progress-track {
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: rgba(255,255,255,0.82);
  transition: width 0.6s ease;
}
.share-card-stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: rgba(255,249,246,0.72);
  font-size: 13px;
  font-weight: 700;
}
.share-card-domain {
  margin-top: 32px;
  color: rgba(255,249,246,0.6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Floating badges on phone */
.phone-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.phone-badge-icon {
  display: inline-flex;
  min-width: 30px;
  justify-content: center;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.phone-badge-1 { top: 32px; left: -48px; }
.phone-badge-2 { bottom: 80px; left: -56px; }
.phone-badge-3 { top: 110px; right: -52px; }

/* ── Feature section ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  border: 1px solid var(--border-strong);
  background: var(--rose);
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── Goal / Progress visual section ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }
.split-content { display: flex; flex-direction: column; gap: 20px; }
.split-content .eyebrow { margin: 0; }
.split-content h2 { margin: 0; }
.split-content p { color: var(--muted); }
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.feature-list-check {
  flex-shrink: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  margin-top: 1px;
}

/* Goal stat card */
.goal-visual {
  position: relative;
}
.goal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.goal-card-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.goal-number {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 72px);
  color: var(--ink);
  line-height: 1;
}
.goal-unit {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}
.goal-label { color: var(--muted); font-size: 14px; margin-top: 6px; }
.goal-progress-section { margin-top: 28px; }
.goal-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.goal-progress-label span:last-child { color: var(--red); }
.goal-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--red-soft);
  overflow: hidden;
}
.goal-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c93d30, #bd3428);
  box-shadow: 0 0 10px rgba(189, 52, 40, 0.35);
}
.goal-milestones {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.milestone-strip {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.milestone-strip span {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.soft-status-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-inner);
  background: var(--canvas);
}
.soft-status-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.soft-status-card strong {
  color: var(--ink);
  font-size: 15px;
}
.soft-status-card span {
  color: var(--muted);
  font-size: 13px;
}
.soft-status-card .status-value {
  margin-left: auto;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}
.milestone {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-inner);
  background: var(--canvas);
  border: 1px solid var(--border);
  text-align: center;
}
.milestone-val { font-weight: 800; color: var(--ink); font-size: 15px; }
.milestone-label { color: var(--subtle); font-size: 11px; margin-top: 2px; }

/* Log method mini-card */
.log-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.log-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.log-entry-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--rose);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.log-entry-body { flex: 1; min-width: 0; }
.log-entry-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.log-entry-meta { color: var(--subtle); font-size: 13px; margin-top: 2px; }
.log-entry-cal {
  font-weight: 800;
  color: var(--red);
  font-size: 15px;
  flex-shrink: 0;
}
.log-entry-cal span { color: var(--subtle); font-size: 12px; font-weight: 700; }
.highlighted-entry {
  border-color: var(--border-strong);
  background: var(--rose);
}

/* ── Premium section ── */
.premium-section {
  background: var(--ink);
  border-radius: 32px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.premium-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 52, 40, 0.35), transparent 65%);
  pointer-events: none;
}
.premium-section .eyebrow { color: var(--red-soft); }
.premium-section h2 { color: #fff9f6; }
.premium-section .lede { color: rgba(255,249,246,0.7); }
.premium-heading {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.premium-heading .lede {
  margin-top: 16px;
}
.plan-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  position: relative;
  z-index: 1;
}
.plan-column {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-inner);
  background: rgba(255,255,255,0.06);
}
.plan-column h3 {
  color: #fff9f6;
  font-size: 24px;
}
.plan-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.plan-column li {
  color: rgba(255,249,246,0.74);
  font-size: 14px;
  font-weight: 700;
}
.plan-column li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--red-soft);
  font-weight: 900;
}
.premium-plan {
  border-color: rgba(255,249,246,0.28);
  background: rgba(255,255,255,0.1);
}
.premium-button {
  background: #fff9f6;
  color: var(--red);
}
.premium-button:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.premium-feature {
  padding: 24px;
  border-radius: var(--radius-inner);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.premium-feature-icon { font-size: 26px; margin-bottom: 14px; }
.premium-feature h4 { color: #fff9f6; margin-bottom: 8px; }
.premium-feature p { color: rgba(255,249,246,0.65); font-size: 14px; }
.premium-cta { margin-top: 40px; display: flex; gap: 14px; align-items: center; }
.premium-note { color: rgba(255,249,246,0.5); font-size: 13px; }

/* ── Testimonial / Quote strip ── */
.quote-strip {
  background: var(--rose);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 42px);
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.2;
}
.quote-attribution {
  margin-top: 20px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.quote-stars { color: var(--red); letter-spacing: 2px; }

/* ── CTA band ── */
.cta-band {
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lede { margin: 0 auto 36px; max-width: 520px; }
.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Wellness notice ── */
.wellness-notice {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--border-strong);
  background: var(--rose);
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: break-word;
}
.wellness-band {
  padding-top: 0;
}
.wellness-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.legal-notice {
  margin-top: 20px;
}

.surface-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-copy {
  max-width: 700px;
  margin-bottom: 48px;
}
.section-copy .lede {
  margin-top: 16px;
}
.privacy-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--rose);
  padding: 62px 0;
}
.privacy-strip-inner {
  max-width: 840px;
  text-align: center;
}
.privacy-strip h2 {
  margin: 0 auto;
}
.privacy-strip p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}
.coming-soon-card {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px 18px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-inner);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.coming-soon-card span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.coming-soon-card strong {
  color: var(--ink);
  font-size: 14px;
}
.availability-note {
  margin-top: 20px;
  color: var(--subtle);
  font-size: 13px;
}

/* ── Focus styles (accessibility) ── */
a:focus-visible,
.btn:focus-visible,
.store-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  background: #f0e8e2;
  padding: 40px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto auto;
  gap: 32px 48px;
  margin-bottom: 32px;
}
.footer-brand .brand-word { font-size: 18px; }
.footer-tagline { color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer-col-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-copy { color: var(--subtle); font-size: 13px; }
.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.footer-legal-links a:hover { color: var(--red); }

/* ── Legal pages ── */
.legal-hero { padding: 64px 0 24px; }
.legal-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  max-width: 800px;
  margin-top: 12px;
}
.legal-hero .lede { margin-top: 18px; max-width: 680px; }
.legal-hero .meta { margin-top: 16px; margin-bottom: 0; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.sidebar-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.sidebar-card-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
}
.sidebar-email {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--rose);
  border: 1px solid var(--border-strong);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: break-word;
  width: 100%;
}
.sidebar-email:hover { background: var(--red-soft); color: var(--red-dark); }
.sidebar-nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.sidebar-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sidebar-nav a:hover { background: var(--rose); color: var(--red); }
.sidebar-nav a[aria-current="page"] { background: var(--rose); color: var(--red); }

.legal-body {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 52px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}
.legal-body h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-top: 44px;
  padding-top: 6px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 20px; margin-top: 28px; }
.legal-body h4 { font-size: 16px; margin-top: 20px; font-family: var(--sans); font-weight: 800; }
.legal-body p { color: var(--muted); margin-top: 14px; font-size: 15px; line-height: 1.7; }
.legal-body ul, .legal-body ol {
  padding-left: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal-body li { margin-top: 6px; }
.legal-body strong { color: var(--ink); }
.legal-body a { font-weight: 700; }
.legal-divider {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
  border: none;
}

/* Support page specifics */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.support-card-icon { font-size: 28px; }
.support-card-icon {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--rose);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.support-card h3 { margin-top: 0; font-size: 18px; }
.support-card p { color: var(--muted); font-size: 14px; }
.support-card .btn { margin-top: auto; align-self: flex-start; }

/* Data deletion callout */
.deletion-callout {
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-strong);
  background: var(--rose);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.deletion-callout-icon {
  display: inline-flex;
  flex-shrink: 0;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.deletion-callout h3 { margin-top: 0; margin-bottom: 8px; font-size: 20px; }
.deletion-callout p { color: var(--muted); font-size: 14px; }
.deletion-callout .btn { margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    min-height: auto;
    gap: 10px;
  }
  .nav { overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }

  .hero { padding: 52px 0 48px; }
  .hero-grid,
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.reverse { direction: ltr; }
  .phone-badge { display: none; }
  .phone-frame { max-width: 300px; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }

  .premium-section { padding: 40px 28px; border-radius: 24px; }
  .plan-comparison { grid-template-columns: 1fr; }
  .premium-grid { grid-template-columns: 1fr; }
  .premium-cta { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: clamp(40px, 10vw, 60px); }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .store-buttons { flex-direction: column; }
  .store-btn { justify-content: center; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-links { flex-direction: column; gap: 8px; }

  .deletion-callout { flex-direction: column; }
}
