:root {
  color-scheme: light;
  --ink: #1d2341;
  --muted: #555d78;
  --purple: #5141a8;
  --purple-dark: #38277e;
  --lavender: #dedcff;
  --paper: #f8f8fc;
  --line: #d9dbe8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #c4bcff; color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #6b55d3; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.topbar { background: var(--white); }
.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .9rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--purple); }
.nav-links .nav-cta { padding: 12px 18px; border: 1px solid #b9b8cb; border-radius: 6px; }
.nav-links .nav-cta:hover { border-color: var(--purple); }

.hero { background: var(--lavender); overflow: hidden; }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; padding-block: 82px 92px; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(3.65rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.hero h1 span { color: var(--purple); }
.hero-copy > p { max-width: 490px; margin: 27px 0 0; color: #41466a; font-size: 1.1rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; border-radius: 6px; background: var(--purple-dark); color: white; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: #24165e; transform: translateY(-2px); }
.text-link { font-size: .92rem; font-weight: 700; }
.arrow { font-size: 1.15em; line-height: 1; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 38px; color: #4a4b70; font-size: .81rem; font-weight: 700; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5b49b2; }

.illustration { position: relative; min-width: 0; padding: 48px 0 45px 20px; }
.illustration::before { content: ""; position: absolute; width: 390px; height: 390px; right: -80px; top: 5px; border: 1px solid rgba(81,65,168,.23); border-radius: 50%; }
.illustration::after { content: ""; position: absolute; width: 390px; height: 390px; right: -40px; top: 45px; border: 1px solid rgba(81,65,168,.23); border-radius: 50%; }
.code-window { position: relative; z-index: 1; overflow: hidden; border: 1px solid #555577; border-radius: 10px; background: #252640; box-shadow: 0 24px 55px rgba(49, 39, 101, .2); transform: rotate(-2deg); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 47px; padding: 0 18px; border-bottom: 1px solid #44445e; color: #c5c6db; font: .75rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #a6a4be; }
.dot:first-child { background: #f6a99b; }
.dot:nth-child(2) { background: #e6cc8b; }
.dot:nth-child(3) { background: #a8d7b6; }
.filename { margin-left: auto; }
pre { margin: 0; overflow-x: auto; }
.code-window pre { padding: 31px 28px 36px; color: #e8e8f4; font: .84rem/2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-purple { color: #c7b5ff; }
.code-green { color: #b7e5cd; }
.code-blue { color: #a9d8fa; }
.code-comment { color: #a9abc7; }
.code-caption { position: absolute; right: -4px; bottom: 10px; z-index: 2; padding: 14px 18px; background: #f9f8ff; border: 1px solid #c8c3ed; border-radius: 6px; color: #393267; font-size: .8rem; font-weight: 700; box-shadow: 0 12px 24px rgba(49,39,101,.12); }

.intro { padding: 104px 0 100px; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 11%; align-items: start; }
h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.intro-copy > p { margin: 3px 0 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.features { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.feature { border-top: 2px solid #a69bdf; padding-top: 25px; }
.feature-icon { display: block; margin-bottom: 23px; color: var(--purple); }
.feature-icon svg { display: block; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }

.start { background: #292b4a; color: white; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11%; align-items: center; padding-block: 86px; }
.start h2 { max-width: 500px; }
.start p { max-width: 480px; color: #d1d2e3; line-height: 1.7; }
.start .button { margin-top: 14px; background: #ddd9ff; color: #29245c; }
.start .button:hover { background: white; }
.terminal { border: 1px solid #5b5c78; border-radius: 8px; background: #202139; }
.terminal-title { padding: 16px 21px; border-bottom: 1px solid #484a66; color: #d3d4e4; font-size: .8rem; }
.terminal pre { padding: 24px 21px; color: #f3f2ff; font: .85rem/2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.terminal pre span { color: #b9acf8; }
.terminal-foot { padding: 0 21px 20px; color: #c5c6dc; font-size: .78rem; line-height: 1.5; }
footer { padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-copy { color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; gap: 24px; font-size: .85rem; font-weight: 700; }
@media (max-width: 800px) {
  .wrap { width: min(100% - 40px, 620px); }
  .nav { min-height: 72px; }
  .nav-links { gap: 16px; }
  .nav-links .nav-feature { display: none; }
  .hero-grid, .intro-grid, .start-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding-block: 70px 55px; }
  .hero h1 { font-size: clamp(3.3rem, 11vw, 5rem); }
  .illustration { max-width: 540px; padding-left: 0; }
  .intro { padding-block: 75px; }
  .features { margin-top: 48px; gap: 26px; }
  .start-grid { padding-block: 70px; }
}
@media (max-width: 560px) {
  .brand img { width: 110px; }
  .nav { gap: 10px; }
  .nav-links { gap: 12px; font-size: .82rem; }
  .nav-links .nav-cta { padding: 10px 12px; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4rem); }
  .hero-copy > p { font-size: 1rem; }
  .code-window pre { padding: 22px 18px 27px; font-size: .72rem; }
  .code-caption { right: 0; font-size: .72rem; }
  .features { grid-template-columns: 1fr; }
  .feature { padding-top: 20px; }
  .feature-icon { margin-bottom: 14px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .brand img { width: 80px; }
  .nav { gap: 10px; }
  .nav-links { gap: 8px; }
  .nav-links .nav-cta { padding-inline: 9px; }
  .hero h1 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
