:root {
  color-scheme: light;
  --brand: #ef3f36;
  --brand-strong: #d72f27;
  --ink: #16202a;
  --muted: #667380;
  --line: #e5e9ee;
  --panel: #ffffff;
  --soft: #f6f8fb;
  --green: #178b6b;
  --blue: #2368c4;
  --shadow: 0 24px 60px rgba(22, 32, 42, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 233, 238, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand span {
  font-size: 18px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #46525f;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 6vw, 92px) 84px;
  background-color: #fff7f6;
  background-image:
    linear-gradient(90deg, rgba(255, 247, 246, 0.97), rgba(255, 247, 246, 0.82) 42%, rgba(255, 247, 246, 0.28)),
    url("/assets/og-image.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 6vw, 92px);
  bottom: 0;
  width: min(560px, calc(100vw - 40px));
  height: 1px;
  background: rgba(239, 63, 54, 0.42);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 76%, #fff 100%),
    radial-gradient(circle at 82% 52%, rgba(239, 63, 54, 0.18), transparent 34%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 8.25rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: #30404f;
  font-size: 1.5rem;
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(239, 63, 54, 0.24);
}

.button.primary:hover {
  background: var(--brand-strong);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(22, 32, 42, 0.14);
}

.button.secondary:hover {
  border-color: rgba(239, 63, 54, 0.5);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 38px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(229, 233, 238, 0.92);
  border-radius: var(--radius);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 780;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 92px);
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.two-column,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: 3.625rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.section p {
  margin: 0;
  color: #405060;
}

.intro p:last-child,
.copy-block p,
.split-layout > div p {
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.feature-card {
  min-width: 0;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--brand-strong);
  background: #fff0ef;
  font-size: 12px;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--blue);
  background: #eef5ff;
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--green);
  background: #effaf6;
}

.feature-card:nth-child(4) .feature-icon {
  color: #6952b5;
  background: #f2f0ff;
}

.feature-card p {
  margin-top: 12px;
}

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

.scenario-list li,
.check-list li {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #405060;
}

.check-list li {
  background: transparent;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: end;
}

.section-heading-row > p {
  color: var(--muted);
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.code-panel {
  min-width: 0;
  padding: 24px;
  background: #111922;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.code-panel h3 {
  color: #fff;
}

pre {
  margin: 18px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

code {
  color: #d8f4e8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre;
}

.server-section {
  background: #fff;
}

.copy-block {
  display: grid;
  gap: 22px;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.release-panel img {
  width: 160px;
  height: 160px;
  border-radius: 32px;
}

.answer-box {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 42px);
  background: #fff;
  border-left: 6px solid var(--brand);
  border-radius: var(--radius);
}

.answer-box p {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.72;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 780;
}

details p {
  padding: 0 20px 20px;
}

.site-footer {
  padding: 34px clamp(20px, 6vw, 92px);
  background: #111922;
  color: #eaf0f6;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-inner p {
  margin: 4px 0 0;
  color: #aab6c2;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-inner a {
  color: #eaf0f6;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 84vh;
    padding-top: 100px;
    background-image:
      linear-gradient(180deg, rgba(255, 247, 246, 0.94), rgba(255, 247, 246, 0.72)),
      url("/assets/og-image.png");
    background-size: cover;
  }

  .hero h1 {
    font-size: 5.75rem;
  }

  .hero-copy {
    font-size: 1.25rem;
  }

  .section h2 {
    font-size: 3rem;
  }

  .hero-facts,
  .feature-grid,
  .code-grid,
  .two-column,
  .split-layout,
  .section-heading-row,
  .release-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 12px;
  }

  .release-panel img {
    width: 132px;
    height: 132px;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 132px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: 4.75rem;
  }

  .hero-copy {
    font-size: 1.0625rem;
  }

  .section h2 {
    font-size: 2.35rem;
  }

  .answer-box p {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts div,
  .feature-card,
  .code-panel,
  .scenario-list li,
  .check-list li {
    padding: 16px;
  }

  code {
    font-size: 12px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
