@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-500.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --color-bg: oklch(98.5% 0.004 92);
  --color-page-top: oklch(99.4% 0.003 92);
  --color-surface: oklch(100% 0 0);
  --color-surface-muted: oklch(95.5% 0.006 115);
  --color-surface-raised: oklch(92% 0.008 115);
  --color-text: oklch(16% 0.01 96);
  --color-text-strong: oklch(10% 0.012 96);
  --color-text-muted: oklch(42% 0.012 104);
  --color-text-faint: oklch(55% 0.01 104);
  --color-border: oklch(78% 0.01 105 / 0.72);
  --color-border-strong: oklch(38% 0.07 157 / 0.34);
  --color-inverse-bg: oklch(13% 0.012 96);
  --color-inverse-raised: oklch(18% 0.014 96);
  --color-inverse-text: oklch(96% 0.003 96);
  --brand-gold: #f4a300;
  --color-accent-warm: oklch(17% 0.012 96);
  --color-accent-warm-pale: oklch(28% 0.018 96);
  --color-accent-warm-rich: oklch(10% 0.012 96);
  --color-accent-patina: oklch(38% 0.075 158);
  --footer-bg: oklch(13% 0.012 96);
  --canvas: var(--color-bg);
  --surface: var(--color-surface);
  --surface-soft: var(--color-surface-muted);
  --ink: var(--color-text);
  --primary: var(--color-accent-warm);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --soft-line: color-mix(in oklch, var(--color-border) 66%, transparent);
  --stone: var(--color-surface-raised);
  --accent: var(--color-accent-patina);
  --accent-soft: oklch(38% 0.075 158 / 0.12);
  --accent-warm: var(--color-accent-patina);
  --accent-line: oklch(38% 0.075 158 / 0.32);
  --placeholder-bg: oklch(88% 0.006 105);
  --placeholder-bg-deep: oklch(78% 0.008 105);
  --placeholder-line: oklch(43% 0.01 105 / 0.22);
  --placeholder-text: var(--color-text);
  --on-dark: var(--color-inverse-text);
  --on-primary: var(--color-bg);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-display: "IBM Plex Sans", "Noto Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Yu Gothic", "Malgun Gothic", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Noto Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Yu Gothic", "Malgun Gothic", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--color-page-top), var(--canvas));
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-tap-highlight-color: color-mix(in oklch, var(--brand-gold) 34%, transparent);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav {
  width: var(--wrap);
  margin: 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-gold);
  font-weight: 600;
  letter-spacing: 0;
  min-width: max-content;
  overflow-wrap: normal;
  white-space: nowrap;
}

.nav-brand-icon {
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.nav-brand-word {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.nav-brand-word span:last-child {
  color: var(--brand-gold);
}

.brand-lockup {
  display: block;
  width: min(430px, 100%);
  height: auto;
}

.footer-brand {
  margin-bottom: 18px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-warm);
  border-bottom-color: var(--accent-warm);
}

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

.topbar .button.secondary {
  border-color: var(--accent-line);
  background: transparent;
  color: var(--accent-warm);
}

.topbar .button.secondary:hover {
  border-color: var(--accent-warm);
  background: var(--accent-soft);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in oklch, var(--accent-warm) 44%, transparent);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--accent-warm);
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-panel {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.button.primary:hover {
  border-color: var(--color-accent-warm-pale);
  background: var(--color-accent-warm-pale);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button.text {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.button:active {
  transform: translateY(1px);
}

.hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 88px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  gap: 56px;
  align-items: end;
}

.hero-copy-block {
  padding-bottom: 38px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: var(--font-display);
  font-size: 94px;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  margin: 28px 0 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 34px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
}

.hero-proof span {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.hero-media {
  display: grid;
  gap: 12px;
}

.media-board {
  min-height: 560px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--line) 42%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in oklch, var(--line) 38%, transparent) 1px, transparent 1px),
    var(--surface-soft);
  background-size: 34px 34px, 34px 34px, auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 18px;
  align-items: end;
}

.media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.media-card .placeholder-visual,
.media-card .sample-visual {
  width: 100%;
  height: 100%;
}

.media-card.tall {
  height: 512px;
}

.media-stack {
  display: grid;
  gap: 18px;
}

.media-card.small {
  height: 176px;
  border-radius: var(--radius-sm);
}

.placeholder-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--placeholder-line);
  background:
    linear-gradient(135deg, transparent 0 47%, oklch(70% 0 0 / 0.18) 47% 53%, transparent 53% 100%),
    linear-gradient(45deg, transparent 0 47%, oklch(70% 0 0 / 0.16) 47% 53%, transparent 53% 100%),
    linear-gradient(180deg, var(--placeholder-bg), var(--placeholder-bg-deep));
  color: var(--placeholder-text);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
}

.placeholder-visual span {
  max-width: 22ch;
  padding: 10px 12px;
  background: oklch(12% 0.004 95 / 0.64);
  border: 1px solid oklch(93% 0.004 95 / 0.16);
  border-radius: var(--radius-xs);
  overflow-wrap: anywhere;
}

.placeholder-visual.portrait {
  aspect-ratio: 4 / 5;
}

.placeholder-visual.square {
  aspect-ratio: 1 / 1;
}

.placeholder-visual.landscape {
  aspect-ratio: 3 / 2;
}

.placeholder-visual.wide {
  aspect-ratio: 16 / 9;
}

.sample-visual {
  display: block;
  width: 100%;
  min-height: 220px;
  object-fit: contain;
  background: var(--surface);
}

.sample-visual.portrait {
  aspect-ratio: 4 / 5;
}

.sample-visual.square {
  aspect-ratio: 1 / 1;
}

.sample-visual.landscape {
  aspect-ratio: 3 / 2;
}

.sample-visual.wide {
  aspect-ratio: 16 / 9;
}

.export-panel {
  min-height: 124px;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 18px;
  border: 1px solid color-mix(in oklch, var(--on-dark) 16%, transparent);
  border-radius: var(--radius-sm);
  background: var(--color-inverse-bg);
  color: var(--on-dark);
}

.export-panel span,
.export-panel em {
  color: color-mix(in oklch, var(--on-dark) 68%, transparent);
  font-size: 12px;
  font-style: normal;
}

.export-panel strong {
  color: var(--on-dark);
  font-size: 18px;
  font-weight: 500;
}

.media-caption {
  justify-self: end;
  max-width: 420px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.statement-section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 44px;
}

.statement-section h2 {
  grid-column: 2;
  margin: 0;
  max-width: 790px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
}

.statement-section > p:not(.section-label) {
  grid-column: 2;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.statement-section .section-label {
  grid-row: 1 / span 3;
}

.problem-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.problem-list span {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: block;
  max-width: 760px;
  margin-bottom: 38px;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.use-case-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.use-case-card:nth-child(2) {
  background: var(--surface-soft);
  border-color: var(--color-border-strong);
}

.use-case-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
}

.use-case-card p {
  margin: 0;
  color: var(--muted);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.template-card {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.template-card .placeholder-visual {
  min-height: 250px;
  aspect-ratio: 4 / 3;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.template-card .sample-visual {
  min-height: 250px;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.template-copy {
  padding: 22px;
}

.template-copy h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.16;
}

.template-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.capability-item > span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.capability-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 500;
  line-height: 0.98;
}

.capability-item p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pricing-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.price-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow-step {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  position: relative;
}

.workflow-step::before {
  content: none;
}

.workflow-step > span {
  display: block;
  margin-bottom: 62px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.workflow-step h3 {
  margin-top: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.comparison-item {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.comparison-item h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.16;
}

.comparison-item p {
  margin: 0;
  color: var(--muted);
}

.examples {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.example-main,
.example-side {
  display: grid;
  gap: 18px;
}

.example-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--stone);
}

.example-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-main .example-tile {
  min-height: 560px;
}

.example-side .example-tile {
  min-height: 270px;
  border-radius: var(--radius-sm);
}

.price-card.featured {
  background: var(--surface);
  border-color: var(--accent-line);
}

.price {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
}

.price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.bullet-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.bullet-list li {
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--soft-line);
  position: relative;
}

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

.faq-list,
.legal-body {
  display: grid;
  gap: 14px;
}

.faq-item,
.legal-section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.faq-item h3,
.legal-section h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.faq-item p,
.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding: 7px 0 7px 20px;
}

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

.guide-step {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.guide-step h2 {
  margin-bottom: 0;
}

.guide-step p {
  max-width: 740px;
  margin: 0;
}

.guide-frame {
  margin: 10px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.guide-frame.tall {
  width: min(260px, 100%);
}

.guide-screenshot {
  width: 100%;
  background: var(--surface);
}

.guide-frame figcaption {
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
}

.page-hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 88px 0 54px;
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.content-section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 52px 0 82px;
  border-top: 1px solid var(--line);
}

.guide-visual-section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 52px;
}

.guide-visual {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 44px;
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.toc a:hover {
  color: var(--accent);
}

.callout {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.content-cta-section {
  padding-top: 0;
}

.cta-panel.compact {
  padding: 28px;
}

.cta-panel.compact h2 {
  font-size: 34px;
}

.cta-panel h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.cta-panel p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 58px 0 36px;
}

.footer-inner {
  width: var(--wrap);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 56px;
  padding-bottom: 46px;
  border-bottom: 1px solid color-mix(in oklch, var(--on-dark) 14%, transparent);
}

.footer h2 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 500;
  line-height: 0.98;
}

.footer p,
.footer a {
  color: color-mix(in oklch, var(--on-dark) 72%, transparent);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}

.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--surface-soft);
  color: var(--ink);
}

.not-found {
  width: var(--wrap);
  margin: 0 auto;
  padding: 120px 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 14px;
  z-index: 100;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.promo-strip {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px max(20px, calc((100vw - 1160px) / 2));
  background: var(--color-inverse-bg);
  color: var(--on-dark);
  border-bottom: 1px solid color-mix(in oklch, var(--brand-gold) 28%, transparent);
}

.promo-strip span {
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.promo-strip strong {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.sales-hero {
  background:
    linear-gradient(90deg, oklch(24% 0.013 98 / 0.36) 1px, transparent 1px),
    linear-gradient(180deg, oklch(24% 0.013 98 / 0.34) 1px, transparent 1px),
    linear-gradient(125deg, var(--color-inverse-bg), oklch(15% 0.018 150) 54%, oklch(10% 0.01 96));
  background-size: 46px 46px, 46px 46px, auto;
  color: var(--on-dark);
  overflow: hidden;
}

.sales-hero-inner {
  width: var(--wrap);
  min-height: clamp(540px, 68svh, 760px);
  margin: 0 auto;
  padding: clamp(42px, 5.8vw, 74px) 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  gap: clamp(34px, 4.4vw, 62px);
  align-items: center;
}

.sales-hero .section-label {
  color: var(--brand-gold);
}

.sales-hero h1 {
  margin: 0;
  max-width: 690px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.sales-hero .hero-copy {
  color: color-mix(in oklch, var(--on-dark) 76%, transparent);
}

.sales-hero .button.primary {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: var(--color-text-strong);
  font-weight: 700;
}

.sales-hero .button.secondary {
  border-color: color-mix(in oklch, var(--on-dark) 34%, transparent);
  color: var(--on-dark);
}

.sales-hero .hero-proof span {
  border-top-color: color-mix(in oklch, var(--on-dark) 18%, transparent);
  color: color-mix(in oklch, var(--on-dark) 76%, transparent);
}

.hero-badge {
  max-width: 440px;
  margin: 24px 0 0;
  color: color-mix(in oklch, var(--on-dark) 58%, transparent);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  min-height: 540px;
}

.hero-stage-main,
.hero-stage-side,
.hero-floating-panel {
  position: absolute;
  border: 1px solid color-mix(in oklch, var(--on-dark) 16%, transparent);
  background: oklch(99% 0.004 96);
  box-shadow: 0 28px 80px oklch(4% 0.01 96 / 0.44);
  overflow: hidden;
}

.hero-stage-main {
  left: 16%;
  top: 6%;
  width: 64%;
  max-width: 420px;
  border-radius: 10px;
}

.hero-stage-side.top {
  right: 0;
  top: 2%;
  width: 34%;
  border-radius: 8px;
}

.hero-stage-side.bottom {
  left: 0;
  bottom: 12%;
  width: 50%;
  border-radius: 8px;
}

.hero-stage-main .sample-visual,
.hero-stage-side .sample-visual {
  min-height: auto;
}

.hero-floating-panel {
  right: 4%;
  bottom: 5%;
  width: min(280px, 42%);
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 8px;
  background: oklch(14% 0.012 96 / 0.92);
  color: var(--on-dark);
}

.hero-floating-panel span,
.hero-floating-panel em {
  color: color-mix(in oklch, var(--on-dark) 64%, transparent);
  font-size: 12px;
  font-style: normal;
}

.hero-floating-panel strong {
  color: var(--on-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.trust-band {
  width: var(--wrap);
  margin: 0 auto;
  padding: 20px 0 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid color-mix(in oklch, var(--on-dark) 14%, transparent);
}

.trust-band span {
  color: color-mix(in oklch, var(--on-dark) 70%, transparent);
  font-size: 13px;
}

.sales-statement {
  border-top: 0;
}

.feature-explorer {
  border-top: 1px solid var(--line);
}

.feature-tabs {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.feature-tab-list {
  display: grid;
  gap: 8px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.feature-tab-button {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  text-align: left;
  font-weight: 600;
  touch-action: manipulation;
}

.feature-tab-button:hover,
.feature-tab-button.active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--ink);
}

.feature-panel {
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 26px;
  min-height: 560px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.feature-panel.active {
  display: grid;
}

.feature-panel-copy {
  align-self: end;
}

.feature-panel-copy h3 {
  margin: 0;
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 600;
  line-height: 0.96;
  text-wrap: balance;
}

.feature-panel-copy p:not(.section-label) {
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-panel-media {
  min-height: 480px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--line) 46%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in oklch, var(--line) 42%, transparent) 1px, transparent 1px),
    var(--surface-soft);
  background-size: 32px 32px, 32px 32px, auto;
  overflow: hidden;
}

.feature-panel-media .sample-visual {
  width: min(86%, 620px);
  min-height: auto;
  max-height: 430px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px oklch(20% 0.02 96 / 0.16);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.reason-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 2;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.reason-card:first-child,
.reason-card:nth-child(2) {
  grid-column: span 3;
}

.reason-card span {
  margin-bottom: auto;
  color: var(--accent);
  font-weight: 700;
}

.reason-card h3 {
  margin: 42px 0 12px;
  font-size: 28px;
  line-height: 1.05;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
}

.resources-section {
  padding-top: 58px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resource-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.resource-card:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.resource-card span {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.resource-card p {
  margin: 46px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.compare-shell {
  border-radius: var(--radius-lg);
  background: var(--color-inverse-bg);
  padding: clamp(16px, 3vw, 34px);
}

.compare-slider {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-inverse-raised);
}

.compare-img,
.compare-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-img {
  object-fit: cover;
}

.compare-before {
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare-before::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-gold);
}

.compare-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 3px;
  background: oklch(10% 0.01 96 / 0.7);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 700;
}

.compare-label.before {
  left: 16px;
}

.compare-label.after {
  right: 16px;
}

.compare-range {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 18px;
  z-index: 4;
  width: 92%;
  accent-color: var(--brand-gold);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.spec-row {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.spec-row span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-row strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.workflow-section {
  background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--surface-soft) 62%, transparent));
}

.seo-fallback {
  width: var(--wrap);
  min-height: 100vh;
  margin: 0 auto;
  padding: 96px 0;
}

.seo-fallback h1 {
  max-width: 720px;
  margin: 0;
  color: var(--color-text-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.seo-fallback h2 {
  margin: 40px 0 12px;
  color: var(--color-text-strong);
  font-size: 20px;
  letter-spacing: 0;
}

.seo-fallback p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.seo-fallback ul {
  max-width: 760px;
  margin: 28px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.seo-fallback section {
  max-width: 860px;
  margin-top: 42px;
}

.seo-fallback article + article {
  margin-top: 18px;
}

.seo-fallback h3 {
  margin: 20px 0 0;
  color: var(--color-text-strong);
  font-size: 18px;
  letter-spacing: 0;
}

.seo-fallback .fallback-media {
  max-width: 760px;
  margin: 32px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.seo-fallback .fallback-media img {
  width: 100%;
}

.seo-fallback .fallback-media figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.seo-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.seo-fallback nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--color-text-strong);
  background: var(--surface);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-actions .button.secondary {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }

  .menu-open .mobile-panel {
    display: block;
  }

  .mobile-panel-inner {
    width: var(--wrap);
    margin: 0 auto;
    padding: 18px 0 24px;
    display: grid;
    gap: 16px;
  }

  .mobile-panel a {
    padding: 8px 0;
    color: var(--ink);
    overflow-wrap: anywhere;
  }

  .mobile-panel a:hover,
  .mobile-panel a.active {
    color: var(--accent);
  }

  .hero-grid,
  .statement-section,
  .examples,
  .content-grid,
  .cta-panel,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .statement-section .section-label,
  .statement-section h2,
  .statement-section > p:not(.section-label),
  .problem-list {
    grid-column: 1;
  }

  .statement-section .section-label {
    grid-row: auto;
  }

  .use-case-grid,
  .template-grid,
  .comparison-grid,
  .pricing-grid,
  .legal-grid,
  .workflow,
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 66px;
  }

  .hero-copy-block {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 58px;
  }

  .section h2,
  .page-hero h1 {
    font-size: 42px;
  }

  .statement-section h2 {
    font-size: 46px;
  }

  .capability-item h3 {
    font-size: 36px;
  }

  .footer h2 {
    font-size: 38px;
  }

  .cta-panel h2 {
    font-size: 34px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-media,
  .media-board {
    min-height: auto;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(100vw - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
    gap: 12px;
  }

  .nav-brand-icon {
    width: 56px;
    height: 56px;
  }

  .nav-brand-word {
    font-size: 22px;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .hero h1 {
    font-size: 43px;
    line-height: 1.02;
  }

  .section h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .statement-section h2 {
    font-size: 34px;
  }

  .statement-section > p:not(.section-label) {
    font-size: 17px;
  }

  .capability-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .capability-item h3 {
    font-size: 32px;
  }

  .capability-item p {
    font-size: 16px;
  }

  .footer h2 {
    font-size: 30px;
  }

  .cta-panel {
    padding: 24px;
  }

  .cta-panel h2 {
    font-size: 29px;
  }

  .hero-copy,
  .section-head p,
  .page-hero p {
    font-size: 16px;
  }

  .footer-brand {
    width: min(280px, 100%);
  }

  .media-board {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .media-card.tall,
  .media-card.small {
    height: auto;
  }

  .media-caption {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .hero-proof,
  .problem-list,
  .use-case-grid,
  .template-grid,
  .comparison-grid,
  .pricing-grid,
  .legal-grid,
  .workflow,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .footer-bottom {
    align-items: stretch;
  }

}

@media (max-width: 980px) {
  .promo-strip {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
  }

  .promo-strip strong {
    text-align: left;
  }

  .sales-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

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

  .feature-tabs,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-tab-list {
    position: static;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .feature-panel {
    min-height: auto;
  }

  .feature-panel-media {
    min-height: 360px;
  }

  .reason-grid,
  .resource-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reason-card,
  .reason-card:first-child,
  .reason-card:nth-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .promo-strip {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .promo-strip strong {
    display: none;
  }

  .sales-hero-inner {
    padding: 32px 0 18px;
  }

  .sales-hero h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .sales-hero .hero-copy {
    margin-top: 20px;
    line-height: 1.5;
  }

  .hero-stage {
    min-height: 235px;
  }

  .sales-hero .hero-proof,
  .hero-badge {
    display: none;
  }

  .hero-stage-main {
    left: 7%;
    top: 0;
    width: 86%;
    height: 210px;
  }

  .hero-stage-main .sample-visual {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .hero-stage-side.top,
  .hero-stage-side.bottom {
    display: none;
  }

  .hero-floating-panel {
    right: 2%;
    bottom: 0;
    width: 68%;
    padding: 12px;
  }

  .trust-band,
  .reason-grid,
  .resource-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    display: none;
  }

  .feature-tab-list {
    grid-template-columns: repeat(5, minmax(118px, 1fr));
  }

  .feature-panel {
    padding: 18px;
  }

  .feature-panel-copy h3 {
    font-size: 34px;
  }

  .feature-panel-media {
    min-height: 260px;
  }

  .feature-panel-media .sample-visual {
    width: min(92%, 380px);
    max-height: 250px;
  }

  .reason-card {
    min-height: 220px;
  }

  .compare-shell {
    padding: 10px;
  }

  .compare-label {
    top: 10px;
    max-width: 42%;
    overflow-wrap: anywhere;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
