:root {
  --lagoon: #0B2F3A;
  --lagoon-dark: #06212A;
  --lagoon-light: #144253;
  --coral: #FF6B4A;
  --coral-light: #ff8a6f;
  --coral-10: rgba(255, 107, 74, 0.1);
  --coral-20: rgba(255, 107, 74, 0.2);
  --aqua: #46D7CF;
  --aqua-light: #6ce5de;
  --aqua-10: rgba(70, 215, 207, 0.1);
  --aqua-20: rgba(70, 215, 207, 0.2);
  --sun: #FFD45C;
  --sun-10: rgba(255, 212, 92, 0.1);
  --shell: #F7F3EA;
  --shell-dark: #efe9db;
  --paper: #FFFDF8;
  --text: #2a3b42;
  --text-heading: #0B2F3A;
  --text-muted: #61747A;
  --border: #e8e2d5;
  --border-light: #f0ebe0;
  --bg: var(--paper);
  --bg-card: #ffffff;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(11, 47, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 47, 58, 0.08);
  --shadow-lg: 0 8px 32px rgba(11, 47, 58, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0; }
a { color: var(--coral); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  background: var(--lagoon); color: #fff;
  padding: 0.6rem 1.2rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

/* ===== Header — light paper background ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 1.5rem;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.header-logo svg { width: 32px; height: 32px; }
.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--lagoon);
  letter-spacing: -0.02em;
}
.header-logo-text span { color: var(--coral); }
.header-nav { display: flex; align-items: center; gap: 0.2rem; }
.header-link {
  color: var(--lagoon);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.2s var(--ease);
  white-space: nowrap;
}
.header-link:hover { background: var(--shell); text-decoration: none; }
.header-link.active { color: var(--coral); }
.header-cta {
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.2s var(--ease);
  white-space: nowrap;
}
.header-cta:hover { background: var(--coral-light); text-decoration: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; background: none; border: none; }
.menu-toggle span {
  width: 22px; height: 2.5px; background: var(--lagoon);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-nav {
    position: fixed; top: 56px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column; align-items: stretch;
    padding: 1rem; gap: 0.25rem;
    transform: translateY(-150%);
    transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }
  .header-nav.open { transform: translateY(0); }
  .header-link { padding: 0.75rem 1rem; font-size: 0.95rem; }
  .header-cta { text-align: center; margin-top: 0.5rem; }
}

/* ===== Footer — compact, light ===== */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--border-light);
  padding: 2rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-brand span {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1rem; color: var(--lagoon);
}
.footer-brand span span { color: var(--coral); }
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: var(--coral); }
.footer-prototype {
  font-size: 0.78rem; color: var(--text-muted);
  background: var(--shell); border-radius: 100px;
  padding: 0.3rem 0.7rem;
}

/* ===== Layout ===== */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
@media (max-width: 768px) { .section { padding: 3rem 0; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--r-md);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: all 0.2s var(--ease);
  font-family: var(--font-body); cursor: pointer;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-light); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--lagoon); border-color: var(--lagoon); }
.btn-secondary:hover { background: var(--lagoon); color: #fff; text-decoration: none; }
.btn-aqua { background: var(--aqua); color: var(--lagoon); }
.btn-aqua:hover { background: var(--aqua-light); text-decoration: none; }
.btn-lg { font-size: 1.1rem; padding: 0.9rem 2.25rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { font-size: 0.85rem; padding: 0.5rem 1rem; }
.text-link { color: var(--lagoon); font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid var(--lagoon); padding-bottom: 1px; transition: color 0.2s var(--ease); }
.text-link:hover { color: var(--coral); border-bottom-color: var(--coral); text-decoration: none; }

/* ===== Cards ===== */
.card {
  background: var(--bg-card); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.card-elevated { box-shadow: var(--shadow-md); }

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.7rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}
.badge-verified { background: var(--aqua-20); color: var(--lagoon); }
.badge-owner { background: var(--sun-10); color: #8a7330; }
.badge-coral { background: var(--coral-10); color: var(--coral); }
.badge-aqua { background: var(--aqua-10); color: var(--lagoon); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.badge-dot.verified { background: var(--aqua); }
.badge-dot.owner { background: var(--sun); }

/* ===== Tabs ===== */
.tabs {
  display: flex; gap: 0.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab {
  padding: 0.75rem 1.25rem; font-weight: 600; font-size: 0.95rem;
  color: var(--text-muted); border: none; background: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  margin-bottom: -2px; white-space: nowrap; cursor: pointer;
}
.tab.active { color: var(--coral); border-bottom-color: var(--coral); }
.tab:hover:not(.active) { color: var(--lagoon); }

/* ===== Forms ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--lagoon); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--aqua);
  box-shadow: 0 0 0 3px var(--aqua-20);
}
.form-textarea { min-height: 90px; resize: vertical; }
.form-error { color: var(--coral); font-size: 0.82rem; margin-top: 0.25rem; }
.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.65rem; }
.checkbox-group input[type="checkbox"] { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--coral); flex-shrink: 0; }
.checkbox-group label { font-size: 0.88rem; line-height: 1.5; }

/* ===== Prototype notice ===== */
.prototype-notice {
  background: var(--sun-10); border: 1px solid var(--sun);
  border-radius: var(--r-md); padding: 0.85rem 1.1rem;
  display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.prototype-notice-icon { font-size: 1.2rem; flex-shrink: 0; }
.prototype-notice-text { font-size: 0.85rem; color: var(--lagoon); }
.prototype-notice-text strong { display: block; margin-bottom: 0.1rem; }

/* ===== Section header ===== */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-text { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; }
.section-tag {
  display: inline-block; color: var(--coral); font-weight: 700;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

/* ===== Landing: Split editorial hero ===== */
.hero {
  padding: 3rem 0 0;
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 520px;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem 3rem 0;
}
@media (max-width: 900px) { .hero-left { padding: 1.5rem 0; } }
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 600; color: var(--coral);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--lagoon);
  margin-bottom: 1.25rem;
}
.hero-headline .coral { color: var(--coral); }
.hero-copy {
  font-size: 1.05rem; line-height: 1.65; color: var(--text-muted);
  margin-bottom: 1.75rem; max-width: 460px;
}
.hero-ctas { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.hero-right {
  position: relative;
  background: var(--shell-dark);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  overflow: hidden;
  min-height: 480px;
}
@media (max-width: 900px) {
  .hero-right { border-radius: var(--r-xl) var(--r-xl) 0 0; min-height: 360px; }
}
.hero-photo {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.hero-overlay-cards {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.hero-float-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.6rem;
  backdrop-filter: blur(8px);
  flex: 1; min-width: 180px;
}
.hero-float-icon { font-size: 1.3rem; flex-shrink: 0; }
.hero-float-card strong { display: block; font-size: 0.82rem; color: var(--lagoon); font-family: var(--font-heading); }
.hero-float-card span { font-size: 0.72rem; color: var(--text-muted); }
.hero-float-card .badge { margin-left: auto; flex-shrink: 0; }

/* ===== Audience strip ===== */
.audience-strip {
  background: var(--lagoon);
  padding: 0.75rem 0;
}
.audience-strip-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  justify-content: center;
}
.audience-strip-item {
  display: flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem; font-weight: 500;
}
.audience-strip-item span { color: var(--aqua); font-size: 1rem; }
.audience-strip-divider { color: rgba(255,255,255,0.25); }

/* ===== Practice workflow section ===== */
.practice-section { background: var(--paper); }
.practice-heading {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-bottom: 3rem; align-items: end;
}
@media (max-width: 768px) { .practice-heading { grid-template-columns: 1fr; } }
.practice-heading h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.practice-heading p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

.practice-mockup {
  background: var(--lagoon-dark);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) { .practice-mockup { grid-template-columns: 1fr; padding: 1.5rem; } }
.practice-mockup-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.practice-mockup-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--aqua); font-weight: 600; margin-bottom: 1rem;
}
.practice-mockup-title { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.practice-mockup-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.practice-mockup-row:last-child { border-bottom: none; }
.practice-mockup-row span { color: rgba(255,255,255,0.5); font-size: 0.78rem; width: 80px; flex-shrink: 0; }
.practice-mockup-row strong { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500; }
.practice-mockup-field {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm); padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-bottom: 0.5rem;
}
.practice-mockup-btn {
  background: var(--coral); color: #fff;
  padding: 0.55rem 1.25rem; border-radius: var(--r-sm);
  font-size: 0.82rem; font-weight: 700; display: inline-block; margin-top: 0.5rem;
}
.practice-mockup-summary { color: rgba(255,255,255,0.7); font-size: 0.82rem; line-height: 1.55; margin-top: 0.5rem; }
.practice-mockup-badge {
  display: inline-block; background: var(--aqua-20); color: var(--aqua);
  font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.5rem;
  border-radius: 100px; margin-top: 0.5rem;
}

.practice-benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .practice-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .practice-benefits { grid-template-columns: 1fr; } }
.practice-benefit {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-md); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.practice-benefit-icon { font-size: 1.4rem; }
.practice-benefit strong { color: var(--lagoon); font-size: 0.9rem; font-family: var(--font-heading); }
.practice-benefit p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }

/* ===== Owner app section ===== */
.owner-section { background: var(--shell); }
.owner-heading { margin-bottom: 3rem; }
.owner-heading h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.owner-heading p { color: var(--text-muted); font-size: 1rem; max-width: 560px; }

.owner-mockup {
  background: var(--lagoon-dark);
  border-radius: var(--r-xl);
  padding: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) { .owner-mockup { grid-template-columns: 48px 1fr; } }
.owner-mockup-rail {
  background: var(--lagoon-dark);
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.owner-rail-icon { font-size: 1.2rem; opacity: 0.5; }
.owner-rail-icon.active { opacity: 1; color: var(--coral); }
.owner-mockup-body {
  background: var(--paper);
  padding: 1.75rem;
}
.owner-mockup-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}
.owner-mockup-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--shell); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.owner-mockup-header strong { color: var(--lagoon); font-family: var(--font-heading); font-size: 1rem; }
.owner-mockup-header span { font-size: 0.8rem; color: var(--text-muted); }
.owner-mockup-header .badge { margin-left: auto; }
.owner-mockup-tabs { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.owner-mockup-tab {
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  padding: 0.3rem 0; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.owner-mockup-tab.active { color: var(--coral); border-bottom-color: var(--coral); }
.owner-mockup-entries { display: flex; flex-direction: column; gap: 0.65rem; }
.owner-mockup-entry {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; background: var(--shell);
  border-radius: var(--r-sm);
}
.owner-mockup-entry-icon { font-size: 1.2rem; flex-shrink: 0; }
.owner-mockup-entry strong { display: block; font-size: 0.85rem; color: var(--lagoon); }
.owner-mockup-entry span { font-size: 0.75rem; color: var(--text-muted); }
.owner-mockup-entry .badge { margin-left: auto; flex-shrink: 0; }

/* ===== Mauritius proposition — full-width dark lagoon ===== */
.mauritius-section {
  background: var(--lagoon-dark);
  padding: 5rem 0;
  color: #fff;
}
@media (max-width: 768px) { .mauritius-section { padding: 3.5rem 0; } }
.mauritius-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .mauritius-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.mauritius-heading { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.mauritius-intro { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.65; margin-top: 1.25rem; max-width: 420px; }
.mauritius-features { display: flex; flex-direction: column; gap: 1.5rem; }
.mauritius-feature { display: flex; gap: 1.25rem; align-items: flex-start; }
.mauritius-feature-num {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
  color: var(--coral); flex-shrink: 0; width: 40px;
}
.mauritius-feature-body strong { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; display: block; margin-bottom: 0.25rem; }
.mauritius-feature-body p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.55; }

/* ===== Lost Mode feature ===== */
.lost-section { background: var(--shell); }
.lost-card {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
@media (max-width: 768px) { .lost-card { grid-template-columns: 1fr; } }
.lost-card-visual {
  background: radial-gradient(circle at 50% 50%, rgba(70,215,207,0.15) 0%, var(--shell) 70%);
  padding: 3rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.lost-map-illustration { width: 100%; max-width: 280px; }
.lost-card-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
@media (max-width: 768px) { .lost-card-body { padding: 2rem; } }
.lost-card-body h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.lost-card-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.lost-privacy-points { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 0.5rem; }
.lost-privacy-point { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; }
.lost-privacy-point span { color: var(--aqua); flex-shrink: 0; font-weight: 700; }

/* ===== Participation section ===== */
.participation-section { background: var(--paper); }
.participation-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .participation-grid { grid-template-columns: 1fr; } }
.participation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.participation-card-tag {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--coral);
}
.participation-card h3 { font-size: 1.2rem; margin: 0; }
.participation-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.participation-card ul { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.participation-card li { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 0.4rem; }
.participation-card li::before { content: '✓'; color: var(--aqua); font-weight: 700; flex-shrink: 0; }

/* ===== Founding clinic pilot — coral section ===== */
.pilot-section {
  background: var(--coral);
  padding: 5rem 0;
}
@media (max-width: 768px) { .pilot-section { padding: 3.5rem 0; } }
.pilot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .pilot-grid { grid-template-columns: 1fr; gap: 2rem; } }
.pilot-heading { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.pilot-copy { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.65; margin-top: 1rem; max-width: 420px; }
.pilot-form {
  background: #fff; border-radius: var(--r-xl);
  padding: 2rem; box-shadow: var(--shadow-lg);
}
.pilot-form h3 { margin-bottom: 0.5rem; }
.pilot-form .form-hint { margin-bottom: 1.25rem; }

/* ===== Page-specific styles (inner pages) ===== */
.page-header {
  padding: 3rem 0 1.5rem;
  background: var(--paper);
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.page-header .section-tag { margin-bottom: 0.5rem; }

/* Practice page */
.step-indicator { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.step-pill { display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: 100px; background: var(--shell-dark); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: all 0.2s var(--ease); }
.step-pill.active { background: var(--coral); color: #fff; }
.step-pill.done { background: var(--aqua-20); color: var(--lagoon); }
.step-pill-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.3); font-size: 0.75rem; }
.step-pill.active .step-pill-icon { background: rgba(255,255,255,0.25); }
.step-pill.done .step-pill-icon { background: var(--aqua); }
.practice-demo-step { margin-bottom: 1.5rem; }
.practice-demo-step h2 { margin-bottom: 0.5rem; }
.pet-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 1.5rem 0; }
@media (max-width: 480px) { .pet-select-grid { grid-template-columns: 1fr; } }
.pet-select-card { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 2px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); text-align: left; width: 100%; cursor: pointer; }
.pet-select-card:hover { border-color: var(--aqua); }
.pet-select-card.selected { border-color: var(--coral); background: var(--coral-10); }
.pet-select-avatar { font-size: 1.8rem; }
.pet-select-card strong { display: block; color: var(--lagoon); }
.pet-select-card span { font-size: 0.85rem; color: var(--text-muted); }
.care-entry-form { margin: 1.5rem 0; }
.demo-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.success-check { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--aqua-20); color: var(--lagoon); font-size: 1.4rem; margin-bottom: 0.5rem; }
.success-check-lg { font-size: 3rem; display: block; margin-bottom: 1rem; }
.practice-result-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.practice-result-header h2 { margin: 0; }
.care-entry-display { padding: 1.25rem; background: var(--shell); border-radius: var(--r-md); margin: 1rem 0; }
.care-entry-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.care-entry-icon { font-size: 1.5rem; }
.care-entry-title-row { flex: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.care-entry-title-row h3 { margin: 0; }
.care-entry-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.care-entry-details { font-size: 0.92rem; line-height: 1.55; }
.care-entry-due { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px dashed var(--border); font-size: 0.85rem; color: var(--coral); font-weight: 600; }
.practice-result-card { margin-bottom: 1.5rem; }
.reminder-preview { margin-top: 1rem; }
.reminder-card-display { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--coral-10); border-radius: var(--r-md); margin-bottom: 1rem; }
.reminder-card-display strong { color: var(--lagoon); display: block; }
.reminder-card-display p { font-size: 0.85rem; color: var(--text-muted); }
.reminder-timeline { padding-left: 1rem; }
.reminder-timeline-item { display: flex; gap: 0.75rem; padding: 0.5rem 0; }
.reminder-timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); flex-shrink: 0; margin-top: 4px; }
.reminder-timeline-dot.future { background: var(--aqua); }
.reminder-timeline-item strong { font-size: 0.88rem; color: var(--lagoon); display: block; }
.reminder-timeline-item p { font-size: 0.82rem; color: var(--text-muted); }

/* Care Pass page */
.care-pass-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.care-pass-pet { display: flex; align-items: center; gap: 1rem; }
.care-pass-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--aqua-10); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.care-pass-pet h2 { margin: 0; }
.care-pass-pet p { font-size: 0.88rem; color: var(--text-muted); }
.today-view, .share-view { display: flex; flex-direction: column; gap: 1.5rem; }
.today-section h3 { margin-bottom: 0.75rem; }
.today-reminder { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--coral-10); border-radius: var(--r-md); border-left: 4px solid var(--coral); }
.today-reminder-icon { font-size: 1.4rem; }
.today-reminder strong { display: block; color: var(--lagoon); }
.today-reminder p { font-size: 0.85rem; color: var(--text-muted); }
.today-reminder .badge { margin-left: auto; }
.today-entry { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: var(--r-sm); border: 1px solid var(--border-light); margin-bottom: 0.5rem; }
.today-entry-icon { font-size: 1.3rem; flex-shrink: 0; }
.today-entry-body { flex: 1; }
.today-entry-title { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.today-entry-date { font-size: 0.78rem; color: var(--text-muted); }
.weight-trend { display: flex; gap: 1rem; margin-bottom: 0.5rem; }
.weight-trend-entry { padding: 0.75rem 1rem; background: var(--shell-dark); border-radius: var(--r-sm); display: flex; flex-direction: column; gap: 0.15rem; }
.weight-trend-entry strong { color: var(--lagoon); font-size: 1.1rem; }
.weight-trend-entry span:first-child { font-size: 0.78rem; color: var(--text-muted); }
.weight-trend-label { font-size: 0.72rem; font-weight: 600; color: var(--aqua); }
.weight-trend-label.owner { color: var(--sun); }
.timeline-view { position: relative; padding-left: 0.5rem; }
.timeline-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.timeline-marker { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--aqua); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; z-index: 1; }
.timeline-card { flex: 1; }
.timeline-card-header { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; flex-wrap: wrap; }
.timeline-card-header h4 { margin: 0; }
.timeline-date { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }
.timeline-details { font-size: 0.9rem; line-height: 1.55; }
.timeline-meta { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.timeline-due { margin-top: 0.5rem; font-size: 0.85rem; color: var(--coral); font-weight: 600; }
.share-intro { margin-bottom: 1rem; }
.share-intro p { color: var(--text-muted); margin-top: 0.5rem; }
.share-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.share-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-md); padding: 1.25rem; box-shadow: var(--shadow-sm); transition: opacity 0.3s var(--ease); }
.share-card.revoked { opacity: 0.5; }
.share-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.share-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lagoon); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.share-card-header strong { display: block; color: var(--lagoon); }
.share-card-header p { font-size: 0.8rem; color: var(--text-muted); }
.share-card-meta { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.8rem; flex-wrap: wrap; gap: 0.3rem; }
.share-access-level { color: var(--lagoon); font-weight: 600; }
.share-expiry { color: var(--text-muted); }
.share-card .btn { width: 100%; justify-content: center; }
.share-consent { margin-top: 1rem; }
.share-consent h4 { margin-bottom: 1rem; }
.consent-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 600px) { .consent-list { grid-template-columns: 1fr; } }
.consent-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.consent-item strong { color: var(--lagoon); display: block; }
.consent-item p { font-size: 0.88rem; color: var(--text-muted); }

/* Lost Mode page */
.lost-privacy-notice { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem; background: var(--aqua-10); border-color: var(--aqua); }
.privacy-icon { font-size: 2rem; flex-shrink: 0; }
.privacy-list li { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.92rem; }
.privacy-list li::before { content: '→'; color: var(--coral); font-weight: 700; }
.lost-state { text-align: center; }
.lost-state-content { padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lost-state-icon { font-size: 3rem; }
.lost-state-content h2 { margin: 0.5rem 0 0; }
.lost-state-content p { color: var(--text-muted); max-width: 400px; }
.lost-state .btn { margin-top: 0.5rem; }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.zone-card { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 2px solid var(--border); border-radius: var(--r-md); background: #fff; text-align: left; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); width: 100%; cursor: pointer; }
.zone-card:hover { border-color: var(--coral); transform: translateY(-1px); }
.zone-map-preview { width: 56px; height: 42px; border-radius: var(--r-sm); background: var(--shell-dark); overflow: hidden; flex-shrink: 0; }
.zone-map-preview svg { width: 100%; height: 100%; }
.zone-card-info strong { display: block; color: var(--lagoon); font-size: 0.9rem; }
.zone-card-info span { font-size: 0.78rem; color: var(--text-muted); }
.lost-active { display: flex; flex-direction: column; gap: 1.5rem; }
.lost-alert-banner { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--coral-10); border: 1px solid var(--coral); border-radius: var(--r-md); flex-wrap: wrap; }
.lost-alert-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.lost-alert-banner strong { color: var(--lagoon); }
.lost-alert-banner p { font-size: 0.88rem; color: var(--text-muted); }
.lost-alert-banner .btn { margin-left: auto; }
.lost-active-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .lost-active-grid { grid-template-columns: 1fr; } }
.lost-map h3, .lost-sightings h3 { margin-bottom: 0.75rem; }
.lost-map-visual { border-radius: var(--r-md); overflow: hidden; margin-bottom: 1rem; }
.lost-map-visual svg { width: 100%; height: auto; }
.lost-map-info { display: flex; flex-direction: column; gap: 0.5rem; }
.lost-map-info-item { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.lost-map-info-item strong { color: var(--lagoon); }
.lost-map-info-item strong.muted { color: var(--text-muted); }
.lost-sightings { display: flex; flex-direction: column; gap: 1rem; }
.sighting-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sighting-item { padding: 0.75rem; border-radius: var(--r-sm); border: 1px solid var(--border-light); }
.sighting-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.sighting-zone { font-size: 0.85rem; color: var(--lagoon); font-weight: 600; }
.sighting-time { font-size: 0.78rem; color: var(--text-muted); }
.sighting-desc { font-size: 0.88rem; line-height: 1.5; }

/* Dashboard page */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 600px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.dash-stat-card { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem; background: var(--bg-card); border-radius: var(--r-md); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.dash-stat-icon { font-size: 1.5rem; }
.dash-stat-card strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--lagoon); }
.dash-stat-card span { font-size: 0.8rem; color: var(--text-muted); }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-column { display: flex; flex-direction: column; gap: 0.75rem; }
.dash-column-header { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }
.dash-column-header h3 { margin: 0; font-size: 1rem; }
.dash-empty { color: var(--text-muted); font-size: 0.88rem; padding: 1rem; text-align: center; }
.reminder-dash-card { padding: 1rem; border-radius: var(--r-md); border: 1px solid var(--border-light); border-left: 4px solid; background: var(--bg-card); }
.reminder-dash-card.status-coral { border-left-color: var(--coral); }
.reminder-dash-card.status-sun { border-left-color: var(--sun); }
.reminder-dash-card.status-aqua { border-left-color: var(--aqua); }
.reminder-dash-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.reminder-dash-icon { font-size: 1.3rem; flex-shrink: 0; }
.reminder-dash-top strong { color: var(--lagoon); display: block; font-size: 0.9rem; }
.reminder-dash-top p { font-size: 0.8rem; color: var(--text-muted); }
.reminder-dash-bottom { display: flex; justify-content: space-between; align-items: center; }
.reminder-dash-due { font-size: 0.8rem; color: var(--text-muted); }
.appointment-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.appointment-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg-card); border-radius: var(--r-md); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.appointment-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--lagoon); color: #fff; flex-shrink: 0; }
.appointment-day { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.appointment-month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.appointment-info { flex: 1; }
.appointment-info strong { color: var(--lagoon); display: block; }
.appointment-info p { font-size: 0.85rem; color: var(--text-muted); }

/* Partners page */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card { background: var(--bg-card); border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.partner-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.partner-card h2 { margin-bottom: 0.5rem; }
.partner-card > p { color: var(--text-muted); margin-bottom: 1rem; }
.partner-benefits { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.partner-benefits li { font-size: 0.9rem; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
@media (max-width: 768px) { .principles-grid { grid-template-columns: 1fr; } }
.principle { display: flex; flex-direction: column; gap: 0.3rem; }
.principle-icon { font-size: 1.8rem; }
.principle h3 { font-size: 1.05rem; margin: 0; }
.principle p { font-size: 0.9rem; color: var(--text-muted); }

/* Book Demo page */
.required { color: var(--coral); }
.consent-section { margin: 1.5rem 0; padding: 1.25rem; background: var(--shell); border-radius: var(--r-md); }
.consent-section h3 { margin-bottom: 0.5rem; }
.book-success { text-align: center; padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.book-success h1 { margin-bottom: 0.5rem; }
.book-success .section-text { max-width: 500px; }
.book-success-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; width: 100%; max-width: 480px; }
.book-detail { padding: 0.75rem 1rem; background: var(--shell); border-radius: var(--r-sm); text-align: left; }
.book-detail span { font-size: 0.78rem; color: var(--text-muted); display: block; }
.book-detail strong { color: var(--lagoon); }

.hidden { display: none !important; }