:root {
  --night: oklch(12% 0.055 252);
  --night-2: oklch(17% 0.065 252);
  --cyan: oklch(70% 0.15 222);
  --cyan-strong: oklch(66% 0.18 232);
  --violet: oklch(55% 0.18 286);
  --white-tint: oklch(98% 0.005 252);
  --radius: 8px;
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html[data-theme='light'] {
  color-scheme: light;
  --ink: oklch(16% 0.018 258);
  --muted: oklch(45% 0.018 258);
  --paper: oklch(97.8% 0.005 255);
  --paper-soft: oklch(93.8% 0.011 252);
  --surface: oklch(99% 0.003 252);
  --surface-soft: oklch(96.4% 0.006 252);
  --line: oklch(86% 0.012 254);
  --line-dark: oklch(34% 0.06 254);
  --panel-border: oklch(82% 0.012 254);
  --hero-bg: linear-gradient(180deg, oklch(97.8% 0.005 255), oklch(94.5% 0.014 252));
  --header-bg: oklch(97.8% 0.005 255 / 88%);
  --header-border: oklch(86% 0.012 254 / 70%);
  --header-text: var(--ink);
  --logo-default-opacity: 1;
  --logo-white-opacity: 0;
  --list-text: oklch(30% 0.022 258);
  --caption-text: oklch(84% 0.025 246);
  --button-primary-bg: var(--ink);
  --button-primary-text: var(--white-tint);
  --button-secondary-bg: var(--surface);
  --button-secondary-text: var(--ink);
  --button-secondary-border: oklch(78% 0.02 254);
  --shadow: 0 30px 80px oklch(18% 0.025 252 / 16%);
}

html[data-theme='dark'] {
  color-scheme: dark;
  --ink: oklch(96% 0.007 252);
  --muted: oklch(74% 0.03 248);
  --paper: oklch(8.5% 0.045 252);
  --paper-soft: oklch(12% 0.052 252);
  --surface: oklch(14% 0.045 252);
  --surface-soft: oklch(18% 0.05 252);
  --line: oklch(30% 0.055 252);
  --line-dark: oklch(36% 0.065 252);
  --panel-border: oklch(33% 0.07 248);
  --hero-bg:
    radial-gradient(circle at 73% 12%, oklch(61% 0.17 225 / 24%), transparent 33%),
    linear-gradient(135deg, oklch(7% 0.045 252), oklch(12% 0.06 252) 56%, oklch(5% 0.038 252));
  --header-bg: oklch(7% 0.043 252 / 86%);
  --header-border: oklch(100% 0 0 / 10%);
  --header-text: var(--white-tint);
  --logo-default-opacity: 0;
  --logo-white-opacity: 1;
  --list-text: oklch(86% 0.018 248);
  --caption-text: oklch(83% 0.026 246);
  --button-primary-bg: var(--cyan);
  --button-primary-text: oklch(10% 0.045 252);
  --button-secondary-bg: oklch(100% 0 0 / 6%);
  --button-secondary-text: var(--white-tint);
  --button-secondary-border: oklch(100% 0 0 / 18%);
  --shadow: 0 34px 90px oklch(2% 0.02 252 / 48%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease-out;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 44px);
  color: var(--header-text);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.brand-logo img {
  position: absolute;
  inset: 0;
  width: 25px;
  height: 25px;
  transition: opacity 180ms ease-out;
}

.brand-logo-default {
  opacity: var(--logo-default-opacity);
}

.brand-logo-white {
  opacity: var(--logo-white-opacity);
}

.brand-title {
  font-size: 19px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.language-select-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-select,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--button-secondary-border);
  border-radius: 999px;
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out;
}

.language-select {
  appearance: none;
  min-width: 74px;
  padding: 0 32px 0 16px;
  cursor: pointer;
}

.language-select-shell::after {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
  content: "";
}

.theme-toggle {
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
}

.theme-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

html[data-theme='dark'] .theme-icon::after {
  position: absolute;
  right: -5px;
  top: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--header-bg);
  content: "";
}

html[data-theme='light'] .theme-icon {
  box-shadow:
    0 -7px 0 -5px currentColor,
    0 7px 0 -5px currentColor,
    7px 0 0 -5px currentColor,
    -7px 0 0 -5px currentColor;
}

.language-select:hover,
.language-select:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--cyan);
  background: var(--surface-soft);
  outline: none;
}

.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--ink);
  padding: 132px clamp(18px, 4vw, 44px) 84px;
}

.hero-layout {
  display: grid;
  max-width: 1440px;
  min-height: 650px;
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.eyebrow,
.section-kicker,
.direction-label {
  margin: 0 0 18px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.01;
  font-weight: 590;
  letter-spacing: 0;
}

.hero-copy {
  margin: 28px 0 0;
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
}

.button-secondary {
  border: 1px solid var(--button-secondary-border);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}

.hero-checks {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

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

.hero-checks li::before {
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.facebook-panel {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.facebook-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.facebook-logo {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: oklch(55% 0.2 260);
  color: var(--white-tint);
  font-size: 20px;
  font-weight: 760;
  line-height: 1;
}

.facebook-dots {
  display: inline-flex;
  gap: 5px;
  margin-left: auto;
}

.facebook-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}

.facebook-cover {
  aspect-ratio: 1916 / 821;
  background: var(--night);
}

.facebook-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facebook-page-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 0 22px 18px;
}

.facebook-avatar {
  display: grid;
  width: 82px;
  height: 82px;
  margin-top: -26px;
  place-items: center;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--night), oklch(30% 0.08 246));
  color: var(--white-tint);
  font-size: 23px;
  font-weight: 680;
}

.facebook-page-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.12;
  font-weight: 650;
}

.facebook-page-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.facebook-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: oklch(55% 0.2 260);
  color: var(--white-tint);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.facebook-tabs {
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.facebook-tabs span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.facebook-tabs .active {
  color: oklch(55% 0.2 260);
  box-shadow: inset 0 -2px 0 oklch(55% 0.2 260);
}

.facebook-preview-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 22px 22px;
}

.facebook-preview-body div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 14px;
}

.facebook-preview-body small {
  display: block;
  color: var(--cyan-strong);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facebook-preview-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: clamp(76px, 8vw, 118px) clamp(18px, 4vw, 44px);
}

.intent-section,
.result-section,
.scale-section {
  background: var(--paper);
}

.intent-grid,
.result-head,
.approach-layout,
.scale-head,
.cta-panel {
  display: grid;
  max-width: 1320px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(36px, 7vw, 86px);
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  font-weight: 590;
  letter-spacing: 0;
}

.section-copy,
.scale-head p,
.cta-copy p,
.approach-layout > div:first-child p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.section-copy p {
  margin: 0 0 24px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.result-head {
  align-items: end;
  margin-bottom: 44px;
}

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

.result-list li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  color: var(--list-text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 560;
}

.cover-frame {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
}

.cover-frame img {
  width: 100%;
  height: auto;
}

.cover-frame figcaption {
  margin: 0;
  border-top: 1px solid oklch(100% 0 0 / 12%);
  padding: 18px 24px;
  color: var(--caption-text);
  font-size: 14px;
  line-height: 1.55;
}

.approach-section {
  background:
    radial-gradient(circle at 85% 14%, oklch(62% 0.16 226 / 18%), transparent 32%),
    linear-gradient(135deg, var(--night), var(--night-2));
  color: var(--white-tint);
}

.approach-layout {
  align-items: start;
}

.approach-layout > div:first-child p {
  margin: 26px 0 0;
  color: oklch(78% 0.03 248);
}

.approach-points {
  display: grid;
  gap: 16px;
}

.approach-points article {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: oklch(100% 0 0 / 4%);
  padding: 24px;
}

.approach-points span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 720;
}

.approach-points h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 650;
}

.approach-points p {
  margin: 12px 0 0;
  color: oklch(78% 0.03 248);
  font-size: 16px;
  line-height: 1.58;
}

.scale-head {
  align-items: end;
  margin-bottom: 44px;
}

.scale-head p,
.cta-copy p {
  margin: 0;
}

.direction-grid {
  display: grid;
  max-width: 1440px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
}

.direction {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.direction-large {
  grid-row: span 2;
}

.direction img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--night);
}

.direction-large img {
  height: 640px;
}

.direction-mobile img {
  object-position: 50% 15%;
}

.direction div {
  padding: 22px 24px 24px;
}

.direction-label {
  margin-bottom: 10px;
  color: var(--violet);
}

.direction h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 650;
}

.direction p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.cta-section {
  background: var(--paper-soft);
}

.cta-panel {
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.cta-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 760px;
  }

  .facebook-panel {
    max-width: 900px;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 20px;
  }

  .hero {
    padding-top: 112px;
  }

  .intent-grid,
  .result-head,
  .approach-layout,
  .scale-head,
  .cta-panel,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-large {
    grid-row: auto;
  }

  .direction-large img,
  .direction img {
    height: 430px;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    gap: 9px;
  }

  .brand-title {
    display: none;
  }

  .brand-mark small {
    font-size: 11px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-select {
    min-width: 62px;
    padding-left: 12px;
    padding-right: 28px;
  }

  .theme-toggle {
    min-width: 44px;
    padding: 0 13px;
  }

  .theme-text {
    display: none;
  }

  .hero {
    padding: 104px 18px 62px;
  }

  .hero-layout {
    min-height: 0;
    gap: 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-checks {
    display: none;
  }

  .hero-copy,
  .section-copy,
  .scale-head p,
  .cta-copy p,
  .approach-layout > div:first-child p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .facebook-panel {
    border-radius: 7px;
  }

  .facebook-page-row {
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline: 14px;
  }

  .facebook-avatar {
    width: 62px;
    height: 62px;
    margin-top: -18px;
    font-size: 18px;
  }

  .facebook-page-copy h2 {
    font-size: 20px;
  }

  .facebook-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .facebook-tabs {
    gap: 14px;
    overflow-x: auto;
    padding-inline: 14px;
  }

  .facebook-preview-body {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .section {
    padding-inline: 18px;
  }

  .section h2 {
    font-size: 30px;
  }

  .result-list li {
    font-size: 15px;
  }

  .cover-frame figcaption {
    padding: 16px 18px;
  }

  .direction-large img,
  .direction img {
    height: 360px;
  }

  .direction div {
    padding: 20px;
  }
}
