/* ─────────────────────────────────────────────────────────────
   Spread — marketing site
   Warm hospitality aesthetic. One serif (Source Serif 4) + system sans.
   Cream paper, deep warm ink, one muted terracotta accent.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:           #FAF6EC;          /* warm cream paper */
  --bg-deeper:    #F2ECD9;          /* darker cream for stripes */
  --ink:          #1F1612;          /* deep warm near-black */
  --ink-soft:     #4A3D34;          /* secondary text */
  --ink-muted:    #7A6D63;          /* tertiary text, metadata */
  --hair:         #DCD2BD;          /* hairlines */
  --accent:       #B0573D;          /* muted terracotta */
  --accent-deep:  #8E4429;
  --accent-soft:  rgba(176, 87, 61, 0.10);

  --serif: "Source Serif 4", "Source Serif Pro", "Iowan Old Style", "New York", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, "Inter", sans-serif;

  --maxw: 720px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --ease: cubic-bezier(0.2, 0.8, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main, header, footer { position: relative; z-index: 1; }

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--bg); }

/* ───── Skip link ─────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 0.95rem;
  border-radius: 4px;
  font-size: 0.875rem;
  z-index: 10;
}
.skip:focus { left: 1rem; }

/* ───── Header ────────────────────────────────────────────── */
.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-name {
  position: relative;
}

.header-cta {
  font-family: var(--sans);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
}
.header-cta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.header-cta-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--accent);
}

/* ───── Hero ──────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.25rem, 7vh, 4.5rem) var(--pad) clamp(3rem, 8vh, 5.5rem);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 6.5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(1.075rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  text-wrap: pretty;
}

/* ───── Phone CTA — the centerpiece ───────────────────────── */
.phone-cta {
  margin-bottom: 1.5rem;
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(176, 87, 61, 0.25);
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.demo-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(176, 87, 61, 0.55);
  animation: demo-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes demo-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(176, 87, 61, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(176, 87, 61, 0); }
  100% { box-shadow: 0 0 0 0   rgba(176, 87, 61, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-dot { animation: none; }
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--ink);
  color: var(--bg);
  padding: 1.05rem 1.65rem;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 2px 0 rgba(31, 22, 18, 0.12);
}
.phone-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(176, 87, 61, 0.25);
}
.phone-btn:active { transform: translateY(0); }

.phone-btn-icon {
  display: inline-flex;
  color: var(--accent);
  transition: color 0.25s var(--ease);
}
.phone-btn:hover .phone-btn-icon { color: var(--bg); }

.phone-btn-xl {
  padding: 1.35rem 2rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  gap: 1rem;
}

.phone-caption {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 0.85rem;
  font-style: italic;
}

.secondary-cta {
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.secondary-cta a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.secondary-cta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ───── Section frame ─────────────────────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) var(--pad);
}

.rule {
  max-width: var(--maxw);
  margin: 0 auto;
  border: 0;
  height: 1px;
  background: var(--hair);
}

.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  max-width: 4rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2rem;
  text-wrap: balance;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.18rem, 1.7vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

/* ───── Steps ─────────────────────────────────────────────── */
.steps {
  list-style: none;
  display: grid;
  gap: 2.5rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.step-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  text-align: right;
  padding-right: 1rem;
  border-right: 1px solid var(--hair);
  align-self: stretch;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}
.step-body p {
  color: var(--ink-soft);
  max-width: 36rem;
}

/* ───── Prose lists ───────────────────────────────────────── */
.prose-list {
  list-style: none;
  margin-top: -0.5rem;
}
.prose-list li {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  padding: 0.85rem 0 0.85rem 1.5rem;
  border-bottom: 1px solid var(--hair);
  position: relative;
  letter-spacing: -0.01em;
}
.prose-list li:last-child { border-bottom: 0; }
.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border-radius: 50%;
}

/* ───── Won't section ─────────────────────────────────────── */
.wont-grid {
  display: grid;
  gap: 1.5rem;
}
.wont {
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
}
.wont h3 {
  font-style: italic;
  color: var(--ink);
}
.wont p {
  color: var(--ink-soft);
  font-size: 1rem;
}
.wont-coda {
  margin-top: 2.25rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-muted);
}

/* ───── Try section ───────────────────────────────────────── */
.try-section {
  padding-top: clamp(3.5rem, 9vh, 5.5rem);
  padding-bottom: clamp(3.5rem, 9vh, 5.5rem);
}
.try-section .lede {
  margin-bottom: 2rem;
}
.phone-cta-large {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ───── Contact section ───────────────────────────────────── */
.contact-section .lede {
  margin-bottom: 2rem;
}
.contact-cta {
  margin-top: 1rem;
}
.contact-link {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
  letter-spacing: -0.005em;
}
.contact-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* ───── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deeper);
  border-top: 1px solid var(--hair);
  padding: 3rem var(--pad) 2.5rem;
  margin-top: 2rem;
}
.footer-row {
  max-width: var(--maxw);
  margin: 0 auto 1.75rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 30rem;
}
.footer-copy {
  max-width: var(--maxw);
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ───── Responsive ────────────────────────────────────────── */
@media (max-width: 540px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1.25rem;
  }
  .header-cta {
    align-items: center;
    gap: 0.55rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .step-num {
    text-align: left;
    justify-content: flex-start;
    border-right: 0;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 0.25rem;
    font-size: 2.5rem;
  }

  .phone-btn {
    width: 100%;
    justify-content: center;
    padding: 1.1rem 1.25rem;
  }
  .phone-btn-xl {
    padding: 1.35rem 1.5rem;
  }

  .contact-link {
    word-break: break-all;
    display: inline-block;
    line-height: 1.3;
  }
}

@media (min-width: 900px) {
  .section-label { margin-left: -2.5rem; padding-left: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

@media print {
  body::before { display: none; }
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .phone-btn { display: none !important; }
  a { color: #000; text-decoration: underline; }
}
