:root {
  color-scheme:dark;
  --bg:#0f1117;
  --surface:#181b25;
  --soft:#131620;
  --text:#f2f4fa;
  --muted:#a4aec2;
  --border:#2b3142;
  --accent:#9a9dff;
  --button:#575bea;
  --button-hover:#666af0;
  --grid:rgba(150,160,200,.06);
}

:root[data-theme=light] {
  color-scheme:light;
  --bg:#f8fafc;
  --surface:#fff;
  --soft:#f0f3fa;
  --text:#171c2b;
  --muted:#536077;
  --border:#dbe1ed;
  --accent:#4f46e5;
  --button:#4f46e5;
  --button-hover:#4338ca;
  --grid:rgba(40,60,100,.06);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

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

button {
  font:inherit;
}

a,button,summary {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}

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

p {
  line-height:1.7;
}

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

h1,h2,h3 {
  font-weight:650;
}

h2 {
  font-size:clamp(30px,3.3vw,44px);
  line-height:1.15;
  letter-spacing:-1.5px;
}

h3 {
  font-size:21px;
  letter-spacing:-.5px;
}

.wrap {
  max-width:1248px;
  margin-inline:auto;
  padding-inline:40px;
}

.on-light {
  display:none;
}

[data-theme=light] .on-light {
  display:block;
}

[data-theme=light] .on-dark {
  display:none;
}

.skip-link {
  position:absolute;
  z-index:5;
  top:-80px;
  left:20px;
  padding:12px;
  background:var(--surface);
}

.skip-link:focus {
  top:12px;
}

.site-header {
  height:100px;
  display:flex;
  align-items:center;
  gap:42px;
}

.brand {
  flex-shrink:0;
}

.brand img {
  object-fit:contain;
}

.site-header nav {
  display:flex;
  gap:28px;
  margin-left:auto;
  font-size:14px;
  color:var(--muted);
}

.site-header nav a:hover,.text-link:hover,.preview-caption a:hover,.site-footer a:hover {
  color:var(--accent);
}

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

.theme-toggle {
  width:34px;
  height:34px;
  border:0;
  background:none;
  color:var(--muted);
  cursor:pointer;
  padding:6px;
}

.theme-toggle[hidden] {
  display:none;
}

.theme-toggle svg {
  width:22px;
  height:22px;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-height:52px;
  padding:13px 24px;
  border:1px solid transparent;
  border-radius:7px;
  background:var(--button);
  color:#fff;
  font-size:15px;
  font-weight:650;
  transition:background .15s,transform .15s;
}

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

.button-small {
  min-height:40px;
  padding:8px 16px;
  font-size:13px;
  gap:20px;
}

.button span {
  font-size:20px;
  font-weight:400;
}

.hero {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  align-items:center;
  gap:80px;
  padding-top:64px;
  padding-bottom:72px;
}

.eyebrow {
  color:var(--muted);
  font-size:10px;
  font-weight:650;
  letter-spacing:1.8px;
  display:flex;
  align-items:center;
  gap:9px;
}

.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--accent);
}

h1 {
  font-size:clamp(43px,5.15vw,70px);
  line-height:1.08;
  letter-spacing:-3.6px;
  margin-top:22px;
}

h1>span {
  color:var(--accent);
}

.hero-copy {
  max-width:400px;
  padding-top:28px;
}

.hero-copy .intro {
  font-size:23px;
  font-weight:550;
  margin-bottom:12px;
  color:var(--text);
  letter-spacing:-.5px;
}

.hero-copy>p {
  color:var(--muted);
  font-size:16px;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin:30px 0 16px;
}

.text-link {
  font-size:14px;
  font-weight:550;
  display:inline-flex;
  gap:12px;
  align-items:center;
}

.hero-copy .fine-print {
  font-size:12px;
}

.preview-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  letter-spacing:1.4px;
  color:var(--muted);
  padding:15px 0;
}

.preview-heading>span:first-child {
  display:flex;
  align-items:center;
  gap:10px;
}

.preview-label {
  letter-spacing:0;
  font-size:12px;
}

.preview {
  display:block;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 28px 60px -28px rgba(0,0,0,.35);
  background:var(--surface);
}

.preview img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.preview-caption {
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:12px;
  margin-top:16px;
}

.preview-caption a {
  color:var(--text);
}

.section {
  padding-top:110px;
  padding-bottom:100px;
}

.section-heading {
  max-width:630px;
}

.section-heading h2 {
  margin-top:18px;
}

.section-heading>p:last-child {
  margin-top:18px;
  max-width:420px;
  color:var(--muted);
  font-size:15px;
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:55px;
}

.feature-grid article {
  padding-top:24px;
  border-top:1px solid var(--border);
}

.feature-number {
  font-family:ui-monospace,monospace;
  font-size:11px;
  color:var(--accent);
  letter-spacing:1px;
}

.feature-grid h3 {
  margin-top:25px;
  margin-bottom:13px;
}

.feature-grid p {
  color:var(--muted);
  font-size:14px;
}

.feature-detail {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:24px;
  line-height:1.6;
}

.examples-section {
  background:var(--soft);
  border-block:1px solid var(--border);
  padding-block:76px 82px;
}

.examples-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
}

.examples-heading h2 {
  margin-top:18px;
}

.examples-heading>p {
  font-size:14px;
  color:var(--muted);
}

.example-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:42px;
}

.example-card {
  padding:24px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg);
  transition:border-color .15s,transform .15s;
}

.example-card:hover {
  border-color:var(--accent);
  transform:translateY(-3px);
}

.mini-model {
  display:flex;
  align-items:center;
  justify-content:center;
  height:116px;
  margin:-4px -4px 23px;
  background-image:radial-gradient(var(--border) 1px,transparent 1px);
  background-size:12px 12px;
  font-family:ui-monospace,monospace;
}

.mini-model span {
  min-width:34px;
  height:32px;
  padding-inline:7px;
  display:grid;
  place-items:center;
  border:1px solid var(--accent);
  border-radius:3px;
  font-size:11px;
  color:var(--text);
  background:var(--surface);
}

.mini-model i {
  font-style:normal;
  color:var(--accent);
  padding:0 3px;
}

.example-category {
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--muted);
}

.example-card h3 {
  font-size:17px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
}

.example-card h3 span {
  font-weight:400;
  color:var(--accent);
}

.example-card p {
  font-size:13px;
  color:var(--muted);
  margin-top:10px;
}

.questions {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:80px;
}

.questions .text-link {
  margin-top:16px;
  color:var(--text);
}

.faq-list details {
  border-bottom:1px solid var(--border);
  padding:23px 0;
}

.faq-list details:first-child {
  padding-top:0;
}

.faq-list summary {
  cursor:pointer;
  font-size:16px;
  font-weight:550;
  line-height:1.5;
  list-style:none;
  padding-right:30px;
  position:relative;
}

.faq-list summary::-webkit-details-marker {
  display:none;
}

.faq-list summary:after {
  content:'+';
  position:absolute;
  right:3px;
  top:0;
  color:var(--muted);
  font-weight:400;
  font-size:22px;
}

.faq-list details[open] summary:after {
  content:'−';
}

.faq-list p {
  font-size:14px;
  color:var(--muted);
  margin-top:14px;
}

.faq-list details>a {
  font-size:13px;
  color:var(--accent);
  display:inline-block;
  margin-top:12px;
}

.closing {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  padding-top:55px;
  padding-bottom:70px;
  border-top:1px solid var(--border);
}

.closing h2 {
  margin-top:16px;
}

.site-footer {
  display:flex;
  align-items:center;
  gap:30px;
  min-height:125px;
  border-top:1px solid var(--border);
}

.site-footer p {
  font-size:11px;
  color:var(--muted);
}

.site-footer>a:last-child {
  margin-left:auto;
  font-size:13px;
  color:var(--muted);
}

@media(min-width:1800px) {
  .wrap {
    max-width:1380px;
  }
  .hero {
    gap:120px;
  }
  h1 {
    font-size:80px;
  }
}

@media(max-width:1000px) {
  .wrap {
    padding-inline:28px;
  }
  .site-header {
    gap:25px;
  }
  .site-header nav {
    gap:20px;
  }
  .header-actions {
    gap:12px;
  }
  .hero {
    gap:40px;
  }
  .hero-actions {
    gap:18px;
  }
  .button {
    gap:16px;
  }
  .feature-grid {
    gap:24px;
  }
  .example-grid {
    gap:14px;
  }
  .example-card {
    padding:18px;
  }
  .questions {
    gap:50px;
  }
  .mini-model span {
    min-width:27px;
    padding-inline:4px;
  }
  .mini-model i {
    padding:0 2px;
  }
}

@media(max-width:760px) {
  .wrap {
    padding-inline:22px;
  }
  .site-header {
    height:82px;
    gap:12px;
  }
  .site-header .brand img {
    width:140px;
  }
  .site-header nav {
    display:none;
  }
  .header-actions {
    margin-left:auto;
    gap:9px;
  }
  .button-small {
    padding:8px 11px;
    gap:10px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:28px;
    padding-top:42px;
    padding-bottom:44px;
  }
  h1 {
    font-size:clamp(40px,8.6vw,62px);
    letter-spacing:-2.2px;
    margin-top:20px;
  }
  .hero-copy {
    padding-top:0;
    max-width:520px;
  }
  .hero-copy .intro {
    font-size:20px;
    margin-bottom:8px;
  }
  .hero-copy>p {
    font-size:15px;
  }
  .hero-actions {
    margin-top:23px;
  }
  .preview-label {
    display:none;
  }
  .preview-heading {
    font-size:9px;
    letter-spacing:1.2px;
  }
  .preview-caption {
    font-size:10px;
    gap:12px;
  }
  .section {
    padding-top:70px;
    padding-bottom:65px;
  }
  .feature-grid,.example-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .feature-grid {
    margin-top:34px;
  }
  .feature-grid h3 {
    margin-top:18px;
  }
  .feature-detail {
    margin-top:14px;
  }
  .examples-heading {
    display:block;
  }
  .examples-heading>p {
    margin-top:16px;
  }
  .example-card {
    padding:24px;
  }
  .example-grid {
    margin-top:30px;
  }
  .mini-model {
    height:100px;
  }
  .mini-model span {
    min-width:44px;
    padding-inline:10px;
  }
  .mini-model i {
    padding:0 8px;
  }
  .questions {
    grid-template-columns:1fr;
    gap:35px;
  }
  .closing {
    padding-block:45px;
  }
  .closing h2 {
    font-size:28px;
  }
  .closing .button {
    padding-inline:16px;
    font-size:13px;
    white-space:nowrap;
  }
  .site-footer {
    flex-wrap:wrap;
    gap:18px;
    padding-block:30px;
    min-height:120px;
  }
  .site-footer .brand img {
    width:118px;
  }
  .site-footer p {
    order:3;
    width:100%;
    font-size:10px;
  }
  .site-footer>a:last-child {
    margin-left:auto;
  }
  .faq-list summary {
    font-size:15px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
  }
}
