:root {
  --ink: #1a1814;
  --muted: #6f695e;
  --line: #d9d2c2;
  --line-soft: #e9e3d6;
  --paper: #f7f4ea;
  --surface: #fff;
  --surface-soft: #fbf9f3;
  --lime: #d8ff3c;
  --lime-soft: #effbc3;
  --blue: #315fd5;
  --green: #18754e;
  --amber: #a96600;
  --red: #b83b25;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body: Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(26, 24, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.035) 1px, transparent 1px), var(--paper);
  background-size: 48px 48px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 9px 13px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(26, 24, 20, 0.14);
  background: rgba(247, 244, 234, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 14px;
}

.brand small,
.demo-kicker,
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

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

.site-header nav {
  display: flex;
  align-items: center;
  gap: 21px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--ink);
}

.site-header nav .nav-primary {
  padding: 7px 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
}

.site-header nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.site-header .language {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 10px;
}

main {
  overflow: hidden;
}

.hero,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

.hero {
  min-height: 650px;
  padding-top: 96px;
  padding-bottom: 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #59652c;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(46px, 6.6vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 30px;
  color: #45413a;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.text-action {
  min-height: 46px;
  padding: 11px 8px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-action:hover {
  color: var(--ink);
}

.button {
  min-height: 46px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 9px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.secondary {
  background: var(--surface);
}

.button.secondary:hover {
  background: var(--surface-soft);
}

.hero-note,
.demo-disclaimer,
.offer-note {
  color: var(--muted);
  font-size: 12px;
}

.hero-note {
  margin-top: 18px;
}

.desktop-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.mobile-handoff {
  display: none;
  margin-top: 24px;
  padding: 18px;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--lime);
}

.mobile-handoff > strong {
  font-size: 18px;
  line-height: 1.4;
}

.mobile-handoff p,
.mobile-handoff [role='status'] {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.mobile-handoff > div {
  display: grid;
  gap: 9px;
}

.mobile-handoff-fallback {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: 12px/1.4 var(--mono);
}

.hero-signal {
  position: relative;
  padding: 26px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--lime);
}

.tool-context {
  padding: 0 3px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.tool-context span {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-context strong {
  flex: none;
  font-size: 11px;
}

.hero-signal article {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 11px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface-soft);
}

.hero-signal article.active {
  border-color: #a8be42;
  background: var(--lime-soft);
}

.hero-signal article > span {
  grid-row: 1 / 3;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.hero-signal article strong {
  font-size: 17px;
}

.hero-signal article p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-signal > svg {
  width: 42px;
  height: 18px;
  margin-left: 28px;
  transform: rotate(90deg);
  stroke: #9d9587;
  fill: none;
  stroke-width: 1.4;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-head.compact {
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(31px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head > p:last-child {
  color: var(--muted);
  font-size: 16px;
}

.how-section {
  border-top: 1px solid var(--line);
}

.how-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  list-style: none;
}

.how-grid li {
  min-height: 230px;
  padding: 24px 21px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.how-grid li:last-child {
  border-right: 0;
  background: var(--lime-soft);
}

.how-grid li > span {
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.how-grid strong {
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.35;
}

.how-grid p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.how-grid small {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.ladder-section {
  padding-top: 72px;
}

.plan-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan-split article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.plan-split article.paid-plan {
  border-color: var(--ink);
  background: var(--lime-soft);
  box-shadow: 6px 6px 0 var(--lime);
}

.plan-label {
  margin-bottom: 9px;
  color: #59652c;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-split h3 {
  margin: 0 0 20px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.plan-split ul {
  min-height: 140px;
  margin: 0 0 25px;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.plan-split li {
  position: relative;
  padding-left: 19px;
  color: #45413a;
  font-size: 14px;
}

.plan-split li::before {
  content: '·';
  position: absolute;
  left: 2px;
  font-weight: 800;
}

.preview-section {
  border-top: 1px solid var(--line);
}

.value-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}

.value-intro {
  margin-bottom: 0;
}

.value-ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.value-ledger li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 132px;
  gap: 20px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.value-index {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.value-copy strong {
  display: block;
  margin-bottom: 7px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.value-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.value-proof {
  min-height: 48px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.value-proof b {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.value-proof small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.demo-section {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: #191813;
  color: #f9f7f0;
}

.demo-section .eyebrow {
  color: var(--lime);
}

.demo-intro {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.demo-intro .section-head {
  margin-bottom: 0;
}

.demo-page-link {
  flex: none;
  padding-bottom: 7px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid #8d897e;
  color: #f9f7f0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.demo-page-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-page-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.demo-shell {
  overflow: hidden;
  border: 1px solid #716c60;
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.demo-header {
  min-height: 84px;
  padding: 17px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--lime-soft);
}

.demo-header > div {
  display: grid;
  gap: 3px;
}

.demo-header strong {
  font-size: 18px;
}

.demo-kicker {
  color: #59652c;
}

.demo-period {
  padding: 6px 9px;
  border: 1px solid #9ca675;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
}

.demo-header-meta {
  display: flex !important;
  align-items: center;
  gap: 7px !important;
}

.sample-chip {
  padding: 6px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
}

.demo-tabs {
  padding: 12px 20px 0;
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.demo-tabs button {
  padding: 10px 13px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.demo-tabs button[aria-selected='true'] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.demo-panels {
  min-height: 390px;
  padding: 22px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.metric-row article {
  padding: 17px;
  display: grid;
  gap: 2px;
  border-right: 1px solid var(--line);
}

.metric-row article:last-child {
  border-right: 0;
}

.metric-row small {
  color: var(--muted);
  font-size: 10px;
}

.metric-row strong {
  font-family: var(--mono);
  font-size: 27px;
}

.metric-row span {
  color: var(--muted);
  font-size: 10px;
}

.up {
  color: var(--green) !important;
}

.down {
  color: var(--red) !important;
}

.priority-list,
.source-table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.list-head,
.priority-list article {
  display: grid;
  grid-template-columns: 56px minmax(140px, 0.55fr) minmax(260px, 1fr) 110px;
  align-items: center;
}

.list-head {
  padding: 9px 14px;
  background: #f1eddf;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.list-head span:first-child {
  grid-column: 1 / 3;
}

.priority-list article {
  padding: 13px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}

.priority-list article:first-of-type {
  border-top: 0;
}

.priority-list article p {
  margin: 0;
  color: var(--muted);
}

.rank {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
}

.status {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.status.warn {
  background: #fff0c2;
  color: var(--amber);
}

.status.critical {
  background: #fde2db;
  color: var(--red);
}

.status.good {
  background: #dff4e9;
  color: var(--green);
}

.timeline {
  max-width: 760px;
  margin: 8px auto;
}

.timeline article {
  display: grid;
  grid-template-columns: 86px 22px minmax(0, 1fr);
  gap: 17px;
}

.timeline time {
  padding-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.timeline-dot {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 3px;
  width: 1px;
  height: 70px;
  background: var(--line);
}

.timeline article:last-child .timeline-dot::after {
  display: none;
}

.timeline article div {
  min-height: 78px;
  padding: 13px 15px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.timeline article p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.citation-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
}

.citation-summary {
  padding: 25px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid #a9b379;
  border-radius: 12px;
  background: var(--lime-soft);
}

.citation-summary small,
.citation-summary span {
  color: var(--muted);
}

.citation-summary strong {
  font-family: var(--mono);
  font-size: 58px;
  letter-spacing: -0.06em;
}

.citation-example-list {
  display: grid;
  gap: 13px;
}

.citation-example-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.citation-example-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.citation-example-head small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.result-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.result-badge.exact {
  background: #dff4e9;
  color: var(--green);
}

.result-badge.mention {
  background: #fff0c2;
  color: var(--amber);
}

.citation-example-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.4;
}

.citation-example-card > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.source-pills span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--mono);
  font-size: 10px;
}

.source-table {
  margin: 0;
}

.source-table .list-head,
.source-table article {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  align-items: center;
}

.source-table .list-head span:first-child {
  grid-column: auto;
}

.source-table article {
  padding: 13px 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}

.demo-disclaimer {
  margin: 15px 0 0;
  color: #aaa498;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  gap: 70px;
  align-items: start;
}

.offer {
  position: sticky;
  top: 100px;
}

.offer h2 {
  max-width: 500px;
}

.offer-lead {
  max-width: 520px;
  color: #45413a;
  font-size: 17px;
}

.offer-price {
  margin: 24px 0 0;
  padding: 17px 19px;
  border: 1px solid #a8be42;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--muted);
  font-size: 13px;
}

.offer-price strong {
  color: var(--ink);
  font-size: 18px;
}

.offer ul {
  margin: 27px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.offer li {
  position: relative;
  padding-left: 24px;
}

.offer li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.application {
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--lime);
}

.application-head {
  margin-bottom: 25px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.application-head > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
}

.application-head > div {
  display: grid;
  gap: 1px;
}

.application-head strong {
  font-size: 18px;
}

.application-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

form {
  display: grid;
  gap: 16px;
}

form > label:not(.consent, .trap) {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #aaa294;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

textarea {
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: var(--ink);
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
}

.trap {
  position: absolute;
  left: -10000px;
}

.submit {
  width: 100%;
  border: 1px solid var(--ink);
}

.submit:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none !important;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.application-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.faq-section {
  padding-top: 45px;
  border-top: 1px solid var(--line);
}

.pulse-faq {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.pulse-faq > div {
  min-height: 180px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pulse-faq > div:nth-child(2n) {
  border-right: 0;
}

.pulse-faq > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pulse-faq dt {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 800;
}

.pulse-faq dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

footer {
  min-height: 150px;
  padding: 36px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #34332d;
  background: #191813;
  color: #f9f7f0;
}

footer span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

footer p {
  margin: 0;
  color: #aaa498;
  font-size: 12px;
}

footer a {
  color: var(--lime);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-signal {
    max-width: 650px;
  }

  .value-editorial {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .value-intro {
    max-width: 680px;
  }

  .apply-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .offer {
    position: static;
  }

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

  .how-grid li:nth-child(2) {
    border-right: 0;
  }

  .how-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .site-header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-header nav a:not(.language):not(.nav-primary) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-actions,
  .desktop-note {
    display: none;
  }

  .hero h1 {
    margin-bottom: 12px;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
  }

  .mobile-handoff {
    display: grid;
    margin-top: 18px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .demo-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .value-ledger li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .value-proof {
    grid-column: 2;
    min-height: auto;
    padding: 11px 0 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .value-proof small {
    margin-top: 0;
  }

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

  .metric-row article:nth-child(2) {
    border-right: 0;
  }

  .metric-row article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .list-head {
    display: none;
  }

  .priority-list article {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 5px 10px;
  }

  .priority-list article p,
  .priority-list article .status {
    grid-column: 2;
  }

  .citation-grid {
    grid-template-columns: 1fr;
  }

  .plan-split,
  .pulse-faq {
    grid-template-columns: 1fr;
  }

  .plan-split ul {
    min-height: auto;
  }

  .pulse-faq > div,
  .pulse-faq > div:nth-child(2n),
  .pulse-faq > div:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pulse-faq > div:last-child {
    border-bottom: 0;
  }

  .source-table .list-head {
    display: grid;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .hero-actions,
  .desktop-note {
    display: none;
  }

  .mobile-handoff {
    display: grid;
  }
}

@media (max-width: 500px) {
  .hero,
  .section {
    padding-inline: 17px;
  }

  .hero-actions {
    display: none;
  }

  .text-action {
    grid-row: 1;
    border: 1px dashed var(--line);
    border-radius: 9px;
    background: var(--surface);
    justify-content: center;
    text-align: center;
  }

  .hero-actions .button.primary {
    grid-row: 2;
  }

  .hero-actions .button.secondary {
    grid-row: 3;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-grid li,
  .how-grid li:nth-child(2),
  .how-grid li:nth-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .how-grid li:last-child {
    border-bottom: 0;
  }

  .how-grid li > span {
    margin-bottom: 18px;
  }

  .hero-signal {
    padding: 15px;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .hero-signal article {
    padding: 14px;
  }

  .demo-section {
    padding-inline: 12px;
  }

  .demo-tabs {
    overflow-x: auto;
    padding-inline: 10px;
  }

  .demo-tabs button {
    white-space: nowrap;
  }

  .demo-panels {
    min-height: 430px;
    padding: 12px;
  }

  .demo-header {
    align-items: flex-start;
  }

  .demo-header-meta {
    flex-direction: column;
    align-items: flex-end;
  }

  .citation-example-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-row strong {
    font-size: 22px;
  }

  .timeline article {
    grid-template-columns: 65px 15px minmax(0, 1fr);
    gap: 9px;
  }

  .application {
    padding: 20px;
    box-shadow: 5px 5px 0 var(--lime);
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
