/* ============================================================
   Merfi by Sensory Solutions — getmerfi.com
   Shared stylesheet for /info, /join, /guide, /legal
   ============================================================ */

:root {
  /* Brand colours (from the Merfi logo) */
  --cyan:        #00c0d0;
  --cyan-deep:   #0a8a99;   /* accessible link/heading tone on white */
  --coral:       #f0705f;
  --green:       #4fbe85;
  --amber:       #f2a950;

  /* Neutrals */
  --ink:         #2b2e35;
  --muted:       #667085;
  --line:        #e7eaf0;
  --bg:          #ffffff;
  --surface:     #f6fbfc;   /* soft cyan-tinted panel */
  --surface-warm:#fff7ef;   /* warm notice panel */
  --shadow:      0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);

  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-head: "Nunito", var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

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

/* Playful 4-colour top bar */
.brandbar {
  height: 6px;
  background: linear-gradient(90deg,
     var(--cyan) 0%, var(--cyan) 25%,
     var(--green) 25%, var(--green) 50%,
     var(--amber) 50%, var(--amber) 75%,
     var(--coral) 75%, var(--coral) 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
.logo .tagline {
  font: 600 12px/1 var(--font-head);
  color: var(--muted); letter-spacing: .02em;
  padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font: 600 15px/1 var(--font-head);
  color: var(--muted); text-decoration: none;
  padding: 8px 14px; border-radius: 999px; transition: all .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a.active { color: var(--cyan-deep); background: var(--surface); }

/* ---------- Page hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 48px 24px 8px;
}
.eyebrow {
  display: inline-block; font: 700 13px/1 var(--font-head);
  letter-spacing: .08em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 14px;
}
.hero h1 {
  font: 800 clamp(30px, 5vw, 44px)/1.1 var(--font-head);
  margin: 0 0 16px; letter-spacing: -.01em;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 13.5px/1 var(--font-head);
  padding: 7px 13px; border-radius: 999px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.badge.draft { background: var(--surface-warm); color: #9a6a1e; border-color: #f6e2c6; }
.badge.draft .dot { background: var(--amber); }

/* ---------- Layout: content + sticky TOC ---------- */
.layout {
  max-width: var(--maxw); margin: 0 auto; padding: 28px 24px 72px;
  display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start;
}
.toc {
  position: sticky; top: 92px;
  font-size: 14.5px;
  max-height: calc(100vh - 120px); overflow: auto;
  padding-right: 8px;
}
.toc h2 {
  font: 700 12px/1 var(--font-head); text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin: 0 0 12px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 6px 12px; border-radius: 8px;
  color: var(--muted); text-decoration: none; border-left: 2px solid transparent;
  transition: all .15s ease;
}
.toc a:hover { color: var(--ink); background: var(--surface); }
.toc a.active { color: var(--cyan-deep); border-left-color: var(--cyan); background: var(--surface); font-weight: 600; }

/* ---------- Legal content ---------- */
.content { min-width: 0; }
.content > .notice:first-child { margin-top: 0; }

.content h2 {
  font: 800 24px/1.25 var(--font-head);
  margin: 44px 0 14px; letter-spacing: -.01em; scroll-margin-top: 92px;
  padding-top: 8px;
}
.content h2 .num {
  color: var(--cyan-deep); margin-right: 10px; font-weight: 800;
}
.content h3 {
  font: 700 18px/1.35 var(--font-head);
  margin: 28px 0 8px; color: #3a3f47;
}
.content p { margin: 0 0 16px; }
.content ul { margin: 0 0 18px; padding-left: 22px; }
.content li { margin: 0 0 8px; }
.content a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 2px; }
.content strong { color: #23262c; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* Callout boxes */
.notice {
  border-radius: var(--radius); padding: 20px 22px; margin: 22px 0 26px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.notice .notice-title {
  display: flex; align-items: center; gap: 9px;
  font: 800 15px/1.3 var(--font-head); margin: 0 0 8px; letter-spacing: .01em;
}
.notice p:last-child { margin-bottom: 0; }
.notice.kids  { background: linear-gradient(180deg,#eefafb,#f6fbfc); border-color: #cdeef1; }
.notice.kids  .notice-title { color: var(--cyan-deep); }
.notice.legal { background: var(--surface); border-color: #dfe6ef; }
.notice.legal .notice-title { color: #35506b; }
.notice.warn  { background: var(--surface-warm); border-color: #f6e2c6; }
.notice.warn  .notice-title { color: #9a6a1e; }
.notice .ic { width: 20px; height: 20px; flex: none; }

.data-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 0 0 18px;
}

/* Contact table */
.contact-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  margin: 8px 0 20px;
}
.contact-table th, .contact-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.contact-table thead th {
  background: var(--surface); font: 700 14px/1.3 var(--font-head); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.contact-table td { border-bottom: 1px solid var(--line); font-size: 15.5px; }
.contact-table tr:last-child td { border-bottom: 0; }
.contact-table td + td, .contact-table th + th { border-left: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--surface);
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 24px;
  display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between;
}
.footer-brand img { height: 30px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 340px; }
.footer-col h4 { font: 700 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.footer-col a, .footer-col span { display: block; color: var(--ink); text-decoration: none; font-size: 15px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--cyan-deep); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .fb-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* ---------- Index / hub page ---------- */
.hub { max-width: 900px; margin: 0 auto; padding: 60px 24px 80px; text-align: center; }
.hub .logo-lg { height: 64px; margin: 0 auto 24px; display: block; }
.hub h1 { font: 800 clamp(28px,5vw,40px)/1.15 var(--font-head); margin: 0 0 14px; }
.hub .lede { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; text-align: left; }
.card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(16,24,40,.10); }
.card .card-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font: 800 19px/1.2 var(--font-head); margin: 0 0 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.card .go { font: 700 14px/1 var(--font-head); color: var(--cyan-deep); }

/* ---------- Buttons + single-column doc pages ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 44px 24px 72px; }
.doc h1 { font: 800 clamp(28px,5vw,40px)/1.15 var(--font-head); margin: 0 0 12px; letter-spacing: -.01em; }
.doc .lede { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 16px/1 var(--font-head); color: #fff; background: var(--coral);
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,112,95,.32); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.secondary { background: #fff; color: var(--cyan-deep); border: 1px solid var(--line); box-shadow: none; }
.btn.secondary:hover { background: var(--surface); }

.btn.cyan { background: var(--cyan-deep); color: #fff; }
.btn.cyan:hover { box-shadow: 0 10px 24px rgba(10,138,153,.30); color: #fff; }
.btn.ghost { background: #fff; color: var(--cyan-deep); box-shadow: none; border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--cyan); background: var(--surface); }
.btn.big { font-size: 17.5px; padding: 16px 30px; }
.nav a.nav-cta { color: #fff; background: var(--cyan-deep); }
.nav a.nav-cta:hover { background: #0a7a88; color: #fff; }

/* Shared forms (join + info) */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px; margin: 6px auto 0;
  max-width: 560px; text-align: left;
}
.field { margin: 0 0 16px; }
.field:last-of-type { margin-bottom: 4px; }
.field label { display: block; font: 700 14.5px/1.4 var(--font-head); margin: 0 0 6px; }
.field input {
  width: 100%; font-size: 16px; font-family: var(--font-body); color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,192,208,.16); }
.field.err input { border-color: var(--coral); }
.field .err-msg { display: none; color: var(--coral); font-size: 13px; margin: 6px 0 0; }
.field.err .err-msg { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note a { color: var(--cyan-deep); }
.ok-banner {
  display: none; gap: 12px; align-items: flex-start; text-align: left;
  max-width: 560px; margin: 16px auto 0;
  background: linear-gradient(180deg,#eefafb,#f6fbfc); border: 1px solid #cdeef1;
  border-radius: var(--radius); padding: 18px 20px;
}
.ok-banner.show { display: flex; animation: okFade .4s ease; }
.ok-banner svg { flex: none; margin-top: 2px; }
.ok-banner b { font-family: var(--font-head); }
@keyframes okFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 20px; }
  .toc {
    position: static; max-height: none; order: -1;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px;
  }
  .toc.collapsible ol { display: none; }
  .toc.collapsible.open ol { display: block; }
  .toc .toc-toggle { display: flex; }
  .toc h2.desktop-only { display: none; }
  .cards { grid-template-columns: 1fr; }
  .logo .tagline { display: none; }
}
@media (min-width: 901px) { .toc .toc-toggle { display: none; } }
.toc-toggle {
  width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer; padding: 0; color: var(--muted);
  font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em;
}
.toc-toggle .chev { transition: transform .2s ease; }
.toc.open .toc-toggle .chev { transform: rotate(180deg); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 34px; }
  .contact-table, .contact-table thead, .contact-table tbody, .contact-table tr, .contact-table th, .contact-table td { display: block; width: 100%; }
  .contact-table td + td, .contact-table th + th { border-left: 0; }
  .contact-table thead { display: none; }
}

/* ---------- Print (legal docs get printed) ---------- */
@media print {
  .site-header, .toc, .site-footer, .footer-bottom, .brandbar, .toc-toggle { display: none !important; }
  .layout { display: block; padding: 0; }
  body { font-size: 12px; color: #000; }
  .notice { box-shadow: none; }
  a { color: #000; text-decoration: underline; }
  .content h2 { page-break-after: avoid; }
}

/* Accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ============================================================
   GUIDE ADDITIONS — phase1.html / phase2.html only
   ============================================================ */

/* Phase switcher pills under the H1 */
.phase-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.phase-nav a {
  font: 700 14px/1 var(--font-head); text-decoration: none;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); background: #fff; transition: all .15s ease;
}
.phase-nav a:hover { color: var(--ink); background: var(--surface); }
.phase-nav a.active { color: #fff; background: var(--cyan-deep); border-color: var(--cyan-deep); }

/* Numbered step lists (nicer than default ol) */
.content ol.steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: step; }
.content ol.steps li {
  position: relative; margin: 0 0 14px; padding: 2px 0 2px 40px; min-height: 26px;
}
.content ol.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); color: var(--cyan-deep); border: 1px solid #cdeef1;
  display: flex; align-items: center; justify-content: center;
  font: 800 13px/1 var(--font-head);
}

/* Kit / box-contents checklist */
.kit-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.kit-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-weight: 600; color: var(--ink);
}
.kit-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid var(--green); background: rgba(79,190,133,.12);
}

/* Photo / screenshot placeholder — clearly marked as "needs a real image" */
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; margin: 18px 0 26px; padding: 32px 20px;
  border: 2px dashed #f0c98a; border-radius: var(--radius);
  background: var(--surface-warm); color: #8a5f1c;
}
.photo-placeholder .ph-icon {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  border: 1px solid #f6e2c6; display: flex; align-items: center; justify-content: center;
}
.photo-placeholder strong { font: 800 14px/1.3 var(--font-head); color: #9a6a1e; text-transform: uppercase; letter-spacing: .04em; }
.photo-placeholder p { margin: 0; font-size: 14.5px; max-width: 480px; color: #8a5f1c; }

/* App screenshot figures (phone screenshots, 1–2 side by side) */
.shot-figure { margin: 20px 0 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shot-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.shot-row img {
  flex: 0 1 260px; max-width: 260px; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 6px 18px rgba(20,30,50,.08);
}
.shot-figure figcaption {
  margin: 0; text-align: center; font-size: 14.5px; color: var(--muted); max-width: 560px;
}
@media (max-width: 560px) {
  .shot-row img { flex-basis: 100%; max-width: 300px; }
}

/* Troubleshoot table reuses .contact-table styling; just widen first column */
.contact-table.troubleshoot td:first-child, .contact-table.troubleshoot th:first-child { width: 34%; font-weight: 700; }

/* Callout for "tip" style notices (green) already covered by .notice.kids — add a neutral "step-tip" variant */
.notice.tip { background: linear-gradient(180deg,#f2fbf6,#f8fdfa); border-color: #d5f0e1; }
.notice.tip .notice-title { color: #2f7a54; }


/* ============================================================
   INFO / MARKETING (scoped to body.page-info)
   ============================================================ */

/* ---------- Shared layout ---------- */
.page-info .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.page-info .eyebrow, .page-info .section-eyebrow {
  display: inline-block; font: 800 13px/1 var(--font-head);
  letter-spacing: .09em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 14px;
}

.page-info h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 20px; }


/* ---------- Hero ---------- */
.page-info .hero {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.page-info .hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; margin: 0 0 18px; }

.page-info .hero .lede { font-size: 19px; color: var(--muted); margin: 0 0 26px; }

.page-info .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-info .hero-note { font: 600 14px/1.4 var(--font-head); color: var(--muted); margin: 20px 0 0; }

.page-info .hero-media { position: relative; }

.page-info .hero-media img {
  width: 100%; border-radius: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.page-info .media-cap {
  display: block; margin-top: 14px; text-align: center;
  font: 600 14px/1.5 var(--font-head); color: var(--muted);
}


/* ---------- Bands ---------- */
.page-info .band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; margin-top: 8px; }

.page-info .band + .band { margin-top: 0; border-top: none; }


.page-info .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.page-info .col-text p { margin: 0 0 16px; }

.page-info .col-text p:first-child { margin-top: -4px; }

.page-info .ticks { list-style: none; margin: 22px 0 0; padding: 0; }

.page-info .ticks li { position: relative; padding: 0 0 12px 32px; font-weight: 600; }

.page-info .ticks li:before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Two device photos side by side. Both assets are cropped to an identical
   4:5 ratio, and aspect-ratio + object-fit guarantee equal heights so the
   column can never leave odd gaps beside the text. */
.page-info .col-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }

.page-info .col-photos figure { margin: 0; display: flex; flex-direction: column; }

.page-info .col-photos img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  min-height: 0; /* stop the flex auto-minimum from overriding aspect-ratio */
  object-fit: cover; object-position: center;
  border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
}

.page-info .col-photos figcaption { margin-top: 10px; font: 600 13.5px/1.5 var(--font-head); color: var(--muted); }


/* ---------- Steps ---------- */
.page-info .steps-band { padding: 72px 24px; }

.page-info .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }

.page-info .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}

.page-info .step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cyan); color: #fff;
  font: 800 21px/46px var(--font-head); text-align: center; margin-bottom: 16px;
}

.page-info .step:nth-child(2) .step-num { background: var(--amber); }

.page-info .step:nth-child(3) .step-num { background: var(--coral); }

.page-info .step h3 { font-size: 20px; margin: 0 0 8px; }

.page-info .step p { margin: 0; color: var(--muted); }


/* ---------- In the app ---------- */
.page-info .app-band { background: #fff; }

.page-info .app-lede { font-size: 18.5px; color: var(--muted); max-width: 720px; margin: 0 0 38px; }

.page-info .shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 920px; margin: 0 auto;
}

.page-info .shot {
  margin: 0; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 12px 4px;
  box-shadow: var(--shadow);
}

.page-info .shot img {
  width: 100%; height: auto; aspect-ratio: 720 / 1460;
  min-height: 0; /* stop the flex auto-minimum from overriding aspect-ratio */
  object-fit: cover; object-position: top;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
}

.page-info .shot figcaption {
  padding: 14px 6px 12px; font-size: 14.5px; line-height: 1.55; color: var(--muted);
}

.page-info .shot figcaption b {
  display: block; font: 800 15.5px/1.35 var(--font-head);
  color: var(--ink); margin-bottom: 5px;
}

.page-info .plus-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px;
  background: var(--green); color: #fff; font: 700 13px/1 var(--font-head);
}

.page-info .app-foot {
  max-width: 640px; margin: 34px auto 0; text-align: center;
  font-size: 15.5px; color: var(--muted);
}


/* ---------- Why ---------- */
.page-info .why .why-lede { font-size: 18.5px; color: var(--muted); max-width: 760px; margin: 0 0 34px; }

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

.page-info .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}

.page-info .card h3 { font-size: 19px; margin: 0 0 8px; color: var(--cyan-deep); }

.page-info .card p { margin: 0; color: var(--muted); }

.page-info .why-foot {
  margin: 34px 0 0; max-width: 820px;
  background: var(--surface-warm); border: 1px solid #f6e2c6; border-radius: var(--radius);
  padding: 20px 22px; color: #7a5a2e; font-size: 16px;
}


/* ---------- Contact ---------- */
.page-info .contact { padding: 76px 24px; }

.page-info .contact-head { max-width: 560px; margin: 0 auto 6px; text-align: center; }

.page-info .contact-head .section-eyebrow { margin-bottom: 12px; }

.page-info .contact-head h2 { margin: 0 0 12px; }

.page-info .contact-head p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 520px; }


/* Waitlist form — matches the pilot enrollment (join.getmerfi.com) form */
.page-info .form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px; margin: 6px auto 0;
  max-width: 560px; text-align: left;
}

.page-info .field { margin: 0 0 16px; }

.page-info .field:last-of-type { margin-bottom: 4px; }

.page-info .field label { display: block; font: 700 14.5px/1.4 var(--font-head); margin: 0 0 6px; }

.page-info .field input {
  width: 100%; font-size: 16px; font-family: var(--font-body); color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}

.page-info .field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,192,208,.16); }

.page-info .field.err input { border-color: var(--coral); }

.page-info .field .err-msg { display: none; color: var(--coral); font-size: 13px; margin: 6px 0 0; }

.page-info .field.err .err-msg { display: block; }

.page-info .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page-info .form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

.page-info .form-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.page-info .form-note a { color: var(--cyan-deep); }


/* Success banner (revealed after submit) */
.page-info .ok-banner {
  display: none; gap: 12px; align-items: flex-start; text-align: left;
  max-width: 560px; margin: 16px auto 0;
  background: linear-gradient(180deg,#eefafb,#f6fbfc); border: 1px solid #cdeef1;
  border-radius: var(--radius); padding: 18px 20px;
}

.page-info .ok-banner.show { display: flex; animation: okFade .4s ease; }

.page-info .ok-banner svg { flex: none; margin-top: 2px; }

.page-info .ok-banner b { font-family: var(--font-head); }

@keyframes okFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Partners / clinics ---------- */
.page-info .partners { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0; }

.page-info .partners-inner { max-width: 640px; margin: 0 auto; text-align: center; }

.page-info .partners-inner .section-eyebrow { margin-bottom: 12px; }

.page-info .partners-inner h2 { margin: 0 0 14px; }

.page-info .partners-inner > p { color: var(--muted); font-size: 18px; margin: 0 auto 26px; max-width: 560px; }

.page-info .partner-form-wrap { margin-top: 26px; }

.page-info .partner-form-wrap[hidden] { display: none; }

.page-info .partner-form-wrap .form-card { animation: okFade .35s ease; }


/* ---------- Footer ---------- */
.page-info .site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 8px; }

.page-info .footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 48px 24px 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}

.page-info .footer-brand img { height: 30px; margin-bottom: 14px; }

.page-info .footer-brand p { color: var(--muted); font-size: 15px; max-width: 380px; margin: 0; }

.page-info .footer-col h4 { font: 800 14px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 14px; }

.page-info .footer-col a, .page-info .footer-col span { display: block; color: var(--muted); text-decoration: none; font-size: 15px; margin-bottom: 9px; }

.page-info .footer-col a:hover { color: var(--cyan-deep); }

.page-info .footer-bottom { border-top: 1px solid var(--line); }

.page-info .fb-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {

  .page-info .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }

  .page-info .hero-media { order: -1; }

  .page-info .two-col { grid-template-columns: 1fr; gap: 32px; }

  .page-info .steps, .page-info .cards { grid-template-columns: 1fr; }

  .page-info .footer-inner { grid-template-columns: 1fr 1fr; }

  /* Stack the phone shots so they stay readable instead of shrinking to slivers */
  .page-info .shots { grid-template-columns: 1fr; max-width: 340px; gap: 22px; }

  .page-info .app-lede { margin-bottom: 28px; }

}

@media (max-width: 700px) {

  .page-info .nav { gap: 0; }

  .page-info .nav a { padding: 9px 10px; font-size: 14px; }

}

@media (max-width: 560px) {

  .page-info { font-size: 16px; }

  .page-info .nav a:not(.nav-cta) { display: none; }

  .page-info .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .page-info .hero-actions .btn { flex: 1 1 auto; }

}

