:root {
  --bg: oklch(0.98 0.01 95);
  --bg-soft: oklch(0.95 0.02 95);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(83, 64, 40, 0.12);
  --text: oklch(0.27 0.03 60);
  --text-soft: oklch(0.49 0.03 60);
  --accent: oklch(0.67 0.16 40);
  --accent-soft: color-mix(in oklab, var(--accent) 14%, white);
  --accent-strong: color-mix(in oklab, var(--accent) 80%, black);
  --shadow: 0 28px 72px rgba(66, 43, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --font-body: "Avenir Next", "Segoe UI", "PingFang SC", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, color-mix(in oklab, var(--accent) 12%, transparent) 0, transparent 34rem),
    radial-gradient(circle at bottom right, color-mix(in oklab, var(--accent) 10%, transparent) 0, transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, oklch(0.965 0.01 95) 100%);
}

body.corp-body {
  background: #070c12;
  color: #f3f6fb;
}

body[data-theme='sapphire'] { --accent: oklch(0.6 0.15 246); }
body[data-theme='forest'] { --accent: oklch(0.62 0.14 155); }
body[data-theme='ink'] { --accent: oklch(0.46 0.04 254); }
body[data-theme='gold'] { --accent: oklch(0.77 0.15 85); }
body[data-theme='steel'] { --accent: oklch(0.58 0.04 250); }
body[data-theme='violet'] { --accent: oklch(0.62 0.18 314); }
body[data-theme='berry'] { --accent: oklch(0.61 0.2 355); }
body[data-theme='rose'] { --accent: oklch(0.69 0.17 18); }
body[data-theme='teal'] { --accent: oklch(0.66 0.13 200); }
body[data-theme='mint'] { --accent: oklch(0.75 0.13 160); }
body[data-theme='ember'] { --accent: oklch(0.68 0.18 35); }

a {
  color: inherit;
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(250, 248, 243, 0.72);
  border-bottom: 1px solid rgba(83, 64, 40, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

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

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 74%, white) 0%, color-mix(in oklab, var(--accent) 48%, black) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 28px color-mix(in oklab, var(--accent) 26%, transparent);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand__sub {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.94rem;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 9%, white);
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: clamp(52px, 8vw, 92px) 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 9%, white);
  color: var(--accent-strong);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.legal-title,
.landing-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero p.lead,
.landing-lead,
.legal-summary {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  color: var(--text-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 85%, white), color-mix(in oklab, var(--accent) 50%, black));
  color: white;
  box-shadow: 0 18px 42px color-mix(in oklab, var(--accent) 22%, transparent);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  border: 1px solid rgba(83, 64, 40, 0.1);
}

.button:hover,
.button-secondary:hover,
.header-pill:hover {
  transform: translateY(-1px);
}

.glass-panel {
  border-radius: var(--radius-xl);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid rgba(83, 64, 40, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  gap: 18px;
}

.metric-grid,
.card-grid,
.audience-grid,
.link-grid,
.landing-grid {
  display: grid;
  gap: 18px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.metric {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(83, 64, 40, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-display);
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.94rem;
}

.section {
  padding: 34px 0 26px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 50ch;
}

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

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

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

.card,
.link-card,
.section-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(83, 64, 40, 0.08);
  box-shadow: 0 12px 32px rgba(89, 62, 33, 0.06);
}

.card small,
.section-card small {
  display: inline-block;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.card h3,
.link-card h3,
.section-card h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.18rem;
}

.card p,
.link-card p,
.section-card p,
.faq-item p,
.site-footer p,
.legal-block p,
.legal-block li {
  color: var(--text-soft);
  line-height: 1.78;
}

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

.link-card {
  text-decoration: none;
}

.link-card span {
  color: var(--accent-strong);
  font-weight: 700;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(83, 64, 40, 0.08);
}

.site-footer {
  padding: 38px 0 70px;
}

.corp-home {
  min-height: 100vh;
  background: #05080d;
}

.corp-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.corp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.corp-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.corp-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, #1742ff 0 34%, transparent 34% 44%, #00b8ff 44% 68%, transparent 68% 78%, #ff9e2d 78% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.corp-brand__text {
  display: grid;
  gap: 2px;
}

.corp-brand__text strong {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.corp-brand__text span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.corp-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  flex-wrap: wrap;
}

.corp-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.corp-main {
  min-height: 100vh;
}

.corp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.18) 0%, rgba(5, 8, 13, 0.76) 100%),
    linear-gradient(135deg, rgba(12, 18, 28, 0.88) 0%, rgba(3, 7, 14, 0.72) 100%);
}

.corp-hero__image,
.corp-hero__overlay {
  position: absolute;
  inset: 0;
}

.corp-hero__image {
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.24), rgba(4, 8, 14, 0.58)),
    radial-gradient(circle at 16% 22%, rgba(39, 83, 132, 0.3), transparent 24rem),
    radial-gradient(circle at 82% 20%, rgba(32, 130, 182, 0.24), transparent 20rem),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
  transform: scale(1.02);
  filter: saturate(0.78) brightness(0.72);
}

.corp-hero__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.32)),
    linear-gradient(90deg, rgba(7, 10, 15, 0.7), rgba(7, 10, 15, 0.18) 36%, rgba(7, 10, 15, 0.54));
}

.corp-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 150px 0 110px;
  text-align: center;
}

.corp-hero__eyebrow {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.corp-hero__title {
  margin: 18px 0 0;
  max-width: 12ch;
  color: #fff;
  font-family: "SF Pro Display", "Avenir Next", "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: clamp(3.8rem, 8vw, 6.9rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.corp-hero__summary {
  margin: 26px 0 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.9;
}

.corp-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: #06090f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.corp-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.corp-strip__item {
  padding: 34px 28px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.corp-strip__item:last-child {
  border-right: none;
}

.corp-strip__item small {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.corp-strip__item h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.5;
}

.corp-strip__item p,
.corp-strip__item a {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  line-height: 1.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(83, 64, 40, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.legal-shell,
.landing-shell,
.studio-shell {
  padding: clamp(38px, 7vw, 78px) 0 72px;
}

.legal-meta,
.landing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.meta-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(83, 64, 40, 0.08);
  color: var(--text-soft);
}

.legal-stack,
.landing-stack {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.legal-block ul,
.section-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-block li,
.section-card li {
  margin: 8px 0;
}

.landing-banner {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 14%, white), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at top right, color-mix(in oklab, var(--accent) 30%, transparent), transparent 14rem);
  border: 1px solid rgba(83, 64, 40, 0.08);
}

.landing-banner p {
  margin: 0;
  color: var(--accent-strong);
  font-size: 1.02rem;
  line-height: 1.72;
}

.studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.studio-note {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(83, 64, 40, 0.08);
  color: var(--text-soft);
}

.code-block {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  background: oklch(0.18 0.02 250);
  color: oklch(0.95 0.01 250);
  overflow: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero-grid,
  .footer-grid,
  .landing-grid,
  .card-grid,
  .audience-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

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

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

  .corp-header__inner,
  .corp-strip__grid {
    grid-template-columns: 1fr;
  }

  .corp-header__inner {
    flex-direction: column;
    align-items: start;
    padding: 14px 0;
  }

  .corp-strip__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .corp-strip__item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .site-header__inner {
    min-height: 66px;
  }

  .hero h1,
  .section-title,
  .legal-title,
  .landing-title {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .glass-panel,
  .card,
  .link-card,
  .section-card,
  .faq-item,
  .footer-grid,
  .landing-banner {
    padding: 18px;
    border-radius: 22px;
  }

  .corp-nav {
    gap: 10px 16px;
  }

  .corp-nav a {
    font-size: 0.74rem;
  }

  .corp-hero__content {
    padding: 140px 0 84px;
  }

  .corp-hero__title {
    max-width: 10ch;
    font-size: clamp(2.9rem, 13vw, 4.6rem);
  }

  .corp-hero__summary {
    max-width: 34ch;
    line-height: 1.75;
  }
}
