/* ============================================================
   Family Handover — Shared Stylesheet
   Mobile-first. Semantic. Accessible.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* ------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------ */
:root {
  --navy:       #1E293B;
  --sage:       #52796F;
  --amber:      #D4A373;
  --canvas:     #FBF9F5;
  --surface:    #FFFFFF;
  --border:     #EBE6DF;
  --slate:      #64748B;
  --sage-tint:  #EBF1EE;
  --sand:       #FEF7ED;

  --radius-card:   16px;
  --radius-btn:    14px;

  --shadow-card: 0 2px 8px rgba(30, 41, 59, 0.06);
  --shadow-nav:  0 1px 0 var(--border);

  --transition: all 0.2s ease;

  --nav-height: 64px;
}

/* ------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--canvas);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
}

/* ------------------------------------------------------------
   3. Accessibility
   ------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Material Symbols Rounded standard styling */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-rounded.fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ------------------------------------------------------------
   4. Layout helpers
   ------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 2.5rem 0;
}

/* ------------------------------------------------------------
   5. Typography
   ------------------------------------------------------------ */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--slate);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.section-heading {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--slate);
  font-size: 1.125rem;
  max-width: 560px;
}

/* ------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.btn-primary:hover {
  background: #3f6358;
  border-color: #3f6358;
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}

.btn-outline:hover {
  background: var(--sage-tint);
}

.btn-sm {
  min-height: 44px;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
}

/* Store buttons */
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  min-height: 56px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-store:hover {
  border-color: var(--sage);
  box-shadow: 0 4px 12px rgba(82, 121, 111, 0.15);
}

.btn-store .store-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-store .store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-store .store-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--slate);
  line-height: 1;
  margin-bottom: 0.125rem;
}

.btn-store .store-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

/* ------------------------------------------------------------
   7. Navigation
   ------------------------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  min-height: 44px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.logo-wordmark {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Desktop nav links */
.nav-links {
  display: none;
}

/* Desktop CTA */
.nav-cta {
  display: none;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger:hover {
  background: var(--sage-tint);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.1);
}

.nav-drawer.open {
  transform: translateY(0);
}

.drawer-links {
  padding: 0.5rem 0;
}

.drawer-links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.drawer-links a:last-child {
  border-bottom: none;
}

.drawer-links a:hover {
  background: var(--sage-tint);
  color: var(--sage);
}

.drawer-cta {
  padding: 1rem 1.5rem 1.25rem;
}

.drawer-cta .btn {
  width: 100%;
}

/* Desktop nav — ≥768px */
@media (min-width: 768px) {
  .nav-hamburger,
  .nav-drawer {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-radius: 6px;
    padding: 0 0.25rem;
  }

  .nav-links a:hover {
    color: var(--sage);
  }

  .nav-cta {
    display: flex;
  }

  .nav-cta .btn {
    min-height: 44px;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
  }
}

/* ------------------------------------------------------------
   8. Hero section
   ------------------------------------------------------------ */
.hero {
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-tint);
  color: var(--sage);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero-title span {
  color: var(--sage);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--sage-tint);
  border-radius: 100px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--sage);
  font-weight: 500;
}

.trust-chip .material-symbols-rounded,
.trust-badge .material-symbols-rounded,
.floating-card .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
}

/* Hero illustration — pure CSS */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.hero-illustration .ring {
  position: absolute;
  border-radius: 28px;
  border: 2px solid transparent;
}

.hero-illustration .ring-1 {
  inset: 0;
  background: var(--sage-tint);
  border-color: var(--sage);
  opacity: 0.35;
}

.hero-illustration .ring-2 {
  inset: 28px;
  background: var(--sand);
  border-color: var(--amber);
  opacity: 0.5;
}

.hero-illustration .ring-3 {
  inset: 56px;
  background: var(--surface);
  border-color: var(--border);
}

.hero-illustration .ring-center {
  position: absolute;
  inset: 80px;
  border-radius: 22px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.center-app-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(30, 41, 59, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  animation: hero-center-pulse 4s ease-in-out infinite alternate;
}

@keyframes hero-center-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.14);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 16px 36px rgba(82, 121, 111, 0.28);
  }
}

.hero-illustration .floating-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  z-index: 3;
}

.hero-illustration .card-tl {
  top: 20px;
  left: -20px;
  animation: float-tl 4.5s ease-in-out infinite alternate;
}

.hero-illustration .card-tr {
  top: 20px;
  right: -20px;
  animation: float-tr 4s ease-in-out infinite alternate;
  animation-delay: 0.6s;
}

.hero-illustration .card-bl {
  bottom: 36px;
  left: -24px;
  animation: float-bl 5s ease-in-out infinite alternate;
  animation-delay: 1.2s;
}

.hero-illustration .card-br {
  bottom: 36px;
  right: -24px;
  animation: float-br 4.2s ease-in-out infinite alternate;
  animation-delay: 1.8s;
}

@keyframes float-tl {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-7px) rotate(-1deg); }
}

@keyframes float-tr {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes float-bl {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(7px) rotate(1deg); }
}

@keyframes float-br {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(8px) rotate(-1deg); }
}

/* Subtle ring drift like analyticsmates */
.hero-illustration .ring-1 {
  animation: ring-drift 8s ease-in-out infinite alternate;
}

.hero-illustration .ring-2 {
  animation: ring-drift 6s ease-in-out infinite alternate-reverse;
}

@keyframes ring-drift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.02) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .center-app-logo,
  .hero-illustration .floating-card,
  .hero-illustration .ring-1,
  .hero-illustration .ring-2 {
    animation: none !important;
  }
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card-dot-sage {
  background: var(--sage);
}

.card-dot-amber {
  background: var(--amber);
}

.card-dot-green {
  background: #4ade80;
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }

  .hero-illustration {
    width: 340px;
    height: 340px;
  }

  .hero-illustration .ring-1 { border-radius: 32px; }
  .hero-illustration .ring-2 { inset: 32px; }
  .hero-illustration .ring-3 { inset: 64px; }
  .hero-illustration .ring-center { inset: 96px; border-radius: 20px; }
}

/* ------------------------------------------------------------
   9. Features section
   ------------------------------------------------------------ */
.features {
  background: var(--surface);
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-header .section-sub {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.1);
  border-color: var(--sage);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sage-tint);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper .material-symbols-rounded {
  font-size: 28px;
}

.feature-card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--slate);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------
   10. How it works section
   ------------------------------------------------------------ */
.how-it-works {
  background: var(--canvas);
}

.how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-header .section-sub {
  margin: 0 auto;
}

.steps-list {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body {
  padding-top: 0.25rem;
}

.step-body h3 {
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.step-body p {
  font-size: 0.9375rem;
}

.step-connector {
  width: 48px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .steps-list {
    gap: 0;
  }

  .step {
    gap: 2rem;
  }
}

/* ------------------------------------------------------------
   11. Trust strip
   ------------------------------------------------------------ */
.trust-strip {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.trust-strip-text {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 540px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  min-height: 44px;
}

/* ------------------------------------------------------------
   12. Download CTA section
   ------------------------------------------------------------ */
.download-cta {
  background: var(--navy);
  text-align: center;
}

.download-cta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.download-cta p {
  color: var(--slate);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.download-cta p.light {
  color: #94a3b8;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.download-cta .btn-store {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.download-cta .btn-store:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--amber);
}

.download-cta .btn-store .store-sub {
  color: #94a3b8;
}

.download-cta .btn-store .store-name {
  color: #fff;
}

/* ------------------------------------------------------------
   13. FAQ section
   ------------------------------------------------------------ */
.faq {
  background: var(--surface);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header .section-sub {
  margin: 0 auto;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  min-height: 56px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: var(--transition);
  font-family: inherit;
}

.faq-question:hover {
  background: var(--sage-tint);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  color: var(--sage);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

/* ------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: var(--slate);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 0.875rem;
}

.footer-brand .logo-wordmark {
  color: #fff;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #94a3b8;
  max-width: 220px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  display: grid;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: #94a3b8;
  transition: var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-legal {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
}

.footer-legal p + p {
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #475569;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: #475569;
  transition: var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }
}

/* ------------------------------------------------------------
   15. Section padding — desktop
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

  .trust-strip {
    padding: 3rem 0;
  }

  .trust-strip-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 2rem;
  }

  .trust-strip-text {
    max-width: 360px;
  }
}

/* ------------------------------------------------------------
   16. Inner pages (privacy, terms)
   ------------------------------------------------------------ */
.inner-hero {
  background: var(--navy);
  padding: 3rem 0;
  text-align: center;
}

.inner-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.inner-hero p {
  color: #94a3b8;
  font-size: 1rem;
}

.inner-content {
  padding: 3rem 0 5rem;
}

.inner-content .prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.375rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose h3 {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--slate);
  line-height: 1.7;
}

.prose ul,
.prose ol {
  margin: 0.75rem 0 1rem 1.5rem;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  color: var(--slate);
  margin-bottom: 0.375rem;
  line-height: 1.6;
}

.prose strong {
  color: var(--navy);
  font-weight: 600;
}

.prose a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: #3f6358;
}

.prose .notice-box {
  background: var(--sand);
  border: 1px solid var(--amber);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.prose .notice-box .material-symbols-rounded {
  color: var(--amber);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.prose .notice-box p {
  margin: 0;
  color: var(--navy);
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------
   17. 404 page
   ------------------------------------------------------------ */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.error-code {
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: var(--sage-tint);
  letter-spacing: -0.04em;
}

.error-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.error-page p {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 400px;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ------------------------------------------------------------
   18. Animations & utilities
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.text-center { text-align: center; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }
