:root {
  --blue-950: #082f49;
  --blue-900: #123f60;
  --blue-800: #234f73;
  --blue-700: #315f85;
  --blue-600: #46739a;
  --ink: #f1f7fc;
  --ink-soft: #c8d8e7;
  --ink-muted: #9fb6ca;
  --orange: #ef8454;
  --orange-light: #ffb189;
  --green: #90d2a3;
  --panel: rgba(5, 39, 61, 0.76);
  --rule: rgba(235, 244, 252, 0.18);
  --shadow: 0 18px 45px rgba(2, 21, 34, 0.28);
  --shell: min(1060px, calc(100% - 38px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% 8%, rgba(119, 163, 196, 0.22), transparent 32rem),
    radial-gradient(circle at 84% 35%, rgba(71, 122, 160, 0.23), transparent 31rem),
    linear-gradient(128deg, var(--blue-800), #214b6d 48%, #2d597c);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.025) 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0,0,0,0.018) 6px);
  mix-blend-mode: soft-light;
}

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

.shell { width: var(--shell); margin-inline: auto; position: relative; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .65rem 1rem;
  background: #fff;
  color: #173f5b;
}
.skip-link:focus { top: 1rem; }

.site-header { padding-top: 1.4rem; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-style: italic;
  letter-spacing: .01em;
  text-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.wordmark-seal {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  font-size: .8rem;
  font-family: Georgia, serif;
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: rgba(4, 42, 66, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.site-nav a {
  padding: .28rem .9rem;
  color: #eaf5fc;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  border-right: 1px solid rgba(255,255,255,.15);
}
.site-nav a:last-child { border-right: 0; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--orange-light); }
.menu-button { display: none; }

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.4rem;
  border: 2px solid var(--orange);
}
.product-strip a {
  padding: .72rem 1.05rem .62rem;
  border-right: 2px solid var(--orange);
  text-decoration: none;
  transition: background .2s ease;
}
.product-strip a:last-child { border-right: 0; }
.product-strip a:hover, .product-strip a:focus-visible, .product-strip .active { background: rgba(255,255,255,.08); }
.product-strip strong { display: block; font-size: 1.38rem; line-height: 1.1; }
.product-strip span { display: block; color: #c3d8e8; font-size: .72rem; margin-top: .18rem; }

.hero {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(2rem, 5vw, 4.7rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--orange-light);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.35rem;
  max-width: 700px;
  font-size: clamp(2.55rem, 5.1vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; line-height: 1.3; }

.lede { max-width: 650px; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.17rem); }
.fine-print { color: var(--ink-muted); font-size: .76rem; max-width: 610px; margin: 1rem 0 0; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .68rem 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: #183d57; border-color: #ff9d70; }
.button.primary:hover, .button.primary:focus-visible { background: #ff9d70; }
.button.secondary { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.035); }
.button.secondary:hover, .button.secondary:focus-visible { background: rgba(255,255,255,.11); }

.solve-panel {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(5, 37, 57, .79);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.panel-bar { display: flex; justify-content: space-between; padding: .62rem .8rem; color: #a9c1d4; font-size: .7rem; border-bottom: 1px solid var(--rule); }
.status { color: #b9dfc3; }
.status i { display: inline-block; width: .45rem; height: .45rem; margin-right: .35rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(144,210,163,.13); }
.prompt-card { padding: 1rem; border-bottom: 1px solid var(--rule); }
.prompt-label { display: block; color: var(--orange-light); font-size: .65rem; font-weight: 800; letter-spacing: .14em; margin-bottom: .4rem; }
.prompt-card p { margin: 0; color: #eef6fb; font-size: .82rem; line-height: 1.55; }
.run-sequence { list-style: none; margin: 0; padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
.run-sequence li { display: flex; align-items: center; gap: .65rem; padding: .26rem 0; color: #bcd0df; font-size: .75rem; }
.run-sequence span { color: var(--orange); font-family: Consolas, monospace; font-size: .65rem; }
.result-block { padding: 1rem; background: rgba(20, 77, 105, .4); }
.result-kicker { margin: 0; color: #9cc9dc; font-size: .62rem; letter-spacing: .14em; }
.result-number { margin: .05rem 0 .35rem; color: #fff; font-family: Consolas, "Courier New", monospace; font-size: clamp(2.2rem, 5vw, 3.25rem); line-height: 1.1; }
.result-number span { color: var(--orange-light); font-size: .42em; }
.result-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: #add4ba; font-family: Consolas, monospace; font-size: .68rem; }

.section { padding-block: clamp(4.2rem, 8vw, 7rem); }
.section-dark { background: rgba(4, 34, 53, .55); border-block: 1px solid rgba(255,255,255,.09); }
.section-heading { max-width: 740px; margin-bottom: 2.4rem; }
.section-heading > p:last-child { color: var(--ink-soft); }

.comparison { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.2); }
.comparison-column { padding: clamp(1.4rem, 3vw, 2.4rem); }
.comparison-column:first-child { border-right: 1px solid rgba(255,255,255,.2); }
.comparison-column h3 { margin-bottom: 1.15rem; color: #fff; }
.comparison-column ul { margin: 0; padding: 0; list-style: none; }
.comparison-column li { position: relative; margin: .7rem 0; padding-left: 1.35rem; color: var(--ink-soft); font-size: .9rem; }
.comparison-column li::before { position: absolute; left: 0; top: .1rem; }
.muted-column li::before { content: "—"; color: #83a0b7; }
.skill-column { background: rgba(255,255,255,.04); box-shadow: inset 4px 0 0 var(--orange); }
.skill-column li::before { content: "+"; color: var(--orange-light); font-weight: 800; }

.workflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: .65rem; margin-top: 2.5rem; }
.workflow-step { padding: 1.15rem; border-top: 2px solid var(--orange); background: rgba(255,255,255,.045); }
.workflow-step strong { display: block; margin-bottom: .45rem; font-size: 1.15rem; }
.workflow-step span { color: var(--ink-soft); font-size: .76rem; }
.workflow-arrow { align-self: center; color: var(--orange); }

.install-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 1px; list-style: none; background: rgba(255,255,255,.17); }
.install-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); background: rgba(34, 78, 111, .94); }
.install-steps h3 { margin-bottom: .4rem; }
.install-steps p { margin: 0; color: var(--ink-soft); font-size: .84rem; }
.step-number { color: var(--orange); font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; }

.repository-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: .7rem .8rem; border: 1px solid rgba(255,255,255,.22); background: rgba(6, 43, 64, .58); }
.repository-line > span { color: var(--orange-light); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.repository-line code { overflow: hidden; color: #dcebf5; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { padding: .35rem .62rem; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; color: #fff; background: transparent; font: inherit; font-size: .69rem; cursor: pointer; }
.copy-button:hover, .copy-button:focus-visible { color: #153f59; background: var(--orange-light); border-color: var(--orange-light); }

.prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.prompt-example { margin: 0; border-left: 3px solid var(--orange); background: rgba(8, 49, 72, .52); }
.prompt-heading { display: flex; justify-content: space-between; align-items: center; padding: .55rem .7rem; border-bottom: 1px solid var(--rule); color: var(--orange-light); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.prompt-example p { margin: 0; padding: 1rem; color: #e4f0f8; font-size: .78rem; }

.tutorial-section { background: linear-gradient(90deg, rgba(4, 34, 53, .7), rgba(8, 46, 69, .44)); border-block: 1px solid rgba(255,255,255,.1); }
.tutorial-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.video-frame { position: relative; border: 10px solid rgba(6, 27, 40, .92); box-shadow: var(--shadow); }
.video-frame img { display: block; width: 100%; height: auto; }
.play-mark { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 4.2rem; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(4, 31, 48, .66); font-size: 1.35rem; padding-left: .18rem; }
.tutorial-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.chapters { margin: 1.5rem 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.chapters li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .7rem; padding: .54rem 0; border-bottom: 1px solid var(--rule); font-size: .8rem; }
.chapters time { color: var(--orange-light); font-family: Consolas, monospace; }
.text-link { color: var(--orange-light); font-size: .82rem; font-weight: 800; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; }

.requirements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 1px; background: rgba(255,255,255,.17); }
.requirements-grid article { min-height: 205px; padding: 1.35rem; background: rgba(38, 84, 117, .94); }
.requirements-grid h3 { color: var(--orange-light); }
.requirements-grid p { margin: 0; color: var(--ink-soft); font-size: .8rem; }
.requirements-grid code { color: #fff; }

.faq { max-width: 820px; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.21); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.21); }
.faq summary { padding: 1rem .1rem; font-weight: 800; cursor: pointer; }
.faq details p { padding: 0 0 1rem; margin: 0; color: var(--ink-soft); font-size: .86rem; }

.final-cta { background: rgba(6, 38, 57, .75); border-top: 1px solid rgba(255,255,255,.12); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { max-width: 650px; margin-bottom: 0; }
.final-cta .actions { flex: 0 0 auto; margin: 0; }

.site-footer { padding-block: 2.7rem 1rem; color: #b5c8d6; background: #262626; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .9fr; gap: 3rem; }
.footer-brand { color: var(--orange); font-size: 1rem; font-weight: 800; }
.site-footer h2 { margin-bottom: .65rem; color: var(--orange); font-size: .9rem; letter-spacing: 0; }
.site-footer p, .site-footer a { display: block; margin-bottom: .42rem; color: #aebdca; font-size: .74rem; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .65rem; }

.copy-toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 10; max-width: calc(100% - 2rem); padding: .65rem .9rem; transform: translateY(150%); opacity: 0; color: #143d55; background: #eaf5fc; box-shadow: var(--shadow); transition: transform .2s ease, opacity .2s ease; font-size: .78rem; }
.copy-toast.show { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero, .tutorial-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .solve-panel { max-width: 650px; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow-arrow { display: none; }
  .requirements-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .site-header { padding-top: .9rem; }
  .wordmark { font-size: 1.45rem; }
  .wordmark-seal { width: 2rem; }
  .menu-button { display: inline-block; padding: .42rem .68rem; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; color: #fff; background: transparent; font: inherit; font-size: .75rem; }
  .site-nav { position: absolute; z-index: 5; top: calc(100% + .5rem); right: 0; display: none; flex-direction: column; align-items: stretch; min-width: 180px; padding: .35rem; border: 1px solid rgba(255,255,255,.17); border-radius: 2px; }
  .site-nav.open { display: flex; }
  .site-nav a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a:last-child { border-bottom: 0; }
  .product-strip { grid-template-columns: 1fr 1fr; margin-top: 2.4rem; }
  .product-strip a:nth-child(2) { border-right: 0; }
  .product-strip a:nth-child(-n+2) { border-bottom: 2px solid var(--orange); }
  .product-strip strong { font-size: 1.05rem; }
  .hero { padding-block: 3.7rem; }
  .comparison, .install-steps, .prompt-grid { grid-template-columns: 1fr; }
  .comparison-column:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .workflow { grid-template-columns: 1fr; }
  .repository-line { grid-template-columns: 1fr auto; }
  .repository-line > span { grid-column: 1 / -1; }
  .requirements-grid { grid-template-columns: 1fr; }
  .requirements-grid article { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-bottom { flex-direction: column; }
}
