/* ============================================================
   Flottenplan — design system
   Editorial dispatch aesthetic: paper, ink, hairline rules,
   serif display, mono numbers. No gradients-as-decoration.
   ============================================================ */

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1e9;
  --paper-raised: #fbf9f4;
  --paper-deep: #ebe5d8;
  --ink: #13160f;
  --ink-soft: #2b2f27;
  --muted: #666b60;
  --muted-on-dark: #a7ad9f;
  --line: #d8d2c3;
  --line-strong: #b9b2a0;
  --green: #0d5c43;
  --green-bright: #137a58;
  --green-wash: #dfe8df;
  --amber: #9a6a12;
  --amber-wash: #f0e2c4;
  --danger: #9d2f22;
  --radius-sm: 3px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sheet: 0 1px 0 rgb(19 22 15 / 0.06), 0 18px 40px -24px rgb(19 22 15 / 0.45);
  --gutter: clamp(18px, 4vw, 40px);
  --max: 1240px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

::selection {
  background: var(--green);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.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;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

/* ---------- layout ---------- */

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 9vw, 112px);
  border-top: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
  border-top-color: var(--ink);
}

.section--dark .lead,
.section--dark .muted {
  color: var(--muted-on-dark);
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

/* ---------- type ---------- */

.display {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  color: var(--green);
}

h2.display-sm {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.title-lg {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.72rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head > p {
  max-width: 44ch;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 26px;
  height: 26px;
  color: var(--green);
}
.brand__dot {
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}
.nav a:hover {
  border-bottom-color: var(--ink);
}
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .login-link {
  font-size: 0.92rem;
  text-decoration: none;
  padding: 8px 10px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-ink: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 500 0.95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--light {
  --btn-bg: var(--paper);
  --btn-ink: var(--ink);
}
.btn--sm {
  padding: 9px 14px;
  font-size: 0.87rem;
}
.btn svg {
  width: 16px;
  height: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}
.link-arrow:hover {
  border-bottom-color: var(--ink);
}

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

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 120px,
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, transparent 30%, transparent 70%, var(--paper) 100%);
  pointer-events: none;
  opacity: 0.85;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy .display {
  margin-block: 18px 22px;
}
.hero__copy .lead {
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

/* dispatch sheet visual */
.sheet {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  box-shadow: var(--shadow-sheet);
  transform: rotate(0.6deg);
}
.sheet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 20px);
  opacity: 0.12;
}
.sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 22px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet__head strong {
  color: var(--ink);
  font-weight: 500;
}
.sheet__rows {
  list-style: none;
  padding: 6px 0;
}
.sheet__row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 22px;
  font-size: 0.83rem;
}
.sheet__row + .sheet__row {
  border-top: 1px dotted var(--line);
}
.sheet__time {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.sheet__route strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 550;
  letter-spacing: -0.005em;
}
.sheet__route span {
  font-size: 0.72rem;
  color: var(--muted);
}
.sheet__badge {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}
.sheet__badge--return {
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
  background: var(--green-wash);
  color: var(--green);
}
.sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  font-size: 0.75rem;
  color: var(--muted);
}
.sheet__foot strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- metrics ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.metric {
  padding: 26px 22px 28px;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric__value {
  font: 400 clamp(1.6rem, 2.6vw, 2.2rem) / 1 var(--serif);
  letter-spacing: -0.02em;
}
.metric__label {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 30ch;
}

/* ---------- cards / lists ---------- */

.card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.card--flat {
  background: transparent;
  border-color: var(--line);
}
.card__index {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}

.checks {
  list-style: none;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}

.numbs {
  list-style: none;
  counter-reset: n;
  display: grid;
  gap: 22px;
}
.numbs li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.numbs li::before {
  content: "0" counter(n);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
  padding-top: 3px;
}
.numbs strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.numbs p {
  font-size: 0.9rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 26px 24px 0 0;
  position: relative;
}
.step + .step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.step__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--green);
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 12px 0 8px;
}
.step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- dark band ---------- */

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.band .display-sm em {
  color: #8fd3b4;
}
.band__list {
  display: grid;
  gap: 0;
}
.band__item {
  padding: 18px 0;
  border-top: 1px solid rgb(244 241 233 / 0.18);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: baseline;
}
.band__item:last-child {
  border-bottom: 1px solid rgb(244 241 233 / 0.18);
}
.band__time {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #8fd3b4;
}
.band__item p {
  font-size: 0.92rem;
  color: var(--muted-on-dark);
}
.band__item strong {
  color: var(--paper);
  font-weight: 550;
}

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

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}
.plan {
  padding: 30px clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan + .plan {
  border-left: 1px solid var(--line);
}
.plan--featured {
  background: var(--ink);
  color: var(--paper);
}
.plan--featured .plan__tagline,
.plan--featured .plan__limit,
.plan--featured .plan__features li {
  color: var(--muted-on-dark);
}
.plan--featured .plan__price small {
  color: var(--muted-on-dark);
}
.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan__name {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan__flag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: #8fd3b4;
  color: var(--ink);
}
.plan__price {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price small {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}
.plan__tagline {
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 2.6em;
}
.plan__limit {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-block: 12px;
  border-block: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.plan__features {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.85rem;
}
.plan__features li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  color: var(--ink-soft);
}
.plan__features li::before {
  content: "→";
  color: var(--green);
  font-size: 0.75rem;
  line-height: 1.6;
}
.plan--featured .plan__features li::before {
  color: #8fd3b4;
}
.plan .btn {
  margin-top: auto;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raised);
  font-size: 0.85rem;
}
.billing-toggle button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.billing-toggle .save {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--green);
  padding-inline: 8px 10px;
}

.price-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 550;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--green);
  transition: transform 150ms ease;
}
.faq details[open] summary::after {
  content: "−";
}
.faq .answer {
  padding: 0 0 22px;
  max-width: 72ch;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- cta ---------- */

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta .display-sm {
  max-width: 20ch;
}
.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 56px 32px;
  border-top: 1px solid var(--ink);
}
.site-footer a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 0.86rem;
}
.site-footer a:hover {
  color: var(--paper);
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer-brand p {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}
.footer-col h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgb(244 241 233 / 0.16);
  font-size: 0.76rem;
  color: var(--muted-on-dark);
}

/* ---------- prose / legal ---------- */

.prose {
  max-width: 78ch;
}
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.015em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.6em 0 0.4em;
}
.prose p {
  margin: 0.7em 0;
  color: var(--ink-soft);
}
.prose ul {
  margin: 0.7em 0;
  padding-left: 1.2em;
}
.prose li {
  margin: 0.35em 0;
  color: var(--ink-soft);
}
 .prose {
  overflow-wrap: anywhere;
}
.prose table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.88rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-note {
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  background: var(--amber-wash);
  font-size: 0.82rem !important;
  color: var(--ink-soft) !important;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- forms (auth/contact) ---------- */

.form-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}
.form-side {
  padding: clamp(32px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.form-aside {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(32px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.form-aside .display-sm {
  color: var(--paper);
}
.form-aside .display-sm em {
  color: #8fd3b4;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 550;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-raised);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.field .hint {
  font-size: 0.76rem;
  color: var(--muted);
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
}
.checkline input {
  margin-top: 3px;
}
.form-error {
  padding: 11px 14px;
  border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line));
  background: #f7e5e1;
  color: var(--danger);
  border-radius: var(--radius);
  font-size: 0.86rem;
}
.form-success {
  padding: 11px 14px;
  border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line));
  background: var(--green-wash);
  color: var(--green);
  border-radius: var(--radius);
  font-size: 0.86rem;
}
.form-foot {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-foot a {
  color: var(--ink);
}

/* ---------- flash / thin pages ---------- */

.page-head {
  padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 48px);
}
.page-head .display {
  margin-block: 16px 18px;
  max-width: 18ch;
}
.page-head--wide .display {
  max-width: 26ch;
}

.answer-box {
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-raised);
  padding: 20px 22px;
  font-size: 0.95rem;
}
.answer-box strong {
  font-weight: 600;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .sheet {
    transform: none;
    max-width: 560px;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .plan--featured {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .header-actions .login-link {
    display: none;
  }
  .site-header.is-open .header-actions .login-link {
    display: inline-block;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }
  .step + .step {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .split,
  .band,
  .form-page {
    grid-template-columns: 1fr;
  }
  .form-aside {
    display: none;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sheet__row {
    grid-template-columns: 46px 1fr;
  }
  .sheet__badge {
    grid-column: 2;
    justify-self: start;
  }
  .cta {
    flex-direction: column;
    align-items: start;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .field--row {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__actions,
  .nav-toggle {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .section {
    padding-block: 24px;
    break-inside: avoid;
  }
}

/* ---------- account ---------- */

body.account-page {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 96px,
    var(--paper);
}

.account-shell {
  width: min(1040px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: clamp(36px, 6vw, 64px) 72px;
}

.account-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.account-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.account-head p {
  margin-top: 8px;
  font-size: 0.88rem;
}

.account-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  overflow-x: auto;
}
.account-tabs a {
  padding: 11px 14px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.account-tabs a:hover {
  color: var(--ink);
}
.account-tabs a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--green);
  font-weight: 550;
}

.account-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 16px;
}
.account-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.account-card__head h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}
.account-card__head p {
  margin-top: 5px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 60ch;
}
.account-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}

.usage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 0 8px;
}
.usage div {
  display: grid;
  gap: 6px;
}
.usage dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.usage dd {
  margin: 0;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.meter {
  height: 5px;
  background: var(--paper-deep);
  border-radius: 3px;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--green);
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.account-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.account-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
}
.account-table tr:last-child td {
  border-bottom: 0;
}

.account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.account-actions form {
  margin: 0;
}

.account-pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-foot {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--muted);
}
.account-foot a {
  color: inherit;
}

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

/* ---------- product imagery ---------- */

.section--tint {
  background: linear-gradient(180deg, var(--paper-deep), #f0ebdf);
}

.hero--product {
  background:
    radial-gradient(900px 480px at 78% 18%, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 120px,
    var(--paper);
}
.hero--product .hero__inner {
  grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
  align-items: center;
}

.hero__visual {
  position: relative;
  isolation: isolate;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 26px -18px -26px 42px;
  background: var(--green);
  border-radius: 18px;
  transform: rotate(-1.2deg);
  z-index: -1;
  opacity: 0.92;
}

.shot-frame {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-raised);
  box-shadow: 0 30px 70px -30px rgb(19 22 15 / 0.5), 0 2px 0 rgb(255 255 255 / 0.6) inset;
}
.shot-frame__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  background: #eee9dc;
  border-bottom: 1px solid var(--line);
}
.shot-frame__dots {
  display: flex;
  gap: 5px;
}
.shot-frame__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfc8b7;
}
.shot-frame__url {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.shot-frame__live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.shot-frame__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.shot-frame > img {
  display: block;
  width: 100%;
  height: auto;
}

.float-badge {
  position: absolute;
  left: -26px;
  bottom: -34px;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow-sheet);
  min-width: 190px;
}
.float-badge__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.float-badge strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.float-badge__note {
  font-size: 11px;
  color: var(--green);
}

.figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-raised);
  box-shadow: var(--shadow-sheet);
}
.figure img {
  display: block;
  width: 100%;
  height: auto;
}
.figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.figure--flush {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.figure--flush figcaption {
  padding-inline: 2px;
  border-top: 0;
}
.figure--dark {
  margin-top: clamp(28px, 4vw, 52px);
  background: #1a1e17;
  border-color: #2b2f26;
}
.figure--dark figcaption {
  border-color: #2b2f26;
  color: var(--muted-on-dark);
}
.figure--dark img {
  background: #13160f;
}

.split--wide-media {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.shot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  overflow: hidden;
  box-shadow: var(--shadow-sheet);
}
.shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot-card:hover img {
  transform: scale(1.02);
}
.shot-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}
.shot-card figcaption strong {
  font-size: 13px;
  font-weight: 600;
}
.shot-card figcaption span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.card--feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 160ms ease, border-color 160ms ease;
}
.card--feature:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.card--feature h3 {
  margin: 0;
}
.card--feature p {
  margin: 0;
}
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green-wash);
  color: var(--green);
}
.feature-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1080px) {
  .hero--product .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 720px;
    margin-top: 18px;
  }
  .hero__visual::before {
    inset: 18px -10px -18px 28px;
  }
  .float-badge {
    left: 12px;
    bottom: -22px;
  }
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .shot-card:last-child {
    grid-column: 1 / -1;
  }
  .shot-card:last-child img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 700px) {
  .split--wide-media {
    grid-template-columns: 1fr;
  }
  .shot-grid {
    grid-template-columns: 1fr;
  }
  .shot-card:last-child {
    grid-column: auto;
  }
  .shot-card img,
  .shot-card:last-child img {
    aspect-ratio: 4 / 3;
  }
  .float-badge {
    position: static;
    margin-top: 12px;
    box-shadow: none;
  }
  .float-badge strong {
    font-size: 24px;
  }
}

/* ---------- media cards ---------- */

.card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card--media .card__media {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.card--media .card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}
.card--media > :not(.card__media) {
  margin-inline: clamp(20px, 2.4vw, 28px);
}
.card--media > .card__index {
  margin-top: 18px;
}
.card--media > :last-child {
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

/* HTML width/height attributes set CSS height; keep ratio-driven sizing intact. */
.shot-card img,
.card--media .card__media img,
.shot-frame > img {
  height: auto;
}

/* ============================================================
   V2 theme — modern product look.
   Replaces the editorial paper/serif direction: clean surfaces,
   Bricolage Grotesque display, pill buttons, soft depth.
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f7f4;
  --paper-raised: #ffffff;
  --paper-deep: #edf2ee;
  --ink: #0b1512;
  --ink-soft: #2a3832;
  --muted: #5e6c65;
  --muted-on-dark: #a9b8b1;
  --line: #e2e9e4;
  --line-strong: #cdd7d1;
  --green: #0e7a53;
  --green-bright: #16a06e;
  --green-wash: #e6f3ec;
  --green-deep: #083b2b;
  --green-dark: #06251c;
  --lime: #c9f25f;
  --amber: #b45309;
  --danger: #b42318;
  --serif: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sheet: 0 2px 4px rgb(11 21 18 / 0.04), 0 24px 60px -32px rgb(11 21 18 / 0.28);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
}

h1, h2, h3, h4,
.display, .display-sm, .title-lg {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.display {
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.display em {
  font-style: normal;
  color: inherit;
}
.title-lg {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}
h2.display-sm {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
}
.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  color: var(--ink-soft);
}

/* eyebrow → pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raised);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  color: var(--green);
}
.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 1;
}

/* header */
.site-header {
  background: color-mix(in srgb, var(--paper-raised) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: 68px; }
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  gap: 9px;
}
.brand__mark { width: 28px; height: 28px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
}
.nav a:hover {
  border-color: var(--line);
  background: var(--paper-raised);
}
.nav a[aria-current="page"] {
  border-color: var(--line);
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.04);
}

/* buttons */
.btn {
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgb(11 21 18 / 0.5); }
.btn--ghost {
  background: var(--paper-raised);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--light {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.btn--sm { padding: 9px 16px; }

/* hero — dark product stage */
.hero--product {
  position: relative;
  overflow: clip;
  padding-block: clamp(56px, 7vw, 92px) 124px;
  background:
    radial-gradient(900px 420px at 82% -10%, rgb(201 242 95 / 0.18), transparent 65%),
    radial-gradient(700px 420px at 10% 110%, rgb(22 160 110 / 0.22), transparent 60%),
    linear-gradient(160deg, #06251c 0%, #083b2b 58%, #0a4936 100%);
  color: #f2f7f3;
}
.hero--product::after {
  display: none;
}
.hero--product .hero__inner {
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(32px, 4.5vw, 64px);
}
.hero--product .eyebrow {
  border-color: rgb(201 242 95 / 0.35);
  background: rgb(201 242 95 / 0.08);
  color: var(--lime);
}
.hero--product .display {
  color: #f7fbf8;
  margin-block: 20px 20px;
}
.hero--product .display em {
  color: var(--lime);
}
.hero--product .lead {
  color: #c2d3cb;
  max-width: 44ch;
}
.hero--product .hero__proof {
  color: #9fb3aa;
}
.hero--product .hero__proof li::before {
  background: var(--lime);
}
.hero--product .btn {
  background: var(--lime);
  border-color: var(--lime);
  color: #0b1512;
}
.hero--product .btn--ghost {
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.24);
  color: #f2f7f3;
}
.hero--product .btn--ghost:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.4);
}

.hero__visual::before { display: none; }

.shot-frame {
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 18px;
  background: #071a14;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.04) inset;
}
.shot-frame__bar {
  height: 38px;
  background: #0b2a20;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.shot-frame__dots i { background: rgb(255 255 255 / 0.24); }
.shot-frame__url {
  background: rgb(255 255 255 / 0.07);
  border-color: rgb(255 255 255 / 0.1);
  color: #a9b8b1;
}
.shot-frame__live { color: var(--lime); }
.shot-frame__live i { background: var(--lime); }

.float-badge {
  left: -22px;
  bottom: -30px;
  border: 1px solid rgb(255 255 255 / 0.6);
  border-left: 1px solid rgb(255 255 255 / 0.6);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.45);
  padding: 15px 18px;
}
.float-badge__label { color: var(--muted); }
.float-badge strong {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.float-badge__note { color: var(--green); }

/* metrics overlap the hero */
.metrics {
  position: relative;
  z-index: 2;
  margin-top: -68px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 70px -34px rgb(11 21 18 / 0.35);
  overflow: hidden;
}
.metric { padding: 24px 26px 26px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: -0.04em;
}
.metric__label { color: var(--muted); font-size: 0.8rem; }

/* sections */
.section {
  border-top: 0;
  padding-block: clamp(64px, 9vw, 116px);
}
.section--tight { padding-block: clamp(40px, 6vw, 76px); }
.section--tint {
  background:
    radial-gradient(700px 300px at 85% 0%, rgb(16 122 83 / 0.06), transparent 70%),
    var(--paper-deep);
}
.section-head { margin-bottom: clamp(30px, 4vw, 52px); }

/* cards */
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-raised);
  padding: clamp(22px, 2.4vw, 28px);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px -32px rgb(11 21 18 / 0.3);
}
.card h3 { font-family: var(--sans); font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-wash);
  color: var(--green);
}
.feature-icon svg { width: 21px; height: 21px; }
.card__index {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.06em;
}

/* steps as cards */
.steps {
  border-top: 0;
  gap: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-raised);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03);
}
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step__num {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-wash);
  color: var(--green);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.step h3 { font-family: var(--serif); font-weight: 650; font-size: 1.32rem; letter-spacing: -0.03em; margin: 14px 0 8px; }

/* numbered list */
.numbs li { border-top: 1px solid var(--line); }
.numbs li::before { color: var(--green); font-family: var(--sans); font-weight: 700; }
.numbs strong { font-family: var(--serif); font-weight: 650; font-size: 1.24rem; letter-spacing: -0.025em; }

/* figures and shots */
.figure {
  border-radius: 20px;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03), 0 30px 60px -40px rgb(11 21 18 / 0.3);
}
.figure figcaption { color: var(--muted); }
.shot-card {
  border-radius: 18px;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03), 0 30px 60px -40px rgb(11 21 18 / 0.3);
}
.shot-card figcaption strong { font-weight: 650; }

/* dark band */
.section--dark {
  background:
    radial-gradient(800px 340px at 80% 0%, rgb(201 242 95 / 0.12), transparent 60%),
    linear-gradient(160deg, #06251c, #083b2b);
  border-top: 0;
}
.section--dark .display-sm em, .section--dark em { color: var(--lime); }
.band__item { border-color: rgb(255 255 255 / 0.14); }
.band__time { color: var(--lime); font-family: var(--sans); font-weight: 650; }
.figure--dark { background: transparent; border-color: rgb(255 255 255 / 0.14); }
.figure--dark figcaption { border-color: rgb(255 255 255 / 0.14); }

/* pricing */
.pricing {
  border: 0;
  background: transparent;
  gap: 16px;
  overflow: visible;
  display: grid;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-raised);
  padding: clamp(24px, 2.6vw, 30px);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03);
}
.plan + .plan { border-left: 1px solid var(--line); }
.plan--featured {
  background: linear-gradient(165deg, #083b2b, #06251c);
  border-color: #083b2b;
  box-shadow: 0 30px 60px -30px rgb(8 59 43 / 0.55);
}
.plan__name { font-family: var(--sans); font-weight: 700; }
.plan__price {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
}
.plan__flag {
  background: var(--lime);
  color: #0b1512;
  font-family: var(--sans);
  font-weight: 700;
}
.plan__limit { font-family: var(--sans); font-weight: 500; }
.plan__features li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plan--featured .plan__features li::before { color: var(--lime); }

/* faq as cards */
.faq { border-top: 0; display: grid; gap: 8px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-raised);
  padding-inline: 20px;
}
.faq summary { padding: 18px 34px 18px 0; font-size: 0.96rem; }
.faq summary::after { right: 0; color: var(--green); }
.faq .answer { padding-bottom: 18px; }

.answer-box {
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-raised);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03);
}

/* page head for inner pages */
.page-head {
  background:
    radial-gradient(800px 320px at 80% -20%, rgb(16 122 83 / 0.1), transparent 65%),
    linear-gradient(180deg, #ffffff, var(--paper));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(52px, 7vw, 92px) clamp(36px, 4vw, 56px);
}
.page-head .display { max-width: 24ch; }

/* footer */
.site-footer {
  background: linear-gradient(180deg, #06251c, #041a13);
  border-top: 0;
  padding-block: 64px 34px;
}
.footer-col h3 { font-family: var(--sans); font-weight: 700; color: #8fa59a; }
.footer-brand p { color: #9fb3aa; }

/* forms */
.field input, .field select, .field textarea { border-radius: 12px; background: var(--paper-raised); }

/* small screens */
@media (max-width: 1080px) {
  .metrics {
    margin-top: -48px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step + .step {
    border-left: 1px solid var(--line);
    padding-left: 24px;
  }
  .pricing { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .metrics {
    margin-top: -36px;
    border-radius: 18px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .hero--product {
    padding-bottom: 96px;
  }
  .hero--product .display {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }
}

@media (max-width: 1080px) {
  .hero--product .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__visual {
    margin-top: 0;
  }
  .float-badge {
    left: 14px;
  }
}

/* Collapse navigation before it collides with the header actions. */
@media (max-width: 1240px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .login-link { display: none; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header.is-open .header-actions .login-link { display: inline-block; }
}

/* Home: navigation floats over the dark hero, turns solid on scroll. */
body.home .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background-color 200ms ease, border-color 200ms ease;
}
body.home .hero--product {
  padding-top: clamp(132px, 11vw, 172px);
}
body.home .site-header .brand,
body.home .site-header .nav a,
body.home .site-header .login-link {
  color: #f3f8f5;
}
body.home .site-header .brand__dot,
body.home .site-header .brand__mark {
  color: var(--lime);
}
body.home .site-header .nav a:hover,
body.home .site-header .nav a[aria-current="page"] {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.18);
  color: #ffffff;
  box-shadow: none;
}
body.home .site-header .btn {
  background: var(--lime);
  border-color: var(--lime);
  color: #0b1512;
}
body.home .site-header .nav-toggle {
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.22);
}
body.home .site-header .nav-toggle span,
body.home .site-header .nav-toggle span::before,
body.home .site-header .nav-toggle span::after {
  background: #f3f8f5;
}

/* Solid state */
body.home .site-header.is-scrolled,
body.home .site-header.is-open {
  background: color-mix(in srgb, #ffffff 92%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}
body.home .site-header.is-scrolled .brand,
body.home .site-header.is-scrolled .nav a,
body.home .site-header.is-scrolled .login-link,
body.home .site-header.is-open .brand,
body.home .site-header.is-open .nav a,
body.home .site-header.is-open .login-link {
  color: var(--ink-soft);
}
body.home .site-header.is-scrolled .brand__dot,
body.home .site-header.is-scrolled .brand__mark,
body.home .site-header.is-open .brand__dot,
body.home .site-header.is-open .brand__mark {
  color: var(--green);
}
body.home .site-header.is-scrolled .nav a[aria-current="page"],
body.home .site-header.is-open .nav a[aria-current="page"] {
  background: var(--paper-raised);
  border-color: var(--line);
  color: var(--ink);
}
body.home .site-header.is-scrolled .nav-toggle,
body.home .site-header.is-open .nav-toggle {
  background: var(--paper-raised);
  border-color: var(--line);
}
body.home .site-header.is-scrolled .nav-toggle span,
body.home .site-header.is-scrolled .nav-toggle span::before,
body.home .site-header.is-scrolled .nav-toggle span::after,
body.home .site-header.is-open .nav-toggle span,
body.home .site-header.is-open .nav-toggle span::before,
body.home .site-header.is-open .nav-toggle span::after {
  background: var(--ink);
}
body.home .site-header.is-scrolled .btn,
body.home .site-header.is-open .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
body.home .site-header.is-open .nav {
  background: #ffffff;
}

/* Hero balance: wider copy column, slightly smaller display. */
.display {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1;
}
.hero--product .hero__inner {
  grid-template-columns: minmax(0, 6.1fr) minmax(0, 5.9fr);
}
.hero--product {
  padding-block: clamp(120px, 9vw, 150px) 112px;
}
@media (max-width: 1080px) {
  .hero--product {
    padding-block: 120px 100px;
  }
  .hero--product .hero__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- visual inner-page heroes ---------- */

.page-head--visual {
  padding-block: clamp(44px, 6vw, 84px) clamp(40px, 5vw, 72px);
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
}
.page-head__copy .display {
  max-width: 20ch;
}
.page-head__copy .lead {
  margin-top: 16px;
}
.hero-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 70px -40px rgb(11 21 18 / 0.35);
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-head--dark {
  background:
    radial-gradient(760px 320px at 82% 0%, rgb(201 242 95 / 0.16), transparent 65%),
    linear-gradient(160deg, #06251c, #083b2b);
  color: #f2f7f3;
  border-bottom: 0;
}
.page-head--dark .display {
  color: #f7fbf8;
}
.page-head--dark .display em {
  color: var(--lime);
}
.page-head--dark .lead {
  color: #c2d3cb;
}
.page-head--dark .eyebrow {
  background: rgb(201 242 95 / 0.08);
  border-color: rgb(201 242 95 / 0.35);
  color: var(--lime);
}
.page-head--dark .btn {
  background: var(--lime);
  border-color: var(--lime);
  color: #0b1512;
}
.page-head--dark .btn--ghost {
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.24);
  color: #f2f7f3;
}
.page-head--dark .hero-figure {
  border-color: rgb(255 255 255 / 0.16);
  background: transparent;
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.6);
}

/* big price anchor in the pricing hero */
.price-anchor {
  display: grid;
  gap: 10px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgb(201 242 95 / 0.28);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.045);
  box-shadow: 0 40px 90px -50px rgb(0 0 0 / 0.7);
}
.price-anchor__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.price-anchor strong {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #f7fbf8;
}
.price-anchor strong small {
  font-size: 0.36em;
  color: var(--lime);
  margin-left: 4px;
}
.price-anchor__meta {
  font-size: 0.92rem;
  color: #c2d3cb;
}
.price-anchor__note {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.78rem;
  color: var(--lime);
}

/* contact note card */
.contact-card {
  display: grid;
  gap: 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 30px 70px -45px rgb(11 21 18 / 0.35);
}
.contact-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-card__head strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.contact-card__chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-wash);
  color: var(--green);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.contact-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.contact-card__row:last-of-type {
  border-bottom: 0;
}
.contact-card__row span {
  color: var(--muted);
}
.contact-card__row a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}
.contact-card__row a:hover {
  text-decoration: underline;
}

/* value calculation on the pricing page */
.calc {
  display: grid;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.04);
}
.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  color: #c2d3cb;
  font-size: 0.95rem;
}
.calc__row strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 650;
  color: #f4f1e9;
  letter-spacing: -0.02em;
}
.calc__row--accent strong {
  color: #8fd3b4;
}
.calc__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}
.calc__total span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa096;
}
.calc__total strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--lime);
}
.calc__note {
  margin-top: 14px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: #8fa096;
}

@media (max-width: 1000px) {
  .page-head__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-head__media {
    max-width: 620px;
  }
  .page-head__copy .display {
    max-width: 24ch;
  }
}

/* pricing: payment methods, pilot, demo link */
.payment-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.payment-strip > div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-raised);
}
.payment-strip strong {
  font-size: 0.86rem;
  font-weight: 650;
}
.payment-strip span {
  font-size: 0.76rem;
  color: var(--muted);
}
.plan__demo {
  font-size: 0.76rem;
  text-align: center;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan--featured .plan__demo {
  color: var(--muted-on-dark);
}
.pilot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: var(--green-wash);
}
.pilot-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.pilot-card p {
  max-width: 62ch;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .payment-strip {
    grid-template-columns: 1fr;
  }
}

.plan__demo { display: block; margin-top: 8px; }

/* maker / KUP Solutions */
.footer-maker {
  margin-top: 10px !important;
  font-size: 0.78rem !important;
}
.footer-maker a,
.footer-bottom a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-maker a:hover,
.footer-bottom a:hover {
  color: var(--lime);
}
.maker-line {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}
.maker-line a {
  color: var(--ink);
  font-weight: 550;
}
.maker-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-raised);
  box-shadow: 0 1px 2px rgb(11 21 18 / 0.03), 0 24px 50px -36px rgb(11 21 18 / 0.35);
}
.maker-card__mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.maker-card__text {
  display: grid;
  gap: 4px;
}
.maker-card__text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.maker-card__text span {
  font-size: 0.8rem;
  color: var(--muted);
}
.maker-card > a {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--green) 40%, transparent);
  padding-bottom: 2px;
}
.maker-card > a:hover {
  border-bottom-color: var(--green);
}
