/* ==========================================================================
   IronArchitects marketing site design system
   Brand navy anchored on the logo color (#083766). Steel/blueprint accents.
   ========================================================================== */

:root {
  /* Brand navy ramp (mirrors the platform portal theme) */
  --brand-50:  #eef4fa;
  --brand-100: #d6e4f2;
  --brand-200: #aecbe5;
  --brand-300: #7eaad2;
  --brand-400: #4a83b6;
  --brand-500: #25619a;
  --brand-600: #114d80;
  --brand-700: #083766; /* exact logo navy */
  --brand-800: #072c52;
  --brand-900: #06223e;
  --brand-950: #041523;

  /* Steel / accent */
  --steel-400: #7c93ab;
  --accent:    #38bdf8; /* electric blue used sparingly for highlights */
  --accent-glow: rgba(56, 189, 248, 0.35);

  /* Neutrals */
  --ink:      #0e1726;
  --body:     #41506a;
  --muted:    #6b7a93;
  --line:     #e3e9f1;
  --line-2:   #eef2f7;
  --surface:  #ffffff;
  --surface-2:#f6f9fc;
  --surface-3:#eef4fa;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  9px;
  --shadow-sm:  0 1px 2px rgba(8, 55, 102, 0.06), 0 1px 3px rgba(8, 55, 102, 0.08);
  --shadow:     0 10px 30px -12px rgba(8, 55, 102, 0.22);
  --shadow-lg:  0 30px 60px -20px rgba(8, 55, 102, 0.30);

  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-500); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center  { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-500);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-400); border-radius: 2px; }
.home .eyebrow { display: inline-block; letter-spacing: .09em; }
.home .eyebrow::before { content: none; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 650; font-size: .98rem; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand-700); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(8, 55, 102, 0.55);
}
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 12px 26px -8px rgba(8, 55, 102, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--brand-200); }
.btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-white:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-lg { padding: 16px 28px; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--ink); }
.brand b { color: var(--brand-700); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--body); font-weight: 550; font-size: .96rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-700); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-signin { display: none; }  /* mobile-only Sign In, shown inside the dropdown */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(56,189,248,0.14), transparent 60%),
    radial-gradient(900px 600px at 0% 0%, rgba(174,203,229,0.20), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(8,55,102,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,55,102,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%);
          mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: clamp(56px, 8vw, 104px) 0; }
.hero h1 { margin-top: 18px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand-600), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 6px; }

/* Hero visual: a stylized "generated design + compliance" card */
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card .card-top { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ef6a6a; } .dot.y { background: #f3c14e; } .dot.g { background: #5bc98a; }
.card-top .tab { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--brand-600); background: var(--brand-50); padding: 4px 10px; border-radius: 20px; }
.hero-card .card-body { padding: 20px; }
.hc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hc-row:last-child { border-bottom: 0; }
.hc-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.hc-row .t { font-weight: 650; color: var(--ink); font-size: .95rem; }
.hc-row .s { font-size: .82rem; color: var(--muted); }
.badge-pass { margin-left: auto; font-size: .76rem; font-weight: 700; color: #1c7a4a; background: #e4f6ec; padding: 4px 10px; border-radius: 20px; flex: none; }
.badge-flag { margin-left: auto; font-size: .76rem; font-weight: 700; color: #9a6800; background: #fdf0d2; padding: 4px 10px; border-radius: 20px; flex: none; }
.hero-card .card-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); }
.score { display: inline-flex; align-items: baseline; gap: 6px; }
.score b { font-size: 1.5rem; color: var(--brand-700); }
.score span { font-size: .8rem; color: var(--muted); }

/* ---- Logo / proof strip ---------------------------------------------- */
.proof { padding: 34px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--surface); }
.proof p { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.proof-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9rem; color: var(--brand-700);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px;
}

/* ---- Feature grid ----------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .96rem; color: var(--muted); }

/* ---- Section heading helper ------------------------------------------ */
.shead { max-width: 64ch; margin: 0 auto 52px; }
.shead.left { margin-left: 0; }

/* ---- How it works ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--brand-700); margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---- Alternating split feature rows ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split .visual {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px; min-height: 240px;
}
.split ul.checks { margin-top: 18px; display: grid; gap: 11px; }
ul.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--body); font-size: .98rem; }
ul.checks li svg { flex: none; margin-top: 3px; color: var(--brand-500); }

/* code-ish snippet block */
.snippet { font-family: var(--mono); font-size: .82rem; background: var(--brand-950); color: #cfe0f2; border-radius: var(--radius); padding: 18px 20px; line-height: 1.7; overflow-x: auto; }
.snippet .k { color: #6fb6ef; } .snippet .s { color: #7fd6a8; } .snippet .c { color: #6a8099; } .snippet .w { color: #f3c14e; }

/* mini control-matrix visual */
.matrix { display: grid; gap: 10px; }
.matrix .mrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.matrix .mrow .code { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 3px 8px; border-radius: 6px; flex: none; }
.matrix .mrow .lbl { font-size: .92rem; color: var(--body); }
.matrix .mrow .st { margin-left: auto; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; flex: none; }
.st.ok { color: #1c7a4a; background: #e4f6ec; }
.st.gap { color: #9a6800; background: #fdf0d2; }

/* ---- Stats band ------------------------------------------------------- */
.band { background: linear-gradient(150deg, var(--brand-800), var(--brand-700) 55%, var(--brand-600)); color: #fff; position: relative; overflow: hidden; }
.band::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px,transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(700px 400px at 85% 50%, #000, transparent 75%); mask-image: radial-gradient(700px 400px at 85% 50%, #000, transparent 75%); }
.band .container { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat span { color: var(--brand-200); font-size: .95rem; }

/* ---- CTA -------------------------------------------------------------- */
.cta-band { background: var(--surface-2); }
.cta-box {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-700) 60%, var(--brand-600));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-box::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px,transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(600px 300px at 50% -20%, #000, transparent 70%); mask-image: radial-gradient(600px 300px at 50% -20%, #000, transparent 70%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; }
.cta-box p { color: var(--brand-100); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---- Pricing ---------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; }
.plan.feat { border-color: var(--brand-400); box-shadow: var(--shadow); position: relative; }
.plan h3 { font-size: 1.2rem; }
.plan .price { margin: 10px 0 4px; display: flex; flex-direction: column; }
.plan .price b { font-size: 2.1rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.plan .price.contact b { font-size: 1.7rem; }
.plan .price span { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.plan .desc { color: var(--muted); font-size: .94rem; min-height: 42px; }
.plan ul.checks { margin: 22px 0 26px; gap: 12px; }
.plan .btn { width: 100%; margin-top: auto; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-500); font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---- Page hero (interior) -------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--surface-3), var(--surface)); border-bottom: 1px solid var(--line-2); padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.page-hero .lead { margin-top: 10px; }

/* ---- Security page specifics ----------------------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.sec-card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 14px; }
.sec-card h3 { font-size: 1.05rem; }
.sec-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.note { font-size: .82rem; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; }
.roadmap-tag { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-500); background: var(--brand-50); border-radius: 5px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--brand-950); color: #aebfd4; padding: 64px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand b { color: #fff; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer p { color: #8da4c0; font-size: .92rem; max-width: 34ch; }
.foot-col h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; color: #aebfd4; font-size: .94rem; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-bot { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #7e96b4; }

/* ---- Integrations ----------------------------------------------------- */
.intg-cat { margin-top: 52px; }
.intg-cat:first-of-type { margin-top: 0; }
.intg-cat > .head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.intg-cat > .head h3 { font-size: 1.15rem; margin: 0; }
.intg-cat > .head p { margin: 0; color: var(--muted); font-size: .92rem; }
.intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.intg-item {
  display: flex; align-items: center; gap: 14px; padding: 18px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.intg-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.intg-logo {
  width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; letter-spacing: -0.03em; color: var(--brand-700);
  background: var(--brand-50); border: 1px solid var(--line);
}
.intg-item .meta { min-width: 0; }
.intg-item .meta .nm { font-weight: 650; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.intg-item .meta .ds { font-size: .82rem; color: var(--muted); }
.itag { display: inline-block; margin-top: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; }
.itag.ok   { color: #1c7a4a; background: #e4f6ec; }
.itag.beta { color: #114d80; background: var(--brand-50); }
.itag.soon { color: #9a6800; background: #fdf0d2; }

/* ---- Legal / long-form content --------------------------------------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: .9rem; margin: -6px 0 8px; }
.legal .toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 36px; }
.legal .toc h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: .92rem; margin-bottom: 5px; }
.legal h2 { font-size: 1.4rem; margin-top: 44px; scroll-margin-top: 90px; }
.legal h2 .n { color: var(--brand-400); font-weight: 700; margin-right: 8px; }
.legal h3 { font-size: 1.08rem; margin-top: 26px; }
.legal p, .legal li { color: var(--body); font-size: 1rem; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal ul li { margin-bottom: 7px; }
.legal a { color: var(--brand-600); text-decoration: underline; }
.legal .ph { color: var(--brand-700); background: var(--brand-50); border-bottom: 1px dotted var(--brand-400); padding: 0 4px; border-radius: 3px; }
.legal .callout { background: var(--surface-2); border-left: 3px solid var(--brand-400); border-radius: 6px; padding: 14px 18px; margin: 22px 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }

/* footer legal links */
.foot-legal a { color: #7e96b4; font-size: .86rem; margin-left: 18px; }
.foot-legal a:first-child { margin-left: 0; }
.foot-legal a:hover { color: #fff; }

/* ---- Comparison table ------------------------------------------------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cmp { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--surface); }
.cmp th, .cmp td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.cmp th:first-child, .cmp td:first-child { text-align: left; font-weight: 600; color: var(--ink); width: 34%; }
.cmp thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 2px solid var(--line); font-weight: 700; }
.cmp thead th.us { color: #fff; background: var(--brand-700); border-top-left-radius: 8px; border-top-right-radius: 8px; }
.cmp td.us { background: var(--brand-50); font-weight: 650; color: var(--ink); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp .yes { color: #1c7a4a; font-weight: 800; }
.cmp .no  { color: #c0556b; font-weight: 700; }
.cmp .mid { color: #9a6800; font-weight: 600; font-size: .82rem; }

/* ---- Product screenshot gallery (browser-framed) --------------------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shots .shot.feature { grid-column: 1 / -1; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line-2); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.shot .bar i.r { background: #ef6a6a; } .shot .bar i.y { background: #f3c14e; } .shot .bar i.g { background: #5bc98a; }
.shot .bar span { margin-left: 8px; font-size: .78rem; color: var(--muted); font-family: var(--mono); }
.shot img { display: block; width: 100%; height: auto; background: var(--surface-2); }
.shot figcaption { padding: 14px 16px; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line-2); }
.shot figcaption b { color: var(--ink); font-weight: 650; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* clickable industry card */
a.card { text-decoration: none; color: inherit; display: block; }
a.card .more { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: var(--brand-600); font-weight: 650; font-size: .92rem; }
a.card:hover .more { gap: 9px; }

/* ---- Founder ---------------------------------------------------------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; max-width: 940px; margin: 0 auto; }
.founder-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
.founder-photo img { display: block; width: 100%; height: auto; }
.founder .name { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin: 2px 0 2px; }
.founder .role { color: var(--brand-600); font-weight: 650; font-size: 1rem; margin-bottom: 16px; }
.founder p { color: var(--body); font-size: 1rem; }
.founder .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.founder .chips span { font-size: .82rem; font-weight: 600; color: var(--brand-700); background: var(--surface-2); border: 1px solid var(--line); border-radius: 30px; padding: 6px 13px; }
.founder .founder-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 650; font-size: .95rem; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 26px; max-width: 460px; } .founder-photo { max-width: 260px; } }

/* ---- Founder quote (homepage) ---------------------------------------- */
.founder-quote { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.founder-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top center; border: 3px solid var(--surface); box-shadow: var(--shadow); margin-bottom: 20px; }
.founder-quote blockquote { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.5; color: var(--ink); font-weight: 550; letter-spacing: -0.01em; }
.founder-quote figcaption { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.founder-quote figcaption b { color: var(--ink); font-weight: 700; }
.founder-quote figcaption a { font-weight: 650; }

/* ---- Reveal-on-scroll ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-3, .sec-grid, .intg-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .split + .split { grid-template-columns: 1fr; gap: 32px; }
  .split .order-first { order: -1; }
  .pricing { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; gap: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 14px 24px 20px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 10px 0; width: 100%; }
  .nav.open .nav-signin { display: block; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--brand-700); font-weight: 650; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .sec-grid, .grid-2, .intg-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 420px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---- Dark band layout helpers (AI showcase sections) ------------------ */
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { background: var(--accent); }
.band h2, .band h3 { color: #fff; }
.band .lead, .band p { color: var(--brand-100); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band ul.checks li { color: var(--brand-100); }
.band ul.checks li svg { color: var(--accent); }
.band a:not(.btn) { color: var(--brand-200); text-decoration: underline; }
.band a:not(.btn):hover { color: #fff; }

/* ---- Agent deliberation card ------------------------------------------ */
.agent-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.agent-card .card-top { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.agent-card .card-body { padding: 8px 20px; }
.agent-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.agent-row:last-child { border-bottom: 0; }
.agent-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: .8rem; letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
}
.agent-ava.sec  { background: linear-gradient(135deg, #7f1d3a, #c0556b); }
.agent-ava.cost { background: linear-gradient(135deg, #92610a, #d9a127); }
.agent-ava.comp { background: linear-gradient(135deg, #14532d, #2e9e63); }
.agent-ava.adv  { background: linear-gradient(135deg, #3b2a6d, #7a5fc0); }
.agent-row .t { font-weight: 650; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.agent-row .s { font-size: .82rem; color: var(--muted); }
.agent-card .card-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--surface-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--muted); }
.agent-card .card-foot b { color: var(--ink); }
.badge-info { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--brand-600); background: var(--brand-50); padding: 4px 10px; border-radius: 20px; flex: none; }

/* ---- Chat mockup -------------------------------------------------------- */
.chat-demo { display: grid; gap: 12px; }
.chat-demo .msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: .92rem; line-height: 1.55; }
.chat-demo .msg.user { margin-left: auto; background: var(--brand-700); color: #fff; border-bottom-right-radius: 4px; }
.chat-demo .msg.ai { margin-right: auto; background: var(--surface-2); border: 1px solid var(--line); color: var(--body); border-bottom-left-radius: 4px; }
.chat-demo .msg.ai .cite { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: 6px; padding: 2px 8px; }
.chat-demo .who { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: -6px; }
.chat-demo .who.right { text-align: right; }

/* ---- Run log (terminal-style design run) ------------------------------ */
.runlog { font-family: var(--mono); font-size: .8rem; background: var(--brand-950); color: #cfe0f2; border-radius: var(--radius); padding: 18px 20px; line-height: 1.9; overflow-x: auto; box-shadow: var(--shadow); }
.runlog .ok { color: #7fd6a8; } .runlog .run { color: #6fb6ef; } .runlog .warn { color: #f3c14e; } .runlog .dim { color: #6a8099; }

/* ---- Five-tier pricing -------------------------------------------------- */
.pricing.tiers-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pricing.tiers-5 .plan { padding: 22px 20px; }
.pricing.tiers-5 .plan .price b { font-size: 1.8rem; }
.pricing.tiers-5 .plan ul.checks { gap: 10px; }
.pricing.tiers-5 .plan ul.checks li { font-size: .88rem; }
.tier-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-500); margin-bottom: 4px; }

/* ---- Billing period toggle (pricing + calculator) --------------------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 30px; padding: 5px; }
.bill-toggle button { font: inherit; font-weight: 650; font-size: .9rem; padding: 9px 20px; border: 0; background: transparent; color: var(--muted); border-radius: 24px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.bill-toggle button:hover { color: var(--brand-700); }
.bill-toggle button[aria-pressed="true"] { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-sm); }
.bill-save { display: inline-block; margin-left: 12px; font-size: .8rem; font-weight: 700; color: #1c7a4a; background: #e4f6ec; border-radius: 20px; padding: 6px 13px; vertical-align: middle; }
.plan .price .annual-note { color: var(--brand-600); font-weight: 600; font-size: .82rem; margin-top: 3px; min-height: 1.1em; }
.plan-quota { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink); background: var(--brand-50); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin: 4px 0 2px; }
.plan-quota svg { color: var(--brand-600); flex: none; }
.pricing.tiers-5 .plan .price b { line-height: 1.05; }
@media (max-width: 1100px) { .pricing.tiers-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 940px)  { .pricing.tiers-5 { grid-template-columns: repeat(2, 1fr); max-width: 720px; } }
@media (max-width: 560px)  { .pricing.tiers-5 { grid-template-columns: 1fr; max-width: 420px; } }

/* ---- Deliverable / format pills row ------------------------------------ */
.fmt-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fmt-row .pill { font-size: .82rem; padding: 7px 14px; }

/* ---- Numbered lifecycle rail (product page) ---------------------------- */
.rail { counter-reset: rail; }
.rail .split { position: relative; }
.rail .split .eyebrow::after { counter-increment: rail; }

/* ---- Responsive: dark band grid ---------------------------------------- */
@media (max-width: 940px) {
  .band-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


/* ==========================================================================
   v3 "PORTAL NAVY" LAYER
   Matches the live IronArchitects portal (tinted canvas, panel shadows,
   brand-on-navy splash) with a ServiceNow-style presentation: dark navy
   header + heroes, pill buttons, larger-radius panels. Navy + white only;
   electric blue reserved for highlights on dark surfaces.
   ========================================================================== */

:root {
  /* Portal canvas tokens (from frontend/portal globals.css) */
  --ia-canvas:       #f4f8fc;
  --ia-canvas-soft:  #eaf2f9;
  --ia-line:         #d9e4ee;
  --ia-line-strong:  #b9cde0;
  --ia-shadow-panel: 0 18px 46px rgba(8, 55, 102, 0.08);

  /* Re-point the site neutrals at the portal canvas: no plain-white body */
  --surface-2: #eaf2f9;
  --surface-3: #e2edf7;
  --line:   #d9e4ee;
  --line-2: #e4edf5;

  /* Softer, larger geometry */
  --radius:    16px;
  --radius-lg: 20px;
  --radius-sm: 12px;
}

body {
  background:
    linear-gradient(180deg, var(--ia-canvas-soft) 0%, var(--ia-canvas) 34rem),
    var(--ia-canvas);
}

/* ---- Pill buttons (ServiceNow signature) ------------------------------- */
.btn { border-radius: 999px; padding: 15px 28px; font-weight: 600; }
.btn-lg { padding: 17px 34px; }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(8, 55, 102, 0.55); }

/* ---- Dark navy header (sitewide) ---------------------------------------- */
.site-header {
  background: rgba(4, 21, 35, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .brand, .site-header .brand:hover { color: #fff; }
.site-header .brand b { color: #fff; }
.site-header .brand img { filter: brightness(0) invert(1); }
.nav { height: 72px; }
.nav-links a { color: rgba(255, 255, 255, 0.78); }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; box-shadow: 0 2px 0 0 var(--accent); }
.nav-toggle { color: #fff; }
.site-header .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.site-header .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.site-header .btn-primary { background: #fff; color: var(--brand-800); box-shadow: none; }
.site-header .btn-primary:hover { background: var(--brand-100); color: var(--brand-900); }
.site-header .btn { padding: 11px 22px; font-size: .92rem; }

/* mobile dropdown goes navy too */
@media (max-width: 1000px) {
  .nav.open .nav-links {
    top: 72px;
    background: #06223e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 44px rgba(4, 21, 35, 0.5);
  }
  .nav.open .nav-links a { color: rgba(255, 255, 255, 0.85); }
  .nav.open .nav-links a:hover, .nav.open .nav-links a.active { color: #fff; box-shadow: none; }
  .nav.open .nav-signin { border-top-color: rgba(255, 255, 255, 0.14); color: #fff; }
}

/* ---- Homepage hero: deep navy stage -------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 640px at 78% -12%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(900px 620px at -6% 8%, rgba(37, 97, 154, 0.35), transparent 58%),
    linear-gradient(178deg, #041523 0%, #06223e 55%, #083766 130%);
}
.hero::after {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
}
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(115deg, #7eaad2 10%, #38bdf8 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: var(--brand-100); }
.hero .btn-primary { background: #fff; color: var(--brand-800); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6); }
.hero .btn-primary:hover { background: var(--brand-100); color: var(--brand-900); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero-card { border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65); }

/* ---- Interior page heroes: navy splash ------------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 420px at 82% -30%, rgba(56, 189, 248, 0.14), transparent 62%),
    linear-gradient(178deg, #041523 0%, #06223e 62%, #072c52 130%);
  border-bottom: 0;
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--brand-100); }
.page-hero p { color: var(--brand-200); }
.page-hero .btn-primary { background: #fff; color: var(--brand-800); }
.page-hero .btn-primary:hover { background: var(--brand-100); color: var(--brand-900); }
.page-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.page-hero .pill { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.page-hero .itag.ok { background: rgba(127, 214, 168, 0.16); color: #7fd6a8; }
.page-hero .itag.beta { background: rgba(56, 189, 248, 0.16); color: #9bd9f8; }
.page-hero .itag.soon { background: rgba(243, 193, 78, 0.16); color: #f3c14e; }

/* ---- Panels on the tinted canvas: portal-style ----------------------------- */
.card, .sec-card, .intg-item, .plan, .step, .shot, .cmp-wrap, .agent-card, .hero-card,
.split .visual, .founder-photo, .roi-card {
  box-shadow: var(--ia-shadow-panel);
}
.card, .sec-card, .intg-item, .plan { border-color: var(--ia-line); }
.card:hover, .sec-card:hover, .intg-item:hover { border-color: var(--ia-line-strong); box-shadow: 0 24px 56px rgba(8, 55, 102, 0.14); }

/* proof strip sits on canvas, not white */
.proof { background: transparent; border-color: var(--ia-line); }
.pill { background: #fff; border-color: var(--ia-line); }

/* section tint helper stays canvas-soft */
.cta-band { background: transparent; }

/* stat band + CTA: brand navy, glassier */
.band { background: linear-gradient(160deg, #06223e, #041523 78%); }
.stat b { color: #fff; }
.cta-box {
  background:
    radial-gradient(760px 380px at 50% -30%, rgba(56, 189, 248, 0.18), transparent 64%),
    linear-gradient(165deg, #072c52, #041523 85%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* footer continuity with the dark header family */
.site-footer { background: #041523; }

/* details that assumed a white body */
.note { background: #fff; }
.legal .toc { background: #fff; }
.legal .callout { background: #fff; }
.matrix .mrow { background: #fff; }
.bill-toggle { background: #fff; }
.chat-demo .msg.ai { background: #fff; }
.founder .chips span { background: #fff; }
.plan-quota { background: #fff; }

/* fix: the billing-toggle markup wraps the amount in span.amt inside the <b>;
   the generic .plan .price span shrink must not apply to it */
.plan .price b span.amt { font-size: inherit; color: inherit; margin-top: 0; }
