/* =========================================================
   MASTERPLANSOCIAL — Design System
   Palette: brick red / warm near-black / warm off-white
   Type: Space Grotesk (display) + IBM Plex Sans (body) + IBM Plex Mono (labels)
   Signature motif: the "connection grid" — dotted nodes + paths,
   a nod to both a city map and a social network.
   ========================================================= */

:root{
  /* --- color tokens --- */
  --red:        #B3271F;   /* primary brand red, brick-warm not neon */
  --red-bright: #D8402F;   /* hover / active accent */
  --red-deep:   #7E1B16;   /* shadows, gradients on red */
  --ink:        #211E1D;   /* grayish-black, warm undertone */
  --ink-soft:   #3B3634;   /* secondary text on light bg */
  --gray:       #6E6864;   /* muted text */
  --line:       #E4DFDA;   /* hairline borders on light bg */
  --line-on-red:rgba(255,255,255,.18);
  --paper:      #FBF9F6;   /* warm off-white section bg */
  --paper-dim:  #F2ECE6;   /* slightly deeper warm white */
  --white:      #FFFFFF;

  /* --- type --- */
  --f-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- layout --- */
  --nav-h: 76px;
  --max: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22,.8,.28,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--f-display); margin:0 0 .5em; line-height:1.12; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; }
button{ font-family:inherit; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

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

/* =========================================================
   SIGNATURE MOTIF — connection grid background
   ========================================================= */
.grid-motif{
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.16;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.9) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 78% 15%, rgba(255,255,255,.9) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 55% 62%, rgba(255,255,255,.9) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 25% 82%, rgba(255,255,255,.9) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 92% 70%, rgba(255,255,255,.9) 0 2.5px, transparent 2.6px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size:auto, auto, auto, auto, auto, 64px 64px, 64px 64px;
}
.grid-motif.on-light{
  opacity:.5;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(179,39,31,.5) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 78% 15%, rgba(179,39,31,.5) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 55% 62%, rgba(179,39,31,.5) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 25% 82%, rgba(179,39,31,.5) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 92% 70%, rgba(179,39,31,.5) 0 2.5px, transparent 2.6px),
    linear-gradient(90deg, rgba(179,39,31,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(179,39,31,.08) 1px, transparent 1px);
  background-size:auto, auto, auto, auto, auto, 64px 64px, 64px 64px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,249,246,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  height:var(--nav-h);
}
.nav-wrap{
  max-width:var(--max); margin:0 auto; padding:0 28px;
  height:100%; display:flex; align-items:center; gap:36px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:var(--f-display); font-weight:700; font-size:1.18rem;
  color:var(--ink); flex-shrink:0;
  transition:opacity .2s var(--ease);
}
.logo:hover{ opacity:.75; }
.logo .mark{ width:34px; height:34px; }
.logo .mark circle{ fill:var(--red); }
.logo .mark path{ stroke:var(--white); }
.logo-word b{ color:var(--red); }

.site-nav{
  display:flex; align-items:center; gap:4px;
}
.nav-link{
  position:relative;
  font-family:var(--f-mono); font-size:.86rem; letter-spacing:.02em;
  padding:9px 16px;
  border-radius:999px;
  color:var(--ink-soft);
  transition:color .2s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.nav-link:hover{
  color:var(--white);
  background:var(--red);
  transform:translateY(-1px);
}
.nav-link.is-active{
  color:var(--white);
  background:var(--ink);
}
.nav-link.is-active:hover{ background:var(--ink); }

.nav-cta{
  margin-left:auto;
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--f-mono); font-size:.82rem;
  background:var(--red); color:var(--white);
  padding:10px 18px; border-radius:999px;
  transition:background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--red-bright); transform:translateY(-1px); box-shadow:0 8px 20px -8px rgba(179,39,31,.6); }

.nav-toggle{
  display:none;
  margin-left:auto;
  width:44px; height:44px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--white);
  align-items:center; justify-content:center;
  flex-direction:column; gap:5px;
  cursor:pointer;
}
.nav-toggle span{
  width:20px; height:2px; background:var(--ink);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.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); }

@media (max-width: 900px){
  .nav-wrap{ gap:16px; }
  .site-nav{
    position:fixed; top:var(--nav-h); left:0; right:0;
    flex-direction:column; align-items:stretch;
    background:var(--white);
    border-bottom:1px solid var(--line);
    padding:10px 20px 22px;
    gap:2px;
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s var(--ease), transform .25s var(--ease);
    max-height:calc(100vh - var(--nav-h));
    overflow:auto;
  }
  .site-nav.is-open{
    opacity:1; transform:translateY(0); pointer-events:auto;
  }
  .nav-link{ padding:14px 12px; border-radius:10px; font-size:.95rem; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-mono); font-size:.88rem;
  padding:13px 26px; border-radius:999px;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  cursor:pointer; border:1px solid transparent;
}
.btn-primary{ background:var(--ink); color:var(--white); }
.btn-primary:hover{ background:var(--red); transform:translateY(-2px); box-shadow:0 10px 24px -10px rgba(179,39,31,.55); }
.btn-outline{ background:transparent; border-color:currentColor; }
.btn-on-red{ color:var(--white); border-color:rgba(255,255,255,.55); }
.btn-on-red:hover{ background:var(--white); color:var(--red); transform:translateY(-2px); }
.btn-on-light{ color:var(--ink); border-color:var(--ink); }
.btn-on-light:hover{ background:var(--ink); color:var(--white); transform:translateY(-2px); }

/* =========================================================
   SECTION HELPERS
   ========================================================= */
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-red{ background:var(--red); color:var(--white); position:relative; overflow:hidden; }
.section-ink{ background:var(--ink); color:var(--white); position:relative; overflow:hidden; }
.section-paper{ background:var(--paper); }
.section-dim{ background:var(--paper-dim); }

.eyebrow{
  display:inline-block; font-family:var(--f-mono); font-size:.78rem;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--red); margin-bottom:14px;
}
.eyebrow.on-red{ color:var(--white); opacity:.85; }
.eyebrow.on-red::before{ background:var(--white); }
.eyebrow::before{ content:'●'; font-size:.5rem; margin-right:8px; color:var(--red); vertical-align:middle;}
.eyebrow.on-red::before{ color:var(--white); }

.lede{ font-size:1.15rem; color:var(--ink-soft); max-width:62ch; }
.lede.on-red{ color:rgba(255,255,255,.92); }

/* Centered page-intro pattern used at the top of every interior page and
   section headers, so copy wraps into a balanced couple of lines instead
   of a left-hugging wall of text or a single long thin line. Purely a
   layout/typography change — no copy is shortened here, so page word
   count (and SEO value) is unaffected. */
.section-intro{ max-width:660px; margin:0 auto; text-align:center; }
.section-intro .eyebrow{ display:inline-block; }
.section-intro h1, .section-intro h2{ margin-left:auto; margin-right:auto; }
.section-intro .lede{ max-width:54ch; margin-left:auto; margin-right:auto; }
.section-intro .hero-actions,
.section-intro .btn-row{ justify-content:center; }

/* =========================================================
   HOME — HERO (image left / red text right)
   ========================================================= */
.hero{
  position:relative;
  background:linear-gradient(155deg, var(--red) 0%, var(--red-deep) 100%);
  color:var(--white);
  overflow:hidden;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center; gap:56px;
  padding:64px 0 76px;
}
.hero-art{
  aspect-ratio:1/1;
  border-radius:var(--radius);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:hidden;
}
.hero-art svg{ width:88%; height:88%; }
.hero-copy h1{ font-size:clamp(2.1rem, 4vw, 3.1rem); }
.hero-copy .lede{ max-width:52ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; padding:44px 0 56px; gap:32px; }
  .hero-art{ order:-1; aspect-ratio:16/10; }
}

/* pillars strip on home */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.pillar{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px; transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar:hover{ transform:translateY(-6px); box-shadow:0 20px 40px -24px rgba(33,30,29,.35); border-color:var(--red); }
.pillar .num{ font-family:var(--f-mono); color:var(--red); font-size:.85rem; }
.pillar h3{ font-size:1.15rem; margin-top:8px; }
.pillar p{ color:var(--gray); margin:0; font-size:.96rem; }

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

/* =========================================================
   CARDS / FEATURE GRID (What We Do)
   ========================================================= */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feature-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-card:hover{ transform:translateY(-5px); box-shadow:0 18px 36px -22px rgba(33,30,29,.3); }
.feature-card .icon{ width:42px; height:42px; margin-bottom:16px; color:var(--red); }
.feature-card h3{ font-size:1.05rem; margin-bottom:8px; }
.feature-card p{ color:var(--gray); font-size:.93rem; margin:0; }
@media (max-width:900px){ .feature-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .feature-grid{ grid-template-columns:1fr; } }

.callout{
  border:1px dashed var(--line);
  background:var(--paper-dim);
  border-radius:var(--radius);
  padding:26px 28px;
}
.callout strong{ color:var(--red); }

/* =========================================================
   HOW IT WORKS — timeline
   ========================================================= */
.timeline{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  counter-reset:step;
}
.step{
  position:relative;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 22px 26px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.step:hover{ transform:translateY(-6px); box-shadow:0 20px 38px -22px rgba(33,30,29,.32); border-color:var(--red); }
.step .step-num{
  font-family:var(--f-display); font-weight:700; font-size:2rem;
  color:var(--line); -webkit-text-stroke:1.4px var(--red); color:transparent;
  line-height:1; margin-bottom:14px; display:block;
}
.step h3{ font-size:1.05rem; margin-bottom:8px; }
.step p{ color:var(--gray); font-size:.92rem; margin:0; }
.step-connector{ display:none; }

@media (min-width:901px){
  .timeline{ position:relative; }
  .timeline::before{
    content:''; position:absolute; top:52px; left:6%; right:6%; height:2px;
    background:repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
    z-index:0;
  }
}
@media (max-width:900px){
  .timeline{ grid-template-columns:1fr; }
}

.optional-box{
  margin-top:28px;
  border-radius:var(--radius);
  background:var(--paper-dim);
  border:1px solid var(--line);
  padding:26px 28px;
  display:flex; gap:18px; align-items:flex-start;
}
.optional-box .tag{
  font-family:var(--f-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em;
  background:var(--ink); color:var(--white); padding:4px 10px; border-radius:6px; flex-shrink:0; margin-top:3px;
}
.privacy-note{
  margin-top:18px;
  border-left:3px solid var(--red);
  background:var(--white);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  padding:18px 22px;
  font-size:.93rem; color:var(--ink-soft);
}
.privacy-note strong{ color:var(--red); }

/* =========================================================
   ABOUT
   ========================================================= */
.about-hero{
  display:grid; grid-template-columns:1.3fr .9fr; gap:48px;
  align-items:start;
}
.pull-quote{
  background:var(--paper-dim); border:1px solid var(--line); border-radius:var(--radius);
  padding:36px 32px; position:relative; overflow:hidden;
}
.pull-quote::before{
  content:'\201C'; position:absolute; top:2px; left:22px;
  font-family:var(--f-display); font-size:4rem; color:var(--red); opacity:.22; line-height:1;
}
.pull-quote blockquote{
  margin:26px 0 0; font-family:var(--f-display); font-size:1.35rem; line-height:1.4; color:var(--ink);
}
.pull-quote cite{
  display:block; margin-top:18px; font-family:var(--f-mono); font-size:.78rem;
  letter-spacing:.04em; text-transform:uppercase; color:var(--red); font-style:normal;
}
.about-split{
  display:grid; grid-template-columns:1.3fr .9fr; gap:48px;
  align-items:start; margin-top:52px;
}
.about-info{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 28px; justify-self:end; width:100%;
}
.about-info h3{ font-size:1rem; text-transform:uppercase; letter-spacing:.06em; font-family:var(--f-mono); color:var(--red); margin-bottom:18px;}
.about-row{ display:flex; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
.about-row:first-of-type{ border-top:none; padding-top:0; }
.about-row .lbl{ font-family:var(--f-mono); font-size:.78rem; color:var(--gray); width:80px; flex-shrink:0; }
.about-row .val{ font-weight:600; }
@media (max-width:820px){
  .about-hero{ grid-template-columns:1fr; }
  .about-split{ grid-template-columns:1fr; }
  .about-info{ justify-self:stretch; }
}

/* =========================================================
   GUIDE
   ========================================================= */
.guide-panel{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center;
}
@media (max-width:860px){
  .guide-panel{ grid-template-columns:1fr; gap:36px; }
}

.doc-mock{
  aspect-ratio:3/4; max-width:320px; margin:0 auto;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 30px 60px -30px rgba(33,30,29,.4);
  position:relative; overflow:hidden;
  display:flex; flex-direction:column;
}
.doc-mock::after{
  /* a second sheet peeking out behind, so it reads as a stack of pages rather than a lone flat rectangle */
  content:''; position:absolute; top:14px; left:14px; right:-10px; bottom:-10px;
  background:var(--paper-dim); border:1px solid var(--line); border-radius:var(--radius);
  z-index:-1;
}
.doc-mock-band{
  background:var(--red); color:var(--white);
  padding:20px 24px 16px;
  font-family:var(--f-mono); font-size:.74rem; letter-spacing:.08em; text-transform:uppercase;
  display:flex; align-items:center; gap:8px;
}
.doc-mock-band .mark-sm circle{ fill:var(--white); }
.doc-mock-band .mark-sm path{ stroke:var(--red); }
.doc-mock-body{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:30px 26px; gap:12px;
}
.doc-mock-icon{ width:50px; height:50px; color:var(--red); }
.doc-mock-title{ font-family:var(--f-display); font-weight:700; font-size:1.2rem; color:var(--ink); line-height:1.25; }
.doc-mock-sub{ color:var(--gray); font-size:.85rem; }
.doc-mock-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:6px; }
.doc-mock-badge{
  font-family:var(--f-mono); font-size:.7rem; letter-spacing:.03em;
  background:var(--paper-dim); border:1px solid var(--line); color:var(--ink-soft);
  padding:5px 12px; border-radius:999px;
}

/* =========================================================
   ANALYZER
   ========================================================= */
.analyzer-panel{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:36px; box-shadow:0 24px 50px -30px rgba(33,30,29,.3);
}
.dropzone{
  border:2px dashed var(--line); border-radius:var(--radius);
  padding:44px 24px; text-align:center;
  transition:border-color .2s var(--ease), background .2s var(--ease);
  cursor:pointer;
}
.dropzone:hover, .dropzone.is-drag{ border-color:var(--red); background:var(--paper-dim); }
.dropzone .icon{ width:46px; height:46px; margin:0 auto 14px; color:var(--red); }
.dropzone h3{ font-size:1.02rem; margin-bottom:6px; }
.dropzone p{ color:var(--gray); font-size:.88rem; margin:0; }
.file-list{ margin-top:16px; display:flex; flex-direction:column; gap:8px; }
.file-chip{
  display:flex; align-items:center; justify-content:space-between;
  background:var(--paper-dim); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:10px 14px; font-size:.88rem;
}
.file-chip .rm{ cursor:pointer; color:var(--red); font-family:var(--f-mono); }
.analyzer-actions{ display:flex; align-items:center; gap:16px; margin-top:22px; flex-wrap:wrap; }
#analyzeBtn:disabled{ opacity:.45; cursor:not-allowed; }
.analyzer-status{ font-family:var(--f-mono); font-size:.82rem; color:var(--gray); }

.results{
  margin-top:30px; display:none;
}
.results.is-visible{ display:block; animation:fadeUp .5s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(12px);} to{ opacity:1; transform:translateY(0);} }
.results-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:22px; }
.metric{
  background:var(--paper-dim); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:18px;
}
.metric .m-label{ font-family:var(--f-mono); font-size:.72rem; color:var(--gray); text-transform:uppercase; letter-spacing:.06em; }
.metric .m-value{ font-family:var(--f-display); font-size:1.7rem; font-weight:700; color:var(--red); margin-top:4px;}
.insight-list{ display:flex; flex-direction:column; gap:12px; }
.insight{
  display:flex; gap:12px; padding:14px 16px; border-radius:var(--radius-sm);
  background:var(--paper-dim); border:1px solid var(--line);
}
.insight .dot{ width:8px; height:8px; border-radius:50%; background:var(--red); margin-top:7px; flex-shrink:0; }
@media (max-width:700px){ .results-grid{ grid-template-columns:1fr 1fr; } }

/* =========================================================
   FAQ (accordion, used on Home)
   ========================================================= */
.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-q{
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:22px 4px; font-family:var(--f-display); font-size:1.02rem; color:var(--ink);
}
.faq-q .plus{
  font-family:var(--f-mono); font-size:1.2rem; color:var(--red); transition:transform .3s var(--ease); flex-shrink:0;
}
.faq-item.is-open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .35s var(--ease);
  color:var(--gray); font-size:.95rem;
}
.faq-a-inner{ padding:0 4px 22px; max-width:70ch; }
.faq-item.is-open .faq-a{ max-height:300px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--ink); color:rgba(255,255,255,.75);
  padding:56px 0 28px;
}
.footer-top{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px;
  padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand{ max-width:340px; }
.footer-brand .logo{ color:var(--white); margin-bottom:12px; }
.footer-brand p{ color:rgba(255,255,255,.6); font-size:.9rem; }
.footer-links{ display:flex; gap:56px; flex-wrap:wrap; }
@media (max-width:640px){
  .footer-links{ gap:32px; }
  .footer-top{ gap:36px; }
}
.footer-col h4{ font-family:var(--f-mono); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:14px; }
.footer-col a{ display:block; padding:6px 0; color:rgba(255,255,255,.82); font-size:.92rem; transition:color .2s var(--ease); }
.footer-col a:hover{ color:var(--red-bright); }
.footer-bottom{ padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.82rem; color:rgba(255,255,255,.45); font-family:var(--f-mono); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* misc */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
@media (max-width:800px){ .two-col{ grid-template-columns:1fr; } }

/* plain value list — replaces the old hashtag-style chip row on About */
.value-list{ margin-top:20px; display:flex; flex-direction:column; gap:10px; }
.value-item{ display:flex; align-items:baseline; gap:10px; color:var(--ink-soft); font-size:.96rem; }
.value-item::before{ content:'\25CF'; font-size:.55em; color:var(--red); font-family:var(--f-mono); flex-shrink:0; position:relative; top:-2px; }

/* compact social row, used inside cards (About contact card) rather than only the footer */
.social-row-sm{ display:flex; gap:8px; margin-top:18px; }
.social-row-sm a{
  width:32px; height:32px; border-radius:50%;
  border:1px solid var(--line); color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.social-row-sm a:hover{ background:var(--red); border-color:var(--red); color:var(--white); transform:translateY(-2px); }
.social-row-sm svg{ width:15px; height:15px; }

/* =========================================================
   SMALL-SCREEN REFINEMENTS
   (general pass so mobile doesn't just inherit desktop spacing
   at a smaller viewport — tighter padding, centered banners,
   friendlier touch targets)
   ========================================================= */
@media (max-width:600px){
  .wrap{ padding:0 20px; }
  .section{ padding:56px 0; }
  .section-tight{ padding:40px 0; }
  .banner-row{ justify-content:center; text-align:center; }
  .banner-row .btn-row{ justify-content:center; }
  .analyzer-panel{ padding:24px 20px; }
  .about-info{ padding:24px 22px; }
  .step, .feature-card, .pillar{ padding:24px 20px; }
  .doc-mock{ max-width:240px; }
}

/* =========================================================
   UTILITIES
   (kept intentionally small + reused, in place of inline styles,
   for cleaner markup and better performance/SEO hygiene)
   ========================================================= */
.mw-14ch{ max-width:14ch; }
.mw-16ch{ max-width:16ch; }
.mw-18ch{ max-width:18ch; }
.mw-20ch{ max-width:20ch; }
.mw-22ch{ max-width:22ch; }
.mw-26ch{ max-width:26ch; }
.mw-900{ max-width:900px; }
.mw-820{ max-width:820px; }
.mx-auto{ margin-left:auto; margin-right:auto; }

.mt-28{ margin-top:28px; }
.mt-44{ margin-top:44px; }
.mt-52{ margin-top:52px; }
.mb-0{ margin-bottom:0; }
.mb-6{ margin-bottom:6px; }
.mb-36{ margin-bottom:36px; }

.h1-tight{ font-size:clamp(1.9rem,3.6vw,2.7rem); }

/* the recurring "banner" CTA row: heading+copy on one side, button on the other */
.banner-row{
  position:relative;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px;
}
.muted-on-ink{ color:rgba(255,255,255,.65); margin:0; }
.banner-row p.lede.on-red{ margin:0; }
.banner-row h3{ margin-bottom:6px; }

.btn-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }
.row-gap-12{ display:flex; gap:12px; }

.link-underline{ border-bottom:1px solid var(--line); }
.link-red{ text-decoration:underline; color:var(--red); }

.num-red{ color:var(--red); font-family:var(--f-mono); }

.plain-list{ list-style:none; padding:0; margin:0 0 28px; display:flex; flex-direction:column; gap:14px; }

.optional-box h3{ margin-bottom:6px; font-size:1.05rem; }
.optional-box p{ margin:0; color:var(--gray); }

.pdf-fallback-note{ padding:16px; font-size:.85rem; color:var(--gray); }

.demo-note{ margin-top:28px; font-size:.85rem; color:var(--gray); }

/* visually-hidden but still readable to search engines / screen readers */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* footer address + social row */
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; min-width:36px; min-height:36px; max-width:36px; max-height:36px;
  flex-shrink:0;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover{ background:var(--red); border-color:var(--red); transform:translateY(-2px); }
.footer-social svg{ width:16px; height:16px; min-width:16px; min-height:16px; flex-shrink:0; }
.footer-address{ color:rgba(255,255,255,.6); font-size:.9rem; margin:4px 0 0; }
