/* Negative 40 Degrees — starter site styles */
:root {
  --navy: #0F2233;
  --navy-2: #1B3247;
  --ice: #CFE6F2;
  --ice-bg: #EAF3F8;
  --snow: #F4F8FA;
  --ember: #D9622B;
  --ember-dark: #B54A18; /* text-safe ember on light backgrounds */
  --slate: #3D5568;
  --radius: 14px;
  --wrap: 1120px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--snow);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--ember-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
.hidden { display: none; }
.small { font-size: 0.875rem; color: var(--slate); }

/* Header */
.site-header { background: var(--navy); color: var(--snow); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand .mark { width: 50px; height: 38px; }
.brand-text { font-weight: 800; letter-spacing: 0.18em; font-size: 0.95rem; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.nav a { color: var(--ice); text-decoration: none; font-weight: 600; padding: 10px 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--ember); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-dark { background: var(--navy); color: var(--snow); }
.hero-dark .lead { color: var(--ice); }
.kicker { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.8rem; font-weight: 700; color: var(--ember); }
.hero-dark .kicker { color: #F0915F; }
.lead { font-size: 1.2rem; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; font-family: inherit; min-height: 48px; }
.btn-ember { background: var(--ember-dark); color: #fff; }
.btn-ember:hover { background: var(--navy-2); color: #fff; }
.hero-dark .btn-ember:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--ice); color: var(--snow); }
.btn-ghost:hover { background: var(--snow); color: var(--navy); }

/* Sections */
.section { padding: 72px 0; }
.section-ice { background: var(--ice-bg); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: #fff; border: 1px solid #D5E3EB; border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.more { font-weight: 700; }
.product .swatch { background: var(--navy); color: var(--snow); border-radius: 10px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.product .swatch .mark { width: 55%; height: auto; }
.price { font-weight: 800; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.big-mark { color: var(--navy); max-width: 320px; justify-self: center; }
.big-mark .mark { width: 100%; height: auto; }
.cta-band { text-align: center; }
.cta-band p { max-width: 520px; margin-left: auto; margin-right: auto; }
.note { margin-top: 24px; color: var(--slate); }
.prose { max-width: 760px; }
.values { padding-left: 1.2em; }
.values li { margin-bottom: 0.6em; }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid #D5E3EB; border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: #fff; border: 1px solid #C3D8E4; border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* Form */
.form { background: #fff; border: 1px solid #D5E3EB; border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #9DB4C3; border-radius: 10px; font: inherit; color: var(--navy); background: #fff; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; }
.field.check label { font-weight: 400; margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--ice); padding: 48px 0; }
.site-footer .small { color: #A9C3D3; }
.footer-brand { color: var(--snow); margin-bottom: 12px; }

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .nav { gap: 0 16px; }
}
.form .btn { margin: 6px 0 14px; }
