:root {
  --bg: #FFFFFF;
  --fg: #0A0A0A;
  --muted: #707070;
  --rule: #E5E5E5;
  --hover: #F5F5F5;
  --accent: #D9252A;
  --gutter: 48px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

*:focus-visible {
  outline: 2px solid var(--accent, #D9252A);
  outline-offset: 3px;
}
*:focus:not(:focus-visible) { outline: none; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 24px var(--gutter);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
  color: #FFFFFF;
}

nav .brand {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
}

nav .nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav .nav-cta {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid currentColor;
  transition: opacity 0.3s var(--ease);
}

nav .nav-cta:hover { opacity: 0.7; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lang-toggle a {
  color: inherit;
  text-decoration: none;
  opacity: 0.5;
  padding: 6px 4px;
  transition: opacity 0.2s var(--ease);
}
.lang-toggle a:hover { opacity: 1; }
.lang-toggle a.active { opacity: 1; }
.lang-toggle .sep { opacity: 0.3; }

.menu-btn {
  background: none;
  border: none;
  padding: 12px 0 12px 18px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn .lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-btn .lines span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ============ FULL-SCREEN MENU ============ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--fg);
  color: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}

.menu-overlay.open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-header .brand {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--bg);
  text-decoration: none;
}

.menu-close {
  background: none;
  border: none;
  padding: 12px 18px 12px 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  cursor: pointer;
}

.menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 80px;
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 32px;
  font-weight: 500;
  font-size: clamp(36px, 6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--bg);
  text-decoration: none;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(40px);
  transition-property: opacity, transform, color;
  transition-duration: 0.6s, 0.6s, 0.15s;
  transition-timing-function: var(--ease), var(--ease), var(--ease);
  transition-delay: 0s, 0s, 0s;
}

.menu-overlay.open .menu-list a {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.open .menu-list a:nth-child(1) { transition-delay: 0.15s, 0.15s, 0s; }
.menu-overlay.open .menu-list a:nth-child(2) { transition-delay: 0.21s, 0.21s, 0s; }
.menu-overlay.open .menu-list a:nth-child(3) { transition-delay: 0.27s, 0.27s, 0s; }
.menu-overlay.open .menu-list a:nth-child(4) { transition-delay: 0.33s, 0.33s, 0s; }
.menu-overlay.open .menu-list a:nth-child(5) { transition-delay: 0.39s, 0.39s, 0s; }
.menu-overlay.open .menu-list a:nth-child(6) { transition-delay: 0.45s, 0.45s, 0s; }

.menu-list a .num {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.menu-list a:hover { color: var(--accent); }
.menu-list a:hover .num { color: var(--accent); }

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.menu-footer a {
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
}

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

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  padding: 96px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.hero-wordmark {
  font-weight: 900;
  font-size: clamp(120px, 22vw, 360px);
  letter-spacing: -0.025em;
  line-height: 0.85;
  margin: 0;
}

.hero-wordmark span {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.5, 1.7, 0.4, 1);
  transform-origin: 50% 100%;
  animation: letter-wave 1.1s cubic-bezier(0.5, 1.6, 0.4, 1) backwards;
}

.hero-wordmark span:nth-child(1) { animation-delay: 0.3s; }
.hero-wordmark span:nth-child(2) { animation-delay: 0.42s; }
.hero-wordmark span:nth-child(3) { animation-delay: 0.54s; }
.hero-wordmark span:nth-child(4) { animation-delay: 0.66s; }

@keyframes letter-wave {
  0% { transform: translateY(0); }
  35% { transform: translateY(-0.2em); }
  65% { transform: translateY(0.04em); }
  100% { transform: translateY(0); }
}

.hero-wordmark span:nth-child(odd):hover {
  transform: translateY(-0.1em) rotate(-7deg);
}

.hero-wordmark span:nth-child(even):hover {
  transform: translateY(-0.1em) rotate(7deg);
}

/* ============ SLOT MACHINE ============ */
.slot {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.15em;
  vertical-align: middle;
  line-height: 1.15;
  color: var(--accent);
}

.slot-track {
  display: flex;
  flex-direction: column;
  animation: slot 6s cubic-bezier(0.5, 1.5, 0.4, 1) infinite;
}

.slot-item {
  height: 1.15em;
  line-height: 1.15;
  white-space: nowrap;
  display: block;
}

@keyframes slot {
  0%, 17% { transform: translateY(0); }
  25%, 42% { transform: translateY(-1.15em); }
  50%, 67% { transform: translateY(-2.3em); }
  75%, 92% { transform: translateY(-3.45em); }
  100% { transform: translateY(-4.6em); }
}

.hero-tagline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 56px;
  gap: 48px;
}

.hero-tagline .lead {
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  max-width: 560px;
}

.hero-tagline .meta-right {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
  white-space: nowrap;
}

.hero-scroll {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ============ PAGE HERO (subpages) ============ */
.page-hero {
  padding: 200px var(--gutter) 96px;
  border-bottom: 1px solid var(--rule);
}

.page-hero .container { padding: 0; }

.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.page-hero h1 {
  font-weight: 400;
  font-size: clamp(48px, 7vw, 120px);
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 1100px;
  margin-bottom: 32px;
}

.page-hero .lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
}

/* ============ SECTIONS ============ */
section {
  padding: 160px 0;
  border-top: 1px solid var(--rule);
}

section:first-of-type { border-top: none; }

.section-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head .num { color: var(--fg); }

h2 {
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 1100px;
}

.nowrap { white-space: nowrap; }

/* ============ SHIFT ============ */
.shift .body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.shift h2 { margin-bottom: 0; }

.shift .right p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
}

.shift .stat {
  margin: 56px 0;
  padding: 32px 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--rule);
}

.shift .stat .num {
  font-weight: 400;
  font-size: 120px;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--accent);
}

.shift .stat .unit {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

.shift .cite {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

/* ============ PRINCETON ============ */
.princeton .intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  margin-bottom: 80px;
}

.princeton .intro p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.bar-row {
  display: grid;
  grid-template-columns: 320px 1fr 120px;
  gap: 48px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.bar-row:first-of-type { border-top: 1px solid var(--fg); }

.bar-label {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.bar-label .en {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.bar-track {
  height: 36px;
  background: var(--hover);
  position: relative;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--fg);
  width: 0;
  transition: width 1.4s var(--ease);
}

.bar-value {
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -0.03em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.princeton-cite {
  margin-top: 48px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ BUILD ============ */
.build .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fg);
}

.build .item {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 56px 40px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.build .item:last-child { border-right: none; }

.build .item .num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.build .item h3 {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 24px;
  margin-bottom: 12px;
}

.build .item h3 .en {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

.build .item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 16px;
}

/* ============ AISEO DEMO ============ */
.demo h2 { margin-bottom: 24px; }
.demo .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 64px;
}

.demo-widget {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--fg);
}

.demo-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-dot {
  width: 8px; height: 8px;
  background: var(--fg);
  border-radius: 50%;
  display: inline-block;
}

.demo-toggle {
  display: flex;
  border: 1px solid var(--fg);
}

.demo-toggle button {
  background: var(--bg);
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--fg);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.demo-toggle button.active { background: var(--fg); color: var(--bg); }
.demo-toggle button:hover:not(.active) { background: var(--hover); }

.demo-body {
  padding: 40px 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.demo-message .who {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.demo-message.user .text {
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.demo-message.ai .text {
  font-size: 17px;
  line-height: 1.65;
  min-height: 1.65em;
}

.demo-message.ai .text .cite {
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.demo-message.ai .text .stat {
  font-weight: 500;
  color: var(--accent);
}

.typewriter-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--fg);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.demo-sources, .demo-techniques {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.source-pill, .tech-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  color: var(--muted);
}

.tech-tag {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.demo-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ CRONOGRAMA — TIER GANTT ============ */
.process h2 { margin-bottom: 24px; }
.process h2 em { font-style: italic; color: var(--accent); }

.timeline-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.variant-toggle {
  display: inline-flex;
  border: 1px solid var(--fg);
  margin-bottom: 24px;
}

.variant-toggle button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  background: var(--bg);
  color: var(--fg);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  border-right: 1px solid var(--rule);
}

.variant-toggle button:last-child { border-right: none; }
.variant-toggle button:hover:not(.active) { background: var(--hover); }
.variant-toggle button.active { background: var(--fg); color: var(--bg); }
.variant-toggle button.express-btn { color: var(--accent); }
.variant-toggle button.express-btn.active { background: var(--accent); color: var(--bg); }

.express-callout {
  display: none;
  margin-bottom: 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--hover);
  font-size: 14px;
  color: var(--fg);
  max-width: 720px;
}

.express-callout.show { display: block; }

.express-callout strong { color: var(--accent); font-weight: 500; }

.timeline-legend {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 12px;
  color: var(--muted);
}

.timeline-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.legend-swatch {
  width: 18px;
  height: 10px;
  display: inline-block;
}

.swatch-site { background: var(--fg); }
.swatch-geo { background: var(--accent); }
.swatch-cite {
  background: repeating-linear-gradient(45deg, var(--muted), var(--muted) 3px, transparent 3px, transparent 7px);
}

.gantt-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fg);
}

.gantt-row.two-col { grid-template-columns: repeat(2, 1fr); }

.gantt {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.gantt:last-child { border-right: none; }

.gantt-tier {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.gantt-name {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}

.gantt-price {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.gantt-promise {
  font-size: 13px;
  padding: 14px 16px;
  background: var(--hover);
  border-left: 2px solid var(--accent);
  margin-bottom: 32px;
}

.gantt-promise .label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.gantt-promise .value {
  color: var(--fg);
  font-weight: 500;
}

.gantt-scale {
  display: flex;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.gantt-scale span { flex: 1; text-align: left; }

.gantt-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.gantt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.gantt-bar-label {
  width: 110px;
  color: var(--fg);
  font-weight: 500;
  font-size: 12px;
  flex-shrink: 0;
}

.gantt-bar-track {
  flex: 1;
  height: 14px;
  position: relative;
  background: transparent;
}

.gantt-bar-fill {
  height: 100%;
  position: absolute;
  top: 0;
  transition: left 0.4s var(--ease), width 0.4s var(--ease);
}

.fill-site { background: var(--fg); }
.fill-geo { background: var(--accent); }
.fill-cite {
  background: repeating-linear-gradient(45deg, var(--muted), var(--muted) 3px, transparent 3px, transparent 7px);
}

.gantt-total {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

.gantt-total .stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.gantt-total .stat-value {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gantt-total .right { text-align: right; }

.timeline-deeper {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.timeline-deeper p {
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
}

/* ============ TOOLS ============ */
.tools h2 { margin-bottom: 24px; }
.tools h2 em { font-style: italic; color: var(--accent); }
.tools .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 80px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--fg);
}

.tool-card {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.4s var(--ease);
}

.tool-card:nth-child(2n) { border-right: none; }
.tool-card:hover { background: var(--hover); }

.tool-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.tool-status {
  position: absolute;
  top: 48px;
  right: 40px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
}

.tool-status.soon {
  color: var(--muted);
  border-color: var(--rule);
}

.tool-card h3 {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 420px;
}

.tool-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ============ BLOG ============ */
.blog h2 { margin-bottom: 24px; }
.blog .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--fg);
}

.blog-card {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 40px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.4s var(--ease);
}

.blog-card:nth-child(2n) { border-right: none; }
.blog-card:hover { background: var(--hover); }

.blog-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.blog-card h3 {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.blog-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.blog-time {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.blog-foot {
  margin-top: 56px;
  text-align: center;
}

/* ============ PRICING ============ */
.pricing .price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fg);
}

.pricing .price-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.pricing .tier {
  padding: 56px 56px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing .tier:last-child { border-right: none; }

.pricing .tier.featured::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.pricing .tier-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing .tier.featured .tier-label {
  color: var(--accent);
}

.pricing .tier h3 {
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing .tier h3 .en {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.pricing .tier .price {
  font-weight: 400;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 32px 0 4px;
}

.pricing .tier .price-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 4px;
}

.pricing .tier .price-unit {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.pricing .tier ul {
  list-style: none;
  flex: 1;
  margin: 24px 0;
}

.pricing .tier li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}

.pricing .tier li:last-child { border-bottom: 1px solid var(--rule); }

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 24px;
  border: 1px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.4s var(--ease);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  z-index: 0;
}

.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn span { position: relative; z-index: 1; }

.btn-solid {
  background: var(--fg);
  color: var(--bg);
}

.btn-solid::before { background: var(--bg); transform: translateY(100%); }
.btn-solid:hover { color: var(--fg); }
.btn-solid:hover::before { transform: translateY(0); }

.pricing .tier .btn { margin-top: 24px; }

/* ============ FAQ ============ */
.faq h2 { margin-bottom: 80px; }

.faq-list { border-top: 1px solid var(--fg); }
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-q {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.faq-q .num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-q .question {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.faq-q .icon {
  width: 24px;
  height: 24px;
  position: relative;
  justify-self: end;
}

.faq-q .icon::before,
.faq-q .icon::after {
  content: '';
  position: absolute;
  background: var(--fg);
  transition: transform 0.4s var(--ease);
}

.faq-q .icon::before {
  left: 50%; top: 50%;
  width: 1px; height: 16px;
  transform: translate(-50%, -50%);
}

.faq-q .icon::after {
  left: 50%; top: 50%;
  width: 16px; height: 1px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-q .icon::before { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-item.open .faq-a { max-height: 400px; }

.faq-a-inner {
  padding: 0 0 36px 84px;
  max-width: 880px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ============ ABOUT ============ */
.about .body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}

.about h2 { font-size: clamp(36px, 4.5vw, 64px); }

.about p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.about .footnote {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  margin-top: 32px;
  line-height: 1.7;
}

/* ============ CONTACT / CLOSING CTA ============ */
.contact {
  padding: 120px 0;
  text-align: center;
}

.contact h2 {
  margin: 0 auto 32px;
  font-size: clamp(48px, 7vw, 120px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.contact .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.contact .cta-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.contact-secondary {
  margin-top: 80px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.link-inline {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-inline:hover { opacity: 0.7; }

/* ============ CONTACT MAIN (form + map) ============ */
.contact-main {
  padding: 0 0 120px;
  border-top: 1px solid var(--rule);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  padding-top: 96px;
}

.contact-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ---- Form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form .field-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--fg);
  padding: 12px 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.contact-form .form-submit {
  align-self: flex-start;
  margin-top: 16px;
}

.contact-form .form-submit:disabled {
  cursor: default;
  opacity: 0.7;
}

.contact-form .form-status {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}

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

/* ---- Map column ---- */
.contact-map-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-map-circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  position: relative;
  margin-bottom: 40px;
}

.contact-map-circle .leaflet-container {
  background: #FFFFFF;
  font-family: inherit;
}

.contact-map-circle .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.85);
  color: #888;
  padding: 2px 6px;
  border-radius: 0;
}

.contact-map-circle .leaflet-control-attribution a {
  color: #555;
  text-decoration: none;
}

.contact-meta-block {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-meta-block .meta-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  align-items: center;
}

.contact-meta-block .meta-row:last-child {
  border-bottom: none;
}

.contact-meta-block .meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-meta-block a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-meta-block a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .contact-main { padding-bottom: 80px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    padding-top: 64px;
  }
  .contact-map-circle { max-width: 360px; margin-left: auto; margin-right: auto; }
  .contact-meta-block { max-width: 100%; }
}

/* ============ TOOL CHECKER (AI Crawler) ============ */
.tool-checker {
  padding: 64px 0 96px;
  border-top: 1px solid var(--rule);
}

.checker-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  max-width: 720px;
  margin: 0 auto 32px;
}

.checker-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checker-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.checker-input input {
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--fg);
  padding: 12px 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease);
}

.checker-input input:focus {
  outline: none;
  border-color: var(--accent);
}

.checker-submit {
  height: 52px;
}

.checker-status {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  background: rgba(217, 37, 42, 0.04);
  color: var(--fg);
  font-size: 14px;
}

.checker-results {
  margin-top: 64px;
}

/* Verdict banner */
.verdict-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 56px;
  border: 1px solid var(--fg);
  margin-bottom: 64px;
}

.verdict-banner.verdict-critical {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
}

.verdict-banner.verdict-warn {
  border-color: var(--fg);
  background: var(--fg);
  color: #FFFFFF;
}

.verdict-banner.verdict-ok {
  border-color: var(--fg);
  background: var(--bg);
  color: var(--fg);
}

.verdict-banner.verdict-info {
  border-color: var(--muted);
  background: #FAFAFA;
  color: var(--fg);
}

.verdict-num {
  font-weight: 900;
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.verdict-text .verdict-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.verdict-text h2 {
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.verdict-text p {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 640px;
}

/* 5-dimension grid */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.dim-card {
  padding: 24px 20px;
  border: 1px solid var(--rule);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
}

.dim-card.dim-fail { border-color: var(--accent); }
.dim-card.dim-warn { border-color: var(--fg); }
.dim-card.dim-pass { border-color: var(--fg); }

.dim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dim-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.dim-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.dim-icon.ok  { background: var(--fg); color: var(--bg); }
.dim-icon.bad { background: var(--accent); color: #fff; }
.dim-icon.warn { background: transparent; color: var(--fg); border: 1px solid var(--fg); }

.dim-card h3 {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin-top: 4px;
}

.dim-score {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dim-card.dim-fail .dim-score { color: var(--accent); }

.dim-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: auto;
}

/* Collapsible details */
.checker-detail {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.checker-detail summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checker-detail summary::-webkit-details-marker { display: none; }

.checker-detail summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
  color: var(--fg);
}

.checker-detail[open] summary::after { content: '−'; }

.checker-detail summary:hover { color: var(--fg); }

/* Bot grid (now 3-col, no owner column) */
.bot-grid {
  margin-top: 16px;
}

.bot-grid-head,
.bot-row {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  font-size: 14px;
}

.bot-grid-head {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.bot-row .bot-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.bot-row .bot-name code {
  font-family: 'Inter', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.bot-row .bot-crit {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.bot-row .bot-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.bot-row .state-ok {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}

.bot-row .state-bad {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.bot-row.blocked.critical {
  background: rgba(217, 37, 42, 0.04);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

/* robots.txt diff */
.robots-diff {
  margin-bottom: 64px;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.diff-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.diff-col pre {
  font-family: 'Inter', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.55;
  padding: 20px 24px;
  border: 1px solid var(--rule);
  background: #FAFAFA;
  overflow-x: auto;
  white-space: pre;
  max-height: 360px;
  color: var(--fg);
}

.diff-col .diff-recommended {
  border-color: var(--fg);
  background: #FFFFFF;
}

.btn-copy {
  margin-top: 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}

.btn-copy:hover { opacity: 0.85; }

/* Tool CTA */
.checker-cta {
  padding: 48px 56px;
  border: 1px solid var(--fg);
  text-align: center;
}

.checker-cta h3 {
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.checker-cta p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.checker-cta .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Tools-more (coming soon) section */
.tools-more {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}

.tools-more .tool-card-soon {
  cursor: default;
  opacity: 0.7;
}

.tools-more .tool-card-soon:hover {
  transform: none;
}

.tools-more .tool-card-soon code {
  font-family: 'Inter', monospace;
  background: var(--rule);
  padding: 1px 6px;
  font-size: 0.9em;
}

@media (max-width: 1100px) {
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .tool-checker { padding: 48px 0 64px; }
  .checker-form { grid-template-columns: 1fr; }
  .checker-submit { width: 100%; }
  .verdict-banner { padding: 32px 28px; gap: 24px; grid-template-columns: 1fr; }
  .verdict-num { font-size: clamp(40px, 14vw, 64px); }
  .dim-grid { grid-template-columns: 1fr; gap: 12px; }
  .dim-card { min-height: 0; padding: 20px; }
  .bot-grid-head { display: none; }
  .bot-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
  .bot-row .bot-desc { font-size: 14px; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .checker-cta { padding: 32px 24px; }
  .tools-more { padding: 64px 0; }
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

footer .brand-block .word {
  font-weight: 900;
  font-size: clamp(80px, 12vw, 160px);
  letter-spacing: -0.025em;
  line-height: 0.9;
  margin-bottom: 20px;
}

footer .brand-block .desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.5;
}

footer h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

footer ul { list-style: none; }
footer li { padding: 0; }

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  padding: 12px 0;
  min-height: 44px;
  line-height: 20px;
}
footer a:hover { color: var(--fg); }

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  section { padding: 80px 0; }
  .shift .body, .princeton .intro, .about .body { grid-template-columns: 1fr; gap: 40px; }
  .build .grid,
  .pricing .price-grid,
  .pricing .price-grid.two-col { grid-template-columns: 1fr; }
  .build .item, .pricing .tier { border-right: none; }
  .pricing .tier { padding: 40px 32px; }
  .variant-toggle { display: flex; flex-direction: column; width: 100%; }
  .variant-toggle button { border-right: none; border-bottom: 1px solid var(--rule); padding: 18px 22px; font-size: 13px; }
  .variant-toggle button:last-child { border-bottom: none; }
  .gantt-row,
  .gantt-row.two-col { grid-template-columns: 1fr; }
  .gantt { border-right: none; padding: 32px 24px; }
  .gantt-scale { font-size: 11px; letter-spacing: 0.04em; gap: 4px; }
  .gantt-scale span { white-space: nowrap; }
  .timeline-deeper { flex-direction: column; align-items: flex-start; }
  .tools-grid, .blog-grid { grid-template-columns: 1fr; }
  .tool-card, .blog-card { border-right: none; }
  .tool-card:nth-child(2n), .blog-card:nth-child(2n) { border-right: none; }
  .tool-card, .blog-card { padding: 36px 28px; }
  .bar-row { grid-template-columns: 1fr; gap: 16px; }
  .bar-value { text-align: left; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .hero { padding-top: max(96px, env(safe-area-inset-top) + 80px); padding-bottom: max(64px, env(safe-area-inset-bottom) + 40px); }
  .hero-content { padding: 32px 0; }
  .hero-tagline { flex-direction: column; align-items: flex-start; gap: 24px; }
  .demo-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .demo-toggle button { padding: 12px 20px; min-height: 44px; }
  .faq-q { grid-template-columns: 40px 1fr 24px; gap: 16px; padding: 24px 0; min-height: 56px; }
  .faq-q .question { font-size: 17px; }
  .faq-a-inner { padding: 0 0 24px 56px; font-size: 15px; }
  .menu-list a { gap: 16px; padding: 14px 0; }
  .menu-list a .num { font-size: 12px; }
  nav {
    padding: 16px var(--gutter);
    padding-top: max(16px, env(safe-area-inset-top));
    background: var(--bg);
    mix-blend-mode: normal;
    color: var(--fg);
    border-bottom: 1px solid var(--rule);
  }
  nav .nav-cta { display: none; }
  .lang-toggle { color: var(--fg); }
  .menu-overlay { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(48px, env(safe-area-inset-bottom) + 24px); }
  .menu-btn, .menu-close { min-height: 44px; min-width: 44px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .princeton .bar-row { padding: 20px 0; }
  .bar-label { font-size: 18px; }
  .bar-label .en { font-size: 13px; }
  .page-hero { padding: 120px var(--gutter) 64px; }
}

@media (max-width: 500px) {
  .stats { grid-template-columns: 1fr; }
  .stats .stat-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .stats .stat-cell:last-child { border-bottom: none; }
  .hero-wordmark { font-size: clamp(96px, 28vw, 140px); }
  .hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .hero-meta span:last-child { font-size: 10px; }
}

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