:root {
  color-scheme: light;
  --ink: #15191f;
  --muted: #5d6874;
  --line: #dbe2e8;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --green: #12a77f;
  --blue: #3867e8;
  --orange: #f2a33d;
  --rose: #e0617a;
  --violet: #8067e8;
  --shadow: 0 24px 70px rgba(23, 31, 41, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(56, 103, 232, 0.17), transparent 31rem),
    linear-gradient(180deg, rgba(18, 167, 127, 0.15), transparent 420px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(219, 226, 232, 0.9);
  background: rgba(247, 248, 244, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-canvas {
  display: block;
  width: 40px;
  height: 40px;
}

.top-nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.top-nav a {
  border-radius: 999px;
  padding: 8px 12px;
}

.top-nav a:hover {
  background: #edf1ec;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 85px);
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 54px) 42px;
}

.hero-copy {
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1100px;
  margin-bottom: 24px;
  font-size: clamp(3.05rem, 7.75vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.7vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 820px;
  margin-bottom: 30px;
  color: #35404b;
  font-size: clamp(1.06rem, 1.55vw, 1.3rem);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 850;
}

.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(21, 25, 31, 0.2);
}

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

.secondary-button {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.panel-topline,
.stat-stack {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.gpt-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d2dbe4;
  border-radius: 6px;
  background: #fbfcf8;
}

.stat-stack {
  flex-wrap: wrap;
  margin-top: 14px;
}

.stat-stack div {
  flex: 1 1 132px;
  min-width: 0;
  border-left: 3px solid var(--green);
  padding-left: 10px;
}

.stat-stack span,
.stat-stack strong {
  display: block;
}

.stat-stack span {
  color: var(--muted);
  font-size: 0.75rem;
}

.stat-stack strong {
  margin-top: 4px;
  font-size: 0.95rem;
}

.source-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.source-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.76);
  color: #35404b;
  font-weight: 850;
  text-align: center;
}

.section,
.models-section,
.usage-section,
.safety-section,
.faq-section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 54px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.feature-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.safety-grid article {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-card:nth-child(2) {
  background: #eef8f4;
}

.feature-card:nth-child(3) {
  background: #eef3ff;
}

.card-index {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card p,
.models-copy p,
.model-item p,
.doc-grid p,
.safety-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.models-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  background: #15191f;
  color: #fbfcf8;
}

.models-section .eyebrow {
  color: #7ce0c1;
}

.models-copy {
  max-width: 780px;
}

.models-copy p {
  color: #d8e0e7;
  font-size: 1.08rem;
}

.model-list {
  display: grid;
  gap: 12px;
}

.model-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.model-item span {
  color: #7ce0c1;
  font-weight: 900;
}

.model-item p {
  margin-bottom: 0;
  color: #d8e0e7;
}

.usage-section {
  background:
    linear-gradient(90deg, rgba(56, 103, 232, 0.1), rgba(18, 167, 127, 0.1)),
    #ffffff;
}

.usage-document {
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  background: #fbfcf8;
  box-shadow: var(--shadow);
}

.doc-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.doc-header h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.doc-header span {
  align-self: start;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doc-grid div {
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 16px;
}

.safety-section {
  background: #eef1f4;
}

.safety-grid article {
  min-height: 220px;
  background: #ffffff;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 950px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  max-width: 560px;
  margin: 6px 0 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 1080px) {
  .hero,
  .models-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .source-strip,
  .feature-grid,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: clamp(2.65rem, 13.5vw, 4.6rem);
  }

  .hero-panel {
    padding: 12px;
  }

  .panel-topline,
  .doc-header,
  .site-footer {
    flex-direction: column;
  }

  .source-strip,
  .feature-grid,
  .safety-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .model-item {
    grid-template-columns: 1fr;
  }

  .source-strip span {
    min-height: 52px;
  }
}
