/* ============================================================
   YakPrint — landing page styles
   Palette: warm cream + charcoal + burnt-orange accent + yak-fur neutrals
   Type: Figtree (humanist sans) + Spline Sans Mono (data/labels)
   ============================================================ */

:root {
  /* surfaces */
  --cream:        #F4EEE2;   /* page background */
  --cream-card:   #FBF8F1;   /* raised cards */
  --cream-deep:   #ECE2D0;   /* alternating band */
  --paper:        #FFFFFF;

  /* ink + neutrals (yak fur) */
  --ink:          #23201A;
  --ink-soft:     #5B5346;
  --fur:          #8C7E6A;
  --fur-soft:     #B6AB99;
  --line:         #E2D8C6;
  --line-strong:  #D3C6AF;

  /* accent — burnt orange */
  --orange:       oklch(0.605 0.135 47);
  --orange-deep:  oklch(0.520 0.135 45);
  --orange-tint:  oklch(0.93 0.04 60);
  --orange-line:  oklch(0.80 0.07 55);

  /* savings positive — deep earthy pine */
  --pine:         oklch(0.50 0.075 162);
  --pine-tint:    oklch(0.93 0.035 165);

  --shadow-sm: 0 1px 2px rgba(35,32,26,.05), 0 2px 8px rgba(35,32,26,.05);
  --shadow-md: 0 4px 14px rgba(35,32,26,.07), 0 12px 32px rgba(35,32,26,.08);
  --shadow-lg: 0 10px 30px rgba(35,32,26,.10), 0 24px 60px rgba(35,32,26,.10);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* eyebrow / mono label */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow.muted { color: var(--fur); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 17px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px oklch(0.605 0.135 47 / .28); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 6px 20px oklch(0.605 0.135 47 / .34); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(35,32,26,.03); }
.btn-lg { font-size: 19px; padding: 17px 30px; }
.btn-block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.textlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange-line); padding-bottom: 1px; }
.textlink:hover { border-color: var(--orange); }
.textlink .arrow { transition: transform .2s ease; color: var(--orange); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.95 0.012 75 / 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: 16px; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- section rhythm ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.band-deep { background: var(--cream-deep); }
.section-head { max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); margin-top: 16px; }
.center { margin-inline: auto; text-align: center; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.035em; }
.hero h1 .pop { color: var(--orange); }
.hero-sub { color: var(--ink-soft); font-size: clamp(18px, 2.1vw, 22px); margin-top: 24px; max-width: 30ch; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pine); flex: none; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .badge-ring { position: relative; width: min(420px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art .yak-big { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(35,32,26,.16)); }
/* mountains behind */
.hero-art .ridge { position: absolute; inset: 0; z-index: -1; }
.hero-price-tag {
  position: absolute; bottom: 6%; right: -2%;
  background: var(--ink); color: var(--cream);
  border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.hero-price-tag .num { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.hero-price-tag .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fur-soft); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art .badge-ring { width: min(320px, 70vw); }
}

/* ---------- value props ---------- */
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prop {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-deep); margin-bottom: 18px; }
.prop h3 { font-size: 20px; font-weight: 800; }
.prop p { color: var(--ink-soft); font-size: 16px; margin-top: 8px; }
@media (max-width: 920px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .props { grid-template-columns: 1fr; } }

/* ---------- comparison centerpiece ---------- */
.compare-head { text-align: center; max-width: 820px; margin-inline: auto; }
.compare-head h2 { font-size: clamp(32px, 4.8vw, 54px); margin-top: 14px; }
.compare-quip { color: var(--ink-soft); font-size: clamp(18px,2vw,21px); margin-top: 16px; }

.calc {
  margin-top: 52px; background: var(--cream-card); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.calc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.calc-count { }
.calc-count .lbl { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fur); }
.calc-count .big { font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 6px; }
.calc-count .big span#countNum { color: var(--orange); }
.calc-count .big .unit { font-size: 0.42em; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.calc-save { text-align: right; }
.calc-save .lbl { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--fur); }
.calc-save .amt { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--pine); letter-spacing: -0.02em; line-height: 1.05; margin-top: 6px; }
.calc-save .amt small { font-size: 0.5em; font-weight: 700; color: var(--ink-soft); }

.slider-wrap { margin-top: 30px; }
input[type="range"].slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px;
  background: var(--line-strong); outline: none; cursor: pointer;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); border: 4px solid var(--cream-card); box-shadow: 0 2px 8px oklch(0.605 0.135 47 / .45); cursor: grab;
}
input[type="range"].slider::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%; background: var(--orange);
  border: 4px solid var(--cream-card); box-shadow: 0 2px 8px oklch(0.605 0.135 47 / .45); cursor: grab;
}
.slider-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--fur); margin-top: 10px; }

.bars { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 18px; }
.bar-name { font-weight: 700; font-size: 15px; }
.bar-name small { display: block; font-weight: 500; color: var(--fur); font-size: 12px; font-family: var(--mono); margin-top: 2px; }
.bar-track { height: 38px; background: oklch(0.9 0.012 75); border-radius: 9px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; width: 0; border-radius: 9px; transition: width .7s cubic-bezier(.22,.61,.36,1); background: var(--fur); }
.bar-fill.is-yak { background: linear-gradient(90deg, var(--orange), var(--orange-deep)); }
.bar-val { font-family: var(--mono); font-weight: 600; font-size: 16px; min-width: 92px; text-align: right; }
.bar-row.is-yak .bar-name { color: var(--orange-deep); }
.bar-row.is-yak .bar-val { color: var(--orange-deep); }
@media (max-width: 620px) {
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-track { grid-column: 1 / -1; order: 3; }
}

/* table */
.cmp-table-wrap { margin-top: 56px; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; background: var(--cream-card); min-width: 640px; }
table.cmp th, table.cmp td { padding: 18px 22px; text-align: left; }
table.cmp thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fur); font-weight: 600; border-bottom: 1px solid var(--line); background: var(--cream-deep); }
table.cmp tbody td { border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-soft); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp .col-print { font-weight: 700; color: var(--ink); font-family: var(--mono); }
/* highlighted YakPrint column */
table.cmp .yak-col { background: var(--orange-tint); color: var(--orange-deep); font-weight: 800; position: relative; }
table.cmp thead .yak-col { background: var(--orange); color: #fff; }
table.cmp tbody .yak-col { font-family: var(--mono); }
table.cmp .yak-col::after { content:""; position:absolute; left:0; right:0; }
.cmp-foot { font-size: 13px; color: var(--fur); margin-top: 18px; line-height: 1.6; font-family: var(--mono); max-width: 100%; }
.annual-callout {
  margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--pine-tint); border: 1px solid oklch(0.8 0.06 165); border-radius: var(--r);
  padding: 22px 26px;
}
.annual-callout .big { font-size: clamp(24px,3vw,32px); font-weight: 800; color: var(--pine); letter-spacing: -0.02em; }
.annual-callout p { color: var(--ink-soft); font-size: 16px; }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.feat {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feat .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--cream); display: grid; place-items: center; margin-bottom: 22px; }
.feat h3 { font-size: 21px; font-weight: 800; }
.feat p { color: var(--ink-soft); font-size: 16px; margin-top: 9px; }
@media (max-width: 920px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- why a yak ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.why-cards { display: grid; gap: 16px; }
.why-card { display: flex; gap: 18px; background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.why-card .num { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--orange); flex: none; padding-top: 3px; }
.why-card h3 { font-size: 18px; font-weight: 800; }
.why-card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 6px; }
.why-lead h2 { font-size: clamp(30px,4.2vw,46px); }
.why-lead p { color: var(--ink-soft); font-size: clamp(18px,2vw,21px); margin-top: 18px; }
.why-yak { width: min(220px, 60%); margin-top: 32px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-yak { display:none; } }

/* ---------- pricing ---------- */
.price-card {
  max-width: 520px; margin: 52px auto 0; background: var(--cream-card);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-head { padding: 40px 44px 34px; text-align: center; border-bottom: 1px dashed var(--line-strong); position: relative; }
.price-head .ribbon { display:inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); background: var(--orange-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.price-amt { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.price-amt .cur { font-size: 36px; font-weight: 800; color: var(--ink); align-self: flex-start; margin-top: 10px; }
.price-amt .val { font-size: clamp(72px, 12vw, 104px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-amt .per { font-size: 22px; color: var(--ink-soft); font-weight: 700; }
.price-head .sub { color: var(--ink-soft); font-size: 18px; margin-top: 12px; font-weight: 600; }
.price-body { padding: 34px 44px 40px; }
.price-list { display: grid; gap: 13px; margin-bottom: 30px; }
.price-list li { display: flex; align-items: flex-start; gap: 12px; list-style: none; font-size: 16.5px; }
.price-list .check { width: 22px; height: 22px; border-radius: 50%; background: var(--pine-tint); color: var(--pine); display: grid; place-items: center; flex: none; margin-top: 2px; }
.price-no { text-align: center; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin: 6px 0 26px; line-height: 1.35; }
.price-reassure { text-align: center; color: var(--fur); font-size: 14px; margin-top: 16px; }
.price-list { padding-left: 0; }

/* ---------- faq ---------- */
.faq-list { max-width: 800px; margin: 48px auto 0; display: grid; gap: 14px; }
.faq-item { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 28px; font-family: var(--font); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-deep); display: grid; place-items: center; transition: background .2s ease, transform .3s ease; }
.faq-item.open .faq-q .pm { background: var(--orange); transform: rotate(135deg); }
.faq-item.open .faq-q .pm .bar { background: #fff; }
.pm .bar { position: absolute; width: 13px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.pm { position: relative; }
.pm .bar.v { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 28px 26px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }

/* ---------- final cta band ---------- */
.cta-band { background: var(--orange); color: #fff; text-align: center; overflow: hidden; position: relative; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(34px, 5.2vw, 60px); color: #fff; }
.cta-band p { font-size: clamp(18px, 2.2vw, 22px); color: oklch(0.95 0.04 60); margin-top: 18px; max-width: 50ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--orange-deep); box-shadow: 0 6px 20px rgba(35,32,26,.18); margin-top: 36px; }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--orange-deep); }
.cta-band .reassure { margin-top: 18px; font-size: 14px; color: oklch(0.92 0.04 60); }
.cta-yak { width: 96px; margin: 0 auto 22px; }
.cta-ridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; opacity: .14; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(48px, 6vw, 72px); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: var(--cream); }
.footer-tag { color: var(--fur-soft); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fur-soft); margin: 0 0 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--cream); opacity: .78; font-size: 15.5px; margin-bottom: 11px; transition: opacity .15s ease; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(245,239,227,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fur-soft); font-size: 14px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- founding-access form ---------- */
.access-form { margin-top: 8px; }
.access-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.access-row { display: flex; gap: 12px; flex-wrap: wrap; }
.access-input {
  flex: 1 1 220px; min-width: 0;
  font-family: var(--font); font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 999px;
  padding: 15px 20px; transition: border-color .15s ease, box-shadow .15s ease;
}
.access-input::placeholder { color: var(--fur-soft); }
.access-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.access-row .btn { flex: 0 0 auto; }
.access-extra {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; font-size: 14px; color: var(--ink-soft);
  font-family: var(--mono); letter-spacing: .02em;
}
.access-extra select {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 8px 12px; cursor: pointer; letter-spacing: normal;
}
.access-extra select:focus { outline: none; border-color: var(--orange); }
.access-msg { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1.2em; }
.access-msg.ok { color: var(--pine); }
.access-msg.err { color: var(--orange-deep); }
.access-form.sent .access-row, .access-form.sent .access-extra { display: none; }
@media (max-width: 540px) {
  .access-row .btn { width: 100%; justify-content: center; }
}
