/* Synapze Voice — landing page.
 *
 * Warm neutrals over stark white, a single terracotta accent, and a serif for
 * headings: the buyer is a salon owner, not a developer, and a cool grey SaaS
 * page reads as somebody else's world. Everything is a system font — a
 * webfont would mean a request to a third party, costing a render delay and
 * handing a visitor's IP to whoever hosts it, on the one page whose whole job
 * is to load fast and feel trustworthy.
 */

:root {
  --ink: #1a1512;
  --ink-soft: #5f5750;
  --ink-faint: #8a8079;

  --paper: #fffdfb;
  --sand: #f7f2ec;
  --line: #e8ded2;

  --accent: #a2542f;      /* 6.3:1 on paper — passes AA for body text */
  --accent-deep: #7d3f22;
  --accent-wash: #f6ebe3;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(26, 21, 18, .04), 0 8px 24px rgba(26, 21, 18, .06);
  --shadow-lg: 0 2px 4px rgba(26, 21, 18, .05), 0 18px 48px rgba(26, 21, 18, .10);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--accent-deep); }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

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

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, .88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-logo { max-height: 38px; width: auto; display: block; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; font-weight: 600;
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; }

.nav-links { margin-left: auto; display: flex; gap: 26px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 15.5px;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: .15s;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; text-decoration: none;
  border-radius: 999px; border: 1.5px solid transparent;
  padding: 13px 26px; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-solid { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-solid:hover { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-lg); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-wash); }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); background: var(--sand); }

.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-block { display: flex; width: 100%; margin-top: auto; }

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

.hero {
  padding: 92px 0 76px;
  background:
    radial-gradient(1100px 420px at 50% -8%, var(--accent-wash) 0%, transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 820px; text-align: center; }

.hero h1 { font-size: clamp(2.35rem, 5.6vw, 3.9rem); line-height: 1.08; }
.lede {
  margin-top: 22px; font-size: clamp(1.1rem, 2.1vw, 1.32rem);
  line-height: 1.55; color: var(--ink-soft);
}
.intro { margin-top: 16px; color: var(--ink-faint); max-width: 620px; margin-inline: auto; }

.cta-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.badges {
  margin: 40px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center;
}
.badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.badges svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

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

.section { padding: 84px 0; }
.band { padding: 84px 0; background: var(--sand); border-block: 1px solid var(--line); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 12.5px; font-weight: 700; color: var(--accent);
  text-align: center;
}
.section-title {
  margin: 10px auto 52px; text-align: center;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.18; max-width: 26ch;
}

/* --- USPs ----------------------------------------------------------------- */

.usp-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.usp {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.usp:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.usp-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 12px; background: var(--accent-wash); color: var(--accent);
}
.usp-icon svg { width: 23px; height: 23px; }
.usp h3 { font-size: 1.2rem; margin-bottom: 8px; }
.usp p { color: var(--ink-soft); font-size: 16px; }

/* --- steps ---------------------------------------------------------------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.steps li { position: relative; padding-top: 8px; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); font-family: var(--serif); font-size: 19px; font-weight: 600;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

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

.tiers {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch; max-width: 960px; margin: 0 auto;
}
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px;
}
.tier-featured { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 1.3rem; }
.price { margin: 14px 0 4px; font-family: var(--serif); font-size: 2.7rem; line-height: 1.1; }
.price-quote { font-size: 1.9rem; color: var(--ink-soft); }
.price-per {
  font-family: var(--sans); font-size: .95rem; font-weight: 400;
  color: var(--ink-faint); margin-left: 8px; white-space: nowrap;
}
.price-note { margin-top: 4px; font-size: 13.5px; color: var(--ink-faint); }
.tier-desc { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }

.tier-features { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 11px; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tier-features svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 5px; }

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

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 4px 22px;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent);
  transition: transform .18s ease; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }

/* --- closing CTA ---------------------------------------------------------- */

.closer {
  padding: 88px 0 96px; text-align: center;
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
}
.closer h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.closer-body { margin: 18px auto 34px; color: var(--ink-soft); max-width: 52ch; font-size: 1.08rem; }

.scheduler {
  margin-top: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.scheduler iframe { display: block; width: 100%; height: 680px; border: 0; }

.contact { margin-top: 26px; color: var(--ink-faint); font-size: 15.5px; }

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

.foot {
  padding: 34px 0; border-top: 1px solid var(--line);
  color: var(--ink-faint); font-size: 14.5px;
}

/* --- small screens -------------------------------------------------------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  /* No call to action in the bar on a phone. With the links hidden it had
     nothing to sit against, so it crowded the logo and pushed the header out
     of proportion — and it was redundant: the hero's button is a thumb-width
     below it, and the pricing and closing sections repeat it. */
  .nav-inner .btn { display: none; }
  .hero { padding: 62px 0 56px; }
  .section, .band { padding: 62px 0; }
  .section-title { margin-bottom: 38px; }
  .cta-row .btn { width: 100%; }
  .scheduler iframe { height: 560px; }
}
