/* ============================================================
   Seasonly — design tokens
   Canvas/ink are deliberately near-neutral: the only color on
   this page comes from real season-palette swatches, not a
   picked "brand" hue. The product's output IS the color system.
   ============================================================ */

:root {
  --canvas: #faf7f1;
  --canvas-shade: #f1ebdf;
  --surface: #ffffff;
  --ink: #221e1a;
  --ink-soft: #6b6259;
  --ink-faint: #a89e90;
  --line: #e2d9c9;

  /* Real palette swatches, pulled from Sources/Resources/SeasonTemplates */
  --sw-oatmeal: #d4c2a5;   /* Soft Autumn — neutral */
  --sw-peach: #d99a78;     /* Soft Autumn — core */
  --sw-copper: #b86b3b;    /* Soft Autumn — accent */
  --sw-teal: #4f827c;      /* Soft Autumn — core */
  --sw-emerald: #008b6f;   /* Cool Winter — core */
  --sw-cobalt: #0047ab;    /* Cool Winter — core */
  --sw-raspberry: #b0005a; /* Cool Winter — core */
  --sw-apricot: #ffa96b;   /* Light Spring — core */
  --sw-poppy: #f23a2e;     /* Bright Spring — core */
  --sw-kelly: #00a651;     /* Bright Spring — core */

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* ---------- eyebrow / label utility ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--ink); color: var(--canvas); }

/* ---------- swatch fan (signature element) ---------- */
.fan {
  --n: 7;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 210px;
  margin: 48px 0 12px;
  perspective: 800px;
}

.fan-card {
  width: 74px;
  height: 172px;
  border-radius: 10px 10px 6px 6px;
  margin: 0 -18px;
  box-shadow: 0 10px 24px -12px rgba(34, 30, 26, 0.35);
  transform-origin: bottom center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
  transform: translateY(0) rotate(0deg);
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
}

.fan-card::after {
  content: attr(data-name);
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fan-card:hover::after { opacity: 1; }
.fan-card:hover { box-shadow: 0 16px 30px -12px rgba(34, 30, 26, 0.45); }

@media (max-width: 400px) {
  .fan { height: 168px; }
  .fan-card { width: 56px; height: 136px; margin: 0 -14px; }
}

/* fanned resting angles, symmetric around center card (index 3 of 0..6) */
.fan[data-state="fanned"] .fan-card:nth-child(1) { transform: translateY(18px) rotate(-27deg); }
.fan[data-state="fanned"] .fan-card:nth-child(2) { transform: translateY(6px)  rotate(-18deg); }
.fan[data-state="fanned"] .fan-card:nth-child(3) { transform: translateY(0px)  rotate(-9deg); }
.fan[data-state="fanned"] .fan-card:nth-child(4) { transform: translateY(-4px) rotate(0deg); }
.fan[data-state="fanned"] .fan-card:nth-child(5) { transform: translateY(0px)  rotate(9deg); }
.fan[data-state="fanned"] .fan-card:nth-child(6) { transform: translateY(6px)  rotate(18deg); }
.fan[data-state="fanned"] .fan-card:nth-child(7) { transform: translateY(18px) rotate(27deg); }

.fan[data-state="stacked"] .fan-card { transform: translateY(40px) rotate(0deg); }

/* thin swatch strip used as a section seam instead of a plain rule */
.seam {
  display: flex;
  height: 7px;
  width: 100%;
}
.seam span { flex: 1 1 0; }

/* ---------- hero ---------- */
.hero { padding: 20px 0 64px; text-align: center; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 440;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 18px 0 0;
}

.hero h1 em {
  font-style: italic;
  font-weight: 380;
  color: var(--sw-copper);
}

.hero .sub {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- email capture ---------- */
.capture {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.capture input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}

.capture input[type="email"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.capture button {
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.capture button:hover { background: #3a332c; }
.capture button:active { transform: scale(0.97); }
.capture button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.capture-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 12px;
}

.form-status {
  text-align: center;
  font-size: 0.88rem;
  margin-top: 14px;
  min-height: 1.2em;
}
.form-status[data-tone="ok"] { color: #3f7a5c; }
.form-status[data-tone="err"] { color: #a4433a; }

.pill {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--surface);
}

/* ---------- section shell ---------- */
section.block { padding: 76px 0; }
section.block.shade { background: var(--canvas-shade); }

.block h2 {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin: 10px 0 0;
  letter-spacing: -0.01em;
}

.block .lede {
  max-width: 620px;
  color: var(--ink-soft);
  margin-top: 16px;
  font-size: 1.02rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.compare .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.compare .card.highlight {
  border-color: var(--ink);
  box-shadow: 0 18px 34px -22px rgba(34, 30, 26, 0.45);
}

.compare .card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 550;
  margin: 0 0 12px;
}

.compare .card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
}

/* ---------- feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}

.feature {
  background: var(--surface);
  padding: 30px 28px;
}

.feature .chips { display: flex; gap: 6px; margin-bottom: 18px; }
.feature .chips span {
  width: 20px; height: 20px; border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 550;
  margin: 0 0 8px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0;
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.step .eyebrow { margin-bottom: 12px; }

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 550;
  margin: 0 0 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0;
}

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.plan.premium { border-color: var(--ink); }

.plan .name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 550;
}

.plan .price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 460;
  margin: 6px 0 18px;
}

.plan .price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.plan ul { padding-left: 0; margin: 0; list-style: none; }
.plan li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.plan li:first-child { border-top: none; }

@media (max-width: 720px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ---------- final CTA ---------- */
.final-cta { text-align: center; }

/* ---------- footer ---------- */
footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}

.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-left: 22px;
}
.foot-links a:first-child { margin-left: 0; }
.foot-links a:hover { color: var(--ink); }

.foot-meta {
  color: var(--ink-faint);
  font-size: 0.82rem;
  margin-top: 18px;
}

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */
.legal-header {
  padding: 40px 0 0;
}

.legal-seam { margin: 26px 0 0; }

article.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 28px 90px;
}

article.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 480;
  margin: 0 0 6px;
}

article.legal .updated {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin-bottom: 36px;
}

article.legal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
  margin: 38px 0 12px;
}

article.legal p, article.legal li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

article.legal strong { color: var(--ink); }

article.legal ul { padding-left: 20px; }

article.legal a { color: var(--sw-copper); text-decoration: underline; }

.eula-box {
  margin-top: 30px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.eula-box a.button {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 999px;
}
.eula-box a.button:hover { background: #3a332c; }
