:root {
  color-scheme: dark;
  --background: #080d17;
  --panel: #101b29;
  --line: #2a3b4d;
  --text: #edf5ff;
  --muted: #b4c2d3;
  --mint: #97efcc;
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: var(--mint); text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header, .site-footer { border-block-end: 1px solid var(--line); }
.site-header nav, .site-footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 72px; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: .8rem; font-weight: 750; letter-spacing: .12em; }

.hero, .request { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 86px); align-items: center; }
.hero { padding-block: clamp(38px, 7vw, 94px) 60px; }
.back { font-size: .9rem; }
h1 { font-size: clamp(3.5rem, 8vw, 6.8rem); line-height: .94; letter-spacing: -.085em; margin: 26px 0; }
h1 em { font-style: normal; color: var(--mint); }
h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.035em; line-height: 1.15; }
p { line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.lede { max-width: 29rem; font-size: clamp(1.06rem, 2vw, 1.28rem); margin-bottom: 24px; }
.note { font-size: .89rem; margin-block: 12px 0; }
.note strong { color: var(--text); }
.offer {
  border: 1px solid #385b61;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  background: radial-gradient(ellipse at top right, #163c3d, transparent 76%), var(--panel);
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 20px; border-bottom: 1px solid #40585f; margin-bottom: 22px; }
.price strong { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--mint); letter-spacing: -.065em; line-height: 1; }
.offer h2 { font-size: 1.3rem; }
.offer ul { margin-block: 12px; padding-left: 1.1rem; line-height: 1.8; }
.offer li::marker { color: var(--mint); }

.button, .secondary {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  padding: 11px 16px; min-height: 46px; border-radius: 9px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button { background: var(--mint); color: #092c26; border: 1px solid var(--mint); }
.button:hover { background: #c1f9e5; }
.secondary { background: transparent; color: var(--mint); border: 1px solid #4b6b71; }
.secondary:hover { background: #1a303b; border-color: var(--mint); }
.journey { border-block: 1px solid var(--line); padding-block: 30px 34px; }
.journey ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 22px 0 0; padding-left: 1.4rem; }
.journey li { padding-left: .16rem; }
.journey li::marker { color: var(--mint); font-weight: 750; }
.journey span { display: block; margin-top: 6px; color: var(--muted); font-size: .91rem; line-height: 1.5; }

.request { padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.request > div:first-child { max-width: 420px; }
.brief-panel { padding: clamp(19px, 3vw, 28px); border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
label { display: block; margin-bottom: 6px; font-weight: 650; }
label span { font-size: .8rem; color: var(--muted); font-weight: 400; }
input, textarea { color: var(--text); font: inherit; width: 100%; border-radius: 8px; border: 1px solid #53677d; background: #0b1320; padding: 10px 12px; margin-bottom: 14px; }
textarea { resize: vertical; }
::placeholder { color: #a1b2c7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.email-fallback { margin: 14px 0 0; overflow-wrap: anywhere; }
.brief-panel:has(form[hidden]) .email-fallback { margin: 0; }
#brief-status { margin: 12px 0 8px; color: var(--mint); }
#brief-preview { margin: 0; }

.invoice {
  padding: clamp(22px, 4vw, 40px);
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.invoice p { max-width: 63ch; }
.invoice .secondary { flex-shrink: 0; }
.site-footer { border-block: 1px solid var(--line) 0; font-size: .9rem; }
:target { scroll-margin-top: 20px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 1120px); }
  .hero, .request { grid-template-columns: 1fr; }
  .hero { padding-bottom: 38px; }
  .journey ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .journey ol { grid-template-columns: 1fr; }
}

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