:root {
  color-scheme: light;
  --paper: oklch(96.5% 0.012 91);
  --paper-2: oklch(93.5% 0.018 91);
  --ink: oklch(22% 0.018 176);
  --ink-soft: oklch(42% 0.02 176);
  --muted: oklch(56% 0.018 176);
  --rule: oklch(84% 0.018 91);
  --panel: oklch(98.2% 0.007 91);
  --panel-deep: oklch(90.5% 0.025 178);
  --accent: oklch(43% 0.09 176);
  --accent-hover: oklch(37% 0.095 176);
  --warm: oklch(59% 0.11 48);
  --night: oklch(17% 0.022 265);
  --night-2: oklch(22% 0.024 265);
  --white-tint: oklch(99% 0.004 91);
  --shadow-soft: 0 24px 70px oklch(36% 0.02 176 / 0.14);
  --shadow-thin: 0 1px 0 oklch(100% 0 0 / 0.72) inset;
  --font-sans: "Hanken Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-display: "Literata", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: min(100% - 32px, 1190px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.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-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

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

.site-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  background: oklch(96.5% 0.012 91 / 0.88);
  border-bottom: 1px solid oklch(86% 0.014 91 / 0.65);
  backdrop-filter: blur(18px) saturate(150%);
}

.topbar {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark img,
.footer-brand img {
  width: 32px;
  height: 32px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.nav-links a,
.text-link,
.quiet-link,
.hero-links a,
.screen-top a,
.source-strip a,
.site-footer a {
  text-decoration: none;
}

.nav-links a,
.text-link {
  color: var(--ink);
  font-size: 0.98rem;
}

.nav-links a:hover,
.text-link:hover,
.hero-links a:hover,
.quiet-link:hover,
.screen-top a:hover,
.source-strip a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-actions {
  justify-content: end;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 21px;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.button:focus-visible,
.hero-form input:focus-visible,
.nav-links a:focus-visible,
.text-link:focus-visible,
.quiet-link:focus-visible,
.workflow-table a:focus-visible {
  outline: 3px solid oklch(63% 0.09 176 / 0.38);
  outline-offset: 3px;
}

.button-primary {
  background: var(--accent);
  color: var(--white-tint);
  box-shadow: var(--shadow-thin);
}

.button-primary:hover {
  background: var(--accent-hover);
  color: var(--white-tint);
}

.button-secondary {
  background: oklch(96% 0.009 91);
  border-color: var(--rule);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: oklch(72% 0.028 176);
  color: var(--accent-hover);
}

.hero-section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(140px, 12vw, 190px) 0 0;
  text-align: center;
}

.hero-copy {
  max-width: 800px;
  margin: 0 auto;
}

.intro-label,
.section-heading p,
.evidence-copy > p:first-child,
.closing-section p {
  margin: 0 0 14px;
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
  text-wrap: balance;
}

.hero-lede {
  max-width: 58ch;
  margin: 0 auto 33px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.42;
  text-wrap: pretty;
}

.hero-form {
  width: min(100%, 520px);
  min-height: 52px;
  margin: 0 auto 16px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: oklch(91.5% 0.009 91);
  border: 1px solid oklch(80% 0.014 91);
  border-radius: 999px;
}

.hero-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 18px;
}

.hero-form input::placeholder {
  color: oklch(48% 0.018 91);
  opacity: 1;
}

.hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  color: var(--accent-hover);
  font-weight: 520;
}

.product-stage {
  position: relative;
  margin-top: clamp(48px, 7vw, 78px);
  padding-bottom: clamp(48px, 6vw, 76px);
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  inset: auto max(-120px, -8vw) 0;
  z-index: -1;
  height: min(34vw, 380px);
  background:
    radial-gradient(
      80% 92% at 18% 100%,
      oklch(51% 0.07 178 / 0.35),
      transparent 62%
    ),
    radial-gradient(
      90% 80% at 86% 100%,
      oklch(60% 0.1 48 / 0.28),
      transparent 66%
    ),
    linear-gradient(180deg, transparent, oklch(85% 0.022 178 / 0.76));
  filter: blur(4px);
}

.screen-frame {
  width: min(100%, 1020px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--panel);
  border: 10px solid var(--night);
  border-radius: 19px 19px 0 0;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.screen-top {
  min-height: 60px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid oklch(88% 0.012 91);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.screen-org {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 520;
}

.source-dot {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), oklch(63% 0.12 49));
}

.screen-search {
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid oklch(88% 0.011 91);
  border-radius: 999px;
  background: oklch(99% 0.003 91);
  color: var(--muted);
}

.screen-top a {
  color: var(--accent-hover);
  font-weight: 520;
}

.screen-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 448px;
}

.screen-rail {
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-right: 1px solid oklch(89% 0.012 91);
  background: oklch(96.5% 0.009 91);
  color: var(--muted);
  font-size: 0.86rem;
}

.screen-rail span {
  padding: 8px 10px;
  border-radius: 9px;
}

.screen-rail .rail-active {
  background: oklch(89.5% 0.025 176);
  color: var(--accent-hover);
  font-weight: 520;
}

.screen-main {
  padding: clamp(24px, 4vw, 48px);
}

.brief-header {
  max-width: 600px;
  margin-bottom: 34px;
}

.brief-header p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.brief-header h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: oklch(86% 0.012 91);
  border: 1px solid oklch(86% 0.012 91);
  border-radius: 12px;
  overflow: hidden;
}

.brief-grid section {
  min-height: 150px;
  padding: 20px;
  background: oklch(98.8% 0.004 91);
}

.brief-grid span,
.workflow-table span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-hover);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brief-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.source-strip {
  margin-top: 24px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-radius: 10px;
  background: var(--night);
  color: oklch(92% 0.008 91);
  font-size: 0.88rem;
}

.source-strip a {
  color: oklch(86% 0.05 176);
  font-weight: 520;
}

.screen-frame figcaption {
  padding: 12px 18px;
  background: var(--night);
  color: oklch(82% 0.01 91);
  text-align: center;
  font-size: 0.78rem;
}

.audience-strip {
  padding: clamp(48px, 8vw, 82px) 16px;
  text-align: center;
  border-top: 1px solid var(--rule);
}

.audience-strip h2 {
  margin: 0 auto 26px;
  max-width: 25ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.audience-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px clamp(28px, 4vw, 58px);
  color: var(--muted);
  font-weight: 520;
}

.operating-system,
.workflow-section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
  border-top: 1px solid var(--rule);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading h2,
.evidence-copy h2,
.closing-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.system-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.system-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px) clamp(18px, 3vw, 34px) clamp(26px, 4vw, 46px)
    0;
  border-bottom: 1px solid var(--rule);
}

.system-list article + article {
  padding-left: clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--rule);
}

.step-number {
  color: var(--warm);
  font-variant-numeric: tabular-nums;
  font-weight: 620;
}

.system-list h3 {
  margin: 0 0 10px;
  font-size: clamp(1.28rem, 1.7vw, 1.6rem);
  line-height: 1.15;
}

.system-list p,
.evidence-copy > p:not(:first-child),
.workflow-table em,
.site-footer p {
  margin: 0;
  color: var(--ink-soft);
}

.evidence-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  padding: clamp(76px, 10vw, 132px) max(16px, calc((100vw - 1190px) / 2));
  background: var(--panel-deep);
}

.evidence-copy {
  padding-left: clamp(0px, 2vw, 28px);
}

.evidence-copy > p:not(:first-child) {
  max-width: 62ch;
  margin-top: 22px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.inline-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.quiet-link {
  color: var(--accent-hover);
  font-weight: 520;
}

.document-plate {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px oklch(25% 0.025 176 / 0.18);
}

.document-plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.workflow-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.workflow-table a {
  min-height: 236px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.workflow-table a:hover {
  background: oklch(94% 0.018 91);
}

.workflow-table strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(1.2rem, 1.7vw, 1.54rem);
  line-height: 1.18;
}

.workflow-table em {
  margin-top: auto;
  font-style: normal;
}

.closing-section {
  width: var(--container);
  margin: 0 auto clamp(68px, 8vw, 112px);
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  background: oklch(92.5% 0.023 176);
  border-radius: 18px;
}

.closing-section h2 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

.site-footer {
  padding: clamp(48px, 6vw, 76px) max(16px, calc((100vw - 1190px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  background: var(--night);
  color: oklch(92% 0.008 91);
}

.footer-brand {
  color: oklch(96% 0.006 91);
}

.site-footer p {
  margin-top: 18px;
  color: oklch(76% 0.012 91);
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 12px 34px;
}

.site-footer a {
  color: oklch(84% 0.012 91);
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-1px);
  }
}

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

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 16px;
  }

  .screen-top {
    grid-template-columns: 1fr auto;
  }

  .screen-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .screen-body,
  .evidence-section,
  .closing-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .screen-rail {
    display: none;
  }

  .brief-grid,
  .system-list,
  .workflow-table {
    grid-template-columns: 1fr;
  }

  .system-list article,
  .system-list article + article {
    padding-left: 0;
    border-left: 0;
  }

  .workflow-table {
    border-left: 0;
  }

  .workflow-table a {
    min-height: 0;
    border-left: 0;
    border-right: 0;
  }

  .closing-actions {
    justify-content: start;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 24px, 1190px);
  }

  .site-shell {
    position: static;
  }

  .topbar {
    min-height: auto;
    padding: 18px 0;
    gap: 18px;
  }

  .nav-actions .text-link {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.4rem);
  }

  .hero-form {
    grid-template-columns: 1fr;
    gap: 6px;
    border-radius: 22px;
    padding: 8px;
  }

  .hero-form input {
    min-height: 44px;
    text-align: center;
  }

  .hero-form .button {
    width: 100%;
  }

  .product-stage {
    margin-left: -12px;
    margin-right: -12px;
  }

  .screen-frame {
    border-width: 7px;
    border-radius: 15px 15px 0 0;
  }

  .screen-main {
    padding: 22px;
  }

  .brief-header h2 {
    max-width: 12ch;
  }

  .source-strip {
    flex-direction: column;
  }

  .evidence-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
