:root {
  color-scheme: dark;
  --bg: #07100d;
  --surface: #0c1914;
  --surface-2: #10231b;
  --line: #244137;
  --ink: #f2f6f3;
  --muted: #9dacA5;
  --mint: #86f7c1;
  --mint-dark: #092c20;
  --orange: #dba36b;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
code { color: var(--mint); background: #08120f; border: 1px solid var(--line); border-radius: 6px; padding: .12rem .35rem; overflow-wrap: anywhere; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 16px; padding: 10px 16px; background: var(--mint); color: #07100d; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; z-index: 20; top: 0; height: 72px; display: flex; align-items: center; gap: 36px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: rgba(7,16,13,.86); border-bottom: 1px solid rgba(134,247,193,.15); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; text-decoration: none; }
.brand > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #4b7867; border-radius: 10px; background: #133126; color: var(--mint); font-family: ui-monospace, monospace; }
.brand small { color: var(--muted); font-weight: 500; }
.site-header nav { display: flex; gap: 24px; margin-right: auto; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--mint); border-radius: 11px; background: var(--mint); color: #06130e; font-weight: 750; text-decoration: none; box-shadow: 0 12px 32px rgba(84,221,156,.12); }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button.compact { min-height: 38px; padding: 0 15px; font-size: 13px; }
.button.ghost { border-color: var(--line); background: transparent; color: var(--ink); box-shadow: none; }
main > section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 108px 0; }
.hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; left: -280px; top: 12%; background: rgba(67,214,145,.12); border-radius: 50%; filter: blur(90px); }
.eyebrow { margin: 0 0 12px; color: var(--mint); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6.2vw, 88px); }
h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); }
h3 { margin: 0 0 12px; font-size: 22px; }
.lead { max-width: 720px; margin: 28px 0; color: #bdc9c3; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.microcopy { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 16px var(--mint); }
.hero-card { min-height: 520px; display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 50% 48%, #153c2d 0, var(--surface) 45%, #09130f 100%); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.mini-device, .mini-vps { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; }
.mini-device span { width: 54px; height: 38px; border: 2px solid #698178; border-radius: 7px; position: relative; }
.mini-device.phone span { width: 27px; height: 48px; border-radius: 7px; }
.mini-device span::after { content: ""; position: absolute; width: 18px; height: 2px; background: #698178; bottom: -8px; left: 50%; transform: translateX(-50%); }
.mini-device.phone span::after { bottom: 3px; width: 5px; height: 5px; border-radius: 50%; }
.mini-vps > span { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #4c7d69; border-radius: 22px; background: #173a2d; color: var(--mint); font: 800 32px ui-monospace, monospace; transform: rotate(-5deg); }
.mini-device small, .mini-vps small { color: var(--muted); line-height: 1.25; }
.flow-line { height: 1px; background: linear-gradient(90deg, transparent, var(--mint), transparent); }
.github-pill { grid-column: 1 / -1; align-self: end; justify-self: center; display: flex; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #09130f; font-weight: 750; }
.github-pill span { color: var(--muted); font-weight: 400; }
.concept { border-top: 1px solid var(--line); }
.concept > div:first-child { display: grid; grid-template-columns: .6fr 1.4fr; align-items: end; margin-bottom: 48px; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.concept-grid article { min-height: 240px; padding: 32px; background: var(--surface); }
.concept-grid article + article { border-left: 1px solid var(--line); }
.concept-grid p, .section-heading > p, .explain-card p, .compare li, .database-box p { color: var(--muted); }
.number { display: block; margin-bottom: 50px; color: var(--mint); font: 700 12px ui-monospace, monospace; }
.sot-strip { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.sot-strip strong, .sot-strip b { color: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-heading > p { max-width: 420px; margin: 0; }
.steps { display: grid; gap: 26px; }
.step { padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.screenshot-step { display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; align-items: start; }
.step-copy { display: flex; gap: 22px; }
.step-copy p, .step-copy li { color: var(--muted); }
.step-number { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #4d7d6a; border-radius: 50%; color: var(--mint); font: 700 13px ui-monospace, monospace; }
.inline-link { color: var(--mint); font-weight: 700; overflow-wrap: anywhere; }
.tip, .warning { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--mint); background: rgba(134,247,193,.06); color: var(--muted); }
.warning { border-color: var(--orange); background: rgba(219,163,107,.07); }
figure { margin: 0; }
figure img { width: 100%; border: 1px solid #365448; border-radius: 13px; box-shadow: 0 24px 60px rgba(0,0,0,.32); }
figcaption { margin-top: 11px; color: var(--muted); font-size: 13px; }
.prompt-list { display: grid; gap: 8px; }
.prompt-list button { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #08120f; color: #c8d3ce; text-align: left; cursor: pointer; }
.prompt-list button:hover { border-color: var(--mint); color: var(--ink); }
.copy-note { min-height: 1.2em; margin-bottom: 0; color: var(--mint) !important; font-size: 12px; }
.workflow-section, .deploy-section, .recipes { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: #0b1712; border-block: 1px solid var(--line); }
.workflow { display: grid; grid-template-columns: repeat(11, auto); align-items: center; gap: 12px; }
.workflow > div { min-height: 150px; min-width: 130px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #07100d; }
.workflow > div span { color: var(--mint); font: 700 12px ui-monospace, monospace; }
.workflow > div small { color: var(--muted); line-height: 1.3; }
.workflow > i { color: #526c61; font-style: normal; }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.explain-card { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #07100d; }
.explain-card p:last-child { margin-bottom: 0; }
.github-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.numbered-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.numbered-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.numbered-list li > span { flex: 0 0 auto; color: var(--mint); font: 700 13px ui-monospace, monospace; }
.numbered-list p { margin: 6px 0 0; color: var(--muted); }
.sticky-figure { align-self: start; position: sticky; top: 96px; }
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.compare article { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #07100d; }
.compare .icon { float: right; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px; color: var(--mint); font-size: 20px; }
.compare li { margin-bottom: 8px; }
.database-box { margin-top: 20px; padding: 36px; border: 1px solid #3f6d5a; border-radius: 18px; background: linear-gradient(140deg, #10291f, #09140f); }
.database-box > div:first-child { max-width: 760px; }
.db-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
.db-options > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,12,9,.5); }
.db-options strong, .db-options span { display: block; }
.db-options span { color: var(--mint); font-size: 12px; }
.db-options p { margin-bottom: 0; font-size: 13px; }
.prompt-callout { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 20px; align-items: center; }
.prompt-callout span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.prompt-callout code { padding: 12px 14px; }
.mobile-gallery { display: grid; grid-template-columns: .7fr .7fr 1fr; gap: 30px; align-items: start; }
.mobile-gallery figure { max-width: 390px; }
.mobile-tips { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.mobile-tips li { margin-bottom: 12px; color: var(--muted); }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.recipe-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #07100d; }
.recipe-grid span { color: var(--mint); font: 700 12px ui-monospace, monospace; text-transform: uppercase; }
.recipe-grid p { margin-bottom: 0; color: #c2cec8; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 4px; cursor: pointer; font-weight: 720; font-size: 18px; }
.faq details p { max-width: 850px; margin: -6px 0 22px; color: var(--muted); }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 80px; padding: 54px !important; border: 1px solid #4b8069; border-radius: 22px; background: linear-gradient(130deg, #123326, #091510); }
.final-cta h2 { max-width: 780px; font-size: clamp(32px, 4vw, 52px); }
.final-cta p:not(.eyebrow) { color: var(--muted); }
footer { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer span:first-child { color: var(--ink); font-weight: 800; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .site-header .brand { margin-right: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-card { min-height: 380px; }
  .concept > div:first-child, .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .screenshot-step, .github-grid { grid-template-columns: 1fr; }
  .sticky-figure { position: static; }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .workflow > i { display: none; }
  .db-options { grid-template-columns: repeat(2, 1fr); }
  .mobile-gallery { grid-template-columns: repeat(2, 1fr); }
  .mobile-tips { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { height: 62px; padding-inline: 14px; }
  .brand small { display: none; }
  .button.compact { width: 38px; padding: 0; font-size: 0; }
  .button.compact span { font-size: 16px; }
  main > section { width: min(100% - 28px, var(--max)); padding: 72px 0; }
  .hero { min-height: auto; gap: 48px; }
  .hero-card { min-height: 330px; grid-template-columns: 1fr 18px 1fr 18px 1fr; padding: 20px 12px; }
  .mini-device strong, .mini-vps strong { font-size: 12px; }
  .mini-device small, .mini-vps small { display: none; }
  .mini-vps > span { width: 58px; height: 58px; }
  .github-pill { font-size: 12px; }
  .github-pill span { display: none; }
  .concept-grid, .two-column, .compare, .recipe-grid, .mobile-gallery { grid-template-columns: 1fr; }
  .concept-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .sot-strip { display: grid; }
  .step { padding: 24px 18px; }
  .step-copy { gap: 12px; }
  .screenshot-step { gap: 24px; }
  .workflow-section, .deploy-section, .recipes { padding-left: 14px; padding-right: 14px; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow > div { min-width: 0; min-height: 130px; }
  .db-options { grid-template-columns: 1fr; }
  .database-box { padding: 24px 18px; }
  .prompt-callout { grid-template-columns: 1fr; }
  .mobile-gallery figure { max-width: none; }
  .final-cta { width: calc(100% - 28px); flex-direction: column; align-items: stretch; padding: 30px 22px !important; }
  footer { flex-direction: column; align-items: flex-start; }
}

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