:root {
  --navy: #07132d;
  --navy-soft: #142342;
  --cobalt: #103cff;
  --cobalt-dark: #0929bd;
  --coral: #ff5a47;
  --emerald: #08795d;
  --white: #ffffff;
  --mist: #f5f7fb;
  --line: #111111;
  --muted: #536077;
  --danger: #b42318;
  --danger-bg: #fff0ee;
  --success: #087443;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(3.25rem, 7vw, 5.75rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.draft-banner,
.concept-disclosure {
  padding: 0.6rem var(--gutter);
  color: var(--navy);
  background: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.draft-banner { color: #1f0b08; }
.career-page .concept-disclosure { background: var(--navy); color: var(--white); }

.site-header,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 4px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.6rem); }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 0.35rem;
}
.site-nav a:hover,
.site-nav a:focus-visible { text-decoration: underline; }

.hero { overflow: hidden; }
.hero-inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 4px solid var(--line);
}
.hero-copy { position: relative; z-index: 2; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h1 { max-width: 12ch; margin-bottom: 1.75rem; font-size: clamp(3.5rem, 7.2vw, 6.8rem); }
h2 { margin-bottom: 2rem; font-size: clamp(2.6rem, 5vw, 4.7rem); }
h3 { font-size: 1rem; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-copy > p { max-width: 38rem; margin-bottom: 2rem; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.92rem 1.35rem;
  border: 2px solid var(--cobalt);
  border-radius: 0;
  background: transparent;
  color: var(--cobalt);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.button.primary { background: var(--cobalt); color: var(--white); }
.button:hover { transform: translateY(-2px); background: var(--cobalt-dark); border-color: var(--cobalt-dark); color: var(--white); }
.button.is-disabled,
.button.is-disabled:hover {
  border-color: #778198;
  background: #778198;
  color: var(--white);
  cursor: not-allowed;
  transform: none;
}
.button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.offer-line { margin: 1.4rem 0 0; font-weight: 750; font-size: 0.98rem; }

.geo-scene { position: relative; min-height: 430px; }
.geo-circle {
  position: absolute;
  width: min(15vw, 190px);
  aspect-ratio: 1;
  top: 3%;
  left: 10%;
  border-radius: 50%;
  background: var(--coral);
}
.geo-paper {
  position: absolute;
  inset: 22% 0 0 18%;
  border: 3px solid var(--line);
  background: var(--white);
  transform: rotate(7deg);
  box-shadow: -22px 24px 0 var(--navy);
}
.career-page .geo-circle { border-radius: 0; background: var(--emerald); transform: rotate(11deg); }
.career-page .geo-paper { box-shadow: -22px 24px 0 var(--emerald); transform: rotate(13deg); }

.price-band {
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) 1rem;
  border-bottom: 4px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
}

.section { padding-block: var(--section); }
.section.rule-top .section-inner {
  border-top: 4px solid var(--line);
  padding-top: clamp(2.25rem, 4.5vw, 4rem);
}
.section-heading { max-width: 15ch; }
.section-lede { max-width: 46rem; margin-bottom: 3rem; color: var(--muted); font-size: 1.12rem; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.work-card { display: block; text-decoration: none; }
.work-card:hover .browser-preview,
.work-card:focus-visible .browser-preview { transform: translateY(-6px); box-shadow: 12px 14px 0 var(--navy); }
.browser-preview {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.browser-bar { height: 36px; border-bottom: 2px solid var(--line); }
.browser-bar::before { content: ""; display: block; width: 44px; height: 8px; margin: 13px 0 0 14px; background: var(--navy); }
.preview-copy { width: 58%; padding: 2.1rem 1.5rem; }
.preview-copy strong { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; }
.preview-copy span { display: block; width: 68%; height: 8px; margin-top: 1.25rem; background: #d7dce7; }
.preview-copy span:last-child { width: 38%; background: var(--cobalt); }
.preview-shape { position: absolute; width: 46%; height: 68%; right: -5%; bottom: -8%; border: 2px solid var(--line); background: var(--coral); transform: skew(-14deg); }
.work-card.career .preview-shape { background: var(--emerald); }
.concept-label { margin: 1rem 0 0; color: var(--coral); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.work-card.career .concept-label { color: var(--emerald); }
.work-card h3 { margin: 0.7rem 0 0.4rem; font-family: var(--display); font-size: 1.7rem; text-transform: none; letter-spacing: -0.02em; }
.work-card p:last-child { color: var(--muted); }

.scope-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem);
  background: var(--navy);
  color: var(--white);
}
.scope-strip h2 { max-width: 8ch; }
.scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,0.35); }
.scope-item { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.35); font-weight: 700; }
.scope-item:nth-child(odd) { padding-right: 1.25rem; }
.scope-item:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,0.35); }
.scope-note { margin-top: 1.4rem; color: #cfd7e8; font-size: 0.9rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); }
.process-step { min-height: 210px; padding: 2rem; border-right: 2px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-number { display: block; margin-bottom: 1.5rem; font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.process-step h3 { font-family: var(--display); font-size: 1.65rem; text-transform: none; letter-spacing: -0.02em; }
.process-step p { margin: 0; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(3rem, 9vw, 8rem); align-items: center; }
.founder-box { padding: 2rem 0 2rem 2rem; border-left: 4px solid var(--coral); }
.founder-name { margin-bottom: 0.75rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.founder-bio { max-width: 38rem; }
.contact-meta { margin-top: 1.5rem; color: var(--muted); font-size: 0.92rem; }
.about-geometry { min-height: 300px; position: relative; }
.about-geometry::before,
.about-geometry::after { content: ""; position: absolute; border: 3px solid var(--line); }
.about-geometry::before { inset: 12% 8% 18% 16%; background: var(--white); transform: rotate(-5deg); }
.about-geometry::after { inset: 38% 18% 2% 4%; background: var(--coral); transform: rotate(4deg); z-index: -1; }

.final-cta { padding: clamp(4rem, 8vw, 7rem) var(--gutter); border-top: 4px solid var(--line); text-align: center; }
.final-cta h2 { max-width: 16ch; margin-inline: auto; }
.gate-message, .concept-status { max-width: 52rem; margin: 1.25rem auto 0; padding: 0.9rem 1rem; color: var(--danger); background: var(--danger-bg); font-size: 0.9rem; }
.gate-message[data-state="ready"] { color: var(--success); background: #e8f8ef; }

.site-footer { border-top: 4px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 110px; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-inner a { text-underline-offset: 0.2rem; }

/* Concept landing pages */
.concept-page h1 { max-width: 10ch; }
.career-page h1 { max-width: 11ch; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); }
.focus-item { padding: 2.5rem clamp(1rem, 3vw, 2.5rem); border-right: 2px solid var(--line); }
.focus-item:last-child { border-right: 0; }
.focus-mark { width: 66px; height: 54px; margin-bottom: 1.4rem; border: 3px solid var(--line); background: var(--coral); transform: skew(-9deg); }
.career-page .focus-mark { background: transparent; border-color: var(--emerald); }
.focus-item p { margin-bottom: 0; color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--line); }
.week { position: relative; padding: 2.5rem 1rem 0; }
.week::before { content: attr(data-week); position: absolute; top: -20px; left: 1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cobalt); color: var(--white); font-weight: 850; }
.career-page .week::before { border: 2px solid var(--emerald); border-radius: 0; background: var(--white); color: var(--emerald); transform: rotate(-3deg); }
.week h3 { font-size: 0.85rem; }
.week p { margin-bottom: 0; color: var(--muted); font-size: 0.88rem; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); }
.fit-column { padding: clamp(2rem, 5vw, 4rem); }
.fit-column + .fit-column { border-left: 2px solid var(--line); }
.fit-column h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.fit-list { margin: 0; padding: 0; list-style: none; }
.fit-list li { position: relative; padding: 0.8rem 0 0.8rem 2rem; border-bottom: 1px solid #d9dde6; }
.fit-list li::before { content: ""; position: absolute; left: 0; top: 1.18rem; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--coral); }
.career-page .fit-list li::before { width: 16px; height: 16px; top: 1.05rem; border: 2px solid var(--emerald); transform: rotate(3deg); }

.faq-list { border-top: 4px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.25rem 3rem 1.25rem 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0.5rem; top: 1rem; font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 54rem; padding: 0 3rem 1.25rem 0; color: var(--muted); }
.concept-footer-note { max-width: 50rem; color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 500ms ease, transform 500ms ease; }
[data-reveal][data-visible="true"] { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .site-header { min-height: 74px; }
  .site-nav a:not(.nav-primary) { display: none; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-top: 3.5rem; }
  .geo-scene { min-height: 310px; }
  .geo-circle { width: 135px; }
  .work-grid, .about-grid, .scope-strip { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 2px solid var(--line); }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item { border-right: 0; border-bottom: 2px solid var(--line); }
  .focus-item:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-column + .fit-column { border-left: 0; border-top: 2px solid var(--line); }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1.5rem; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.1rem; }
  body { font-size: 15px; }
  .site-header { gap: 1rem; }
  .brand { font-size: 1.2rem; }
  .site-nav { gap: 0.75rem; }
  .site-nav .nav-primary { padding: 0.65rem 0.75rem; font-size: 0.78rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  h2 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .hero-inner { gap: 1rem; }
  .geo-scene { min-height: 245px; }
  .geo-paper { inset: 18% 7% 4% 18%; box-shadow: -12px 14px 0 var(--navy); }
  .work-grid { gap: 3rem; }
  .browser-preview { min-height: 270px; }
  .scope-strip { padding-inline: 1.4rem; }
  .scope-list { grid-template-columns: 1fr; }
  .scope-item:nth-child(odd), .scope-item:nth-child(even) { padding-inline: 0; border-left: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 2px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: 1fr; gap: 2.5rem; border-top: 0; }
  .week { padding-top: 0.5rem; padding-left: 4.2rem; }
  .week::before { top: 0; left: 0; }
  .final-cta { padding-inline: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
