/* ==========================================================================
   InSession Health · Site styles
   --------------------------------------------------------------------------
   1. Tokens          5. Header & nav       9.  Mockups (phone, dashboard)
   2. Base            6. Hero               10. Forms
   3. Layout          7. Sections & cards   11. Team
   4. Buttons         8. Steps & sharing    12. Footer & utilities
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* Brand palette (from the InSession Health visual direction) */
  --navy: #141b4d;
  --navy-2: #1f2a6b;
  --royal: #3e63dd;
  --royal-dark: #2f4fc0;
  --lavender: #9d8cf2;
  --lavender-soft: #ece9fd;
  --mist: #e4e7f1;
  --cream: #f6f1e4;

  /* Neutrals */
  --bg: #f7f8fc;
  --surface: #ffffff;
  --tint: #eef1fb;
  --ink: #141b4d;
  --text: #3b4266;
  --muted: #6b7194;
  --line: #dfe3f0;

  /* Feedback */
  --ok: #2f9e6f;
  --ok-soft: #e3f5ec;
  --warn-soft: #fff6e0;

  /* Type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 27, 77, .06), 0 2px 8px rgba(20, 27, 77, .04);
  --shadow: 0 10px 30px rgba(20, 27, 77, .08), 0 2px 6px rgba(20, 27, 77, .05);
  --shadow-lg: 0 30px 60px rgba(20, 27, 77, .14);

  --container: 1160px;
  --gutter: 24px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--royal-dark); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

/* 3. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--tint { background: var(--tint); }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: #c9cdea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 14px;
}

.lead { font-size: 1.2rem; color: var(--text); max-width: 560px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }

/* 4. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(20, 27, 77, .22); }
.btn--primary:hover { background: var(--navy-2); color: #fff; }

.btn--royal { background: var(--royal); color: #fff; box-shadow: 0 8px 20px rgba(62, 99, 221, .28); }
.btn--royal:hover { background: var(--royal-dark); color: #fff; }

.btn--outline { background: rgba(255, 255, 255, .7); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: #fff; color: var(--navy); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); background: var(--lavender-soft); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

.btn--small { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* 5. Header & nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 252, .85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand__sub { font-size: .6rem; font-weight: 600; letter-spacing: .42em; margin-top: 4px; padding-left: 2px; }

.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text); font-weight: 500; font-size: .96rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--navy); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--royal); padding-bottom: 4px; }

.nav__actions { display: flex; gap: 10px; }

.nav__toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(157, 140, 242, .28), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(62, 99, 221, .14), transparent 60%),
    linear-gradient(180deg, #f9f9fe 0%, var(--bg) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }

.hero__tagline {
  position: absolute; right: var(--gutter); top: 32px;
  text-align: right; font-size: .72rem; letter-spacing: .3em; line-height: 2; color: var(--muted); font-weight: 600;
}

.hero__note { margin-top: 22px; font-size: .92rem; color: var(--muted); }

.page-hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(157, 140, 242, .22), transparent 60%),
    linear-gradient(180deg, #f9f9fe 0%, var(--bg) 100%);
}
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); max-width: 820px; }
.page-hero .lead { max-width: 680px; }

/* 7. Sections & cards ----------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card--soft { background: rgba(255, 255, 255, .65); }
.card--lift { transition: transform .2s, box-shadow .2s; }
.card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lavender-soft); color: var(--royal);
  margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--lg { width: 72px; height: 72px; }
.icon-badge--lg svg { width: 32px; height: 32px; }

.features { text-align: center; }
.features .icon-badge { margin-left: auto; margin-right: auto; }
.features p { color: var(--muted); font-size: .98rem; }

.audience-card { display: flex; flex-direction: column; }
.audience-card .tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.tag--client { background: #e6edff; color: var(--royal-dark); }
.tag--therapist { background: var(--lavender-soft); color: #5a48c9; }
.tag--session { background: var(--ok-soft); color: #22795a; }
.audience-card p { flex: 1; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--lavender-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233e63dd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.program-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.program-tile svg { width: 38px; height: 38px; margin: 0 auto 12px; color: var(--royal); }

.program-card .status {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--muted); margin-bottom: 14px;
}
.program-card .status--free { background: var(--ok-soft); color: #22795a; }
.program-card .status--premium { background: var(--lavender-soft); color: #5a48c9; }
.program-card ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: .96rem; }

.callout {
  border-radius: var(--radius);
  padding: 22px 26px;
  background: var(--lavender-soft);
  color: var(--navy);
  font-size: .98rem;
}
.callout strong { color: var(--navy); }
.callout--cream { background: var(--cream); }

.cta-band {
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(157, 140, 242, .45), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #c9cdea;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .btn { min-width: 260px; }

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.stat-row { display: grid; gap: 16px; }
.stat { display: flex; align-items: center; gap: 24px; padding: 22px 28px; }
.stat strong { flex: 0 0 110px; font-family: var(--font-display); font-size: 3rem; color: var(--navy); font-weight: 500; line-height: 1; }
.stat span { color: var(--muted); font-size: 1rem; }

.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--royal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* 8. Steps & sharing levels ---------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step::before {
  content: counter(step);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--lavender));
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); }

.share-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.share-level { position: relative; padding-top: 34px; }
.share-level .meter { display: flex; gap: 6px; margin-bottom: 18px; }
.share-level .meter i { height: 8px; flex: 1; border-radius: 4px; background: var(--mist); }
.share-level .meter i.on { background: linear-gradient(90deg, var(--royal), var(--lavender)); }
.share-level h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.share-level ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: .96rem; }

/* 9. Mockups -------------------------------------------------------------- */
.mockup-stage { position: relative; min-height: 540px; }

.phone {
  position: relative;
  width: 280px;
  border-radius: 42px;
  padding: 12px;
  background: #0f1436;
  box-shadow: var(--shadow-lg);
}
.phone__screen { border-radius: 32px; background: #fbfbff; overflow: hidden; padding: 18px 18px 14px; min-height: 520px; display: flex; flex-direction: column; }
.phone__status { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.phone__notch { width: 90px; height: 22px; background: #0f1436; border-radius: 0 0 14px 14px; margin: -18px auto 8px; }
.phone h4 { font-size: 1.25rem; margin-bottom: 2px; }
.phone .muted { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.phone__tabs { margin-top: auto; display: flex; justify-content: space-around; font-size: .62rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.phone__tabs .active { color: var(--royal); font-weight: 700; }

.moods { display: flex; justify-content: space-between; margin-bottom: 16px; }
.moods span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; }
.moods span:nth-child(1) { background: #dff3ea; }
.moods span:nth-child(2) { background: #fff1c9; }
.moods span:nth-child(3) { background: #ffe3c4; box-shadow: 0 0 0 2px var(--royal); }
.moods span:nth-child(4) { background: #e3e8ff; }
.moods span:nth-child(5) { background: #ece6ff; }

.mini-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px;
  font-size: .8rem; color: var(--ink); font-weight: 600;
}
.mini-card small { display: block; color: var(--muted); font-weight: 400; font-size: .7rem; }
.mini-card .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--lavender-soft); display: grid; place-items: center; color: var(--royal); flex-shrink: 0; }
.mini-card .dot svg { width: 18px; height: 18px; }
.mini-card .chev { margin-left: auto; color: var(--muted); }

.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.chart-card h5 { margin: 0 0 6px; font-size: .78rem; color: var(--ink); }
.chart-card svg { width: 100%; height: auto; }

.mockup-stage .phone { position: absolute; right: 30px; top: 0; z-index: 2; }
.mockup-stage .float-card {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px;
  font-size: .82rem; color: var(--ink); max-width: 210px;
}
.float-card--a { left: 0; top: 40px; }
.float-card--b { left: 0; bottom: 40px; }
.float-card .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.float-card .big { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.float-card .pill { display: inline-block; background: var(--ok-soft); color: #22795a; border-radius: 999px; padding: 2px 8px; font-size: .7rem; font-weight: 700; }

.dashboard {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 170px 1fr;
  font-size: .82rem;
  min-height: 380px;
}
.dashboard__side { background: #f8f9fe; border-right: 1px solid var(--line); padding: 18px 14px; }
.dashboard__side .brand img { width: 26px; height: 26px; }
.dashboard__side .brand__name { font-size: .95rem; }
.dashboard__side .brand__sub { font-size: .45rem; }
.dashboard__side ul { list-style: none; padding: 0; margin: 22px 0 0; }
.dashboard__side li { padding: 8px 10px; border-radius: 8px; color: var(--muted); margin-bottom: 2px; }
.dashboard__side li.active { background: var(--lavender-soft); color: var(--navy); font-weight: 600; }
.dashboard__main { padding: 20px 22px; }
.dashboard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dashboard__top h5 { margin: 0; font-size: 1rem; color: var(--ink); }
.dashboard__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { color: var(--muted); display: block; font-size: .68rem; }
.kpi strong { font-size: 1.2rem; color: var(--navy); }
.client-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--royal), var(--lavender)); flex-shrink: 0; }
.client-row .meta { flex: 1; }
.client-row .meta small { display: block; color: var(--muted); font-size: .68rem; }
.badge { font-size: .64rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.badge--ok { background: var(--ok-soft); color: #22795a; }
.badge--lav { background: var(--lavender-soft); color: #5a48c9; }
.badge--warn { background: var(--warn-soft); color: #9a6a00; }

/* 10. Forms --------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 2rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }

.field label, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fbfcff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(62, 99, 221, .14); background: #fff;
}

fieldset.field { border: 0; padding: 0; margin: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fbfcff; font-size: .92rem; color: var(--text); cursor: pointer;
  transition: all .15s;
}
.choice input:checked + span { background: var(--lavender-soft); border-color: var(--royal); color: var(--navy); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--lavender); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--royal); flex-shrink: 0; }

.form-footnote { font-size: .85rem; color: var(--muted); margin-top: 14px; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
}
.form-success .icon-badge { margin: 0 auto 18px; background: var(--ok-soft); color: var(--ok); }
.is-submitted .form-body { display: none; }
.is-submitted .form-success { display: block; }

.tabs { display: inline-flex; background: var(--tint); border-radius: 999px; padding: 5px; margin-bottom: 28px; gap: 4px; }
.tabs button {
  border: 0; background: none; padding: 10px 20px; border-radius: 999px;
  font: 600 .95rem var(--font-body); color: var(--muted); cursor: pointer;
}
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
[role="tabpanel"][hidden] { display: none; }

/* 11. Team ---------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person { display: flex; flex-direction: column; }
.person__photo {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 22px;
  background: var(--mist);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.person__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--royal), var(--lavender));
}
.person__role { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); margin-bottom: 6px; }
.person h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.85rem; margin-bottom: 12px; }
.person p { color: var(--muted); font-size: .98rem; }
.person__link { margin-top: auto; font-weight: 600; font-size: .92rem; }

.founder { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.founder .person__photo { margin: 0; }
.founder blockquote {
  margin: 0 0 24px; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.35; color: var(--ink);
}

/* 12. Footer & utilities -------------------------------------------------- */
.site-footer { background: var(--navy); color: #aeb3d9; padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: #d7daf2; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-tagline { margin-top: 18px; max-width: 300px; }
.crisis-note {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 28px; color: #d7daf2; font-size: .9rem;
}
.crisis-note strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: .85rem; }

.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* Reveal-on-scroll (progressive enhancement; see main.js) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .nav__actions .btn--outline { display: none; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero__grid, .split, .split--wide-left, .founder, .cta-band { grid-template-columns: 1fr; }
  .hero__tagline { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .team, .share-levels { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 32px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .founder { gap: 32px; }
  .founder .person__photo { max-width: 380px; }
  .mockup-stage { max-width: 520px; margin: 0 auto; width: 100%; }

  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 76px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 16px var(--gutter) 24px;
    display: none;
  }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 16px; }
  .nav__links a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .nav__links a[aria-current="page"] { box-shadow: none; color: var(--royal); }
  .nav__actions { flex-direction: column; }
  .nav__actions .btn--outline { display: inline-flex; }
}

@media (min-width: 961px) {
  .nav__menu { display: flex; align-items: center; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .grid-2, .grid-3, .grid-4, .team, .share-levels, .stat-row, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .btn-row .btn { width: 100%; }
  .mockup-stage { min-height: 0; display: flex; justify-content: center; }
  .mockup-stage .phone { position: relative; right: auto; }
  .mockup-stage .float-card { display: none; }
  .dashboard { grid-template-columns: 1fr; }
  .dashboard__side { display: none; }
  .step { grid-template-columns: 1fr; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 10px 8px; }
}

/* Small mockup details */
.phone__art { border-radius: 14px; margin-bottom: 14px; }
.chart-legend { margin: 0; font-size: .7rem; color: var(--muted); }
.avatar svg { width: 15px; height: 15px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: 8px; }

/* Team member cards: photo beside text */
.person--card { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; padding: 28px; }
.person--card .person__photo { margin: 0; }
.person--card h3 { font-size: 1.6rem; }
@media (max-width: 640px) {
  .person--card { grid-template-columns: 1fr; }
  .person--card .person__photo { max-width: 200px; }
}
