/* Saiga landing — mobile-first, single column, no framework.
   One loud green reserved for the CTA; deep forest green for brand moments;
   a yellow highlighter accent used sparingly for warmth. Mock UI inside the
   phone/example cards stays muted teal so the upload button is the loudest
   thing on the page. */

:root {
  --bg: #fbf7ee;
  --bg-soft: #f3ecdd;
  --panel: #ffffff;
  --ink: #221a10;
  --muted: #6d6353;
  --soft: #9a8d7a;
  --border: #e7ddcb;
  --border-soft: #f0e9da;
  --accent: #0c8f4a;
  --accent-deep: #086b36;
  --accent-tint: #e9f6ec;
  --forest: #0d3b26;
  --cream-on-dark: #f7f1e3;
  --hl: #ffd84d;
  --teal: #0f766e;
  --teal-tint: #e3f1ef;
  --amber: #92520e;
  --amber-tint: #fdf0dd;
  --red: #b3261e;
  --shadow: 0 18px 50px rgba(58, 43, 22, 0.14);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* scrollbar-gutter: stable reserves the scrollbar's space permanently, so the
   page doesn't widen/shift when the modal locks scroll and the bar disappears. */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--hl); color: var(--ink); }

a { color: inherit; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 640;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw + 1rem, 4.1rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.75rem, 2.6vw + 0.9rem, 2.7rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Highlighter sweep — warm marker stroke behind key words */
.hl {
  font-style: inherit;
  background-image: linear-gradient(100deg,
    rgba(255, 216, 77, 0) 0.6%,
    rgba(255, 216, 77, 0.95) 3.4%,
    rgba(255, 211, 52, 0.95) 96.2%,
    rgba(255, 216, 77, 0) 99%);
  background-size: 100% 0.82em;
  background-position: 0 76%;
  background-repeat: no-repeat;
  padding: 0 0.08em;
  margin: 0 -0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

main {
  width: min(1060px, 100% - 40px);
  margin: 0 auto;
}

section { padding: 60px 0; }

/* ------------------------------ header ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 14px max(20px, calc(50vw - 530px)) 12px;
  background: rgba(251, 247, 238, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  transition: background 180ms ease, box-shadow 180ms ease;
}

/* Backdrop is always on so header content never sits on the hero grid;
   scrolling just adds a soft lift shadow. */
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(58, 43, 22, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 640;
  text-decoration: none;
}

.brand-mark { width: 50px; height: 50px; object-fit: contain; display: block; transform: translateY(-3px); }

/* ------------------------------- CTA -------------------------------- */

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 18px;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cta-button:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
}

/* The big file-drop-styled button: loud solid green with a dashed
   drop-zone ring inside so it still reads "drop your file here". */
.cta-drop {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 64px;
  padding: 16px 26px;
  background: var(--accent);
  color: #fff;
  font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.22rem);
  letter-spacing: 0.002em;
  box-shadow:
    0 14px 30px rgba(8, 107, 54, 0.32),
    0 3px 8px rgba(8, 107, 54, 0.22),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cta-drop::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  pointer-events: none;
}

.cta-drop:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow:
    0 20px 38px rgba(8, 107, 54, 0.36),
    0 4px 10px rgba(8, 107, 54, 0.24),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cta-drop .cta-icon {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  color: #fff;
  stroke-width: 2.4;
  transition: transform 150ms ease;
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-drop .cta-icon { animation: none; }
  html { scroll-behavior: auto; }
}

/* Stacked label: bold action line + soft promise line */
.cta-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.22;
  text-align: left;
  white-space: nowrap;
}

.cta-label small {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.84);
}

/* Compact header variant */
/* Header CTA is the SECONDARY action (hero carries the primary) — a quiet
   ghost/outline treatment so it doesn't compete with the solid green buttons. */
.cta-small {
  min-height: 40px;
  padding: 8px 17px;
  border: 2.5px solid rgba(12, 143, 74, 0.34);
  border-radius: 11px;
  background: transparent;
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.cta-small:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateY(-1px); }

/* Secondary "Get early access" buttons — solid + content-width, no upload
   affordance (the file-drop icon and dashed ring stay only on the hero). */
.cta-access {
  min-height: 56px;
  padding: 15px 38px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  box-shadow:
    0 12px 28px rgba(8, 107, 54, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cta-access:hover { background: var(--accent-deep); transform: translateY(-2px); }

.micro-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 14px;
  row-gap: 2px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.micro-trust span { white-space: nowrap; }

.micro-trust span::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 800;
}

.final-cta .micro-trust span::before { color: #7fd6a4; }

/* ------------------------------- hero ------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: 44px;
  text-align: center;
}

/* Faint spreadsheet-grid texture fading out — a wink at where they're from */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30px calc(50% - 50vw) auto;
  height: 540px;
  background-image:
    linear-gradient(rgba(34, 26, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 26, 16, 0.055) 1px, transparent 1px);
  background-size: 44px 38px;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 0%, #000 30%, transparent 72%);
  mask-image: radial-gradient(110% 90% at 50% 0%, #000 30%, transparent 72%);
  pointer-events: none;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto 18px;
}

.hero .lede {
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.16rem;
  text-wrap: pretty;
}

/* --------------------------- before / after -------------------------- */

.before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 18px;
  margin-top: 60px;
}

.ba-before, .ba-after {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sticker captions pinned onto the visuals */
figcaption {
  position: absolute;
  z-index: 5;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(34, 26, 16, 0.25);
}

.ba-before figcaption {
  top: -15px;
  left: 4px;
  rotate: -3deg;
  background: var(--ink);
  color: var(--cream-on-dark);
}

.ba-after figcaption {
  top: -14px;
  left: 292px; /* phone is 296px wide, left-aligned in the figure */
  translate: -100% 0; /* sit the caption's right edge just inside the phone's */
  rotate: 2deg;
  background: var(--accent-deep);
  color: #fff;
}

/* Arrow badge between the two */
.ba-arrow {
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(58, 43, 22, 0.16);
  rotate: 0deg;
}

.ba-arrow svg { color: var(--accent); }

/* The ugly spreadsheet — with the version-chaos paper stack behind it */

.sheet-stack {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 540px;
  transform: rotate(-1.2deg);
}

.sheet-stack::before,
.sheet-stack::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid #d2cab8;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(58, 43, 22, 0.1);
}

.sheet-stack::before {
  background: #f3eee3;
  transform: rotate(2.1deg) translate(12px, 4px);
}

.sheet-stack::after {
  background: #efe9db;
  transform: rotate(-2.4deg) translate(-10px, 9px);
}

.sheet-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid #c9c2b4;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.sheet-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #ece9e1;
  border-bottom: 1px solid #d8d2c4;
}

.sheet-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c5beae;
}

.sheet-titlebar p {
  flex: 1;
  min-width: 0;
  margin: 0 0 0 6px;
  overflow: hidden;
  color: #5d564a;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sheet-formulabar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 10px;
  border-bottom: 1px solid #d8d2c4;
  background: #f7f5ef;
}

.sheet-formulabar span {
  color: #8a8270;
  font-size: 10px;
  font-style: italic;
  font-weight: 700;
}

.sheet-formulabar code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #444;
  font-size: 9.5px;
  white-space: nowrap;
}

.sheet-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10.5px;
  line-height: 1.3;
}

.sheet-grid th, .sheet-grid td {
  overflow: hidden;
  max-width: 0;
  padding: 3px 5px;
  border: 1px solid #d4d4d4;
  font-weight: 400;
  white-space: nowrap;
  text-align: left;
}

.sheet-grid th {
  background: #e9e9e9;
  color: #666;
  text-align: center;
  font-size: 9px;
}

.sheet-grid th.rn { width: 18px; }

.sheet-grid td.num { text-align: right; }

.sheet-grid .c-title td, td.c-title {
  background: #ffff00;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.c-head td { background: #dce6f1; font-weight: 700; }

td.c-yel { background: #ffeb9c; color: #9c6500; }
td.c-red { background: #ffc7ce; color: #9c0006; font-weight: 700; }
td.c-grn { background: #c6efce; color: #276221; }
td.c-err { color: #c00000; font-weight: 700; }
td.c-sel { outline: 2px solid #1e7145; outline-offset: -2px; }

.sheet-tabs {
  display: flex;
  gap: 1px;
  overflow: hidden;
  padding: 3px 6px 5px;
  border-top: 1px solid #d4d4d4;
  background: #ece9e1;
}

.sheet-tabs span {
  padding: 2px 8px;
  border: 1px solid #d0c9ba;
  border-radius: 0 0 4px 4px;
  border-top: none;
  background: #e0dcd1;
  color: #6b655a;
  font-size: 9px;
  white-space: nowrap;
}

.sheet-tabs span.on {
  background: #fff;
  color: #1c1712;
  font-weight: 700;
}

/* The phone with the clean app — gets a soft green halo */

.ba-after { isolation: isolate; }

.ba-after::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -36px -50px;
  background: radial-gradient(closest-side, rgba(12, 143, 74, 0.17), transparent 72%);
  pointer-events: none;
}

.phone {
  width: 296px;
  padding: 10px;
  border-radius: 44px;
  background: #221d18;
  box-shadow: 0 24px 60px rgba(34, 26, 16, 0.3);
  transform: rotate(1deg);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 10px 12px 0;
  border-radius: 34px;
  background: #fbfaf7;
  text-align: left;
}

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 2px 6px 0;
  color: #97907f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.app-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 4px 0;
}

.app-top strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 640;
}

.app-top span { color: var(--soft); font-size: 11px; }

.app-search {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--soft);
  font-size: 12px;
}

.app-add {
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.app-item-main { display: flex; flex-direction: column; min-width: 0; }

.app-item-main strong {
  overflow: hidden;
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-item-main span { color: var(--soft); font-size: 10.5px; }

.app-item-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.app-item-side em {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.chip {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.chip.ok { background: var(--teal-tint); color: var(--teal); }
.chip.low { background: var(--amber-tint); color: var(--amber); }
.chip.prog { background: #e7ecf8; color: #2c4f9e; }
.chip.todo { background: var(--bg-soft); color: var(--muted); }

.app-nav {
  display: flex;
  justify-content: space-around;
  margin: 2px -12px 0;
  padding: 9px 0 14px;
  border-top: 1px solid var(--border-soft);
  background: #fff;
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
}

.app-nav .on { color: var(--teal); }

/* ---------------------------- how it works ---------------------------- */

.how {
  position: relative;
  isolation: isolate;
  text-align: center;
}

.how::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--bg-soft);
}

.how h2 { max-width: 640px; margin-inline: auto; }

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  max-width: 460px;
  margin: 34px auto 42px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.steps li {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(58, 43, 22, 0.06);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 640;
}

.steps h3 { margin-bottom: 6px; font-size: 1.12rem; }

.steps p { color: var(--muted); font-size: 0.96rem; }

/* ----------------------------- outcomes ------------------------------ */

.outcomes h2, .outcomes .eyebrow { text-align: center; }

.outcome-grid {
  display: grid;
  gap: 14px;
  max-width: 700px;
  margin: 34px auto 0;
}

.outcome-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(58, 43, 22, 0.05);
}

.outcome-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}

.outcome-grid h3 { margin-bottom: 6px; font-size: 1.08rem; }

.outcome-grid p { color: var(--muted); font-size: 0.96rem; }

/* ----------------------------- examples ------------------------------ */

.examples {
  position: relative;
  isolation: isolate;
  text-align: center;
}

.examples::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--bg-soft);
}

.section-sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.example-grid {
  display: grid;
  gap: 26px;
  max-width: 420px;
  margin: 36px auto 0;
}

.example-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

/* the .xlsx tag sits stuck onto the corner of the app card */
/* Filename as a folder tab built into the top-left of the card (no floating pill). */
.example-file {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 0 0 -13px 16px;
  padding: 6px 14px 7px;
  border: 1px solid #ded8cb;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: #eeeae1;
  color: #6d6353;
  font-size: 0.78rem;
  font-weight: 600;
}

.app-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(58, 43, 22, 0.1);
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}

.mini-top strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 640;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fdfcfa;
}

.mini-row > div { display: flex; flex-direction: column; min-width: 0; }

.mini-row strong {
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-row span:not(.chip) { color: var(--soft); font-size: 10.5px; }

.example-card h3 { margin-top: 2px; }

.example-card > p:last-child { color: var(--muted); font-size: 0.95rem; }

/* Three mini shapes so the example apps look genuinely different:
   a list (inventory), a board (jobs), a week calendar (schedule). */
.app-mini { height: 288px; }

/* board — job tracker */
.mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; flex: 1; }
.mini-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mini-col-h {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 1px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--soft);
}
.mini-col-h .cdot { width: 6px; height: 6px; border-radius: 999px; flex: 0 0 auto; }
.cdot.todo { background: #c7bda9; }
.cdot.prog { background: #2c4f9e; }
.cdot.done { background: var(--teal); }
.mini-job {
  padding: 6px 7px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fdfcfa;
  min-width: 0;
}
.mini-job strong {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-job span { color: var(--soft); font-size: 8.5px; }

/* week calendar — staff schedule */
.mini-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; flex: 1; }
.mini-day { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-day-h { font-size: 8.5px; font-weight: 700; color: var(--soft); text-align: center; }
.mini-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  border-radius: 5px;
  padding: 4px 2px;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-slot.am { background: var(--teal-tint); color: var(--teal); }
.mini-slot.pm { background: var(--amber-tint); color: var(--amber); }
.mini-slot.assign { background: none; color: var(--soft); border: 1px dotted #bcb2a1; }

/* primary action — makes each mini read as a usable app, not a static list */
.mini-action {
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

/* per-column add affordances — dashed, native to the board/calendar */
.mini-add-card,
.mini-add-day {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0;
  border: 1px dashed #d6cbb5;
  border-radius: 7px;
  background: none;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
}

/* inventory per-row stepper (adjust the count in place) */
.mini-step { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.mini-step i {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}
.mini-step b { min-width: 14px; text-align: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-step b.ok { color: var(--teal); }
.mini-step b.low { color: var(--amber); }

/* ------------------------------ pricing ------------------------------ */

.pricing { text-align: center; }

.price-grid {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 36px auto 0;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(58, 43, 22, 0.07);
  text-align: left;
}

.price-card-primary {
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(12, 143, 74, 0.15);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50%;
  rotate: -2deg;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream-on-dark);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(34, 26, 16, 0.25);
}

.price-name {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.price-num {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
}

.price-num strong { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 640; line-height: 1.05; }
.price-num span { color: var(--muted); font-size: 1rem; font-weight: 600; }
.price-num-text strong { font-size: 1.7rem; }

.price-sub {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-list {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.price-cta {
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(8, 107, 54, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.price-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.price-cta-outline {
  background: transparent;
  color: var(--accent-deep);
  border: 2px solid rgba(12, 143, 74, 0.34);
  box-shadow: none;
}

.price-cta-outline:hover { background: var(--accent-tint); border-color: var(--accent); transform: translateY(-1px); }

.price-anchor {
  max-width: 480px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------- founder note ---------------------------- */

.founder { padding-top: 30px; }

.founder-card {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 28px 26px;
  border: 1px solid #efdfa6;
  border-radius: 6px;
  background: #fff8dc;
  box-shadow: 0 14px 34px rgba(58, 43, 22, 0.12);
  rotate: -0.8deg;
}

/* tape strip */
.founder-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 110px;
  height: 24px;
  translate: -50%;
  rotate: -1.5deg;
  background: rgba(214, 205, 182, 0.55);
  box-shadow: 0 1px 3px rgba(34, 26, 16, 0.08);
}

.founder-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 640;
}

.founder-card blockquote p {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.founder-card blockquote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.founder-card a { color: var(--ink); font-weight: 600; }

/* -------------------------------- FAQ -------------------------------- */

.faq {
  position: relative;
  isolation: isolate;
  max-width: 660px;
  margin: 0 auto;
}

/* Darker full-bleed band, continuing the alternating section pattern. */
.faq::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--bg-soft);
}

.faq h2, .faq .eyebrow { text-align: center; }

.faq details {
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  transition: border-color 150ms ease;
}

.faq details[open] { border-color: #cfc2a8; }

.faq summary {
  position: relative;
  padding: 17px 48px 17px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: var(--accent-tint);
  /* Plus drawn as two crossed bars (not a text glyph) so it's geometrically
     centered in the circle; rotating the box turns it into a clean ×. */
  background-image:
    linear-gradient(var(--accent-deep), var(--accent-deep)),
    linear-gradient(var(--accent-deep), var(--accent-deep));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 2px, 2px 12px;
  transition: rotate 150ms ease;
}

.faq details[open] summary::after { rotate: 45deg; }

.faq summary:hover { color: var(--accent-deep); }

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ----------------------------- final CTA ------------------------------ */

.final-cta {
  position: relative;
  isolation: isolate;
  margin-top: 30px;
  padding: 84px 0 92px;
  color: var(--cream-on-dark);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(90% 120% at 50% -10%, rgba(12, 143, 74, 0.35), transparent 60%),
    var(--forest);
}

.final-cta h2 { margin-bottom: 30px; color: #fff; }

.final-cta .micro-trust { color: rgba(247, 241, 227, 0.78); }

.final-cta .cta-drop {
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.final-derisk {
  margin-top: 16px;
  color: rgba(247, 241, 227, 0.66);
  font-size: 0.92rem;
}

/* ------------------------------ footer ------------------------------- */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: min(1060px, 100% - 40px);
  margin: 0 auto;
  padding: 26px 0 42px;
  color: var(--soft);
  font-size: 0.85rem;
}

.footer-sep { margin: 0 9px; }

.site-footer a { color: var(--muted); }

/* --------------------------- sticky CTA bar --------------------------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 200ms ease, opacity 200ms ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.cta-bar {
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border-radius: 15px;
  background: var(--accent);
  color: #fff;
  font-size: 0.99rem;
  box-shadow: 0 6px 18px rgba(8, 107, 54, 0.3);
}

.cta-bar:hover { background: var(--accent-deep); }

/* ------------------------------ mobile ------------------------------- */

/* ----------------------- early-access modal ------------------------- */

.wl-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 14, 6, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: wl-fade 160ms ease;
}

.wl-overlay[hidden] { display: none; }

@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }

.wl-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 34px 30px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  animation: wl-pop 200ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes wl-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wl-overlay, .wl-card { animation: none; }
}

.wl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.wl-close:hover { background: var(--border); color: var(--ink); }

.wl-card .eyebrow { margin-bottom: 8px; }

.wl-card h2 {
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 1.9rem);
  margin-bottom: 10px;
}

.wl-sub {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.98rem;
  text-wrap: pretty;
}

.wl-sub strong { color: var(--ink); }

.wl-form { display: flex; flex-direction: column; gap: 14px; }

.wl-field { display: flex; flex-direction: column; gap: 6px; }

.wl-field span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.wl-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.wl-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* honeypot — kept in the DOM, hidden from people */
.wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wl-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 1.04rem;
  box-shadow:
    0 12px 26px rgba(8, 107, 54, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.wl-submit:hover { background: var(--accent-deep); transform: translateY(-1px); }

.wl-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.wl-error {
  margin: 2px 2px 0;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
}

.wl-fineprint {
  margin-top: 2px;
  color: var(--soft);
  font-size: 0.82rem;
  text-align: center;
}

.wl-fineprint a { color: var(--muted); text-decoration: underline; }

/* success state */
.wl-view-success { text-align: center; }

.wl-check {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 6px auto 16px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}

.wl-view-success h2 { margin-bottom: 10px; }

.wl-done {
  min-height: 50px;
  margin-top: 22px;
  padding: 12px 30px;
  background: var(--ink);
  color: var(--cream-on-dark);
}

.wl-done:hover { background: #000; transform: translateY(-1px); }

body.wl-open { overflow: hidden; }

@media (max-width: 719px) {
  .sticky-cta { display: block; }

  body { padding-bottom: 84px; }

  .cta-small { padding: 8px 14px; border-radius: 12px; }

  /* Hero collage: messy sheet up top-left, phone overlapping bottom-right */
  .before-after {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 56px;
  }

  .ba-before {
    align-items: flex-start;
    width: 94%;
  }

  .sheet-stack { max-width: 430px; }

  /* trim the sheet a little so the hero stays ~1.5 screens */
  .sheet-grid tr:nth-child(8), .sheet-grid tr:nth-child(9) { display: none; }

  .ba-arrow {
    align-self: flex-start;
    margin: 16px 0 24px 10px;
    rotate: 0deg;
  }

  .ba-arrow svg { transform: rotate(48deg); }

  .ba-after {
    align-items: flex-end;
    margin-top: 0;
    padding-right: 4px;
  }

  .phone { width: 244px; border-radius: 38px; padding: 8px; }

  .phone-screen { border-radius: 30px; }

  .app-item-main strong { font-size: 12px; }

  .ba-after::before { inset: -20px -30px; }

  .ba-after figcaption { top: auto; bottom: -12px; left: auto; right: 24px; translate: 0; }

  .cta-drop { padding: 16px 18px; }

  /* more breathing room between stacked example blocks on mobile */
  .example-grid { gap: 42px; }
}

/* ----------------------------- desktop ------------------------------- */

@media (min-width: 720px) {
  section { padding: 88px 0; }

  .hero { padding-top: 50px; }

  .before-after {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 34px;
  }

  /* Pull each figure toward the centre so the arrow sits exactly between
     their facing edges — symmetric columns make it width-independent. */
  .ba-before { align-items: flex-end; }
  .ba-after { align-items: flex-start; }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
  }

  .example-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }

  .price-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .price-card { padding: 38px 32px 30px; }

  .cta-drop { padding: 19px 30px; }

  .founder-card { padding: 34px 36px 30px; }
}
