@font-face { font-family: "Space Grotesk"; src: url("SpaceGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url("PressStart2P.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #171a2b;
  --navy: #141833;
  --navy-2: #1d2247;
  --muted: #5a5f75;
  --line: #e4e0d6;
  --red: #d7263d;
  --red-dark: #b81d31;
  --blue: #1f5fd6;
  --green: #12a05c;
  --yellow: #f5b400;
  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Press Start 2P", "Courier New", monospace;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23,26,43,.06), 0 8px 24px rgba(23,26,43,.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.logo { font-family: var(--display); font-weight: 700; font-size: 19px; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.logo:hover { color: var(--ink); }
.logo-mark { display: inline-grid; grid-template-columns: repeat(2, 11px); gap: 3px; }
.logo-mark i { width: 11px; height: 11px; display: block; border-radius: 2px; }
.logo-mark i:nth-child(1) { background: var(--red); }
.logo-mark i:nth-child(2) { background: var(--green); }
.logo-mark i:nth-child(3) { background: var(--blue); }
.logo-mark i:nth-child(4) { background: var(--yellow); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
nav a.link { font-family: var(--display); font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; display: block; }
nav a.link:hover { background: rgba(23,26,43,.06); color: var(--ink); }
nav a.link[aria-current="page"] { background: rgba(23,26,43,.08); }
.nav-toggle { display: none; font-family: var(--display); font-weight: 700; font-size: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 10px 14px; border-radius: 10px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; padding: 14px 24px; color: #fff; background: var(--red); border: 2px solid var(--red); border-radius: 10px; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; box-shadow: 0 2px 0 var(--red-dark); }
.btn:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.green { background: var(--green); border-color: var(--green); box-shadow: 0 2px 0 #0d7d47; }
.btn.green:hover { background: #0d7d47; border-color: #0d7d47; }
.btn.blue { background: var(--blue); border-color: var(--blue); box-shadow: 0 2px 0 #174aa8; }
.btn.blue:hover { background: #174aa8; border-color: #174aa8; }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 #c48f00; }
.btn.yellow:hover { background: #ffc61f; border-color: #ffc61f; color: var(--ink); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn.ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.btn.sm { font-size: 15px; padding: 10px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; padding: 80px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--yellow) 75%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--pixel); font-size: 10px; line-height: 1.6; letter-spacing: .04em; color: var(--yellow); margin: 0 0 18px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.4vw, 60px); }
.lede { max-width: 620px; font-size: 20px; margin: 22px 0 0; color: rgba(255,255,255,.82); }
.hero-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-card h2 { font-size: 15px; font-family: var(--pixel); font-weight: 400; line-height: 1.6; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-size: 10px; letter-spacing: .04em; }
.glance { list-style: none; margin: 0; padding: 0; }
.glance li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance li:last-child { border-bottom: 0; }
.glance strong { font-family: var(--display); font-size: 24px; color: var(--ink); white-space: nowrap; }
.glance span { color: var(--muted); font-size: 15px; text-align: right; }
.glance-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
section { padding: 80px 0; }
section.alt { background: #f1eee6; border-block: 1px solid var(--line); }
.kicker { font-family: var(--pixel); font-size: 10px; line-height: 1.6; letter-spacing: .04em; color: var(--red); margin: 0 0 14px; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
h2.kicker { font-family: var(--pixel); font-size: 10px; margin-bottom: 20px; }
.section-intro { max-width: 660px; color: var(--muted); font-size: 18px; margin: 0 0 36px; }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--red); }
.card:nth-child(2)::before { background: var(--green); }
.card:nth-child(3)::before { background: var(--blue); }
.card:nth-child(4)::before { background: var(--yellow); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { margin: 0 0 10px; font-size: 16px; color: var(--muted); }
.card .price { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); margin: 14px 0 6px; }
.card .tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 600; background: rgba(18,160,92,.12); color: #0d7d47; padding: 4px 10px; border-radius: 999px; }

/* steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: lvl; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow); counter-increment: lvl; }
.steps li::before { content: counter(lvl); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.steps li:nth-child(1)::before { background: var(--red); }
.steps li:nth-child(2)::before { background: var(--green); }
.steps li:nth-child(3)::before { background: var(--blue); }
.steps li:nth-child(4)::before { background: var(--yellow); color: var(--ink); }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 16px; color: var(--muted); }

/* price menu */
.menu { list-style: none; margin: 0; padding: 8px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
.menu li + li { border-top: 1px solid var(--line); }
.menu .name { font-family: var(--display); font-weight: 700; font-size: 18px; }
.menu .name small { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 2px; }
.menu .dots { flex: 1; min-width: 20px; border-bottom: 2px dotted #cfc9bb; transform: translateY(-5px); }
.menu .cost { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.note { font-size: 15px; color: var(--muted); margin-top: 16px; }

.split { display: grid; gap: 48px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel h3 { font-family: var(--pixel); font-weight: 400; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.panel ul { margin: 0; padding-left: 20px; }
.panel li { margin: 8px 0; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 32px; margin: 14px 0; }
.check li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--red); }
details[open] summary::after { content: "\2212"; }
details[open] { box-shadow: var(--shadow); }
details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* cta band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--yellow) 75%); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.8); font-size: 18px; }
.cta-band .btn-row { justify-content: center; }

.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-box dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 14px 26px; }
.contact-box dt { font-family: var(--pixel); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.contact-box dd { margin: 0; }

/* footer */
footer { background: #0e1127; color: rgba(255,255,255,.7); padding: 48px 0 28px; font-size: 15px; }
footer a { color: rgba(255,255,255,.85); }
footer a:hover { color: var(--yellow); }
.foot { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
footer h4 { font-family: var(--display); font-size: 16px; color: #fff; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 8px 0; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.55); }

.page-head { background: var(--navy); color: #fff; padding: 60px 0 54px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--yellow) 75%); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); }
.page-head .lede { font-size: 19px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: 0 12px 24px rgba(23,26,43,.1); }
  nav ul.open { display: flex; }
  nav a.link { padding: 14px 8px; }
  nav li:last-child { margin-top: 8px; }
  nav li:last-child .btn { text-align: center; display: block; }
  .hero-inner, .split, .foot { grid-template-columns: 1fr; }
  .hero-inner { gap: 36px; }
  .hero { padding: 56px 0 60px; }
  section { padding: 60px 0; }
  .contact-box dl { grid-template-columns: 1fr; gap: 6px; }
  .contact-box dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* keep the badge from colliding with the card title */
.card:has(.tag) h3 { padding-right: 76px; }

/* ---------- retro dial-up (v3): pixel headline, hard shadows, faint CRT + grid ---------- */
:root { --hard: 4px 4px 0 var(--ink); --radius: 8px; }

h1 { font-family: var(--pixel); font-weight: 400; line-height: 1.45; letter-spacing: 0; text-shadow: 4px 4px 0 rgba(0,0,0,.55); }
.hero h1 { font-size: clamp(24px, 3.9vw, 42px); }
.page-head h1 { font-size: clamp(22px, 3.4vw, 34px); }

/* buttons: chunky, square-ish, pressable */
.btn { border-radius: 4px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 15px; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); background: var(--red); border-color: var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.green, .btn.blue, .btn.yellow { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.green:hover { background: var(--green); border-color: var(--ink); }
.btn.blue:hover { background: var(--blue); border-color: var(--ink); }
.btn.yellow:hover { background: var(--yellow); border-color: var(--ink); }
.hero .btn, .page-head .btn, .cta-band .btn { border-color: #000; box-shadow: 4px 4px 0 #000; }
.btn.ghost, .btn.ghost-light { border-color: #fff; box-shadow: 4px 4px 0 rgba(0,0,0,.6); }
.btn.ghost:hover, .btn.ghost-light:hover { border-color: #fff; }
.site-header .btn.sm { box-shadow: 3px 3px 0 var(--ink); }

/* cards and panels: outlined with hard offset shadow, like console cartridges */
.card, .panel, .steps li, .menu, .contact-box, details, .hero-card { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--ink); }
.hero-card { border-color: #000; box-shadow: 8px 8px 0 #000; border-radius: 10px; }
.card::before { height: 8px; }
.card { padding-top: 32px; }
.steps li::before { border-radius: 4px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.card .tag { border-radius: 3px; background: var(--green); color: #fff; border: 2px solid var(--ink); font-size: 11px; padding: 2px 8px; }
details[open] { box-shadow: 5px 5px 0 var(--ink); }
.check li::before { border-radius: 4px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); background-color: var(--green); }
.menu .dots { border-bottom: 3px dotted #bdb6a3; }

/* hero: faint scanlines + perspective grid floor */
.hero { background: linear-gradient(#0d1030 0%, #191c4d 70%, #262066 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 3px, rgba(0,0,0,.16) 4px); pointer-events: none; z-index: 0; }
.hero .hero-inner { position: relative; z-index: 2; }
.hero-floor { position: absolute; left: 0; right: 0; bottom: 6px; height: 150px; overflow: hidden; perspective: 240px; opacity: .55; z-index: 1; pointer-events: none; }
.hero-floor::before { content: ""; position: absolute; left: -50%; right: -50%; top: 0; bottom: -100%; background-image: linear-gradient(rgba(110,150,255,.8) 2px, transparent 2px), linear-gradient(90deg, rgba(110,150,255,.8) 2px, transparent 2px); background-size: 52px 52px; transform: rotateX(62deg); transform-origin: top; animation: floor 2.4s linear infinite; }
@keyframes floor { to { background-position: 0 52px; } }
.page-head { background: linear-gradient(#0d1030, #191c4d); }
.cta-band { background: linear-gradient(#0d1030, #191c4d); }

/* retro stripe under the section labels */
.kicker::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--red); box-shadow: 2px 2px 0 var(--ink); vertical-align: -1px; }

@media (max-width: 860px) {
  .hero-floor { height: 100px; }
  .hero h1 { font-size: clamp(20px, 6vw, 28px); }
}
