:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5b6967;
  --line: #d4ddd9;
  --paper: #f8fbf9;
  --panel: #ffffff;
  --green: #1f6b55;
  --blue: #275b86;
  --rose: #9b4052;
  --gold: #b6792b;
  --shadow: 0 18px 42px rgba(26, 41, 38, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: center;
  padding: 36px 0 24px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.button-row,
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary,
.secondary,
button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.secondary,
button {
  background: #fff;
  color: var(--ink);
}

.disabled {
  opacity: 0.62;
}

.watch-preview {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: #10201e;
  color: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.screen-row {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.screen-row span {
  color: #cbd8d3;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.screen-row strong {
  font-size: 24px;
}

.screen-row em {
  color: #e6efeb;
  font-style: normal;
  line-height: 1.45;
}

.screen-row.muted {
  border-left-color: var(--blue);
}

.screen-row.accent {
  border-left-color: var(--rose);
}

.offer-strip,
.ops-strip,
.intent-strip {
  border-block: 1px solid var(--line);
  padding: 26px 0;
  margin: 0 0 26px;
}

.offer-strip {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.offer-strip h2,
.intent-strip h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.offer-strip p,
.ops-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  box-shadow: var(--shadow);
}

.controls {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.output {
  display: grid;
  gap: 16px;
}

.output-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.output h2,
.output h3 {
  margin: 0;
}

.output article {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #20302d;
  line-height: 1.55;
  font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fineprint {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.fineprint a {
  margin-left: 10px;
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.ops-strip article {
  padding-right: 12px;
}

.offer-pill {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--rose);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.ops-strip h3 {
  margin: 0 0 8px;
}

.intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intent-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 800;
}

.legal {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  line-height: 1.7;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.seo-page .button-row {
  margin: 20px 0 28px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.seo-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

@media (max-width: 840px) {
  .hero,
  .grid,
  .ops-strip,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .controls {
    position: static;
  }

  .offer-strip,
  .output-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

