:root {
  color-scheme: dark;
  --stone: #0f1116;
  --paper: #171a22;
  --ink: #ece9e0;
  --ink-soft: #a4a8b4;
  --line: #2a2e3a;
  --cobalt: #4a6dff;
  --cobalt-deep: #7b94ff;
  --field: #1c2029;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cobalt);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cobalt-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--cobalt);
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav .order {
  color: var(--cobalt);
  font-weight: 600;
}

/* Hero */

.hero {
  padding: 88px 0 64px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 15ch;
}

.hero p {
  font-size: 20px;
  max-width: 54ch;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.button {
  display: inline-block;
  background: var(--cobalt);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
}

.button:hover {
  background: var(--cobalt-deep);
  color: #fff;
}

.button.quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  margin-left: 12px;
}

.button.quiet:hover {
  background: var(--ink);
  color: var(--stone);
}

.button.quiet {
  border-color: var(--ink-soft);
}

/* Sections */

section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  line-height: 1.15;
}

.lead {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: -12px 0 32px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 48px;
}

.cols h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.cols p {
  margin: 0;
  color: var(--ink-soft);
}

/* Rate sheet */

.rates {
  background: var(--paper);
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.sheet caption {
  text-align: left;
  color: var(--ink-soft);
  padding: 0 0 12px;
  font-size: 15px;
}

.sheet th,
.sheet td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sheet thead th {
  background: var(--cobalt);
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid var(--cobalt);
}

.sheet tbody tr:last-child td {
  border-bottom: 0;
}

.sheet td.price {
  font-weight: 600;
  white-space: nowrap;
}

.sheet-wrap {
  overflow-x: auto;
}

.fine {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-top: 20px;
}

/* Package comparison */

.pkg thead th {
  vertical-align: top;
  line-height: 1.3;
}

.pkg-meta {
  font-weight: 400;
  font-size: 13px;
  opacity: 0.85;
}

.pkg-price {
  font-size: 22px;
  font-weight: 700;
}

.pkg thead th.popular {
  background: var(--cobalt-deep);
  color: #0f1116;
}

.pkg tr.group td {
  background: var(--stone);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.pkg td.yes {
  color: #5fd38d;
  font-weight: 600;
}

.pkg td.no {
  color: var(--ink-soft);
}

.notice {
  margin-top: 40px;
  border: 1px solid var(--cobalt);
  padding: 22px 24px;
  max-width: 62ch;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.notice p {
  margin: 0;
  color: var(--ink-soft);
}

/* Process (real sequence, so numbered) */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  max-width: 62ch;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
}

.steps li::before {
  content: counter(step);
  font-weight: 700;
  color: var(--cobalt);
  font-size: 22px;
  line-height: 1.2;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* Standards */

.rules {
  columns: 2;
  column-gap: 48px;
  padding-left: 20px;
  margin: 0;
  max-width: 900px;
}

.rules li {
  break-inside: avoid;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

@media (max-width: 680px) {
  .rules {
    columns: 1;
  }
}

/* Team */

.team-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  margin-top: 8px;
}

/* FAQ */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--cobalt);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* CTA band */

.cta {
  background: var(--cobalt);
  color: #fff;
  border-top: 0;
  padding: 72px 0;
}

.cta h2 {
  color: #fff;
  max-width: 20ch;
}

.cta p {
  color: #dfe5ff;
  max-width: 54ch;
  margin: 0 0 28px;
}

.cta .button {
  background: var(--stone);
  color: var(--ink);
}

.cta .button:hover {
  background: #000;
  color: #fff;
}

/* Order page */

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

@media (max-width: 820px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
}

.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px;
}

.form-shell iframe {
  width: 100%;
  min-height: 900px;
  border: 0;
  display: block;
}

.brief {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.brief h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.brief ul {
  padding-left: 20px;
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.brief li {
  margin-bottom: 8px;
}

/* Order form */

.form-shell {
  padding: 28px;
}

.order-form label {
  display: block;
  font-weight: 600;
  margin: 18px 0 6px;
  font-size: 15px;
}

.order-form label:first-of-type {
  margin-top: 0;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="url"],
.order-form select,
.order-form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--field);
  color: var(--ink);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
  border-color: var(--cobalt);
}

.order-form fieldset {
  border: 0;
  padding: 0;
  margin: 18px 0 0;
}

.order-form legend {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.order-form .radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin: 4px 24px 0 0;
}

.order-form .radio input {
  accent-color: var(--cobalt);
}

.order-form .button {
  margin-top: 28px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.form-fine {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.sent {
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--ink-soft);
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink-soft);
}

@media (max-width: 680px) {
  .hero {
    padding: 56px 0 44px;
  }

  .button.quiet {
    margin-left: 0;
    margin-top: 12px;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
