/* Bold Confident aesthetic
 * Heavy display sans, electric blue accent, solid color blocks.
 * Square corners, 2px borders, tight tracking.
 */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F4F4;
  --bg-dark: #0A0A0A;
  --fg: #0A0A0A;
  --fg-muted: #4A4A4A;
  --fg-soft: #6B6B6B;
  --line: #E5E5E5;
  --line-strong: #0A0A0A;
  --accent: #1A47E5;
  --accent-hover: #0F32C2;
  --accent-fg: #FFFFFF;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --container: 1280px;
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

::selection { background: var(--accent); color: #FFFFFF; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── layout primitives ────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 120px 0;
  position: relative;
}

.section + .section { border-top: 1px solid var(--line); }

.section.dark {
  background: var(--bg-dark);
  color: var(--bg);
}

@media (max-width: 880px) {
  .section { padding: 80px 0; }
}

.section-header {
  margin-bottom: 72px;
  max-width: 920px;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-fg);
  margin-bottom: 28px;
}

.section.dark .section-label {
  background: var(--accent);
  color: #FFFFFF;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
}

.section-title .acc { color: var(--accent); }

/* ─── buttons ────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 0;
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--fg);
  padding: 12px 20px;
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }

.arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ─── top announce strip ────────────────────────────── */

.announce {
  background: var(--accent);
  color: #FFFFFF;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.005em;
}

.announce-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.announce .dot {
  width: 6px; height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.announce a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
}

@media (max-width: 620px) {
  .announce { padding: 8px 0; font-size: 12px; }
  .announce-inner { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .announce a { margin-left: 0; }
}

/* ─── navigation ────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.scrolled {
  border-bottom-color: var(--fg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.wordmark {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark .sq {
  width: 18px;
  height: 18px;
  background: var(--accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); }

/* On desktop the menu wrapper is transparent to layout so the links and
   CTA sit in the nav-inner flex exactly as before. */
.nav-menu { display: contents; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--fg);
  background: var(--bg);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }

  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 28px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--fg);
  }
  .nav.menu-open .nav-menu { display: flex; }

  .nav-menu .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-menu .nav-link {
    display: block;
    padding: 16px 2px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu .nav-cta {
    margin-top: 22px;
    justify-content: center;
    width: 100%;
  }
}

/* ─── hero ────────────────────────────── */

.hero {
  padding: 96px 0 0;
  border-bottom: 2px solid var(--fg);
}

.hero .container {
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  margin-bottom: 36px;
  font-weight: 600;
}

.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 36px;
  max-width: 1100px;
}

.hero-headline .acc { color: var(--accent); }

.hero-headline .strike {
  position: relative;
  display: inline-block;
}
.hero-headline .strike::after {
  content: "";
  position: absolute;
  left: -8px; right: -8px;
  top: 52%;
  height: 10px;
  background: var(--accent);
  transform: rotate(-1.5deg);
  pointer-events: none;
}

/* On narrow screens the strike phrase wraps to multiple lines, so a single
   absolutely-positioned bar lands in the gap between lines. Paint the bar as
   a per-line background instead so each wrapped line gets struck through. */
@media (max-width: 700px) {
  .hero-headline .strike::after { display: none; }
  .hero-headline .strike {
    /* inline (not inline-block) so the phrase splits into per-line fragments;
       box-decoration-break: clone then paints the bar through EACH line. */
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-repeat: no-repeat;
    /* thickness via size; 50% centers the bar in each line box, so it crosses
       through the middle of the text rather than sitting on the baseline. */
    background-size: 100% 0.1em;
    background-position: 0 48%;
  }
}

.hero-sub {
  font-size: 22px;
  line-height: 1.4;
  color: var(--fg);
  max-width: 720px;
  margin-bottom: 48px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 620px) {
  .hero { padding: 56px 0 0; }
  .hero .container { padding-bottom: 56px; }
  .hero-eyebrow { margin-bottom: 28px; }
  .hero-headline { margin-bottom: 28px; }
  .hero-sub { font-size: 18px; margin-bottom: 36px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ─── stats row ────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--fg);
}

@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.stat {
  padding: 36px 32px;
  border-right: 1px solid var(--line-strong);
  background: var(--bg);
}

.stat:last-child { border-right: none; }

@media (max-width: 880px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-strong); }
}

/* On phones the 2-up cells get narrow; shrink the value type and padding so
   "100%" / "24h" don't overflow the cell and clip the labels. */
@media (max-width: 620px) {
  .stat { padding: 28px 20px; }
  .stat .v { font-size: 38px; margin-bottom: 8px; }
  .stat .k { font-size: 12px; }
}

.stat .v {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  font-feature-settings: "ss01";
}

.stat .v .acc { color: var(--accent); }

.stat .k {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: -0.005em;
}

/* ─── experience strip ────────────────────────────── */

.experience {
  padding: 96px 0;
  background: var(--bg-alt);
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

@media (max-width: 980px) {
  .exp-grid { grid-template-columns: 1fr; gap: 48px; }
}

.exp-headline h3 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 480px;
}

.exp-headline h3 .acc { color: var(--accent); }

.exp-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 440px;
}

.exp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
}

@media (max-width: 620px) {
  .exp-stats { grid-template-columns: 1fr; }
}

.exp-stat {
  padding: 36px 28px;
  border-right: 1px solid var(--fg);
  background: var(--bg);
}

.exp-stat:last-child { border-right: none; }

@media (max-width: 620px) {
  .exp-stat { border-right: none; border-bottom: 1px solid var(--fg); }
  .exp-stat:last-child { border-bottom: none; }
}

.exp-stat .v {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 14px;
}

.exp-stat .v .acc { color: var(--accent); }

.exp-stat .k {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ─── why / pillars ────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line-strong);
  border: 2px solid var(--line-strong);
}

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

.pillar {
  padding: 40px 36px 44px;
  background: var(--bg);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.pillar:first-child {
  background: var(--accent);
  color: #FFFFFF;
}

.pillar:first-child .pillar-num,
.pillar:first-child .pillar-body { color: rgba(255,255,255,0.85); }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.pillar-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  flex: 1;
}

/* ─── services ────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  padding: 36px 32px 40px;
  background: var(--bg-alt);
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, transform 0.2s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.section.dark .service-card {
  background: #161616;
  color: #FFFFFF;
}
.section.dark .service-card .num { color: rgba(255,255,255,0.55); }
.section.dark .service-card .blurb { color: rgba(255,255,255,0.7); }
.section.dark .service-card .arrow-btn { background: var(--accent); color: #FFFFFF; }

.section.dark .service-card.accent {
  background: var(--accent);
  color: #FFFFFF;
}
.section.dark .service-card.accent .num { color: rgba(255,255,255,0.75); }
.section.dark .service-card.accent .blurb { color: rgba(255,255,255,0.9); }
.section.dark .service-card.accent .arrow-btn { background: #FFFFFF; color: var(--accent); }

.section.dark .service-card.invert {
  background: #FFFFFF;
  color: #0A0A0A;
}
.section.dark .service-card.invert .num { color: var(--fg-muted); }
.section.dark .service-card.invert .blurb { color: var(--fg-muted); }
.section.dark .service-card.invert .arrow-btn { background: var(--accent); color: #FFFFFF; }

.service-card:hover { transform: translateY(-2px); }

.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card .name {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.service-card .blurb {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin-bottom: 24px;
  flex: 1;
}

.service-card .arrow-btn {
  width: 40px; height: 40px;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  align-self: flex-start;
}

.service-card:hover .arrow-btn {
  transform: translateX(4px);
}

.service-card .detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-card.open {
  background: var(--fg) !important;
  color: var(--bg) !important;
}
.section.dark .service-card.open { background: #FFFFFF !important; color: #0A0A0A !important; }
.section.dark .service-card.open .num { color: var(--fg-muted) !important; }
.section.dark .service-card.open .blurb { color: var(--fg-muted) !important; }
.section.dark .service-card.open .arrow-btn { background: var(--accent) !important; color: #FFFFFF !important; }

.service-card.open .num { color: rgba(255,255,255,0.6) !important; }
.service-card.open .blurb { color: rgba(255,255,255,0.85) !important; }
.service-card.open .arrow-btn { background: var(--accent) !important; color: #FFFFFF !important; transform: rotate(45deg); }

.service-card.open .detail { max-height: 400px; margin-top: 16px; }

.service-card .detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid currentColor;
  padding-top: 18px;
  opacity: 0.7;
}

.service-card .detail-list li {
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.service-card .detail-list li::before {
  content: "→";
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── process ────────────────────────────── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line-strong);
  border: 2px solid var(--line-strong);
}

@media (max-width: 980px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .process-steps { grid-template-columns: 1fr; }
}

.step {
  padding: 36px 28px 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
}

.step-num {
  font-family: var(--font-sans);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--fg);
  margin-bottom: 28px;
  position: relative;
}

.step-num .ord {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  flex: 1;
}

.step-meta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── manifesto ────────────────────────────── */

.manifesto {
  background: var(--accent);
  color: #FFFFFF;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.manifesto::before,
.manifesto::after {
  content: "\201C";
  position: absolute;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 600px;
  line-height: 0.8;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}

.manifesto::before {
  top: -120px;
  left: -40px;
}

.manifesto::after {
  content: "\201D";
  bottom: -360px;
  right: -40px;
}

@media (max-width: 880px) {
  .manifesto { padding: 96px 0; }
  .manifesto::before, .manifesto::after { font-size: 360px; }
}

.manifesto-label {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #FFFFFF;
  color: var(--accent);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.manifesto-text {
  font-family: var(--font-sans);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

.manifesto-em {
  display: block;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

.manifesto-sig {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 1;
}

/* ─── contact ────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-aside h3 {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 24px;
}

.contact-aside h3 .acc { color: var(--accent); }

.contact-aside p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 420px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg);
  border: 2px solid var(--fg);
}

.contact-meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  font-size: 14px;
}

.contact-meta-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
  font-weight: 600;
}
.contact-meta-row .v {
  color: var(--fg);
  font-weight: 500;
}
.contact-meta-row .v a { border-bottom: 1px solid var(--fg); }
.contact-meta-row .v a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.form {
  background: var(--bg);
  border: 2px solid var(--fg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 10px;
  font-weight: 600;
}

.field input,
.field textarea {
  background: var(--bg-alt);
  border: 2px solid transparent;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--fg);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  resize: none;
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  background: var(--bg);
  border-color: var(--accent);
}

.field textarea {
  min-height: 120px;
}

.field.error input,
.field.error textarea {
  border-color: #D9322F;
}

.field-error {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #D9322F;
  margin-top: 6px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  flex-wrap: wrap;
  gap: 16px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.form-success {
  background: var(--accent);
  color: #FFFFFF;
  padding: 48px;
  border: 2px solid var(--accent);
}

.form-success .checkmark {
  width: 44px; height: 44px;
  background: #FFFFFF;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 700;
}

.form-success h4 {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.form-success p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  max-width: 440px;
}

.form-success a { text-decoration: underline; text-underline-offset: 3px; }

.hidden { display: none !important; }

/* Honeypot — visually hidden but still in the DOM/tab flow off-screen, so
   bots will fill it. Don't use display:none (some bots skip those). */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-error {
  padding: 14px 16px;
  border: 2px solid #D9322F;
  background: #FDECEC;
  color: #8A1A18;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.form-error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ─── stack / technologies section ────────────────────────────── */

.stack-intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 720px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-strong);
  border: 2px solid var(--line-strong);
}

@media (max-width: 980px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .stack-grid { grid-template-columns: 1fr; }
}

.stack-group {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
}

.stack-group-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg);
}

/* ─── faq section ────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 32px 28px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  position: relative;
  transition: color 0.15s ease;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.faq-item summary:hover { color: var(--accent); }

.faq-item p {
  padding: 0 32px 28px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 820px;
}

.faq-item p strong { color: var(--fg); font-weight: 600; }

@media (max-width: 620px) {
  .faq-item summary { font-size: 17px; padding-right: 40px; }
  .faq-item summary::after { right: 4px; }
}

/* ─── footer ────────────────────────────── */

.footer {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
}

.footer-brand .wordmark {
  font-size: 22px;
  margin-bottom: 16px;
  color: inherit;
}

.footer-brand .wordmark .sq { background: var(--accent); }

.footer-brand p {
  font-size: 15px;
  opacity: 0.7;
  max-width: 380px;
  line-height: 1.55;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 14px;
  color: inherit;
}

.footer-col li[data-soft] { opacity: 0.5; }

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  opacity: 0.6;
}

/* ─── legal pages (privacy, terms) ─────────────────── */

.legal {
  padding: 96px 0 120px;
  background: var(--bg);
  color: var(--fg);
}

@media (max-width: 880px) {
  .legal { padding: 64px 0 88px; }
}

.legal-container {
  max-width: 780px;
}

.legal-header {
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 36px;
  margin-bottom: 48px;
}

.legal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 18px;
}

.legal-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-soft);
  letter-spacing: 0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-meta strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: 4px;
}

.legal-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
}

.legal-body .legal-lede {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 28px;
  color: var(--fg);
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  line-height: 1.25;
}

.legal-body h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-top: 28px;
  margin-bottom: 10px;
  text-transform: none;
}

.legal-body p {
  margin-bottom: 18px;
}

.legal-body ul {
  margin: 0 0 22px 22px;
  padding: 0;
}

.legal-body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal-body a:hover {
  color: var(--accent-hover);
}

.legal-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 2px;
}

.legal-address {
  font-style: normal;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.55;
  margin-top: 8px;
}

/* ─── form consent disclosure ──────────────────────── */

.form-consent {
  font-size: 12px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.002em;
}

.form-consent a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--accent);
}
