/* ============================================================
   Appointment Scout — design system
   Brand: scout blue + fox orange, pulled from the logo.
   Display: Bricolage Grotesque / Body: Public Sans / Data: Spline Sans Mono
   ============================================================ */

:root {
  --blue: #2450a4;
  --blue-deep: #16294f;
  --blue-soft: #e8effc;
  --orange: #f58220;
  --orange-deep: #d96d0e;
  --ink: #1b2a4a;
  --muted: #56688c;
  --bg: #f6f9fe;
  --card: #ffffff;
  --line: #d9e3f5;
  --green: #1e9e6a;
  --green-soft: #e2f6ec;

  --font-display: "Bricolage Grotesque", "Public Sans", sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(22, 41, 79, 0.09);
  --shadow-lift: 0 14px 40px rgba(22, 41, 79, 0.16);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--blue-deep);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* Section eyebrow: compass-needle marker + mono label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: conic-gradient(from 45deg, var(--orange) 0 25%, var(--blue) 0 50%, var(--orange) 0 75%, var(--blue) 0);
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.7rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(245, 130, 32, 0.35);
}
.btn-primary:hover { background: var(--orange-deep); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); }

.btn-lg { font-size: 1.1rem; padding: 1rem 2.2rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 249, 254, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.nav-logo img { display: block; height: 68px; width: auto; mix-blend-mode: multiply; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .btn { padding: 0.55rem 1.3rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: var(--blue-deep);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.5rem;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.65rem 1.5rem; }
}

/* ---------- hero ---------- */

.hero { padding: 4rem 0 4.5rem; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero .wrap { grid-template-columns: 1fr; }
}

.hero h1 .accent { color: var(--orange); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-trust svg { flex: none; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* Phone mockup: the product IS the text message */
.phone-scene { position: relative; display: flex; justify-content: center; }

/* ---------- Samsung Galaxy S26 Ultra mockup ---------- */
.galaxy {
  position: relative;
  width: min(300px, 100%);
  border-radius: 34px;            /* boxier / squared-off vs iPhone */
  padding: 3px;
  background: linear-gradient(150deg, #2c2f36 0%, #14161b 45%, #23262c 70%, #0c0e12 100%);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
}
.galaxy-screen {
  position: relative;
  border: 7px solid #050608;      /* thin symmetric bezel */
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3fc 0%, #f9fbff 100%);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.punch-hole {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  background: #000;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.07);
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px 0;
  color: #0a1020;
  font-weight: 700;
  font-size: 0.8rem;
}
.sb-time { font-variant-numeric: tabular-nums; }
.sb-icons { display: inline-flex; gap: 5px; align-items: center; }
.sb-battery {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 11px;
  border: 1px solid rgba(10, 16, 32, 0.5);
  border-radius: 3px;
}
.sb-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: rgba(10, 16, 32, 0.5);
}
.sb-battery-fill {
  position: absolute;
  inset: 1.5px;
  width: 72%;
  background: #0a1020;
  border-radius: 1.5px;
}
/* Samsung: volume rocker + power both on the right rail */
.galaxy-btn {
  position: absolute;
  z-index: 4;
  right: -3px;
  width: 3px;
  background: linear-gradient(#2b2e35, #101216);
  border-radius: 0 3px 3px 0;
}
.galaxy-vol   { top: 24%; height: 74px; }
.galaxy-power { top: 45%; height: 50px; }

/* Messages app inside the screen */
.convo { padding: 1.6rem 0.85rem 1.5rem; }
.convo-topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.convo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.convo-name { font-weight: 700; font-size: 0.8rem; color: var(--ink); }
.convo-day {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.sms {
  background: #e9e9eb;
  border-radius: 18px 18px 18px 5px;
  padding: 0.8rem 0.95rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #1a1a1a;
  max-width: 90%;
  animation: sms-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.4s both;
}
.sms + .sms { margin-top: 0.55rem; animation-delay: 1.1s; }
.sms strong { color: var(--blue); }
.sms .slot { color: var(--green); font-weight: 700; }
@keyframes sms-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */

.section { padding: 4.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-dark {
  background: var(--blue-deep);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c3d2ef; }
.section-dark .eyebrow { color: var(--orange); }

/* problem stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.stat .num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 0.2rem;
}
.stat .cap { font-size: 0.92rem; color: var(--muted); }

/* ---------- how it works: the scout trail ---------- */

.trail-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.trail-svg {
  position: absolute;
  top: -34px;
  left: 4%;
  width: 92%;
  height: 70px;
  pointer-events: none;
}
.trail-svg path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  opacity: 0.85;
}
@media (max-width: 820px) {
  .trail-steps { grid-template-columns: 1fr; }
  .trail-svg { display: none; }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
}
.step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 1rem;
}
.step p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

/* ---------- scout's honor ---------- */

.honor .wrap {
  max-width: 780px;
}
.honor-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.honor-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: #dce6f9;
  font-size: 0.98rem;
}
.honor-list svg { flex: none; margin-top: 0.2rem; }
.honor-list strong { color: #fff; }

/* ---------- pricing ---------- */

.price-card {
  max-width: 460px;
  margin: 2.5rem auto 0;
  background: var(--card);
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
}
.price-num sup { font-size: 1.4rem; font-weight: 700; }
.price-per { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.price-list {
  list-style: none;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 0.65rem;
  font-size: 0.98rem;
}
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.price-list svg { flex: none; margin-top: 0.25rem; }
.price-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 720px; margin: 2.2rem auto 0; display: grid; gap: 0.8rem; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.02rem;
  padding: 1.1rem 1.3rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--blue-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- final CTA ---------- */

.cta-final { text-align: center; }
.cta-final .btn { margin-top: 1.2rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--blue-deep);
  color: #b9c9e8;
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: #b9c9e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { height: 56px; width: auto; background: #fff; border-radius: 8px; padding: 4px 10px; margin-bottom: 0.9rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.4rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8fa3cc;
}

/* ---------- forms (signup / account) ---------- */

.page-head { padding: 3.2rem 0 0.5rem; }
.form-card {
  max-width: 560px;
  margin: 2rem auto 4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--blue-deep);
}
.field input, .field select {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--blue); }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.consent input { margin-top: 0.25rem; width: 18px; height: 18px; flex: none; }

.form-msg {
  display: none;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  margin-top: 1.2rem;
}
.form-msg.ok { display: block; background: var(--green-soft); color: #14603f; }
.form-msg.err { display: block; background: #fdecec; color: #9b2020; }

/* account page */
.watch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
}
.watch-row .meta { font-size: 0.85rem; color: var(--muted); }
.btn-danger {
  background: #fdecec;
  color: #9b2020;
  border-color: transparent;
}
.btn-danger:hover { background: #f8d7d7; }
.btn-sm { font-size: 0.85rem; padding: 0.5rem 1.1rem; }

/* account: notifications & consent card */
.consent-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.consent-card .field { margin-bottom: 1.1rem; }
.consent-card label[for="acct-phone"] { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.consent-card input[type="tel"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}
.consent-card .consent { margin-bottom: 1.2rem; }
.consent-card.is-preview { opacity: 0.96; }

.legal-body { max-width: 760px; margin: 0 auto 4rem; }
.legal-body h3 { margin-top: 2rem; }
.legal-body h2 { margin-top: 2.4rem; font-size: 1.3rem; color: var(--blue); }
.legal-body ul { margin: 0.7rem 0 0; padding-left: 1.3rem; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body .updated { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.legal-body .callout {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: var(--radius);
}
.legal-body .callout p { margin: 0; }
.footer-legal-links { font-size: 0.9rem; margin-bottom: 0.6rem; }
.notice {
  background: #fff7ec;
  border: 1px solid #f5d9b0;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: #8a5a13;
}
