/* ============================================================
   My Salon Suite · Requirements & Estimate microsite
   Token system: every color and font on the page comes from here.
   Palette derived from the client's compiled theme CSS
   (see docs/sources/html/README.md).
   ============================================================ */

:root {
  /* Client brand colors */
  --ink: #080001;            /* theme-color-sleek-black */
  --seafoam: #78cdd1;        /* theme-color-cool-seafoam */
  --saffron: #f9e3b2;        /* theme-color-golden-saffron */
  --lava: #f15a29;           /* theme-color-spicy-lava */
  --white: #ffffff;

  /* Derived tints */
  --seafoam-soft: #eaf7f8;
  --saffron-soft: #fdf6e6;
  --lava-soft: #fdeae2;
  --paper: #fbfaf7;
  --line: #e4e0d8;
  --muted: #5c5854;

  /* Typography: two families max, system stacks only */
  --font-display: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
a { color: inherit; }

ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.9em;
}

.section { padding: 72px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark .kicker { color: var(--seafoam); }
.section-intro { max-width: 720px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 0, 1, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header img { height: 30px; display: block; }
.header-credit {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 84px 0 64px;
}
.hero .container { max-width: var(--container); }
.hero h1 { color: var(--saffron); max-width: 17em; }
.hero .lede {
  font-size: 1.2rem;
  max-width: 38em;
  color: rgba(255, 255, 255, 0.88);
}
.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--seafoam);
  color: var(--seafoam);
  margin-bottom: 24px;
}
.hero-cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--lava);
  color: var(--white);
  border: 2px solid var(--lava);
  transition: background 0.2s ease, color 0.2s ease;
}
.button:hover { background: transparent; color: var(--lava); }
.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--seafoam);
  outline-offset: 2px;
}
.button.ghost {
  background: transparent;
  color: var(--seafoam);
  border-color: var(--seafoam);
}
.button.ghost:hover { background: var(--seafoam); color: var(--ink); }

/* signature visual */
.signature-visual { margin-top: 48px; }
.signature-visual svg { width: 100%; height: auto; display: block; }
.visual-caption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

/* ---------- at a glance ---------- */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.glance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  min-height: 170px;
}
.glance-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.glance-card p { font-size: 0.95rem; margin: 0; color: var(--muted); }

/* ---------- stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 36px 0 8px;
}
.stat {
  border-top: 3px solid var(--seafoam);
  padding-top: 12px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}
.stat .label { color: var(--muted); font-size: 0.95rem; }
.footnote { font-size: 0.85rem; color: var(--muted); }

/* ---------- goals ---------- */
.goal-list { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: goal; }
.goal-list li {
  counter-increment: goal;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.goal-list li::before {
  content: counter(goal);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lava);
  min-width: 1.4em;
}
.goal-list strong { display: block; }
.goal-list span { color: var(--muted); font-size: 0.97rem; }

/* ---------- journeys ---------- */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.journey-card {
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  border-top: 5px solid var(--line);
  min-height: 240px;
}
.journey-card.pro { border-top-color: var(--seafoam); }
.journey-card.consumer { border-top-color: var(--saffron); }
.journey-card.franchise { border-top-color: var(--lava); }
.journey-card .who {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.journey-card h3 { margin-top: 6px; }
.journey-card dl { margin: 0; font-size: 0.95rem; }
.journey-card dt {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.journey-card dd { margin: 2px 0 0; }

/* ---------- experience blocks ---------- */
.experience-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.experience-block:last-child { border-bottom: none; }
.experience-block .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--lava);
  color: var(--white);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.experience-block ul { columns: 1; font-size: 0.98rem; }
.experience-block ul li { break-inside: avoid; }
@media (min-width: 720px) {
  .experience-block ul.two-col { columns: 2; column-gap: 28px; }
}

/* ---------- architecture diagram ---------- */
.arch-diagram { margin: 40px 0 8px; }
.arch-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.arch-node {
  border-radius: 12px;
  padding: 18px;
  border: 1.5px solid var(--line);
  background: var(--white);
  text-align: center;
}
.arch-node h4 { margin-bottom: 4px; }
.arch-node p { font-size: 0.87rem; color: var(--muted); margin: 0; }
.arch-node.source { border-color: var(--lava); background: var(--lava-soft); }
.arch-node.cms { border-color: var(--saffron); background: var(--saffron-soft); }
.arch-node.site { border-color: var(--seafoam); background: var(--seafoam-soft); }
.arch-connector {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 10px 0;
}
.arch-connector::before {
  content: "";
  display: block;
  width: 2px;
  height: 18px;
  margin: 0 auto 6px;
  background: var(--line);
}
/* ---------- CMS comparison ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.compare-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: var(--white);
}
.compare-card ul { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- analytics chips ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.chip-cloud span {
  font-size: 0.85rem;
  border: 1px solid var(--seafoam);
  background: var(--seafoam-soft);
  border-radius: 999px;
  padding: 6px 14px;
}
.q-list { list-style: none; padding: 0; margin: 24px 0 0; }
.q-list li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.98rem;
}
.q-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  color: var(--lava);
  font-weight: 700;
}

/* ---------- process ---------- */
.phase-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.phase {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  min-height: 150px;
}
.phase .num {
  font-family: var(--font-display);
  color: var(--seafoam);
  font-size: 1.5rem;
  display: block;
}
.phase h4 { margin: 4px 0 6px; }
.phase p { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* ---------- schedule ---------- */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.commit-card {
  border-radius: 14px;
  padding: 26px;
  border: 1.5px solid var(--seafoam);
  background: var(--white);
}
.commit-card.milestone { background: var(--seafoam-soft); }
.commit-card .when {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- investment placeholder ---------- */
.investment-panel {
  border: 2px dashed var(--seafoam);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  background: var(--seafoam-soft);
}
.investment-panel h3 { margin-bottom: 0.3em; }
.investment-panel p { max-width: 46em; margin: 0 auto; }

/* ---------- case study ---------- */
.case-card {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-top: 28px;
}
.case-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lava);
}
.case-card ul { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- assumptions ---------- */
.assume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.assume-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: var(--white);
}
.assume-card ul { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- closing ---------- */
.closing { text-align: center; }
.closing h2 { color: var(--saffron); max-width: 20em; margin-left: auto; margin-right: auto; }
.closing p { max-width: 44em; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.85); }
.closing .button { margin-top: 18px; }
.closing .caveat { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0;
  font-size: 0.85rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.site-footer img { height: 22px; opacity: 0.9; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .experience-block { grid-template-columns: 1fr; gap: 12px; }
  .case-card { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
}

/* ---------- print ---------- */
@media print {
  .site-header { position: static; }
  .hero, .section.dark, .site-footer { background: var(--white) !important; color: var(--ink) !important; }
  .hero h1, .closing h2 { color: var(--ink); }
  .hero .lede, .closing p, .closing .caveat, .visual-caption { color: var(--muted); }
  .button { display: none; }
  .reveal { opacity: 1; transform: none; }
  .section { padding: 28px 0; page-break-inside: avoid; }
}
