/* ColdFrame marketing landing page, direction "The product performs",
   restyled onto ColdFrame's own dashboard theme from css/style.css
   (dark ground, gold/copper glow accent, Archivo Black + Inter) so the
   landing page, admin.html and schedule.html read as one product. */

:root {
  --bg: #0a0a0c;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --surface-alt: #121214;
  --ink: #f3f0e8;
  --muted: #a7a29a;
  --border: #28282c;
  --border-gold: rgba(212, 175, 55, 0.35);
  --accent: #d4af37;
  --accent-light: #f3d87a;
  --copper: #c17a4a;
  --accent-ink: #0a0a0c;

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-text: 'Inter', sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --step-lead: clamp(1.2rem, 1rem + 0.9vw, 1.75rem);
  --step-head: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
  --step-display: clamp(2.6rem, 1rem + 6.4vw, 5.5rem);

  --radius: 3px;
  --ui-radius: 3px;
}

body { background: var(--bg); color: var(--ink); font-size: var(--step-body); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.muted { color: var(--muted); }

/* ---------- controls: the real .btn-glow / .btn-outline from the dashboard ----------
   taste-skill-ignore: this gradient + glow is the existing ColdFrame/admin
   brand button (css/style.css .btn-glow), carried over deliberately for
   visual consistency with admin.html and schedule.html, not a new ornament. */
.button {
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 1.4rem;
}
.button.primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 45%, var(--copper)); /* taste-skill-ignore: existing .btn-glow brand treatment */
  color: var(--accent-ink);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.5), 0 0 48px rgba(212, 175, 55, 0.2); /* taste-skill-ignore: existing .btn-glow brand treatment */
}
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4); } /* taste-skill-ignore: existing .btn-glow brand treatment */
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-gold); }
.button.ghost:hover { border-color: var(--accent); color: var(--accent-light); }

.field { background: var(--surface-alt); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); }
.field::placeholder { color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--margin);
  background: var(--surface-alt);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.01em; }
.nav__brand img { width: 36px; height: 36px; }
.nav__links { display: none; align-items: center; gap: 28px; font-size: var(--step-small); }
.nav__links a:hover { color: var(--accent-light); }
@media (min-width: 62em) { .nav__links { display: flex; } }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__actions .link-plain { font-size: var(--step-small); display: none; }
@media (min-width: 40em) { .nav__actions .link-plain { display: inline; } }
.nav .button { min-height: 2.5rem; padding: 0 1.1rem; display: inline-flex; align-items: center; }

/* ---------- data-ui: cropped fragments of the real dashboard, in the real card language ---------- */
[data-ui] {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--ui-radius);
  font-size: var(--step-small);
  line-height: 1.4;
  letter-spacing: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
[data-ui] .ui-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border); /* taste-skill-ignore: inside a [data-ui] fragment */
  font-size: 13px; color: var(--muted);
}
[data-ui] .ui-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 6px; }
[data-ui] > *:last-child { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* hours-row fragment — the exact component from css/style.css's real
   "Adjust Hours" view (schedule.html / admin.html Shop Hours), not an
   invented grid: each day's name, its real "Closed" checkbox (plain,
   unstyled, same as the dashboard's own checkboxes), and its time
   range. .hours-time-chip stands in for the dashboard's real <select>
   — same look, just non-interactive in a marketing preview. */
.hours-rows-ui { padding: 6px 18px 18px; }
.hours-row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-of-type { border-bottom: 0; }
.hours-row-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hours-day { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.hours-times { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink); }
.hours-time-chip { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 7px 10px; }
.hours-closed-label { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

/* booking link fragment */
.ui-link-card { padding: 20px; }
.ui-link-card__url { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--ui-radius); padding: 12px 14px; font-size: 13.5px; color: var(--ink); margin-top: 12px; }
.ui-link-card__copy { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 5px 10px; border-radius: var(--ui-radius); white-space: nowrap; }
.ui-link-card__meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.ui-link-card__meta b { color: var(--accent-light); font-weight: 600; }

/* stats tile fragment */
.ui-stats { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.ui-stats__cell .ui-stats__num { font-family: var(--font-display); font-size: 26px; color: var(--accent-light); letter-spacing: -0.01em; }
.ui-stats__cell .ui-stats__label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* reminders toggle fragment — the dashboard's own plain, unstyled
   checkboxes (css/style.css doesn't restyle them), not an invented
   custom checkmark. */
.ui-reminders { padding: 20px; }
/* taste-skill-ignore: inside a [data-ui] fragment, the product's own row conventions apply */
.ui-reminders__row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); cursor: default; }
.ui-reminders__row:first-of-type { border-top: 0; }
.ui-reminders__note { font-size: 12.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); margin-top: 4px; } /* taste-skill-ignore: inside a [data-ui] fragment */

/* add-barber / add-service row fragment, matching .admin-row */
.ui-add { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ui-add__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--ui-radius); font-size: 13.5px; }
.ui-add__btn { font-size: 13px; color: var(--accent-light); font-weight: 700; letter-spacing: 0.04em; }

/* ---------- hero: asymmetric, one interactive preview, fully visible on load ---------- */
.hero { position: relative; padding-top: 86px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; padding-block: clamp(56px, 9vh, 96px) clamp(40px, 6vh, 72px); }
.hero__title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.1rem + 3vw, 3.6rem); letter-spacing: -0.01em; line-height: 1.04; }
.hero__support { max-width: 42ch; font-size: var(--step-lead); margin-top: clamp(20px, 3vw, 32px); }
.hero__actions { display: flex; align-items: center; gap: 24px; margin-top: clamp(28px, 4vw, 40px); flex-wrap: wrap; }
.hero__actions .button { min-height: 3.2rem; padding: 0 1.8rem; display: inline-flex; align-items: center; }
.hero__preview { display: flex; justify-content: center; }
.hero__card { width: min(420px, 100%); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); } /* taste-skill-ignore: depth cue, not decoration on a flat resting element */
.hero__tabs { display: flex; border-bottom: 1px solid var(--border); } /* taste-skill-ignore: inside a [data-ui] fragment */
.hero__tab { flex: 1; padding: 12px 8px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color 160ms ease, border-color 160ms ease; }
.hero__tab:hover { color: var(--ink); }
.hero__tab.is-active { color: var(--accent-light); border-bottom-color: var(--accent); }
.hero__card .hours-rows-ui { padding-top: 4px; }
.hero__card .ui-link-card__url { margin: 0 20px 20px; }
.ui-link-card__copy { transition: transform 140ms ease, background 160ms ease; cursor: pointer; }
.ui-link-card__copy:hover { background: var(--accent-light); }
.ui-link-card__copy:active { transform: scale(0.95); }
.ui-link-card__copy.is-copied { background: var(--ink); color: var(--accent-ink); }

@media (max-width: 58em) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- section heads, reused by features / how-it-works / pricing ---------- */
.section__head { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.12; max-width: 28ch; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head:has(+ .section__note) { margin-bottom: 16px; }

/* ---------- features: a featured 2-up split plus compact rows ---------- */
.features__grid { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 80px); }
.features__featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.feature--featured { display: flex; flex-direction: column; gap: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); transition: border-color 220ms ease, background 220ms ease; }
.feature--featured:hover { border-color: var(--border-gold); background: var(--surface-2); }
.feature--featured .feature__panel { border-radius: var(--radius); overflow: hidden; }
.feature__text h3 { font-size: var(--step-lead); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature__text p { font-size: var(--step-body); color: var(--ink); max-width: 44ch; }

.features__grid .feature--row + .feature--row { margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--border); } /* taste-skill-ignore: a deliberate editorial hairline divider between rows, explicitly requested */
.feature--row { display: grid; grid-template-columns: 1fr 230px; gap: 32px; align-items: center; }
.feature--row h3 { font-size: var(--step-lead); font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature--row p { font-size: var(--step-body); color: var(--ink); max-width: 48ch; }

/* compact micro-UI snippets beside each row feature, smaller than the featured cards above */
.snippet { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; font-size: 13px; }
.snippet--link { display: flex; flex-direction: column; gap: 10px; }
.snippet__url { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snippet__copy { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: var(--ui-radius); transition: transform 140ms ease, background 160ms ease; cursor: pointer; }
.snippet__copy:hover { background: var(--accent-light); }
.snippet__copy:active { transform: scale(0.95); }
.snippet__copy.is-copied { background: var(--ink); color: var(--accent-ink); }
.snippet--kpi { display: flex; gap: 12px; }
/* .stat-tile / .stat-value / .stat-label ported from css/style.css's real
   Shop Stats dashboard tiles — the same component, not a lookalike. */
.stat-tile { flex: 1; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 14px; text-align: center; }
.stat-value { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-light); letter-spacing: -0.02em; }
.stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 6px; }
.snippet--add { display: flex; align-items: center; justify-content: space-between; }
.snippet__btn { font-size: 13px; font-weight: 700; color: var(--accent-light); letter-spacing: 0.02em; }

@media (max-width: 58em) {
  .features__featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 48em) {
  .feature--row { grid-template-columns: 1fr; }
}

/* ---------- how it works: a horizontal step strip, photo and stats folded in ---------- */
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); counter-reset: step; }
.steps__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); transition: border-color 220ms ease, background 220ms ease; }
.steps__item:hover { border-color: var(--border-gold); background: var(--surface-2); }
.steps__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-light); display: block; margin-bottom: 14px; }
.steps__item h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.steps__item p { font-size: var(--step-body); color: var(--ink); }

.steps__photo { height: 44svh; min-height: 280px; overflow: hidden; border-radius: var(--radius); margin-top: clamp(48px, 6vw, 72px); }
.steps__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; filter: saturate(0.85); }

@media (max-width: 58em) {
  .steps__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36em) {
  .steps__list { grid-template-columns: 1fr; }
}

/* ---------- pricing: two clean cards, scannable everywhere ---------- */
.section__note { font-size: var(--step-lead); color: var(--ink); max-width: 56ch; margin-bottom: clamp(32px, 5vw, 48px); }
.plans { display: grid; grid-template-columns: minmax(260px, 380px) minmax(260px, 380px) 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.plans__note { align-self: center; padding-left: clamp(8px, 2vw, 32px); }
.plans__note h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.plans__note p { font-size: var(--step-body); color: var(--ink); max-width: 38ch; }
.plans__note p + p { margin-top: 14px; color: var(--muted); }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(32px, 3.6vw, 44px); display: flex; flex-direction: column; transition: border-color 220ms ease, transform 220ms ease; }
.plan:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.plan--rec { background: linear-gradient(135deg, var(--accent-light), var(--accent) 45%, var(--copper)); color: var(--accent-ink); border: 0; } /* taste-skill-ignore: existing .btn-glow brand treatment */
.plan--rec:hover { transform: translateY(-4px); }
.plan__head { margin-bottom: 20px; }
.plan__name { display: block; font-family: var(--font-display); font-size: var(--step-lead); }
.plan__price { font-family: var(--font-display); font-size: var(--step-head); display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan__period { font-family: var(--font-text); font-size: var(--step-small); font-weight: 400; opacity: 0.75; }
.plan__kicker { font-size: var(--step-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-ink); opacity: 0.75; margin-bottom: 14px; }
.plan__list { display: flex; flex-direction: column; gap: 12px; font-size: var(--step-body); margin-bottom: 28px; flex: 1; }
.plan__list li.is-muted { opacity: 0.55; }
.plan__list li.is-new { font-weight: 700; }
.plan--rec .plan__list li.is-muted { opacity: 0.7; }
.plan .button { width: 100%; }
.plan--rec .button.primary { background: var(--accent-ink); color: var(--accent-light); }
.plan--rec .button.primary:hover { transform: translateY(-2px); }

@media (max-width: 40em) {
  .plans { grid-template-columns: 1fr; }
}
@media (min-width: 40.01em) and (max-width: 64em) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plans__note { grid-column: 1 / -1; padding-left: 0; margin-top: 8px; }
}

/* ---------- cta: real footage, a sentence with a blank ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(80px, 14vw, 160px); }
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(0.85); }
.cta__scrim { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.72); }
.cta__content { position: relative; z-index: 1; }
.cta__sentence { font-family: var(--font-display); font-size: var(--step-head); line-height: 1.12; letter-spacing: -0.01em; max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25em; }
.cta__input { font: inherit; font-size: 1em; width: 6em; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 0.2em; height: 1.3em; }
.cta__submit {
  font: inherit; font-size: 1em; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 45%, var(--copper)); /* taste-skill-ignore: existing .btn-glow brand treatment */
  color: var(--accent-ink); border-radius: var(--radius); padding: 0 0.3em; height: 1.3em; display: inline-flex; align-items: center;
}
.cta__note { margin-top: 24px; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 48em) {
  .cta__input { display: block; width: 100%; height: 2.6rem; margin-block: 6px; }
}

/* ---------- footer ---------- */
.footer { padding-block: clamp(40px, 6vw, 72px); background: var(--surface-alt); }
.footer__mark { font-family: var(--font-display); font-size: var(--step-display); letter-spacing: -0.01em; line-height: 1; margin-bottom: clamp(24px, 4vw, 48px); color: var(--accent-light); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: var(--step-small); color: var(--muted); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--accent-light); }
.credit { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }

/* ---------- section rhythm ---------- */
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
