/* ===================================================================
   B² Digital — stylesheet
   =================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand (sampled from Logo.png — fixed, not theme-reactive) */
  --ink: #1C1D1C;
  --red: #DE1C1E;
  --red-dim: #B8181A;

  /* light body surface */
  --paper: #FAFAF8;
  --paper-raised: #FFFFFF;
  --ink-soft: #6B6D6C;
  --ink-faint: #9A9C9A;
  --line: #E7E5E2;

  /* dark hero surface */
  --hero-bg: #0E0F0E;
  --hero-bg-2: #17181A;
  --hero-line: #2A2C2C;
  --hero-text-soft: rgba(250,250,248,0.68);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-card: 0 1px 2px rgba(28,29,28,0.04), 0 8px 24px -12px rgba(28,29,28,0.12);
  --shadow-card-hover: 0 4px 10px rgba(28,29,28,0.06), 0 20px 40px -16px rgba(28,29,28,0.18);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--red);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(222,28,30,0.55);
}
.btn-primary:hover { background: var(--red-dim); box-shadow: 0 10px 26px -8px rgba(222,28,30,0.65); }
.btn-ghost-dark {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-light:hover { border-color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------------------------------------------------------------
   Nav
   --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* blur lives on a pseudo-element, not .nav itself — backdrop-filter on .nav
   would make it the containing block for its position:fixed mobile menu */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250,250,248,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 180ms var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--hero-bg);
  color: #FFFFFF;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(222,28,30,0.35), rgba(222,28,30,0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-text-soft);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(222,28,30,0.22);
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  color: #FFFFFF;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  margin: 24px 0 36px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--hero-text-soft);
  max-width: 46ch;
}

/* All slides stack in the same grid cell so the rotator always sizes to the
   tallest slide — swapping the active one never changes the container height
   (and doesn't push the rest of the page up/down). */
.hero-rotator {
  position: relative;
  display: grid;
}
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
  transform: translateY(8px);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 200ms linear; transform: none; }
}
.hero-rotator-dots {
  display: flex;
  gap: 8px;
  margin: 4px 0 28px;
}
.hero-rotator-dots button {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: background 220ms var(--ease-out);
}
.hero-rotator-dots button.is-active { background: var(--red); }
.hero-rotator-dots button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hero-line);
}
.hero-proof div { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; line-height: 1.25; color: #FFFFFF; }
.hero-proof span { font-size: 12.5px; color: var(--hero-text-soft); letter-spacing: 0.02em; }

/* mock browser card */
.mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--hero-bg-2);
  border: 1px solid var(--hero-line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hero-line);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.mock-bar .url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}
.mock-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mock-row { display: flex; gap: 14px; }
.mock-block {
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
}
.mock-hero-block { height: 120px; border-radius: 14px; position: relative; overflow: hidden; }
.mock-hero-block::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(222,28,30,0.28), transparent 60%);
}
.mock-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.1); }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; }
.mock-line.w80 { width: 80%; }
.mock-card { flex: 1; height: 86px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.mock-chip { width: 34px; height: 8px; border-radius: 4px; background: var(--red); opacity: 0.85; }
.mock-float {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--paper-raised);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.mock-float .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

/* ---------------------------------------------------------------
   Value strip
   --------------------------------------------------------------- */
.value-strip {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}
.value-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.value-item {
  background: var(--paper-raised);
  padding: 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.value-item svg { flex: none; color: var(--red); margin-top: 2px; }
.value-item p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ---------------------------------------------------------------
   Section scaffolding
   --------------------------------------------------------------- */
section { padding: 108px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin: 18px 0 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   About
   --------------------------------------------------------------- */
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.about-visual {
  position: sticky;
  top: 110px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.about-visual::before {
  content: "";
  position: absolute; top: -30%; left: -20%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(222,28,30,0.4), transparent 70%);
}
.about-visual .mark { width: 64px; height: auto; margin-bottom: 28px; position: relative; }
.about-steps { position: relative; display: flex; flex-direction: column; gap: 20px; }
.about-step { display: flex; gap: 14px; align-items: flex-start; }
.about-step .n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  border: 1px solid rgba(255,255,255,0.22);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.about-step p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.55; padding-top: 3px; }
.about-body p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); }
.about-signoff {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-signoff img { height: 26px; width: auto; }
.about-signoff div strong { display: block; font-size: 14.5px; }
.about-signoff div span { font-size: 13px; color: var(--ink-faint); }

/* ---------------------------------------------------------------
   Hook — bridge between About and Services
   --------------------------------------------------------------- */
.hook {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hook::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(222,28,30,0.22), transparent 70%);
  pointer-events: none;
}
.hook .eyebrow { color: var(--red); }
.hook .eyebrow::before { background: var(--red); }
.hook h2 { color: #fff; }
.hook-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 36px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.hook-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hook-item svg { flex: none; color: var(--red); margin-top: 1px; }
.hook-item p { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.hook-cta {
  position: relative;
  text-align: center;
}
.hook-cta p { margin: 0 0 20px; color: rgba(255,255,255,0.68); font-size: 16px; }

/* ---------------------------------------------------------------
   Services
   --------------------------------------------------------------- */
.services { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card > p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.service-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.service-card li svg { flex: none; color: var(--red); margin-top: 3px; }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service-cta svg { transition: transform 200ms var(--ease-out); color: var(--red); }
.service-cta:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------
   Roadmap strip
   --------------------------------------------------------------- */
.roadmap {
  margin-top: 56px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.roadmap-text { max-width: 420px; }
.roadmap-text h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.roadmap-text p { margin: 0; color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.6; }
.roadmap-items-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 420px; }
.roadmap-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px 14px;
}

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.faq-q .plus {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 260ms var(--ease-out), background 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out);
}
.faq-q .plus::before { width: 10px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 10px; }
.faq-item.is-open .faq-q .plus { background: var(--red); border-color: var(--red); }
.faq-item.is-open .faq-q .plus::before, .faq-item.is-open .faq-q .plus::after { background: #fff; }
.faq-item.is-open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out);
}
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: 0 26px 24px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; max-width: 62ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------------------------------------------------------------
   Contact
   --------------------------------------------------------------- */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; bottom: -30%; left: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(222,28,30,0.3), transparent 70%);
}
.contact .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-info h2 { font-size: clamp(28px, 3.4vw, 38px); color: #fff; }
.contact-info p { color: rgba(255,255,255,0.68); font-size: 16px; line-height: 1.7; margin: 18px 0 32px; max-width: 40ch; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.contact-detail svg { color: var(--red); flex: none; }
.contact-detail a { text-decoration: none; font-weight: 600; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form {
  background: var(--hero-bg-2);
  border: 1px solid var(--hero-line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.75); }
.field input, .field textarea, .field select {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 13px 14px;
  color: #fff;
  min-height: 44px;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,0.08);
}
.contact-form .btn-primary { width: 100%; }
.form-note { font-size: 12.5px; color: rgba(255,255,255,0.45); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(222,28,30,0.12);
  border: 1px solid rgba(222,28,30,0.4);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
}
.form-success.is-shown { display: flex; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
footer { background: var(--hero-bg); border-top: 1px solid var(--hero-line); padding: 48px 0; }
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 24px; }
.footer-brand span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; color: #fff; font-size: 15px; }
footer nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
footer nav a { font-size: 13.5px; color: rgba(255,255,255,0.6); text-decoration: none; }
footer nav a:hover { color: #fff; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.4); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .mock { transform: none; max-width: 480px; }
  .about .wrap { grid-template-columns: 1fr; }
  .about-visual { position: relative; top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .contact .wrap { grid-template-columns: 1fr; }
  .value-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .roadmap { flex-direction: column; align-items: flex-start; }
  .hook-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out);
  }
  .nav.is-open .nav-links { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost-light { display: none; }
  section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .value-strip .wrap { grid-template-columns: 1fr 1fr; }
  .mock-float { position: static; margin-top: 16px; }
  .roadmap { padding: 32px 24px; }
  .hook-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .value-strip .wrap { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
}
