:root {
  color-scheme: light;
  --ink: #141c34;
  --muted: #4f5c76;
  --blue: #254bdc;
  --line: #e1e6f1;
  --paper: #f7f8fc;
  font: 100%/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #627fff; outline-offset: 4px; }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-200%); padding: .7rem; background: white; z-index: 2; }
.skip:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.nav-bar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-bar { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 1.65rem; }
nav a, .footer > a:last-child { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, .footer > a:last-child:hover { color: var(--blue); }
.nav-cta { border: 1px solid var(--line); border-radius: .5rem; padding: .48rem .8rem; }

.hero { background: radial-gradient(ellipse at 50% 38%, #e4ebff 0, transparent 61%), linear-gradient(#f8faff, var(--paper)); padding: 4.5rem 0 0; }
.hero-content { text-align: center; }
.platform { display: inline-flex; align-items: center; gap: .5rem; margin: 0; background: #fff; border: 1px solid #dfe5f7; color: #334374; border-radius: 5rem; padding: .33rem .75rem; font-size: .875rem; font-weight: 650; }
.windows-mark { display: grid; grid-template-columns: repeat(2, .38rem); gap: .1rem; }
.windows-mark i { height: .38rem; background: var(--blue); }
h1, h2, h3, p { margin-block-start: 0; }
h1 { font-size: clamp(2.9rem, 7.6vw, 5.6rem); line-height: .98; letter-spacing: -.075em; margin: 1.1rem 0 1.4rem; font-weight: 780; }
h1 em { color: var(--blue); font-style: normal; }
.hero-description { max-width: 34rem; margin: 0 auto; font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem; margin-top: 1.65rem; }
.store-badge { display: inline-block; border-radius: .55rem; }
.store-badge img { display: block; width: auto; height: 3rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .68rem 1.12rem; border: 1px solid transparent; border-radius: .55rem; text-decoration: none; font-weight: 700; }
.primary { color: white; background: var(--blue); box-shadow: 0 4px 9px #254bdc2e; }
.primary:hover { background: #1c38b1; }
.secondary { color: var(--ink); background: #fff; border-color: #d7dff3; }
.secondary:hover { background: #f4f7ff; border-color: #aab9e8; }

.app-preview { max-width: 62rem; margin: 3.15rem auto 0; scroll-margin-top: 1.25rem; }
.overview-preview { max-width: 55rem; margin: 2rem auto 0; }
.theme-screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.screenshot { display: block; text-decoration: none; overflow: hidden; border: 1px solid #d5ddef; border-radius: .85rem; background: #fff; box-shadow: 0 24px 55px -26px #192b718a; }
.screenshot img { display: block; width: 100%; height: auto; }
code { font-family: "Cascadia Mono", Consolas, monospace; }

.screenshot-theme { display: block; border-top: 1px solid var(--line); padding: .6rem .75rem; color: var(--ink); font-size: .9rem; font-weight: 650; text-align: center; }
.screenshot:hover .screenshot-theme { color: var(--blue); text-decoration: underline; }
figcaption { margin: .85rem 0 0; text-align: center; color: var(--muted); font-size: .875rem; }

.workflow { padding-block: 5.4rem 4.25rem; scroll-margin-top: 1rem; }
.section-intro { max-width: 38rem; margin-bottom: 1.75rem; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .11em; color: #344fbd; margin-bottom: .5rem; }
.section-intro h2, .next h2 { margin-bottom: .65rem; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.055em; }
.section-intro > p:last-child, article p, .next p:last-child { color: var(--muted); margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .95rem; }
article { padding: 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: .8rem; }
article h3 { margin: .8rem 0 .35rem; letter-spacing: -.025em; font-size: 1.22rem; }
.feature-icon { display: grid; width: 2.6rem; aspect-ratio: 1; place-items: center; border-radius: .6rem; font-size: 1.35rem; font-weight: 700; }
.write-icon { background: #e9eeff; color: #244acb; }
.review-icon { background: #def5ed; color: #17664e; }
.handoff-icon { background: #f1eaff; color: #6741aa; }
article code { color: #333f79; }
.spec-structure { padding-bottom: 4.25rem; scroll-margin-top: 1rem; }
.spec-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.spec-section-grid h3 { margin-top: 0; }
.spec-section-grid ul { margin-bottom: 0; padding-left: 1.3rem; color: var(--muted); }
.spec-section-grid li + li { margin-top: .24rem; }
.ai-assistance { margin-top: .95rem; padding: 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: .8rem; }
.ai-assistance h3 { margin-bottom: .35rem; font-size: 1.22rem; letter-spacing: -.025em; }
.ai-assistance p { max-width: 46rem; margin-bottom: 0; color: var(--muted); }
.next { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.2rem, 4vw, 2.75rem); border: 1px solid #d6e0ff; background: #eaf0ff; border-radius: .9rem; }
.next > div { max-width: 38rem; }
.next .button { flex: none; }
.footer { padding-block: 2rem; color: var(--muted); }
.footer .brand { color: var(--ink); }

@media (max-width: 44rem) {
  .shell { width: calc(100% - 2rem); }
  .hero { padding-top: 3.15rem; }
  .wide-break { display: none; }
  .app-preview { margin-top: 2.35rem; }
  .workflow { padding-block: 3.75rem 2.7rem; }
  .feature-grid, .spec-section-grid { grid-template-columns: 1fr; }
  .spec-structure { padding-bottom: 2.7rem; }
  .next { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 38rem) { .theme-screenshots { grid-template-columns: 1fr; } }

@media (max-width: 27rem) { nav > a:not(.nav-cta) { display: none; } }

@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
