/* Kushnir SEO: First Light. Every value here comes from design.md. */

:root {
  /* Palette (OKLCH) */
  --bg: oklch(97.5% 0.014 232);       /* Sky */
  --surface: oklch(92.5% 0.032 228);  /* Window */
  --line: oklch(87% 0.025 235);       /* Mist */
  --muted: oklch(50% 0.035 250);      /* Haze */
  --ink: oklch(25% 0.04 255);         /* Slate */
  --ink-2: oklch(31% 0.045 255);      /* Slate, lifted (hover / dark panels) */
  --accent: oklch(84% 0.165 84);      /* Sunbeam: the one accent */
  --error: oklch(52% 0.17 28);        /* Ember: forms only */

  /* Type */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --util: "Sofia Sans Condensed", "Arial Narrow", sans-serif;

  /* Scale: major third on 18px */
  --t-sm: .8rem;      /* 14.4 */
  --t-body: 1.125rem; /* 18 */
  --t-lead: 1.406rem; /* 22.5 */
  --t-h3: 1.758rem;   /* 28 */
  --t-h2: clamp(2.197rem, 4.2vw, 2.747rem); /* 35 → 44 */
  --t-h1: clamp(3.433rem, 8.2vw, 5.364rem); /* 55 → 86 */

  /* Space */
  --gutter: 20px;
  --section: 64px;
  --max: 1200px;

  /* Radius by hierarchy */
  --r-pill: 999px;
  --r-panel: 24px;
  --r-input: 12px;
  --r-chip: 8px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--t-body); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px oklch(84% 0.165 84 / .55); border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 68ch; }
.section { padding: var(--section) 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--r-chip); z-index: 20; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-variation-settings: "opsz" 96; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 24px; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 8px; font-variation-settings: "opsz" 48; }
p { margin: 0 0 16px; }
.lead { font-size: var(--t-lead); line-height: 1.5; }
.util { font-family: var(--util); font-weight: 500; }
/* Eyebrow: utility face, sentence case, short. Never mono, never all caps. */
.eyebrow { font-family: var(--util); font-weight: 700; font-size: 1.1rem; color: var(--muted); margin: 0 0 12px; }
.band .eyebrow { color: oklch(84% 0.03 240); }
.hero .eyebrow { margin-bottom: 20px; }
.num { font-family: var(--util); font-weight: 700; }

/* Placeholders: intentional, replaced in later steps */
.ph { color: var(--muted); }
.ph-block {
  display: grid; place-items: center; text-align: center;
  background: var(--surface); color: var(--muted);
  border: 2px dashed oklch(78% 0.03 235); border-radius: var(--r-panel);
  font-family: var(--util); font-size: 1rem; font-weight: 500; padding: 24px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 28px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg);
  font-family: var(--body); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn.on-dark { background: var(--accent); color: var(--ink); }
.btn.on-dark:hover { background: oklch(88% 0.15 86); }
.btn.small { min-height: 44px; padding: 0 20px; font-size: .98rem; }
.text-link { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* Header */
/* Header sits over the hero so the window light can fall behind it */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
/* Past the hero it settles into a solid Sky bar (solid on purpose: no blur, no glass) */
.site-header.is-stuck { position: fixed; background: var(--bg); border-bottom: 1px solid var(--line); animation: settle .28s ease-out both; }
.site-header.is-stuck .wrap { padding-top: 12px; padding-bottom: 12px; }
@keyframes settle { from { transform: translateY(-100%); } to { transform: none; } }
/* Keep anchor targets clear of the stuck bar */
section[id] { scroll-margin-top: 80px; }
/* Nav links: one consistent hover, the underline draws in */
.nav a:not(.btn) { background: linear-gradient(currentColor, currentColor) left 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .2s ease; }
.nav a:not(.btn):hover { text-decoration: none; background-size: 100% 2px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; text-decoration: none; font-variation-settings: "opsz" 24; }
.nav { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; }
@media (max-width: 680px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .nav a:not(.btn) { display: none; }
  .wordmark { font-size: 1.2rem; }
}

/* Hero + signature light */
.hero { position: relative; overflow: hidden; padding: 168px 0 var(--section); }
@media (max-width: 767px) { .hero { padding-top: 120px; } }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 9ch; margin-bottom: 32px; }
.hero .lead { max-width: 34em; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 40px 0 0; color: var(--muted); font-family: var(--util); font-size: 1.1rem; font-weight: 500; }
.plan-terms { color: var(--muted); }
.light {
  position: absolute; z-index: 1; top: -20%; right: -6%; width: min(62vw, 760px); height: 150%;
  pointer-events: none; transform: rotate(24deg); transform-origin: top right;
  display: flex; gap: 22px;
  animation: light-in .9s cubic-bezier(.2,.7,.2,1) .25s both;
}
.light span { flex: 1; border-radius: 40px; background: linear-gradient(180deg, oklch(84% 0.165 84 / .62), oklch(84% 0.165 84 / .18) 55%, oklch(84% 0.165 84 / 0)); filter: blur(10px); }
.light span:nth-child(2) { flex: .55; opacity: .75; }
.light span:nth-child(3) { flex: .3; opacity: .5; }
@keyframes light-in { from { opacity: 0; translate: 24px -12px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 767px) { .light { width: 85vw; right: -8%; top: -12%; gap: 14px; } .light span { opacity: .8; } }

/* Problem */
.problem { border-top: 1px solid var(--line); }
.problem p:not(.eyebrow) { font-family: var(--display); font-weight: 700; font-size: var(--t-h2); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; margin: 0; font-variation-settings: "opsz" 72; }

/* How it works */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { display: grid; gap: 8px; align-content: start; }
.steps .num { font-size: 2.6rem; line-height: 1; color: var(--ink); }
.steps h3 { font-size: 1.4rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Plans */
.plans-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: stretch; margin-top: 40px; }
.plan-row { padding: 28px 0; border-top: 1px solid var(--line); }
.plan-row:last-child { border-bottom: 1px solid var(--line); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price { font-family: var(--util); font-weight: 700; font-size: 2rem; line-height: 1; white-space: nowrap; }
.price small { font-weight: 500; font-size: 1rem; color: var(--muted); margin-left: 4px; }
.plan-feature {
  position: relative; overflow: hidden; background: var(--surface); border-radius: var(--r-panel);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.plan-feature .echo { position: absolute; top: -30%; right: -18%; width: 60%; height: 160%; transform: rotate(24deg); background: linear-gradient(180deg, oklch(84% 0.165 84 / .55), oklch(84% 0.165 84 / 0) 70%); filter: blur(12px); border-radius: 40px; pointer-events: none; }
.plan-feature > *:not(.echo) { position: relative; }
.recommend { align-self: flex-start; background: var(--accent); color: var(--ink); font-family: var(--util); font-weight: 700; font-size: 1rem; padding: 4px 12px; border-radius: var(--r-chip); margin-bottom: 20px; }
.plan-feature .price { font-size: 3rem; margin: 8px 0 16px; }
.plan-feature ul { margin: 8px 0 24px; padding-left: 1.1em; }
.plan-feature li { margin-bottom: 6px; }
.plan-feature .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .plans-grid { grid-template-columns: 1fr; } }

/* Proof */
.quote { font-family: var(--body); font-weight: 500; font-size: var(--t-h3); line-height: 1.35; max-width: 30ch; margin: 0 0 16px; }
.quote-by { font-family: var(--util); font-size: 1.1rem; color: var(--muted); }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; margin-top: 56px; align-items: start; }
.case .ph-block { aspect-ratio: 4 / 3; }
/* Real screenshot in a quiet frame: a thin browser bar so it reads as a website, not a photo */
.shot { margin: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--surface); border: 1px solid var(--line); padding-top: 28px; position: relative; }
.shot::before { content: ""; position: absolute; top: 10px; left: 14px; width: 40px; height: 8px; background: radial-gradient(circle at 4px 4px, var(--line) 4px, transparent 4.5px) 0 0 / 16px 8px repeat-x; }
.shot img { width: 100%; height: auto; }
.shot-cap { padding: 12px 16px; font-family: var(--util); font-weight: 500; font-size: 1.05rem; }
.testimonial { margin: 0 0 8px; }
.testimonial .quote { margin: 0 0 12px; }
.client-logo { display: block; width: 140px; height: auto; margin: 0 0 20px; }
.portrait { width: 100%; max-width: 340px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-panel); background: var(--surface); }
.map { width: 100%; height: auto; border-radius: var(--r-panel); margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 16px 0 0; }
.facts li { padding: 10px 0; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* Credentials */
.creds { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.creds .ph-block { aspect-ratio: 4 / 5; max-width: 340px; }
.cred-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.cred-list strong { display: block; font-weight: 600; }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; } .creds .ph-block, .portrait { max-width: 260px; } }
@media (max-width: 560px) { .cred-list { grid-template-columns: 1fr; } }

/* Booking band */
.band { background: var(--ink); color: var(--bg); border-radius: var(--r-panel) var(--r-panel) 0 0; }
.band h2, .band h3 { color: var(--bg); }
.band .ph { color: oklch(78% 0.03 240); }
.band a:not(.btn) { color: var(--bg); }
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.info { display: grid; gap: 20px; margin-top: 32px; }
.info dt { font-family: var(--util); font-weight: 700; font-size: 1.05rem; color: oklch(84% 0.03 240); }
.info dd { margin: 2px 0 0; }
.band .ph-block { background: var(--ink-2); border-color: oklch(42% 0.04 255); color: oklch(78% 0.03 240); aspect-ratio: 16 / 9; margin-top: 28px; }
form { display: grid; gap: 16px; background: var(--ink-2); padding: 28px; border-radius: var(--r-panel); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--bg); }
.opt { color: oklch(78% 0.03 240); font-weight: 400; }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid transparent;
  border-radius: var(--r-input); padding: 12px 14px; min-height: 48px;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px oklch(84% 0.165 84 / .35); }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .95rem; color: oklch(84% 0.03 240); margin: 0; }
.hidden { position: absolute; left: -9999px; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } form { padding: 20px; } }

/* Footer */
.site-footer { background: var(--ink); color: oklch(84% 0.03 240); padding: 0 0 40px; }
.footer-inner { border-top: 1px solid oklch(38% 0.04 255); padding-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.footer-thesis { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--bg); letter-spacing: -.02em; margin: 0; }
.site-footer a { color: var(--bg); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
main:not(:has(.band:last-child)) + .site-footer { padding-top: 48px; }

/* Plans: two starting tracks */
.track-title { font-family: var(--util); font-weight: 700; font-size: 1.15rem; color: var(--muted); margin: 0 0 4px; letter-spacing: 0; }
.track-title:not(:first-child) { margin-top: 36px; }
.plan-row p a { font-weight: 600; white-space: nowrap; }
.plan-terms a { color: var(--ink); font-weight: 600; }
.plan-alt { border-top: 1px solid oklch(84% 0.03 232); padding-top: 14px; }
.plan-alt strong { font-weight: 600; }
/* Add-ons: one clear row each */
.addons-title { margin: 56px 0 8px; }
.addon-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.addon-list li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: 4px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.addon-list strong { font-weight: 600; }
.addon-list span:not(.price) { color: var(--muted); }
.addon-list .price { font-size: 1.5rem; text-align: right; }
.addon-list .price small { display: block; font-size: .95rem; margin: 0; }
.addon-list .soon { font-size: 1.1rem; color: var(--muted); }
@media (max-width: 680px) {
  .addon-list li { grid-template-columns: 1fr auto; }
  .addon-list span:not(.price) { grid-column: 1 / -1; grid-row: 2; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--util); font-weight: 700; font-size: 1.6rem; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 60ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 168px 0 var(--section); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.3rem); max-width: 16ch; margin-bottom: 28px; }
@media (max-width: 767px) { .page-hero { padding-top: 120px; } }
.breadcrumb { font-family: var(--util); font-weight: 500; font-size: 1.05rem; color: var(--muted); margin: 0 0 16px; }
.breadcrumb a { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.included { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.included li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; }
.included li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.price-panel { background: var(--surface); border-radius: var(--r-panel); padding: 32px; }
.price-panel .price { font-size: 3rem; display: block; margin: 4px 0 12px; }
.related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.related li { border-top: 1px solid var(--line); padding: 14px 0; }
.related a { font-weight: 600; }

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