/* ResLook Conference — corporate B2B service design system */

:root {
  --navy: #0B1F33;
  --navy-2: #12304F;
  --blue: #1D5FBF;
  --blue-dark: #164C9C;
  --blue-soft: #EAF2FF;
  --blue-soft-2: #F3F7FC;
  --sky: #8CC2FF;
  --ink: #0B1B2B;
  --muted: #5A6B7E;
  --paper: #FFFFFF;
  --paper-2: #F7FAFD;
  --line: #E2E8F0;
  --line-strong: #CBD8E8;
  --white: #FFFFFF;
  --success: #0F7B4F;
  --error: #B42318;
  --focus: #1D5FBF;
  --shadow: 0 12px 32px rgba(11, 31, 51, 0.07);
  --shadow-soft: 0 4px 16px rgba(11, 31, 51, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --display: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: #CFE3FF;
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: .75rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ topbar */
.topbar {
  background: var(--blue-soft);
  border-bottom: 1px solid #D6E6FA;
  color: var(--navy-2);
  font-size: .78rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
}
.topbar p { margin: 0; }
.topbar a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(11,31,51,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--navy);
  flex: 0 0 auto;
}
.brand-mark { width: 32px; height: 32px; flex: 0 0 auto; }
.brand-name {
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 600;
}
.brand-name em {
  font-style: normal;
  color: var(--blue);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  color: var(--navy-2);
  padding: .35rem 0;
}
.nav a:hover { color: var(--blue); }
.nav-cta { display: none; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { box-shadow: inset 0 1px 3px rgba(0,0,0,.18); }
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: var(--paper-2);
  border-color: var(--blue);
  color: var(--blue);
}
.btn-small { min-height: 40px; padding: .5rem .95rem; font-size: .78rem; }
.btn-block { width: 100%; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 clamp(2.8rem, 4vw, 3.8rem);
  background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -10%;
  width: 58%;
  height: 115%;
  background: url('/assets/blueprint.svg') center / contain no-repeat;
  opacity: .18;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.2rem, 4vw, 4rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.15rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--navy);
  text-wrap: balance;
}
h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 3.9vw, 3rem);
  line-height: 1.1;
}
h1 em { font-style: normal; color: var(--blue); }
.hero-lead {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.4rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .8rem;
  margin: 0;
  font-size: .76rem;
  color: var(--muted);
}
.hero-proof strong { color: var(--navy); font-weight: 600; }
.hero-proof > span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof > span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* browser frame */
.hero-visual { position: relative; }
.browser {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .75rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.browser-dots { display: flex; gap: .28rem; }
.browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.26);
}
.browser-url {
  flex: 1;
  margin-left: .4rem;
  padding: .22rem .55rem;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.68);
  font-size: .56rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser img {
  width: 100%;
  aspect-ratio: 1200 / 833;
  object-fit: cover;
  object-position: top center;
}
.hero-badge {
  position: absolute;
  top: -.85rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .65rem;
  border: 1px solid #BBD6F8;
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}
.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1E9E63;
}

/* ------------------------------------------------------------------- proof */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  align-items: stretch;
}
.proof-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .15rem;
  padding: 1.35rem 1.5rem 1.35rem 0;
  border-right: 1px solid var(--line);
}
.proof-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.proof-brand strong {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}
.proof-brand span:last-child {
  font-size: .7rem;
  color: var(--muted);
}
.proof-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.2rem;
  border-right: 1px solid var(--line);
}
.proof-stat:last-child { border-right: 0; }
.proof-k {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.03em;
}
.proof-v {
  margin-top: .3rem;
  font-size: .67rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3.8rem, 6vw, 5.6rem) 0; }
.section--soft { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--blue { background: var(--blue-soft); border-top: 1px solid #D6E6FA; border-bottom: 1px solid #D6E6FA; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
.section-index {
  display: block;
  margin-bottom: .7rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
}
h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}
h2 em { font-style: normal; color: var(--blue); }
.section-lead {
  max-width: 38rem;
  margin: .2rem 0 0;
  font-size: .96rem;
  line-height: 1.7;
  color: var(--muted);
}
.section-lead strong { color: var(--navy); font-weight: 600; }

/* ------------------------------------------------------------------- scope */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.scope-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.scope-card:hover {
  border-color: #BBD6F8;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.scope-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border: 1px solid #D6E6FA;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
}
.scope-icon svg { width: 17px; height: 17px; }
.scope-card h3 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.scope-card p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ----------------------------------------------------------------- process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.process-step {
  padding: 1.3rem 1.35rem 0 0;
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-day {
  display: inline-block;
  margin-bottom: .7rem;
  padding: .18rem .45rem;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid #D6E6FA;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
}
.process-step h3 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 600;
}
.process-step p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ------------------------------------------------------------------- roles */
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.role-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.role-card svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
  margin-bottom: .7rem;
}
.role-card h3 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
}
.role-card p {
  margin: 0;
  font-size: .81rem;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------- case study */
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.case-lead {
  max-width: 34rem;
  margin: .9rem 0 1.2rem;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--muted);
}
.case-list {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
.case-list li {
  position: relative;
  padding: .3rem 0 .3rem 1.25rem;
  font-size: .82rem;
  color: var(--navy-2);
}
.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 1.3rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.case-metric {
  padding: .8rem 1rem .8rem 0;
}
.case-metric + .case-metric { padding-left: 1rem; border-left: 1px solid var(--line); }
.case-metric strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}
.case-metric span {
  display: block;
  margin-top: .2rem;
  font-size: .65rem;
  color: var(--muted);
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}
.case-link:hover { text-decoration: underline; }
.case-link svg { width: 14px; height: 14px; }
.case-visual .browser { box-shadow: var(--shadow); }
.case-caption {
  margin: .6rem 0 0;
  font-size: .65rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------- pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.price-card--featured {
  background: var(--blue-soft);
  border-color: var(--blue);
  box-shadow: var(--shadow-soft);
}
.price-badge {
  align-self: flex-start;
  margin-bottom: .7rem;
  padding: .2rem .5rem;
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.price-kicker {
  margin: 0 0 .3rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.price-card h3 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}
.price-desc {
  min-height: 2.8rem;
  margin: 0 0 .9rem;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--muted);
}
.price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-bottom: .15rem;
}
.price strong {
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
}
.price span { font-size: .7rem; color: var(--muted); }
.price-note {
  margin: 0 0 .9rem;
  font-size: .66rem;
  color: var(--muted);
}
.price-list {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}
.price-list li {
  display: flex;
  gap: .45rem;
  padding: .38rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  line-height: 1.45;
  color: var(--navy-2);
}
.price-card--featured .price-list li { border-color: #CFE3FF; }
.price-list li:last-child { border-bottom: 0; }
.price-list svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: .22rem;
  color: var(--blue);
}
.price-card .btn { margin-top: auto; }
.pricing-note {
  margin: 1.1rem 0 0;
  font-size: .7rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------- confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.confidence-item {
  display: flex;
  gap: .9rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.confidence-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
}
.confidence-icon svg { width: 16px; height: 16px; }
.confidence-item h3 {
  margin: 0 0 .25rem;
  font-family: var(--display);
  font-size: .93rem;
  font-weight: 600;
}
.confidence-item p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------- faq */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details {
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  cursor: pointer;
  list-style: none;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform .18s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: .55rem 0 0;
  max-width: 44rem;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--muted);
}
.faq details a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ----------------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-lead {
  max-width: 30rem;
  margin: .9rem 0 1.4rem;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--muted);
}
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  gap: .55rem;
  padding: .35rem 0;
  font-size: .82rem;
  color: var(--navy-2);
}
.contact-list svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: .22rem;
  color: var(--blue);
}
.contact-direct {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
  font-size: .78rem;
  color: var(--muted);
}
.contact-direct a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.contact-direct a:hover { text-decoration: underline; }

.form-card {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.field { display: flex; flex-direction: column; gap: .25rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-2);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: .62rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: .84rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8A98A8; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,95,191,.12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error {
  min-height: .9em;
  font-size: .64rem;
  color: var(--error);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231D5FBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  padding-right: 2rem;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1rem;
  margin-top: .9rem;
}
.form-foot .btn { min-width: 160px; }
.form-note {
  flex: 1;
  min-width: 12rem;
  margin: 0;
  font-size: .64rem;
  line-height: 1.5;
  color: var(--muted);
}
.form-note a { color: var(--blue); }
.form-status {
  margin: .7rem 0 0;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--muted);
}
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="success"] { color: var(--success); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  padding: 2.4rem 0 1.4rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr .9fr;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { color: var(--navy); margin-bottom: .55rem; }
.footer-brand .brand-name em { color: var(--blue); }
.footer-brand p {
  max-width: 21rem;
  margin: 0;
  font-size: .76rem;
  line-height: 1.55;
}
.footer-col h3 {
  margin: 0 0 .55rem;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.footer-col a,
.footer-col span {
  display: block;
  padding: .2rem 0;
  font-size: .76rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-top: 1rem;
  font-size: .66rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }

/* --------------------------------------------------------------- legal page */
.legal-page { padding: clamp(2.8rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.legal { max-width: 720px; margin-inline: auto; }
.legal h1 { margin: 0 0 .4rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-meta {
  margin: 0 0 1.5rem;
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
}
.legal-lead {
  margin: 0 0 1.6rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy-2);
}
.legal h2 { margin: 1.7rem 0 .45rem; font-size: 1.25rem; }
.legal p, .legal li { font-size: .88rem; line-height: 1.7; color: var(--muted); }
.legal ul { margin: .4rem 0 .8rem; padding-left: 1.1rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal code {
  padding: .08rem .28rem;
  border-radius: 3px;
  background: var(--blue-soft);
  font-size: .84em;
}
.legal-back {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.legal-back a { font-weight: 600; text-decoration: none; }

/* ------------------------------------------------------------------ reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(12px);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 700px; margin-inline: auto; width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-brand { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .proof-stat { border-right: 1px solid var(--line); }
  .proof-stat:nth-child(3) { border-right: 0; }
  .proof-stat:nth-child(5) { border-right: 0; }
  .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(3), .process-step:nth-child(4) { border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .topbar .wrap { min-height: 34px; }
  .topbar p { font-size: .72rem; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .8rem 1.5rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(11,31,51,.07);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { display: block; color: var(--blue); font-weight: 600; }
  .header-inner .btn { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 64px; gap: 1rem; }
  .topbar p { display: block; font-size: .68rem; }
  .topbar-long { display: none; }
  .topbar-short { display: inline; }
  .topbar .wrap { justify-content: space-between; }
  .brand-name { font-size: 1.05rem; }
  .hero { padding-top: 2.6rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero-actions .btn { width: 100%; }
  .hero-badge { left: .5rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-brand { grid-column: 1 / -1; }
  .proof-stat { padding: 1rem .8rem; }
  .proof-stat:nth-child(3) { border-right: 0; }
  .proof-stat:nth-child(5) { border-right: 0; }
  .section-head { grid-template-columns: 1fr; gap: 0; }
  .scope-grid, .role-grid, .confidence-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; border-top: 0; }
  .process-step { border-right: 0; border-top: 1px solid var(--line); padding: 1rem 0; }
  .process-step:first-child { border-top: 1px solid var(--line-strong); }
  .case-metrics { grid-template-columns: 1fr 1fr; }
  .case-metric:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal.reveal-pending { opacity: 1; transform: none; }
}

section[id] { scroll-margin-top: 5.25rem; }

@media (min-width: 721px) { .topbar-short { display: none; } }

.eyebrow-short { display: none; }
@media (max-width: 720px) {
  .eyebrow-long { display: none; }
  .eyebrow-short { display: inline; }
  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
  }
  .hero-proof > span + span::before { display: none; }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar-links a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-links a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .topbar-links { gap: .7rem; }
  .topbar-links a:first-child { display: none; }
}
