:root {
  color-scheme: light;
  --ink: #171a21;
  --muted: #5d6472;
  --surface: #f7f4ee;
  --surface-strong: #ffffff;
  --surface-muted: #edf2f5;
  --line: #d7d4cc;
  --navy: #213f63;
  --navy-strong: #17304f;
  --red: #8f3032;
  --gold: #b58a3b;
  --code: #101820;
  --shadow: 0 20px 44px rgba(31, 36, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
footer a,
.text-link {
  text-underline-offset: 0.22em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 4rem);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4rem) 2.75rem;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.9rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 14ch;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lede {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.6rem;
}

.button,
.copy-button {
  min-height: 2.9rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.05rem;
}

.small-button {
  min-height: 2.7rem;
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.primary:hover {
  background: var(--navy-strong);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button:focus-visible,
.copy-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(181, 138, 59, 0.55);
  outline-offset: 3px;
}

.trust-note {
  max-width: 39rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.band,
.install {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.band {
  border-block: 1px solid var(--line);
  background: var(--surface-strong);
}

.compact {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(13rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  max-width: 78rem;
  margin: 0 auto 2rem;
}

.section-heading > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.step-grid,
.prompt-grid {
  display: grid;
  max-width: 78rem;
  margin: 0 auto;
  gap: 1rem;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid article {
  min-height: 13rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.step-number {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--navy);
  font-weight: 850;
}

.step-grid p,
.copy-panel p {
  color: var(--muted);
}

.cta-row {
  max-width: 78rem;
  margin-inline: auto;
}

.text-link {
  color: var(--navy);
  font-weight: 750;
}

.copy-panel {
  max-width: 78rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 8px 28px rgba(31, 36, 44, 0.08);
}

.feature-copy {
  margin: 0 auto;
}

.copy-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.copy-panel-header h3,
.copy-panel-header p {
  margin-bottom: 0;
}

.panel-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.copy-button {
  min-width: 5.5rem;
  padding: 0 0.9rem;
  background: var(--surface-muted);
  color: var(--navy-strong);
}

.copy-button.copied {
  background: var(--navy);
  color: #fff;
}

pre {
  min-height: 100%;
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  background: var(--code);
  color: #f5fbff;
  white-space: pre-wrap;
}

code {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace,
    monospace;
  font-size: 0.92rem;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 78rem;
  margin: 0 auto;
}

.details div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.prompt-grid {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-note {
  max-width: 78rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .section-heading,
  .step-grid,
  .details,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 650px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 2.25rem;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.1rem);
  }

  .copy-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-actions {
    width: 100%;
  }

  .panel-actions .button {
    flex: 1 1 11rem;
  }

  .copy-button,
  .button {
    width: 100%;
  }
}
