:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #171a25;
  --muted: #515360;
  --blue: #243cff;
  --blue-dark: #1729c7;
  --line: #d8d7ce;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.shell { width: min(1200px, calc(100% - 100px)); margin-inline: auto; }
.top, .foot { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; font-size: 22px; letter-spacing: -.06em; }
.mark { display: inline-grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; color: white; background: var(--blue); font-size: 20px; line-height: 1; }
.top nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 42px); font-size: 14px; font-weight: 650; }
.top nav a:hover, .foot a:hover { color: var(--blue-dark); }
.nav-brief { border: 1px solid var(--line); border-radius: 4px; padding: 11px 14px; }
.nav-brief span { margin-left: 10px; }

.hero { min-height: 565px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(30px, 6vw, 96px); padding-block: 66px 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--blue-dark); font-size: 12px; font-weight: 750; letter-spacing: .10em; text-transform: uppercase; }
.eyebrow span { width: 9px; height: 9px; background: var(--blue); border-radius: 50%; }
h1, h2, h3, p, figure { margin: 0; }
h1 { max-width: 9em; font-size: clamp(50px, 6.75vw, 100px); line-height: .98; letter-spacing: -.085em; font-weight: 760; }
h1 em { display: inline-block; color: var(--blue); font-style: normal; }
.lead { max-width: 420px; margin-block: 28px 27px; color: var(--muted); font-size: clamp(16px, 1.65vw, 19px); line-height: 1.55; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; min-height: 52px; padding: 13px 17px; border: 1px solid transparent; border-radius: 4px; color: white; background: var(--blue); font-weight: 700; }
.action:hover { background: var(--blue-dark); }
.action span { font-size: 21px; line-height: 1; }

.preview { position: relative; display: grid; place-items: center; min-height: 390px; isolation: isolate; overflow: hidden; background: var(--blue); color: white; border-radius: 8px; }
.preview-grid { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#cad1ff42 1px, transparent 1px), linear-gradient(90deg, #cad1ff42 1px, transparent 1px); background-size: 29px 29px; mask-image: radial-gradient(ellipse, #000 40%, transparent 100%); }
.mock { width: 70%; max-width: 345px; min-width: 0; padding: 13px; background: #f9f8f1; border: 1px solid #0e1d9b; border-radius: 5px; color: var(--ink); transform: rotate(-6deg) translateY(-7px); box-shadow: 18px 18px 0 #1628bf; }
.mock-head { display: flex; justify-content: space-between; align-items: center; min-height: 36px; padding-inline: 5px; font-size: 9px; font-weight: 780; letter-spacing: .08em; }
.mock-head span:last-child { color: var(--blue); font-size: 19px; }
.mock-hero { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 18px; min-height: 150px; background: #dce2ff; }
.mock-hero span, .mock-row span, .preview figcaption { font-family: 'IBM Plex Mono', Consolas, monospace; font-size: 10px; letter-spacing: .04em; }
.mock-hero b { font-size: clamp(21px, 3.3vw, 39px); line-height: .98; letter-spacing: -.07em; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding-top: 7px; }
.mock-row span { display: grid; place-items: center; min-height: 54px; padding-inline: 3px; text-align: center; border: 1px solid var(--line); }
.preview figcaption { position: absolute; left: 17px; right: 17px; bottom: 13px; display: flex; justify-content: space-between; color: white; }

.formats { background: #ecece4; border-block: 1px solid var(--line); padding-block: 57px 62px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.075em; }
.section-head p, .brief > div p { color: var(--muted); line-height: 1.55; }
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.format-grid article { display: flex; flex-direction: column; align-items: flex-start; min-height: 236px; padding: clamp(17px, 2.5vw, 30px); border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.format-symbol { color: var(--blue); font: 29px/1 'Segoe UI Symbol', sans-serif; margin-bottom: 17px; }
h3 { font-size: 25px; letter-spacing: -.055em; }
.format-grid p { margin-block: 8px 17px; max-width: 280px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.format-button { margin-top: auto; padding: 5px 0 2px; border: 0; border-bottom: 1px solid currentColor; color: var(--blue-dark); background: none; font-size: 13px; font-weight: 730; text-align: left; }
.format-button:hover { color: var(--ink); }
.format-button span { margin-inline-start: 4px; }

.brief { display: grid; grid-template-columns: 1fr minmax(0, 1.15fr); gap: clamp(30px, 8vw, 120px); padding-block: 82px; }
.brief > div p { max-width: 390px; margin-top: 17px; }
.brief form { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); background: #fffefa; border-radius: 6px; }
.brief label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 710; }
.brief input, .brief textarea, .brief select { display: block; width: 100%; padding: 11px; border: 1px solid #a7a8b1; border-radius: 4px; background: white; color: var(--ink); }
.brief input, .brief textarea { margin-bottom: 17px; }
.brief textarea { resize: vertical; }
.suggestion { margin-block: 8px 17px; color: var(--blue-dark); font-size: 13px; line-height: 1.5; }
.form-status { min-height: 1lh; margin-top: 8px; font-size: 13px; color: var(--muted); }
.foot { border-top: 1px solid var(--line); }
.foot > a:last-child { font-size: 14px; font-weight: 650; }

@media (max-width: 850px) {
  .shell { width: min(100% - 40px, 700px); }
  .hero { min-height: auto; gap: 28px; }
  .preview { min-height: 310px; }
  .mock { width: 76%; }
  .mock-hero { min-height: 122px; padding: 12px; }
  .mock-row span { font-size: 8px; }
}

@media (max-width: 630px) {
  .hero, .brief { grid-template-columns: 1fr; }
  .hero { padding-block: 43px 44px; }
  .top { min-height: 68px; }
  .preview { min-height: 300px; }
  .mock { width: 63%; }
  .section-head { align-items: start; flex-direction: column; gap: 9px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-grid article { min-height: auto; }
  .formats, .brief { padding-block: 42px; }
}

@media (max-width: 365px) {
  .shell { width: calc(100% - 28px); }
  .top nav { gap: 9px; }
  .nav-brief { padding: 8px; }
  .nav-brief span { margin-left: 3px; }
  .brand { font-size: 19px; gap: 6px; }
  .mark { width: 27px; height: 27px; }
  h1 { font-size: 44px; }
}
