/* ============================================================
   Pathbreak — informational site
   Palette & aesthetic matched to the Pathbreak attack-map UI
   ============================================================ */

:root {
  /* Core surfaces */
  --bg:        #07060d;
  --bg-2:      #0b0a16;
  --surface:   #100e1f;
  --surface-2: #15132a;
  --line:      rgba(139, 124, 246, 0.14);
  --line-strong: rgba(139, 124, 246, 0.30);

  /* Text */
  --text:      #ecebf7;
  --muted:     #a6a4c4;
  --muted-2:   #74718f;

  /* Brand */
  --violet:    #8b5cf6;
  --indigo:    #6366f1;
  --magenta:   #d946ef;
  --cyan:      #22d3ee;
  --crimson:   #f43f5e;
  --amber:     #f59e0b;
  --green:     #34d399;

  --grad: linear-gradient(120deg, #d946ef 0%, #8b5cf6 38%, #6366f1 68%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(217,70,239,.18), rgba(99,102,241,.16), rgba(34,211,238,.14));

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --shadow: 0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-glow: 0 0 0 1px var(--line-strong), 0 30px 80px -40px rgba(124,92,246,.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Ambient background ============ */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(139,124,246,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,124,246,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(120px); opacity: .5; pointer-events: none;
}
.bg-glow--one {
  width: 620px; height: 620px; top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(217,70,239,.42), transparent 60%);
}
.bg-glow--two {
  width: 560px; height: 560px; top: 220px; left: -200px;
  background: radial-gradient(circle, rgba(34,211,238,.30), transparent 60%);
}

/* ============ Buttons ============ */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .72rem 1.3rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn--primary {
  color: #0a0712;
  border: 0;
  background-image: var(--grad);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: 0 10px 30px -10px rgba(139,92,246,.7);
  font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-position .4s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(217,70,239,.75); }
.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: var(--violet); background: rgba(139,92,246,.10); transform: translateY(-2px); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,7,16,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

/* Brand lockup: PNG mark + Inter wordmark */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { display: block; height: 38px; width: auto; }
.brand__word {
  font-size: 1.4rem; font-weight: 800; letter-spacing: .02em;
  line-height: 1; color: #c7c9e6; white-space: nowrap;
}
.brand__word strong { color: #fff; font-weight: 800; }
.brand--footer .brand__mark { height: 34px; }
.brand--footer .brand__word { font-size: 1.25rem; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: .6rem; align-items: center; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: .25rem;
  padding: 0 24px; max-height: 0; overflow: hidden;
  background: rgba(8,7,16,.96); border-bottom: 1px solid transparent;
  transition: max-height .35s var(--ease), padding .35s var(--ease), border-color .3s;
}
.nav__mobile a { padding: .85rem .25rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: 0; margin: .6rem 0 1rem; }
.nav__mobile.is-open { max-height: 460px; border-bottom-color: var(--line); padding-bottom: .5rem; }

/* ============ Hero ============ */
.hero { position: relative; padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3rem,6vw,5rem); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
/* allow grid items to shrink below their content's intrinsic width (prevents mobile overflow) */
.hero__copy, .hero__visual { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center;
  max-width: 100%;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--grad-soft);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.35 } }

.hero__title { font-size: clamp(2.5rem, 5.4vw, 4rem); margin: 1.3rem 0 0; text-wrap: balance; }
.hero__lede { margin-top: 1.4rem; font-size: clamp(1.05rem,1.6vw,1.22rem); color: var(--muted); max-width: 36ch; }
.hero__actions { display: flex; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }

.hero__stats {
  list-style: none; padding: 0; margin: 2.6rem 0 0;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.hero__stats strong { display: block; font-size: 1.02rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { display: block; font-size: .82rem; color: var(--muted-2); margin-top: .3rem; line-height: 1.45; }

/* Graph card */
.hero__visual { position: relative; }
.graph-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  position: relative;
  max-width: 100%;
}
.graph-card::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(circle at 70% 0%, rgba(217,70,239,.12), transparent 55%);
}
.graph-card__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--red { background: #ff5f57; } .dot--amber { background: #febc2e; } .dot--green { background: #28c840; }
.graph-card__title { font-size: .78rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; margin-left: .4rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.graph-card__badge {
  margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #ffd9e0; background: rgba(244,63,94,.18); border: 1px solid rgba(244,63,94,.45);
  padding: .2rem .55rem; border-radius: 999px;
}
.graph-svg { display: block; width: 100%; height: auto; aspect-ratio: 560 / 420; }
.graph-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem .95rem; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted);
}
.graph-card__foot .mono { color: var(--muted-2); font-size: .72rem; }
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); margin-right: .45rem; vertical-align: middle; }

/* ============ Strip ============ */
.strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.strip__inner { display: flex; align-items: center; gap: 2rem; padding: 1.1rem 24px; flex-wrap: wrap; }
.strip__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 600; }
.strip__items { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.strip__items li { font-weight: 700; color: var(--muted); letter-spacing: .01em; opacity: .85; }

/* ============ Sections ============ */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--alt { background:
   linear-gradient(180deg, transparent, rgba(139,92,246,.04), transparent);
}
.section__head { max-width: 760px; margin: 0 auto clamp(2.5rem,5vw,4rem); text-align: center; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 1rem;
}
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section__sub { margin-top: 1.2rem; color: var(--muted); font-size: clamp(1rem,1.4vw,1.12rem); }

/* ============ Cards ============ */
.cards { display: grid; gap: 1.4rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card::after {
  content:""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.2rem;
  background: var(--grad-soft); border: 1px solid var(--line-strong);
  position: relative;
}
.card__icon::before { content:""; position: absolute; inset: 0; background-repeat: no-repeat; background-position: center; background-size: 24px; }
.icon--graph::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='6' r='2.2'/%3E%3Ccircle cx='19' cy='8' r='2.2'/%3E%3Ccircle cx='12' cy='18' r='2.2'/%3E%3Cpath d='M6.8 7L17 8M6.6 7.8L11 16M13.5 16.4L18 9.7'/%3E%3C/svg%3E"); }
.icon--shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4.5'/%3E%3C/svg%3E"); }
.icon--break::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9a8d4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3l-2 7h5l-3 11'/%3E%3Cpath d='M4 12h4M16 12h4' opacity='.55'/%3E%3C/svg%3E"); }

/* ============ Paths ============ */
.paths { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.path {
  position: relative; padding: 2rem 1.9rem 2.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(21,19,42,.6), rgba(11,10,22,.6));
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.path:hover { transform: translateY(-4px); border-color: var(--line-strong); background: linear-gradient(160deg, rgba(28,24,56,.8), rgba(13,11,28,.8)); }
.path__no {
  font-family: 'JetBrains Mono', monospace; font-size: .82rem; font-weight: 600;
  color: var(--magenta); letter-spacing: .1em;
}
.path h3 { font-size: 1.3rem; margin: .7rem 0 .7rem; }
.path p { color: var(--muted); font-size: .98rem; }
.path__tag {
  display: inline-block; margin-top: 1.1rem; font-size: .74rem;
  color: var(--muted); padding: .35rem .65rem; border-radius: 8px;
  background: rgba(139,92,246,.10); border: 1px solid var(--line);
}

/* ============ Steps ============ */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem;
  counter-reset: step;
}
.step {
  position: relative; padding: 1.8rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 1rem;
  font-weight: 800; color: #0a0712; background: var(--grad);
  box-shadow: 0 8px 22px -10px rgba(139,92,246,.8);
}
.step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* ============ CTA banner ============ */
.cta { padding: clamp(2rem,5vw,3.5rem) 0; }
.cta__inner {
  text-align: center; max-width: 820px; margin-inline: auto;
  padding: clamp(2.4rem,5vw,4rem) clamp(1.5rem,4vw,3rem);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(217,70,239,.20), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta__inner h2 { font-size: clamp(1.8rem,3.6vw,2.6rem); }
.cta__inner p { color: var(--muted); margin: 1rem auto 1.9rem; max-width: 52ch; }

/* ============ Company ============ */
.company { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.company__copy h2 { font-size: clamp(1.8rem,3.6vw,2.6rem); margin-bottom: 1.2rem; }
.company__copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.company__panel { display: grid; gap: 1rem; }
.panel-stat {
  padding: 1.3rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border-left: 3px solid transparent; border-image: var(--grad) 1;
}
.panel-stat strong { display: block; font-size: 1.1rem; }
.panel-stat span { color: var(--muted-2); font-size: .85rem; font-family: 'JetBrains Mono', monospace; }

/* ============ Contact ============ */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact__copy { align-self: center; }
.contact__copy h2 { font-size: clamp(1.8rem,3.6vw,2.5rem); margin-bottom: .8rem; }
.contact__copy p { color: var(--muted); max-width: 46ch; }
.contact__alt { margin-top: 1.4rem; font-size: .95rem; }
.contact__mail { color: var(--violet); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact__mail:hover { border-bottom-color: var(--violet); }

/* Contact form */
.contact-form {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.field__opt { color: var(--muted-2); font-weight: 400; }
.field input, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: rgba(8,7,16,.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75rem .85rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); opacity: .7; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(8,7,16,.85);
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.field input:user-invalid, .field input.is-invalid {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(244,63,94,.15);
}
/* Honeypot: visually + a11y hidden, still in the DOM for bots */
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.contact-form__submit { width: 100%; margin-top: .4rem; }
.contact-form__spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(10,7,18,.35); border-top-color: #0a0712;
  animation: spin .7s linear infinite;
}
.contact-form.is-submitting .contact-form__spinner { display: inline-block; }
.contact-form.is-submitting .contact-form__submit { opacity: .8; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-form__status { font-size: .9rem; margin-top: .9rem; min-height: 1.2em; }
.contact-form__status.is-ok { color: var(--green); }
.contact-form__status.is-err { color: #fb7185; }
.contact-form__note { font-size: .78rem; color: var(--muted-2); margin-top: .9rem; }
.contact-form.is-done .field-row, .contact-form.is-done .field,
.contact-form.is-done .contact-form__submit, .contact-form.is-done .contact-form__note { display: none; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding-top: 3.5rem; margin-top: 1rem; background: linear-gradient(180deg, transparent, rgba(139,92,246,.03)); }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__brand .brand { margin-bottom: .2rem; }
.footer__tag { color: var(--muted-2); font-size: .9rem; margin-top: 1rem; max-width: 32ch; }
.footer__col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--muted); font-size: .92rem; padding: .25rem 0; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__addr address { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 24px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted-2);
}
.footer__bottom .mono { color: var(--violet); opacity: .8; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */

/* Small laptops — tighten the nav before it overflows */
@media (max-width: 1080px) {
  .nav__links { gap: 1.1rem; }
  .nav__inner { gap: 1rem; }
}

/* Tablet landscape / small laptop — stack the hero, 2-up grids */
@media (max-width: 980px) {
  .hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__copy { text-align: center; }
  .hero__lede { max-width: 56ch; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { max-width: 640px; margin-inline: auto; }
  .hero__visual { order: 2; max-width: 560px; margin-inline: auto; width: 100%; }
  .eyebrow { margin-inline: auto; }

  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: 1fr; gap: 2rem; }
  .company__panel { max-width: 560px; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__addr { grid-column: 1 / -1; }
}

/* Tablet portrait */
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Large phone / small tablet — hamburger nav, single column */
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .section { padding: clamp(3rem, 11vw, 4.5rem) 0; }
  .section__head { margin-bottom: 2.2rem; }

  .cards--3 { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: .9rem; text-align: left; }

  .strip__inner { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .strip__items { gap: 1rem 1.3rem; }

  .contact { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* Small phones — tighten spacing, full-width tap targets */
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .nav__inner { height: 64px; }
  .brand__mark { height: 32px; }
  .brand__word { font-size: 1.25rem; }

  .hero__title { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .graph-card__title { font-size: .68rem; }
  .graph-card__foot { font-size: .72rem; padding: .6rem .75rem; }
  .graph-card__foot .mono { font-size: .66rem; }

  .cta__inner { border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__bottom { padding-inline: 18px; }
}

/* Respect users who prefer reduced motion (belt-and-braces) */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
