:root {
  --bg: oklch(12% 0.02 260);
  --bg-elevated: oklch(16% 0.02 260);
  --bg-card: oklch(18% 0.025 260);
  --bg-card-hover: oklch(22% 0.03 260);
  --text: oklch(95% 0.01 260);
  --text-secondary: oklch(70% 0.02 260);
  --text-muted: oklch(55% 0.02 260);
  --accent: oklch(75% 0.18 165);
  --accent-hover: oklch(82% 0.2 165);
  --accent-warm: oklch(80% 0.13 60);
  --border: oklch(25% 0.02 260);
  --border-strong: oklch(32% 0.025 260);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --max-width: 1200px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--accent);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --font-jp: "DM Sans", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, oklch(40% 0.12 170 / 0.14), transparent 34rem),
    radial-gradient(circle at 82% 18%, oklch(36% 0.12 210 / 0.12), transparent 32rem),
    linear-gradient(180deg, var(--bg) 0%, oklch(10% 0.02 260) 100%);
  font-family: var(--font-jp);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(oklch(100% 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 38%),
    radial-gradient(circle at 50% 8%, rgba(82, 255, 208, 0.08), transparent 42rem);
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: oklch(10% 0.02 260);
  background: var(--accent);
}

.page {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 128px 0;
}

.section-tight {
  padding: 96px 0;
}

.section-dark {
  background: var(--bg);
}

.section-elevated {
  background:
    radial-gradient(circle at 18% 14%, oklch(50% 0.14 165 / 0.08), transparent 28rem),
    var(--bg-elevated);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header-left {
  max-width: none;
  margin: 0;
  text-align: left;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.overline::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.78;
}

.section-header .overline::after {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.78;
}

.section-header .overline::before {
  display: none;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.06;
}

.section-title-sm {
  font-size: clamp(36px, 5vw, 56px);
}

.section-subtitle {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.eyebrow-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-date::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px oklch(75% 0.18 165 / 0.6);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: oklch(10% 0.025 260);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 18px 46px oklch(75% 0.18 165 / 0.22);
}

.button-primary:hover {
  box-shadow: 0 24px 60px oklch(75% 0.18 165 / 0.34);
}

.button-secondary {
  color: var(--text);
  background: oklch(100% 0 0 / 0.04);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(75% 0.18 165 / 0.08);
}

.button-large {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16px;
}

.announcement {
  position: relative;
  z-index: 30;
  min-height: 38px;
  border-bottom: 1px solid oklch(75% 0.18 165 / 0.14);
  background:
    linear-gradient(90deg, transparent 0%, oklch(75% 0.18 165 / 0.08) 42%, oklch(75% 0.18 165 / 0.08) 58%, transparent 100%),
    oklch(10% 0.02 260 / 0.92);
}

.announcement-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.announcement-link span {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid var(--border);
  background: oklch(12% 0.02 260 / 0.82);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 64px;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.wordmark-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-micro {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: oklch(10% 0.02 260);
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  box-shadow: 0 12px 30px oklch(75% 0.18 165 / 0.26);
}

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  place-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(10, 10, 12, 0.92) 100%),
    url("assets/portfolio/portfolio-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 38%, rgba(82, 255, 208, 0.1), transparent 28rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.42));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg-elevated));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  padding: 156px 20px 172px;
  margin: 0 auto;
  text-align: center;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  margin: 0 0 30px;
  border: 1px solid oklch(75% 0.18 165 / 0.24);
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: oklch(75% 0.18 165 / 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 42px oklch(75% 0.18 165 / 0.12);
}

.hero-title {
  max-width: 980px;
  margin: 0 auto;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 400;
  line-height: 1.05;
}

.hero-subline {
  max-width: 720px;
  margin: 30px auto 0;
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  justify-content: center;
  margin-top: 42px;
}

.hero-trust {
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.stats-band {
  position: relative;
  padding: 88px 0;
  background:
    linear-gradient(180deg, var(--bg-elevated), oklch(14% 0.02 260)),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: oklch(100% 0 0 / 0.02);
}

.stat-item {
  min-height: 176px;
  padding: 30px;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 0%, oklch(75% 0.18 165 / 0.08), transparent 13rem),
    var(--bg-card);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-value {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 80px);
  font-weight: 400;
  line-height: 0.95;
}

.stat-label {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.featured-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: 64px;
}

.featured-copy {
  min-width: 0;
}

.featured-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}

.featured-copy p {
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.85;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 34px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "✓";
  border-radius: 50%;
  color: oklch(10% 0.02 260);
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.featured-media {
  position: relative;
}

.featured-media::before {
  position: absolute;
  inset: -22px;
  z-index: -1;
  content: "";
  border-radius: calc(var(--radius-lg) + 22px);
  background:
    radial-gradient(circle at 20% 16%, oklch(75% 0.18 165 / 0.18), transparent 24rem),
    radial-gradient(circle at 80% 82%, oklch(80% 0.13 60 / 0.12), transparent 24rem);
  filter: blur(8px);
}

.featured-image {
  width: 100%;
  border: 1px solid oklch(75% 0.18 165 / 0.28);
  border-radius: var(--radius-lg);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

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

.demo-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    opacity 240ms ease;
}

.demo-card:not(.demo-card-disabled):hover {
  cursor: pointer;
  transform: translateY(-2px);
  border-color: oklch(75% 0.18 165 / 0.55);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.demo-card-latest {
  border-top: 3px solid var(--accent);
}

.demo-card-disabled {
  cursor: default;
  opacity: 0.62;
}

.demo-card-inner {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: oklch(10% 0.02 260);
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.demo-card:not(.demo-card-disabled):hover .thumb-wrap img {
  transform: scale(1.035);
}

.latest-badge,
.soon-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.latest-badge {
  color: oklch(10% 0.02 260);
  background: var(--accent);
}

.soon-badge {
  color: var(--text-secondary);
  background: oklch(100% 0 0 / 0.1);
  border: 1px solid var(--border-strong);
}

.demo-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.demo-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.demo-title {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.demo-date {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.demo-arrow {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  transform: translateX(0);
  transition: transform 220ms ease;
}

.demo-card:not(.demo-card-disabled):hover .demo-arrow {
  transform: translateX(4px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.tag-row li {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: oklch(100% 0 0 / 0.03);
  font-size: 12px;
  font-weight: 800;
}

.demo-desc {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.coming-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, oklch(24% 0.025 260), oklch(15% 0.02 260)),
    var(--bg-card);
}

.coming-thumb::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 1px dashed oklch(75% 0.18 165 / 0.2);
  border-radius: var(--radius-md);
}

.coming-thumb::after {
  position: absolute;
  inset: 50%;
  width: 54px;
  height: 54px;
  content: "";
  border: 1px solid oklch(75% 0.18 165 / 0.24);
  border-radius: 50%;
  background: oklch(75% 0.18 165 / 0.08);
  transform: translate(-50%, -50%);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.pipeline-image {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.methodology {
  display: grid;
  gap: 30px;
}

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

.phase-number {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 400;
  line-height: 0.9;
}

.phase-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase h4 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.phase p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.cost-table-wrap {
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.cost-table th,
.cost-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.cost-table th {
  color: var(--accent);
  background: oklch(75% 0.18 165 / 0.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cost-table td {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.cost-table td:first-child {
  color: var(--text);
  font-weight: 900;
}

.cost-table tr:last-child td {
  border-bottom: 0;
}

.cost-table tr:hover td {
  background: oklch(100% 0 0 / 0.025);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 940px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.stack-pill::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px oklch(75% 0.18 165 / 0.7);
}

.stack-pill:hover {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(75% 0.18 165 / 0.08);
  transform: translateY(-1px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
  gap: 72px;
}

.about-lead {
  position: sticky;
  top: 112px;
}

.about-kicker {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 800;
}

.about-copy {
  display: grid;
  gap: 24px;
}

.about-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.78;
}

.about-copy strong {
  color: var(--text);
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 144px 0;
  background:
    radial-gradient(circle at 50% 0%, oklch(75% 0.18 165 / 0.16), transparent 36rem),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(oklch(75% 0.18 165 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(75% 0.18 165 / 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.08;
}

.cta-subtitle {
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.7;
}

.cta-actions {
  justify-content: center;
  margin-top: 38px;
}

.site-footer {
  padding: 64px 0 32px;
  background:
    linear-gradient(180deg, var(--bg-elevated), oklch(9% 0.02 260)),
    var(--bg-elevated);
}

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

.footer-brand p {
  max-width: 240px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  background: oklch(100% 0 0 / 0.03);
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.social-link:hover {
  color: oklch(10% 0.02 260);
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  margin-top: 54px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

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

.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;
}

@media (min-width: 1025px) {
  .hero {
    background-attachment: fixed;
  }
}

@media (max-width: 1180px) {
  .container,
  .container-narrow {
    width: min(100% - 36px, var(--max-width));
  }

  .header-inner {
    gap: 20px;
  }

  .nav-links {
    gap: 22px;
  }

  .featured-grid,
  .how-grid,
  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 108px 0;
  }

  .section-tight {
    padding: 84px 0;
  }

  .header-micro {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 148px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    padding: 24px;
  }

  .cost-table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

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

  .featured-media {
    order: -1;
  }

  .about-lead {
    position: static;
  }

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

@media (max-width: 768px) {
  .container,
  .container-narrow {
    width: min(100% - 32px, var(--max-width));
  }

  .section {
    padding: 88px 0;
  }

  .section-tight {
    padding: 72px 0;
  }

  .announcement-link {
    font-size: 12px;
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    min-height: 62px;
  }

  .wordmark {
    font-size: 26px;
  }

  .header-cta {
    min-height: 34px;
    padding: 0 13px;
    font-size: 12px;
  }

  .hero {
    min-height: 680px;
    background-position: center top;
  }

  .hero-content {
    padding: 112px 16px 126px;
  }

  .hero-overline {
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-subline {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-band {
    padding: 72px 0;
  }

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

  .stat-item {
    min-height: 158px;
    border-right: 0;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .section-header {
    margin-bottom: 44px;
  }

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

  .phase {
    grid-template-columns: 54px 1fr;
    gap: 18px;
  }

  .phase-number {
    font-size: 56px;
  }

  .cost-table th,
  .cost-table td {
    padding: 16px 18px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .cta-section {
    padding: 112px 0;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container,
  .container-narrow {
    width: min(100% - 28px, var(--max-width));
  }

  .header-inner {
    gap: 12px;
  }

  .wordmark {
    font-size: 24px;
  }

  .header-cta {
    max-width: 142px;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(42px, 15vw, 62px);
  }

  .hero-subline {
    font-size: 16px;
  }

  .stats-grid {
    border-radius: var(--radius-md);
  }

  .stat-item {
    min-height: 142px;
    padding: 20px;
  }

  .stat-value {
    font-size: clamp(46px, 14vw, 58px);
  }

  .stat-label {
    font-size: 11px;
  }

  .featured-copy h3 {
    font-size: 27px;
  }

  .demo-card-body {
    padding: 22px;
  }

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

  .phase-number {
    font-size: 48px;
  }

  .stack-list {
    justify-content: flex-start;
  }

  .stack-pill {
    font-size: 13px;
  }
}
