/* ============================================================
   scs·ai — The 24/7 Storefront landing page
   Hand-crafted CSS. No framework. Mobile-first.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --terracotta: #C25A40;
  --terracotta-deep: #A8472F;
  --terracotta-soft: rgba(194, 90, 64, 0.10);
  --cream: #FAF7F2;
  --cream-2: #F3EEE5;
  --charcoal: #16120E;
  --charcoal-2: #221C16;

  /* Warm grays for body text */
  --ink: #2A241E;
  --ink-soft: #5C544B;
  --ink-faint: #8A8175;
  --line: #E4DDD1;
  --line-strong: #D6CCBC;

  /* Surfaces */
  --bg: var(--cream);
  --surface: #FFFFFF;

  /* Type scale (fluid) */
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3.4vw, 4.6rem);

  /* Spacing */
  --space-section: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(22, 18, 14, 0.05);
  --shadow-md: 0 14px 40px rgba(22, 18, 14, 0.10);
  --shadow-lg: 0 30px 70px rgba(22, 18, 14, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--charcoal);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 3rem); }
.narrow { max-width: 760px; }
.section { padding-block: var(--space-section); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
}
.wordmark__dot {
  width: 0.42em; height: 0.42em;
  background: var(--terracotta);
  border-radius: 50%;
  margin-inline: 0.16em;
  margin-top: 0.1em;
}
.wordmark__ai { color: var(--ink-soft); }
.wordmark--footer { font-size: 1.5rem; color: var(--cream); }
.wordmark--footer .wordmark__ai { color: rgba(250, 247, 242, 0.6); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85rem;
  --pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--accent {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 22px rgba(194, 90, 64, 0.28);
}
.btn--accent:hover { background: var(--terracotta-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(194, 90, 64, 0.36); }
.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--charcoal); transform: translateY(-2px); }
.btn--sm { --pad-y: 0.6rem; --pad-x: 1.1rem; font-size: var(--step--1); }
.btn--lg { --pad-y: 1.05rem; --pad-x: 2rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-stuck { border-color: var(--line); box-shadow: 0 4px 24px rgba(22, 18, 14, 0.05); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

/* ---------- Eyebrow / kickers ---------- */
.eyebrow, .section__kicker {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.section__kicker { display: block; margin-bottom: 1.1rem; }
.section__title { font-size: var(--step-3); margin-bottom: 1.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 3rem + 8vw, 9rem) var(--space-section);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; max-width: 920px; }
.hero .eyebrow { display: block; margin-bottom: 1.6rem; }
.hero__title {
  font-size: var(--step-4);
  font-weight: 600;
  margin-bottom: 1.6rem;
  max-width: 16ch;
}
.hero__title-accent { color: var(--terracotta); display: inline; }
.hero__sub {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2.4rem;
  line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero__note { font-size: var(--step--1); color: var(--ink-faint); letter-spacing: 0.01em; }

.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, rgba(194, 90, 64, 0.16), rgba(194, 90, 64, 0) 65%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Problem ---------- */
.problem { background: var(--cream); }
.problem__rows { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 0.5rem; }
.problem__line {
  font-family: "Fraunces", serif;
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.problem__line strong { color: var(--terracotta); font-weight: 600; }

/* ---------- Jobs grid ---------- */
.jobs { background: var(--charcoal); color: var(--cream); }
.jobs .section__title { color: var(--cream); }
.jobs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 2.6rem;
}
.job-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(250, 247, 242, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 90, 64, 0.5);
  background: #2b231b;
}
.job-card__num {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.05em;
}
.job-card__title {
  font-size: var(--step-1);
  color: var(--cream);
  margin: 0.7rem 0 0.6rem;
}
.job-card__desc { color: rgba(250, 247, 242, 0.66); font-size: var(--step-0); line-height: 1.5; }

/* ---------- What you get (split) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 2.6rem; align-items: start; }
.split--center { align-items: center; }
.getit__lede { color: var(--ink-soft); font-size: var(--step-1); margin: 1.2rem 0 2rem; max-width: 48ch; }
.getit__cta { margin-top: 0.4rem; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
  color: var(--ink);
  font-weight: 500;
}
.checklist li:last-child { border-bottom: none; }
.check {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--terracotta-soft);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 9px; top: 5px;
  width: 6px; height: 11px;
  border: solid var(--terracotta);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- Qualify form ---------- */
.qualify { background: var(--cream-2); }
.qualify__sub { color: var(--ink-soft); font-size: var(--step-1); margin-bottom: 2.6rem; max-width: 54ch; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.field { display: flex; flex-direction: column; gap: 0.55rem; border: none; }
.field__label {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field__input {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field__input::placeholder { color: var(--ink-faint); }
.field__input:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 4px var(--terracotta-soft);
}
.field__hint { font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.2rem; }

/* Chips (radio groups) */
.chips { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--cream);
  transition: all 0.2s var(--ease);
}
.chip:hover span { border-color: var(--ink-faint); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--terracotta-soft); }
.chip input:checked + span {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  font-weight: 600;
}
.form__fineprint { font-size: var(--step--1); color: var(--ink-faint); text-align: center; }

/* ---------- Free book ---------- */
.book { background: var(--cream); }
.book__cover-wrap { display: flex; justify-content: center; }
.book__cover, .book__cover-img {
  width: min(300px, 80%);
  aspect-ratio: 3 / 4;
  border-radius: 6px 14px 14px 6px;
  box-shadow: var(--shadow-lg);
}
.book__cover {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  border-left: 6px solid var(--terracotta);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.7rem;
  color: var(--cream);
  position: relative;
  transform: perspective(1400px) rotateY(-9deg);
  transition: transform 0.5s var(--ease);
}
.book__cover-wrap:hover .book__cover { transform: perspective(1400px) rotateY(-3deg) translateY(-4px); }
.book__cover-kicker { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.book__cover-title { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 600; line-height: 1.05; }
.book__cover-foot { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.05rem; color: rgba(250,247,242,0.85); }
.book__cover-dot { width: 0.4em; height: 0.4em; background: var(--terracotta); border-radius: 50%; margin-inline: 0.16em; }

.book__lede { color: var(--ink-soft); font-size: var(--step-1); margin: 1.2rem 0 1rem; max-width: 46ch; }
.book__deliver { font-weight: 600; color: var(--terracotta); margin-bottom: 1.8rem; }

/* ---------- $19 offer ---------- */
.offer { background: var(--charcoal); color: var(--cream); }
.offer .section__title { color: var(--cream); }
.offer__sub { color: rgba(250,247,242,0.7); font-size: var(--step-1); margin-bottom: 2.6rem; max-width: 50ch; }

.offer-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.offer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.offer-card__price { display: flex; align-items: baseline; gap: 0.8rem; }
.offer-card__was {
  font-size: var(--step-1);
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.offer-card__now {
  font-family: "Fraunces", serif;
  font-size: var(--step-4);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
}
.offer-card__badge {
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
}
.offer-card__list { list-style: none; display: flex; flex-direction: column; gap: 0.95rem; margin-bottom: 1.8rem; }
.offer-card__list li { display: flex; align-items: flex-start; gap: 0.85rem; font-size: var(--step-0); }
.offer-card__fine { text-align: center; font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.9rem; }

/* Order bump */
.bump {
  display: block;
  background: var(--terracotta-soft);
  border: 1.5px dashed var(--terracotta);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.6rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.bump:hover { background: rgba(194, 90, 64, 0.14); }
.bump__check { width: 20px; height: 20px; accent-color: var(--terracotta); margin-right: 0.6rem; float: left; margin-top: 0.2rem; }
.bump__body { display: block; overflow: hidden; }
.bump__title { display: block; font-weight: 700; color: var(--terracotta-deep); margin-bottom: 0.35rem; }
.bump__desc { display: block; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.bump__desc strong { color: var(--ink); }
.bump__link { display: inline-block; margin-top: 0.6rem; font-size: var(--step--1); font-weight: 600; color: var(--terracotta-deep); }
.bump__link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__list { display: flex; flex-direction: column; margin-top: 2rem; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
}
.faq__item summary {
  font-family: "Fraunces", serif;
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 2.5rem 1.3rem 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem; top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--terracotta);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--terracotta); }
.faq__item p { color: var(--ink-soft); padding: 0 2.5rem 1.5rem 0; max-width: 64ch; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.finalcta { background: var(--charcoal); color: var(--cream); text-align: center; }
.finalcta__inner { display: flex; flex-direction: column; align-items: center; }
.finalcta__title { font-size: var(--step-3); color: var(--cream); margin-bottom: 1.2rem; max-width: 20ch; }
.finalcta__sub { color: rgba(250,247,242,0.7); font-size: var(--step-1); margin-bottom: 2.2rem; max-width: 52ch; }
.finalcta__note { font-size: var(--step--1); color: rgba(250,247,242,0.5); margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal-2); color: var(--cream); padding-block: 3.5rem 2rem; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.footer__tagline { color: rgba(250,247,242,0.55); font-size: var(--step--1); margin-top: 0.5rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a { color: rgba(250,247,242,0.7); font-size: var(--step--1); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--terracotta); }
.footer__copy { padding-top: 1.6rem; font-size: var(--step--1); color: rgba(250,247,242,0.4); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .jobs__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .book .split { grid-template-columns: 0.85fr 1fr; }
}
@media (min-width: 1080px) {
  .jobs__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.book__cover-img{width:100%;max-width:360px;border-radius:14px;box-shadow:0 30px 70px rgba(0,0,0,.45);display:block;margin:0 auto;}
