:root {
  --paper: #F4F2EC;
  --paper-grid: #E7E3D8;
  --white: #FFFFFF;
  --ink: #11141B;
  --text: #11141B;
  --muted: #3E434D;
  --subtle: #555B66;
  --line: #DDD9CE;
  --line-strong: #CFCABD;
  --rust: #B8460B;          /* accent text on light backgrounds (passes contrast) */
  --accent: #FF8A3D;        /* fills, and text on dark backgrounds */

  --d-line: #343843;
  --d-raised: #1B1F27;
  --d-muted: #BFC3CC;
  --d-subtle: #8D93A0;
  --d-text: #E4E6EA;

  --ok: #1E7F45;
  --err: #B42318;

  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; }
p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
a:hover { color: var(--rust); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.section { padding-top: 104px; padding-bottom: 104px; }
@media (max-width: 720px) { .section { padding-top: 72px; padding-bottom: 72px; } }

.kicker { font-family: var(--mono); font-size: 13px; color: var(--rust); letter-spacing: .06em; text-transform: uppercase; }
.dark .kicker { color: var(--accent); }
h2 { margin-top: 12px; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.03em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-note { color: var(--d-muted); max-width: 400px; font-size: 17px; }
.caps-title { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--subtle); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--accent); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-dark, .btn-dark:hover { background: var(--ink); color: #fff; }
.btn-light, .btn-light:hover { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-accent, .btn-accent:hover { background: var(--accent); color: var(--ink); font-weight: 600; }
.btn-accent:hover { box-shadow: 3px 3px 0 #fff; }
.btn-outline, .btn-outline:hover { background: transparent; color: #fff; border-color: #fff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { color: inherit; }
.logo-mark {
  width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--accent);
  display: grid; place-items: center; font: 500 13px var(--mono); flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; }
.logo-sub { font-family: var(--mono); font-size: 11px; color: var(--subtle); }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav-link { text-decoration: none; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .nav-link { display: none; } }
@media (max-width: 380px) { .logo-sub { display: none; } .nav .btn { padding: 10px 14px; font-size: 14px; } }

/* hero */
.hero {
  background-color: var(--paper);
  background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 56px;
}
.hero-inner { padding-top: 88px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
@media (max-width: 720px) { .hero-inner { padding-top: 56px; padding-bottom: 48px; gap: 40px; } }
.hero-copy { flex: 1.15 1 480px; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); background: var(--white);
  border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1F9D55; }
.hero h1 { margin-top: 28px; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.underline { box-shadow: inset 0 -0.32em 0 var(--accent); }
.lede { margin-top: 28px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.editor { flex: 1 1 400px; min-width: 0; background: var(--ink); border: 1px solid var(--ink); border-radius: 14px; box-shadow: 10px 10px 0 var(--accent); overflow: hidden; }
@media (max-width: 520px) { .editor { box-shadow: 6px 6px 0 var(--accent); margin-right: 6px; } }
.editor-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #262A33; }
.light { width: 11px; height: 11px; border-radius: 50%; background: #3A3F4A; }
.editor-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-left: 10px; }
.editor-tabs button {
  font: 12px var(--mono); min-height: 32px; padding: 6px 12px; border-radius: 6px; border: 0; cursor: pointer;
  background: transparent; color: var(--d-subtle);
}
.editor-tabs button[aria-selected="true"] { background: #262A33; color: #fff; }
.editor-tabs button:hover { color: #fff; }
.editor-body { padding: 22px 24px 26px; font: 14px/1.75 var(--mono); color: #D7D9DF; min-height: 300px; overflow-x: auto; }
.editor-body pre { margin: 0; font: inherit; white-space: pre; }
.editor-body pre.wrap-pre { white-space: pre-wrap; }
@media (max-width: 520px) { .editor-body { font-size: 12.5px; padding: 18px; } }
.c-p { color: #7E8594; }
.c-k { color: #9CC8FF; }
.c-s { color: var(--accent); }
.c-n { color: #F2C66D; }

.spec {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px; background: var(--line); border: 1.5px solid var(--ink);
}
.spec div { background: var(--white); padding: 18px 20px; }
.spec dt { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.spec dd { margin-top: 4px; font-family: var(--display); font-size: 22px; font-weight: 600; }

/* work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: inherit; font-size: 15px; font-weight: 500; min-height: 44px; padding: 8px 16px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
}
.filters button span { font: 12px var(--mono); opacity: .7; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.work-list { display: flex; flex-direction: column; gap: 20px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { font: 12px var(--mono); border: 1px solid var(--line-strong); color: var(--muted); border-radius: 4px; padding: 3px 10px; }
.feature .tag { border-color: #3A3F4A; color: #C9CCD4; }
.feature .tag-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 500; }

.feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; background: var(--ink); color: #fff; border-radius: 16px; padding: clamp(24px, 4vw, 52px); }
.feature-body { flex: 1 1 420px; min-width: 0; }
.feature-visual { flex: 1 1 340px; min-width: 0; }
.feature h3 { margin-top: 22px; font-size: 44px; letter-spacing: -.03em; }
.feature-lede { margin-top: 10px; font-size: 19px; color: var(--d-muted); max-width: 520px; }
.facts { margin: 28px 0 32px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 20px; font-size: 15px; }
.facts dt { font: 12px var(--mono); color: var(--d-subtle); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.facts dd { color: var(--d-text); }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 4px; } .facts dd { margin-bottom: 10px; } }

.field { width: 100%; height: auto; display: block; }
.f-bg { fill: var(--d-raised); }
.f-yard line { stroke: #2C313B; stroke-width: 1; }
.f-los { stroke: #4A4F5B; stroke-width: 2; stroke-dasharray: 4 6; }
.f-route path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.4s ease-out .3s forwards; }
.f-route path:nth-child(2) { animation-delay: .5s; }
.f-route path:nth-child(3) { animation-delay: .7s; }
.f-pass { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 6 7; stroke-linecap: round; }
.f-player circle { fill: var(--d-raised); stroke: #fff; stroke-width: 3; }
.f-qb { fill: var(--accent); }
.f-lbl { fill: var(--ink); font: 700 12px Inter, sans-serif; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .f-route path { animation: none; stroke-dashoffset: 0; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.card { background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.card h3 { margin-top: 4px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.card p { color: var(--muted); }
.card .card-result { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 15px; color: var(--ink); font-weight: 500; }

/* dark sections */
.dark { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.plan { border: 1px solid var(--d-line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan-for { font: 12px var(--mono); color: var(--d-subtle); text-transform: uppercase; letter-spacing: .06em; }
.plan h3 { font-size: 28px; letter-spacing: -.02em; }
.plan-desc { color: var(--d-muted); }
.plus { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--d-text); }
.plus li { display: flex; gap: 10px; }
.plus li::before { content: "+"; color: var(--accent); font-weight: 600; }
.plan-price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--d-line); }
.plan-price strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; }
.plan-price span { font-size: 14px; color: var(--d-subtle); }
.plan-featured { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 8px 8px 0 var(--accent); }
.plan-featured .plan-for, .plan-featured .plan-price span { color: var(--subtle); }
.plan-featured .plan-desc { color: var(--muted); }
.plan-featured .plus { color: var(--ink); }
.plan-featured .plus li::before { color: var(--rust); }
.plan-featured .plan-price { border-top-color: var(--line); }
.plan-featured .btn-dark:hover { box-shadow: 3px 3px 0 var(--accent); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.badge { font: 500 11px var(--mono); background: var(--accent); border-radius: 4px; padding: 2px 8px; }

.caps { margin-top: 72px; }
.dark .caps-title { color: var(--d-subtle); }
.caps-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: 12px; overflow: hidden;
}
.caps-grid li { background: var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.caps-grid svg, .contact-points svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* process */
.process-section { padding-bottom: 32px; }
.process-section h2 { margin-bottom: 40px; }
.process { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1.5px solid var(--ink); }
.process li { padding: 24px 24px 0 0; }
.step { font: 13px var(--mono); color: var(--rust); text-transform: uppercase; }
.process h3 { margin: 8px 0 6px; font-size: 22px; }
.process p:not(.step) { color: var(--muted); }

/* about */
.about { display: flex; flex-wrap: wrap; gap: 64px; }
.about-copy, .timeline-wrap { flex: 1 1 420px; min-width: 0; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p:not(.kicker) { color: var(--muted); font-size: 18px; margin-bottom: 16px; }
.timeline { list-style: none; padding: 0; }
.timeline li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline span { font: 14px var(--mono); color: var(--rust); padding-top: 2px; }
.timeline strong { font-weight: 600; font-size: 17px; }
.timeline p { color: var(--subtle); font-size: 15px; }

/* faq */
.faq-section { border-top: 1px solid var(--line); background: var(--white); }
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-intro { flex: 1 1 300px; min-width: 0; }
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p:not(.kicker) { color: var(--muted); font-size: 17px; }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 18px 0; font: 600 20px var(--display); color: var(--ink); text-align: left; cursor: pointer;
}
.faq-item button span::before { content: "+"; font: 22px var(--mono); color: var(--rust); display: inline-block; width: 24px; text-align: center; }
.faq-item button[aria-expanded="true"] span::before { content: "\2212"; }
.faq-item p { padding: 0 40px 22px 0; color: var(--muted); font-size: 17px; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-intro { flex: 1 1 340px; min-width: 0; }
.contact-intro h2 { margin-bottom: 20px; }
.contact-intro > p:not(.kicker) { color: var(--d-muted); font-size: 18px; margin-bottom: 28px; }
.contact-points { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 12px; }
.contact-points svg { width: 20px; height: 20px; flex: none; }

.form { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(20px, 3vw, 40px); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.form .opt { color: var(--subtle); font-weight: 400; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); }
.pkg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.pkg > span { color: var(--subtle); }
.pkg strong { background: var(--accent); border-radius: 4px; padding: 4px 10px; font-weight: 600; }
.pkg-clear { background: none; border: 0; color: var(--subtle); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot span { font-size: 14px; color: var(--subtle); }
.form button[type=submit]:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; margin-top: -6px; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: var(--ok); }
.form-status[data-kind="err"] { color: var(--err); }

/* footer */
.footer { background: var(--paper); padding: 40px 0; }
.title-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line-strong); border: 1.5px solid var(--ink); font-size: 14px; }
.title-block div { background: var(--paper); padding: 14px 16px; }
.title-block div > span { display: block; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.title-block strong { font-weight: 600; }

/* 404 */
.notfound { padding-top: 104px; padding-bottom: 120px; }
.notfound h1 { margin-top: 16px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
