/* Salon Bell — landing page (doppler.work). Same tokens as the product (styles.css),
   so the front door, the sign-in page and the workspace read as one thing. */
@font-face {
  font-family: 'Salon Display';
  src: url('/fonts/space-grotesk-bold.woff2') format('woff2'), url('/fonts/space-grotesk-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #fff;
  --mist: #eef2ef;
  --surface: #fff;
  --ink: #15302a;
  --ink-2: #3f504a;
  --muted: #55665f;
  --line: #d6ded9;
  --line-soft: #e4eae7;
  --brand: #1e6b58;
  --brand-deep: #174f42;
  --brand-tint: #dcefe5;
  --brass: #b9832b;
  --danger: #a33a2c;
  --danger-soft: #f8e3df;
  --cal-0: #1e6b58; --cal-0-bg: #dcefe5;
  --cal-1: #b9832b; --cal-1-bg: #f6ead3;
  --cal-2: #5865a8; --cal-2-bg: #e2e6f6;
  --display: 'Salon Display', 'Segoe UI', system-ui, sans-serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px;
  --shadow-card: 0 1px 2px #0b1f1a14, 0 12px 40px -18px #0b1f1a40;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 62ch;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.03em; }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
img, svg, iframe { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.fine { font-size: 14px; color: var(--muted); }
.fine a { color: var(--brand); }
strong { font-weight: 650; }

/* Brand (same markup as the workspace) */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 21px; letter-spacing: -0.03em; white-space: nowrap; color: var(--ink); }
.brandmark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--brand); color: #fff; font: 700 26px/1 var(--display); }
.brand-light { color: var(--brand); }

/* Buttons */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--brand); border-radius: var(--r-sm); background: var(--brand); color: #fff; font-size: 15px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .08s; }
.button:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: wait; opacity: .7; }
.button-lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--mist); border-color: var(--line); color: var(--ink); }
.button-block { width: 100%; }
.link { color: var(--brand); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-quiet { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fffffff2; backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-soft); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.top-nav { display: flex; gap: 22px; margin-left: 8px; font-size: 15px; }
.top-nav a { text-decoration: none; color: var(--ink-2); padding: 6px 2px; }
.top-nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
@media (max-width: 760px) { .top-nav { display: none; } .top-actions .link-quiet { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(36px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.hero-copy { max-width: 600px; }
.lede { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: var(--measure); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .fine { margin-top: 12px; }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 520px; color: var(--ink-2); font-size: 15px; }
.hero-points li { position: relative; padding-left: 26px; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-tint); box-shadow: inset 0 0 0 2px var(--brand); }
.hero-demo { margin: 0; justify-self: center; width: 100%; max-width: 360px; }
.phone { position: relative; aspect-ratio: 9 / 18.4; border-radius: 40px; background: var(--ink); padding: 12px; box-shadow: 0 30px 70px -30px #0b1f1a80, 0 2px 0 #ffffff33 inset; }
.phone-screen { display: block; width: 100%; height: 100%; border: 0; border-radius: 30px; background: #fff; }
.hero-demo figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; text-wrap: pretty; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  /* On a phone the demo is shown as a plain card: a phone drawn inside a phone would be silly. */
  .hero-demo { max-width: 100%; }
  .phone { aspect-ratio: auto; height: 560px; padding: 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .phone-screen { border-radius: var(--r-lg); }
  .hero-demo figcaption { text-align: left; }
}

/* Bands and three-up */
.band { background: var(--mist); padding-block: clamp(48px, 7vw, 88px); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.three article { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.three p { color: var(--ink-2); font-size: 16px; flex: 1; }
.three em { font-style: normal; color: var(--brand); }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }

/* Calendar section */
.calendar-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.calendar-copy > p { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.facts { margin: 28px 0 0; display: grid; gap: 16px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.cal { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; font-size: 13px; }
.cal-head { display: grid; grid-template-columns: 56px repeat(3, 1fr); border-bottom: 1px solid var(--line); background: #fafbfa; }
.cal-head span { padding: 12px 10px; font-weight: 650; }
.cal-head span:first-child { color: var(--muted); font-weight: 500; font-size: 12px; }
.cal-body { display: grid; grid-template-columns: 56px repeat(3, 1fr); --row: 34px; }
.cal-times { display: grid; grid-template-rows: repeat(16, var(--row)); color: var(--muted); font-size: 12px; }
.cal-times span { grid-row: span 2; padding: 4px 8px 0; border-top: 1px solid var(--line-soft); }
.cal-col { position: relative; display: grid; grid-template-rows: repeat(16, var(--row)); border-left: 1px solid var(--line-soft); background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--row) * 2 - 1px), var(--line-soft) calc(var(--row) * 2 - 1px) calc(var(--row) * 2)); }
.cal-col i { grid-row: var(--s) / var(--e); margin: 2px 4px; padding: 6px 8px; border-radius: 8px; font-style: normal; font-weight: 650; line-height: 1.25; overflow: hidden; border-left: 4px solid var(--c); background: var(--c-bg); color: var(--ink); }
.cal-col small { display: block; font-weight: 400; color: var(--ink-2); font-size: 12px; }
.c0 { --c: var(--cal-0); --c-bg: var(--cal-0-bg); }
.c1 { --c: var(--cal-1); --c-bg: var(--cal-1-bg); }
.c2 { --c: var(--cal-2); --c-bg: var(--cal-2-bg); }
.walk { --c: var(--ink); --c-bg: #fff; outline: 1px dashed var(--line); outline-offset: -1px; }
.wait { --c: var(--brass); --c-bg: #fff; outline: 1px dashed var(--brass); outline-offset: -1px; }
@media (max-width: 900px) { .calendar-section { grid-template-columns: 1fr; } .cal-body { --row: 30px; } }
@media (max-width: 480px) { .cal { font-size: 12px; } .cal-col i { padding: 4px 6px; } .cal-col small { display: none; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pricing > div:first-child p { margin-top: 16px; color: var(--ink-2); max-width: 44ch; }
.price-card { padding: 32px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price strong { font-family: var(--display); font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.price span { color: var(--muted); }
.checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ''; position: absolute; left: 2px; top: .35em; width: 8px; height: 14px; border: solid var(--brand); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.price-card .fine { margin-top: 12px; text-align: center; }
.price-card .button { width: 100%; }
@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-block: clamp(48px, 7vw, 88px); }
.faq-list { margin-top: 28px; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: var(--measure); }
.faq details a { color: var(--brand); }

/* Sign-up */
.start { background: var(--ink); color: #e9f1ed; padding-block: clamp(48px, 7vw, 96px); }
.start-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.start-copy h2 { color: #fff; }
.start-copy > p { margin-top: 16px; font-size: 18px; max-width: 44ch; }
.start-copy .fine { margin-top: 18px; color: #b9cbc4; }
.start-copy .fine a { color: #9fd2c2; }
.card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type='text'], input[type='email'], select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 16px; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
input[aria-invalid='true'], select[aria-invalid='true'] { border-color: var(--danger); }
.slug { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.slug span { padding: 0 2px 0 12px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.slug input { border: 0; border-radius: 0; min-width: 0; padding-left: 2px; }
.slug:focus-within { outline: 2px solid var(--brand); border-color: var(--brand); }
.slug input:focus-visible { outline: none; }
.hint { color: var(--muted); font-size: 13px; }
.error { color: var(--danger); font-size: 13px; min-height: 0; }
.error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand); }
.form-error { margin-bottom: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--danger-soft); color: #8a2f22; font-size: 15px; }
.form-error a { color: inherit; }
.start-form .fine { margin-top: 12px; text-align: center; }
.confirmation h3 { font-size: 24px; }
.confirmation p { margin-top: 12px; }
@media (max-width: 800px) { .start-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.foot { border-top: 1px solid var(--line-soft); padding-block: 32px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot p { margin-left: auto; }
@media (max-width: 640px) { .foot p { margin-left: 0; } }
/* Footer link lists: salon types and guides (also used by the pages in pages.css). */
.foot-links { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.foot-links nav { display: block; }
.foot-links h2 { margin-bottom: 10px; font: 650 14px/1.4 var(--sans); letter-spacing: 0; color: var(--ink); }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover, .foot-links a[aria-current='page'] { text-decoration: underline; text-underline-offset: 3px; }
.slug-preview { margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--r-sm); color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.slug-preview strong { color: var(--ink, inherit); font-weight: 600; }
.link-button { border: 0; background: none; padding: 0 0 0 6px; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.link-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.price-year { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
