/* ================================================================
   TeenyOps — Marketing CSS
   Design system: Warm Paper
   Standalone — no Tailwind, no DaisyUI.
   ================================================================ */

/* ── Fonts ──────────────────────────────────────────────────────
   Loaded via <link> in marketing.html.erb:
   - Space Grotesk  (brand wordmark only)
   - Fraunces       (display/headings, variable opsz)
   - Plus Jakarta Sans (body)
   - JetBrains Mono (code/mono/labels)
   ─────────────────────────────────────────────────────────────── */

/* ── Design tokens — light ──────────────────────────────────── */
:root {
  /* Surfaces — warm paper, more yellow than cream */
  --bg:              oklch(97% 0.012 90);
  --bg-alt:          oklch(94.5% 0.014 88);
  --surface:         oklch(99% 0.008 90);

  /* Ink — inky navy-blue, not near-black */
  --ink:             oklch(22% 0.04 255);
  --ink-muted:       oklch(46% 0.035 245);
  --ink-subtle:      oklch(62% 0.025 240);

  /* Borders — blue-tinted */
  --border:          oklch(87% 0.016 230);
  --border-strong:   oklch(76% 0.022 235);

  /* Accent — deep teal (between green and blue) */
  --accent:          oklch(52% 0.15 195);
  --accent-hover:    oklch(46% 0.16 192);
  --accent-ink:      oklch(98% 0.008 90);
  --accent-soft:     oklch(94% 0.04 185);

  /* Status */
  --success:         oklch(50% 0.14 148);
  --danger:          oklch(54% 0.2 25);

  /* Terminal — deep navy-black (always dark, mirrors real terminals) */
  --code-bg:         oklch(16% 0.028 260);
  --code-surface:    oklch(20% 0.03 258);
  --code-border:     oklch(26% 0.032 255);
  --code-ink:        oklch(91% 0.012 80);
  --code-muted:      oklch(52% 0.022 250);
  --code-accent:     oklch(65% 0.15 195);
  --code-token:      oklch(76% 0.1 190);

  /* Typography */
  --font-brand:      "Space Grotesk", system-ui, sans-serif;
  --font-display:    "Fraunces", Georgia, serif;
  --font-sans:       "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono:       "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --nav-height:      60px;
  --max-width:       1120px;
  --pad-x:           clamp(20px, 4vw, 48px);
  --section-gap:     clamp(72px, 9vw, 120px);

  /* Shape */
  --radius:          6px;
  --radius-lg:       10px;
  --radius-xl:       14px;

  /* Shadow */
  --shadow-sm:       0 1px 3px oklch(0% 0 0 / 0.07), 0 1px 2px oklch(0% 0 0 / 0.04);
  --shadow:          0 4px 16px oklch(0% 0 0 / 0.08), 0 1px 4px oklch(0% 0 0 / 0.04);
  --shadow-lg:       0 20px 60px oklch(0% 0 0 / 0.1), 0 4px 12px oklch(0% 0 0 / 0.06);
}

/* ── Design tokens — dark ───────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    /* Surfaces — deep navy-black */
    --bg:              oklch(16% 0.028 260);
    --bg-alt:          oklch(19% 0.03 258);
    --surface:         oklch(21.5% 0.032 256);

    /* Ink — warm paper off-white against navy */
    --ink:             oklch(93% 0.01 88);
    --ink-muted:       oklch(65% 0.018 240);
    --ink-subtle:      oklch(45% 0.02 245);

    --border:          oklch(26% 0.032 255);
    --border-strong:   oklch(34% 0.035 253);

    --accent:          oklch(64% 0.16 195);
    --accent-hover:    oklch(70% 0.16 195);
    --accent-ink:      oklch(14% 0.03 260);
    --accent-soft:     oklch(22% 0.05 195);

    --success:         oklch(63% 0.16 148);
    --danger:          oklch(65% 0.2 25);

    --code-bg:         oklch(12% 0.022 260);
    --code-surface:    oklch(16% 0.028 260);
    --code-border:     oklch(22% 0.03 258);
    --code-ink:        oklch(91% 0.012 80);
    --code-muted:      oklch(50% 0.02 250);
    --code-accent:     oklch(64% 0.16 195);
    --code-token:      oklch(76% 0.12 190);

    --shadow-sm:       0 1px 3px oklch(0% 0 0 / 0.5);
    --shadow:          0 4px 16px oklch(0% 0 0 / 0.5);
    --shadow-lg:       0 20px 60px oklch(0% 0 0 / 0.65);
  }
}

/* Explicit overrides via data-color-scheme attribute */
[data-color-scheme="light"] {
  --bg:              oklch(97% 0.012 90);
  --bg-alt:          oklch(94.5% 0.014 88);
  --surface:         oklch(99% 0.008 90);
  --ink:             oklch(22% 0.04 255);
  --ink-muted:       oklch(46% 0.035 245);
  --ink-subtle:      oklch(62% 0.025 240);
  --border:          oklch(87% 0.016 230);
  --border-strong:   oklch(76% 0.022 235);
  --accent:          oklch(52% 0.15 195);
  --accent-hover:    oklch(46% 0.16 192);
  --accent-ink:      oklch(98% 0.008 90);
  --accent-soft:     oklch(94% 0.04 185);
  --success:         oklch(50% 0.14 148);
  --danger:          oklch(54% 0.2 25);
  --code-bg:         oklch(16% 0.028 260);
  --code-surface:    oklch(20% 0.03 258);
  --code-border:     oklch(26% 0.032 255);
  --code-ink:        oklch(91% 0.012 80);
  --code-muted:      oklch(52% 0.022 250);
  --code-accent:     oklch(65% 0.15 195);
  --code-token:      oklch(76% 0.1 190);
  --shadow-sm:       0 1px 3px oklch(0% 0 0 / 0.07), 0 1px 2px oklch(0% 0 0 / 0.04);
  --shadow:          0 4px 16px oklch(0% 0 0 / 0.08), 0 1px 4px oklch(0% 0 0 / 0.04);
  --shadow-lg:       0 20px 60px oklch(0% 0 0 / 0.1), 0 4px 12px oklch(0% 0 0 / 0.06);
}

[data-color-scheme="dark"] {
  --bg:              oklch(16% 0.028 260);
  --bg-alt:          oklch(19% 0.03 258);
  --surface:         oklch(21.5% 0.032 256);
  --ink:             oklch(93% 0.01 88);
  --ink-muted:       oklch(65% 0.018 240);
  --ink-subtle:      oklch(45% 0.02 245);
  --border:          oklch(26% 0.032 255);
  --border-strong:   oklch(34% 0.035 253);
  --accent:          oklch(64% 0.16 195);
  --accent-hover:    oklch(70% 0.16 195);
  --accent-ink:      oklch(14% 0.03 260);
  --accent-soft:     oklch(22% 0.05 195);
  --success:         oklch(63% 0.16 148);
  --danger:          oklch(65% 0.2 25);
  --code-bg:         oklch(12% 0.022 260);
  --code-surface:    oklch(16% 0.028 260);
  --code-border:     oklch(22% 0.03 258);
  --code-ink:        oklch(91% 0.012 80);
  --code-muted:      oklch(50% 0.02 250);
  --code-accent:     oklch(64% 0.16 195);
  --code-token:      oklch(76% 0.12 190);
  --shadow-sm:       0 1px 3px oklch(0% 0 0 / 0.5);
  --shadow:          0 4px 16px oklch(0% 0 0 / 0.5);
  --shadow-lg:       0 20px 60px oklch(0% 0 0 / 0.65);
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Layout ─────────────────────────────────────────────────── */
.mkt-container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ── Nav ────────────────────────────────────────────────────── */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.mkt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mkt-nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mkt-nav-logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ── Theme toggle ───────────────────────────────────────────── */
.mkt-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius);
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  line-height: 1;
}

.mkt-theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mkt-theme-toggle:active {
  transform: scale(0.9);
}

@media (hover: hover) and (pointer: fine) {
  .mkt-theme-toggle:hover {
    background-color: var(--surface);
    color: var(--ink);
    border-color: var(--border-strong);
  }
}

.mkt-theme-toggle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Show sun in dark mode, moon in light mode */
.mkt-icon-sun  { display: none; }
.mkt-icon-moon { display: block; }

[data-color-scheme="dark"] .mkt-icon-sun  { display: block; }
[data-color-scheme="dark"] .mkt-icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme="light"]) .mkt-icon-sun  { display: block; }
  :root:not([data-color-scheme="light"]) .mkt-icon-moon { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background-color 0.12s ease, color 0.12s ease, transform 0.1s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.mkt-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mkt-btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.mkt-btn-primary:active {
  transform: scale(0.97) translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .mkt-btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
  }
}

.mkt-btn-ghost {
  background-color: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--border);
}

.mkt-btn-ghost:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .mkt-btn-ghost:hover {
    background-color: var(--surface);
    color: var(--ink);
    border-color: var(--border-strong);
  }
}

.mkt-btn-large {
  padding: 12px 24px;
  font-size: 0.9375rem;
}

/* button_to wraps in a <form> — make the form transparent to layout */
.mkt-hero-cta form,
.mkt-plan-cta form,
.mkt-nav-actions form {
  display: contents;
}

/* ── Auth provider picker ───────────────────────────────────── */
.mkt-auth-picker {
  position: relative;
  display: inline-block;
}

.mkt-auth-picker > summary {
  list-style: none;
  display: inline-flex;
  cursor: pointer;
}

.mkt-auth-picker > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.mkt-auth-picker > summary::-webkit-details-marker {
  display: none;
}

.mkt-auth-picker-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.mkt-auth-picker[open] .mkt-auth-picker-chevron {
  transform: rotate(180deg);
}

.mkt-auth-picker-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 200px;
}

.mkt-auth-picker-popover-right {
  left: auto;
  right: 0;
}

.mkt-auth-picker-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
  padding: 5px 10px 3px;
}

/* Inline variant — expands in document flow (used inside pricing cards) */
.mkt-auth-picker-inline {
  display: block;
}

.mkt-auth-picker-inline > summary {
  width: 100%;
  justify-content: center;
}

.mkt-auth-picker-inline-panel {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
}

/* Provider list inside picker */
.mkt-auth-providers {
  display: flex;
  flex-direction: column;
}

.mkt-auth-providers form {
  display: contents;
}

.mkt-auth-provider-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.1s ease;
  -webkit-appearance: none;
  appearance: none;
}

@media (hover: hover) and (pointer: fine) {
  .mkt-auth-provider-btn:hover {
    background-color: var(--accent-soft);
  }
}

.mkt-auth-provider-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mkt-auth-provider-btn:active {
  transform: scale(0.98);
}

.mkt-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Live ping dot ──────────────────────────────────────────── */
.mkt-ping {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.mkt-ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.55;
  animation: mkt-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.mkt-ping-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
}

@keyframes mkt-ping {
  0%       { transform: scale(1);   opacity: 0.55; }
  75%, 100% { transform: scale(2.2); opacity: 0;    }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-ping-ring {
    animation: none;
    opacity: 0;
  }
}

/* ── Section label ──────────────────────────────────────────── */
.mkt-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
  margin-bottom: 40px;
}

/* ── Entrance animations ────────────────────────────────────── */
@keyframes mkt-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mkt-hero-eyebrow {
  animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: 0ms;
}

.mkt-hero-headline {
  animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: 60ms;
}

.mkt-hero-sub {
  animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: 110ms;
}

.mkt-hero-cta {
  animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: 150ms;
}

.mkt-point:nth-child(1) { animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: 0ms; }
.mkt-point:nth-child(2) { animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: 50ms; }
.mkt-point:nth-child(3) { animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: 100ms; }
.mkt-point:nth-child(4) { animation: mkt-fade-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: 150ms; }

@media (prefers-reduced-motion: reduce) {
  .mkt-hero-eyebrow,
  .mkt-hero-headline,
  .mkt-hero-sub,
  .mkt-hero-cta,
  .mkt-point {
    animation: none;
  }
}

/* ── Hero ───────────────────────────────────────────────────── */
.mkt-hero {
  padding-top: clamp(72px, 11vw, 128px);
  padding-bottom: clamp(72px, 9vw, 112px);
}

.mkt-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.mkt-hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
}

.mkt-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 700;
  font-variation-settings: "opsz" 144;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 14ch;
}

.mkt-hero-sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.72;
  color: var(--ink-muted);
  max-width: 44ch;
  margin-bottom: 40px;
}

.mkt-hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mkt-hero-cta-note {
  font-size: 0.8rem;
  color: var(--ink-subtle);
}

/* ── Code strip ─────────────────────────────────────────────── */
.mkt-code-strip {
  background-color: var(--code-bg);
  border-top: 1px solid var(--code-border);
  border-bottom: 1px solid var(--code-border);
  padding-block: clamp(56px, 7vw, 88px);
}

.mkt-code-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.mkt-code-strip-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  letter-spacing: 0em;
  line-height: 1.2;
  color: var(--code-ink);
  margin-bottom: 16px;
}

.mkt-code-strip-copy p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--code-muted);
  max-width: 36ch;
}

.mkt-code-strip-copy code {
  font-family: var(--font-mono);
  font-size: 0.8125em;
  color: var(--code-accent);
  background-color: var(--code-surface);
  border: 1px solid var(--code-border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
}

/* ── Terminal ───────────────────────────────────────────────── */
.mkt-terminal {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--code-border);
  box-shadow: var(--shadow-lg);
}

.mkt-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background-color: var(--code-surface);
  border-bottom: 1px solid var(--code-border);
}

.mkt-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: oklch(38% 0.015 260);
}

.mkt-terminal-body {
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 2;
  overflow-x: auto;
  color: var(--code-ink);
}

.mkt-terminal-body div {
  white-space: pre;
}

.mkt-code-comment {
  color: var(--code-muted);
  font-style: italic;
}

.mkt-code-prompt {
  color: var(--code-accent);
  user-select: none;
  margin-right: 12px;
}

.mkt-code-token {
  color: var(--code-token);
}

/* ── Section wrapper ────────────────────────────────────────── */
.mkt-section {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
}

/* ── Section point grids ───────────────────────────────────── */
.mkt-point-grid {
  display: grid;
  gap: 28px 32px;
}

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

.mkt-point-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
}

.mkt-point {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.mkt-point-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}

.mkt-point-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}

.mkt-point-body p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--ink-muted);
}

.mkt-point-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--accent);
}

/* ── Pricing ────────────────────────────────────────────────── */
.mkt-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 840px;
  margin: 0 auto;
}

.mkt-plan {
  background-color: var(--bg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
}

.mkt-plan-featured {
  background-color: var(--surface);
  position: relative;
}

.mkt-plan-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
}

.mkt-plan-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 1.6em;
}

.mkt-plan-tagline {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-subtle);
  margin-bottom: 24px;
  min-height: 3em;
}

.mkt-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.mkt-plan-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  letter-spacing: 0em;
  color: var(--ink);
}

.mkt-plan-period {
  font-size: 0.875rem;
  color: var(--ink-subtle);
}

.mkt-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.mkt-plan-features li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mkt-plan-features li::before {
  content: "—";
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-subtle);
  flex-shrink: 0;
  margin-top: 3px;
}

.mkt-plan-featured .mkt-plan-features li::before {
  color: var(--accent);
}

.mkt-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 99px;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Footer ─────────────────────────────────────────────────── */
.mkt-footer {
  border-top: 1px solid var(--border);
  padding-block: 40px 32px;
}

.mkt-footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mkt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  opacity: 0.35;
  transition: opacity 0.15s ease;
}

.mkt-footer-logo:hover {
  opacity: 0.6;
}

.mkt-footer-logo svg {
  width: 18px;
  height: 18px;
}

.mkt-footer-wordmark {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mkt-footer-tagline {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-subtle);
  max-width: 40ch;
}

.mkt-footer-copy {
  font-size: 0.75rem;
  color: var(--ink-subtle);
  padding-bottom: 2px; /* align baseline with logo row */
}

.mkt-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.mkt-footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mkt-footer-link {
  color: var(--ink-subtle);
  font-size: 0.8rem;
  transition: color 0.15s ease;
}

.mkt-footer-link:hover {
  color: var(--ink-muted);
}

.mkt-legal {
  padding-block: 72px 96px;
}

.mkt-legal-wrap {
  max-width: 960px;
}

.mkt-legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(34px, 5vw, 56px);
}

.mkt-legal-hero-copy {
  min-width: 0;
}

.mkt-legal-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
}

.mkt-legal h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5vw, 4.25rem);
  font-weight: 700;
  font-variation-settings: "opsz" 144;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--ink);
  max-width: 10ch;
}

.mkt-legal-lead {
  margin: 0 0 18px;
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 62ch;
}

.mkt-legal-updated {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-subtle);
}

.mkt-legal-card {
  position: relative;
  align-self: start;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, var(--surface), color-mix(in oklch, var(--surface) 82%, var(--bg)));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.mkt-legal-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent);
}

.mkt-legal-card-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-subtle);
}

.mkt-legal-card-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.mkt-legal-card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

.mkt-legal-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.mkt-legal-card-note {
  margin: 18px 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-subtle);
}

.mkt-legal-card-note a {
  color: var(--accent);
}

.mkt-legal-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
}

.mkt-legal-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 600;
  font-variation-settings: "opsz" 36;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.mkt-legal-section p {
  margin: 0 0 12px;
  font-size: 0.975rem;
  line-height: 1.76;
  color: var(--ink-muted);
  max-width: 70ch;
}

.mkt-legal-section p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--accent) 35%, transparent);
  text-underline-offset: 0.14em;
}

.mkt-legal-section p a:hover {
  color: var(--accent-hover);
}

.mkt-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mkt-legal-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.975rem;
  line-height: 1.76;
  color: var(--ink-muted);
  max-width: 72ch;
}

.mkt-legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.mkt-legal-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--accent) 45%, transparent);
  text-underline-offset: 0.14em;
}

.mkt-legal-list a:hover {
  color: var(--accent);
}

/* ── Screenshot frames ──────────────────────────────────────── */
.mkt-product-shot {
  padding-bottom: clamp(56px, 7vw, 88px);
}

.mkt-screenshot-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-alt);
}

.mkt-screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.mkt-screenshot-chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-strong);
  flex-shrink: 0;
}

.mkt-screenshot-chrome-url {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-subtle);
  margin-left: 6px;
  opacity: 0.75;
}

.mkt-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Feature visuals (screenshot + text pairs) ──────────────── */
.mkt-feature-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
  margin-top: 40px;
}

.mkt-feature-visual-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mkt-feature-visual-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

.mkt-feature-visual-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 6px;
}

.mkt-feature-visual-item p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--ink-muted);
}

/* ── Flash ──────────────────────────────────────────────────── */
.mkt-flash {
  padding: 12px var(--pad-x);
  background-color: var(--accent-soft);
  color: var(--ink);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .mkt-point-grid-3,
  .mkt-point-grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mkt-code-strip-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mkt-feature-visual-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mkt-code-strip-copy p {
    max-width: none;
  }

  /* pricing grid stays 2-col down to 520px */

  .mkt-legal-hero {
    grid-template-columns: 1fr;
  }

  .mkt-legal-card {
    max-width: 640px;
  }
}

@media (max-width: 560px) {
  .mkt-pricing-grid {
    grid-template-columns: 1fr;
    gap: 1px 0;
  }

  .mkt-section-pricing {
    padding-top: 40px;
  }

  .mkt-hero-headline {
    font-size: 2.4rem;
  }

  .mkt-hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .mkt-btn-large {
    width: 100%;
  }

  .mkt-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .mkt-footer-meta {
    align-items: flex-start;
  }

  .mkt-legal {
    padding-block: 56px 80px;
  }

  .mkt-legal h1 {
    max-width: none;
  }

  .mkt-legal-card {
    padding: 18px 18px 16px;
  }
}
