  :root {
    --paper: #FFFFFF;
    --mist: #F8F4E7;
    --sky: #EFE7CF;
    --ink: #13233B;
    --slate: #4E5E75;
    --line: #E3D9BC;
    --gold: #B39C49;
    --gold-deep: #7C6A2A;
    --gold-wash: #F3EEDC;
    --edge: #D6C79A;
    --focus: #2F6FDE;

    --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

    --max: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  a:focus-visible, button:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
  }

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

  h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
  h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.025em; }
  h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
  h3 { font-size: 1.3rem; }
  p { margin: 0; }
  .lede { font-size: 1.2rem; color: var(--slate); max-width: 31em; }

  /* Buttons */
  .btn {
    display: inline-block;
    font: 500 1rem/1 var(--sans);
    padding: 16px 24px;
    border-radius: 6px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
  }
  .btn-primary { background: var(--ink); color: #fff; }
  .btn-primary:hover { background: #22375A; }
  .btn-quiet { border-color: var(--line); color: var(--ink); background: #fff; }
  .btn-quiet:hover { border-color: var(--ink); }

  /* Header */
  .site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
  .wordmark { display: inline-flex; align-items: center; text-decoration: none; }
  .wordmark .logo { height: 50px; width: auto; display: block; }
  .nav { display: flex; align-items: center; gap: 30px; font-size: 0.95rem; }
  .nav a { text-decoration: none; color: var(--slate); }
  .nav a:hover { color: var(--ink); }
  .nav .btn { padding: 12px 18px; color: #fff; }
  @media (max-width: 960px) { .nav .hide-sm { display: none; } }

  /* Hero */
  .hero { padding: clamp(56px, 8vw, 100px) 0 clamp(56px, 7vw, 88px); }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  .hero h1 span { display: block; text-wrap: balance; }
  .hero .lede { margin-top: 26px; }
  .hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
  }

  /* Hero graphic: falling part-number tiles */
  html, body { overflow-x: clip; }
  .tiles-stage { margin: 0 0 0 auto; width: 100%; max-width: 520px; aspect-ratio: 428 / 460; }
  .tiles-stage svg { width: 100%; height: 100%; display: block; overflow: hidden; }
  .demo-note { font: 400 .75rem/1.4 var(--sans); color: var(--slate); margin: 0 0 10px; }
  .tiles-stage .demo-note { text-align: center; margin: 8px 0 0; }
  @media (max-width: 900px) { .tiles-stage { margin: 0 auto; } }

  /* Trusted partners */
  .partners { border-top: 1px solid var(--line); padding: 30px 0 34px; background: #fff; }
  .partners .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
  .partners p { font-size: 0.95rem; color: var(--slate); flex: 0 0 auto; }
  .partners ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 40px; align-items: center; flex: 1 1 720px; }
  .partners li { display: flex; justify-content: center; }
  .partners img { height: 60px; width: 120px; max-width: 100%; object-fit: contain; }
  .partners .dark-logo { background: var(--ink); padding: 8px; border-radius: 4px; }
  @media (max-width: 600px) { .partners ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

  /* Sections */
  section.block { padding: clamp(64px, 9vw, 112px) 0; }
  .tint { background: var(--mist); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
  .section-head { max-width: 40em; margin-bottom: 48px; }
  .section-head p { margin-top: 14px; color: var(--slate); font-size: 1.15rem; }

  /* Featured automations: white cards, line-art icon, gold "learn more" band */
  .autos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .auto {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--edge);
    box-shadow: 0 2px 4px rgba(19, 35, 59, 0.06), 0 12px 24px -18px rgba(19, 35, 59, 0.25);
  }
  .auto .art { display: grid; place-items: center; padding: 44px 24px 8px; }
  .auto .art svg { width: 132px; height: 110px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: miter; stroke-linecap: square; }
  .auto .art .g { stroke: var(--gold); }
  .auto .art .gf { fill: var(--gold); stroke: none; }
  .auto .art .gw { fill: var(--gold-wash); stroke: var(--gold); }
  .auto .body { padding: 26px 32px 28px; }
  .auto .cat { font-size: 0.85rem; color: var(--slate); letter-spacing: 0.02em; margin-bottom: 10px; }
  .auto h3 { font-size: 1.5rem; margin-bottom: 12px; }
  .auto h3 .brand { font-weight: 400; color: var(--slate); }
  .auto p { color: var(--slate); font-size: 1rem; }
  .auto .more {
    margin: auto 32px 32px; align-self: flex-start;
    display: inline-block; padding: 14px 22px; border-radius: 6px;
    background: var(--ink); color: #fff;
    font: 500 1rem/1 var(--sans); text-decoration: none;
  }
  .auto .more:hover { background: #22375A; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  @media (max-width: 960px) { .autos { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .autos { grid-template-columns: 1fr; } }

  .ask { margin: 64px 0 0; text-align: center; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.015em; }
  .legacy-note {
    margin-top: 40px; display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    padding: 26px 30px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  }
  .legacy-note p { max-width: 44em; color: var(--slate); font-size: 1rem; }
  .legacy-note b { color: var(--ink); font-weight: 600; }

  /* Case study */
  .case { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  /* Gold circuit frame: thick gold lines, with light running along every line (drawn by the script at the bottom) */
  .beam { position: relative; }
  .beam svg.circuit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .case .facts { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 14px; }
  .case .fact { padding: 30px 30px 28px; }
  .case .fact b { display: block; font-size: 2.1rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
  .case .fact span { font-size: 0.95rem; color: var(--slate); }
  .case .fact.wide { grid-column: span 2; }
  .case .copy p { margin-top: 18px; color: var(--slate); }
  .case .copy .btn { margin-top: 30px; }
  @media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

  /* Engagement: full-width cards stacked down the page; click to flip for details */
  #how .section-head { margin: 0 auto 48px; text-align: center; }
  .steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 24px; max-width: 1000px; }
  .step { position: relative; perspective: 1800px; }
  .card3d { display: grid; transition: transform .7s cubic-bezier(.3,.1,.2,1); transform-style: preserve-3d; }
  .step.flipped .card3d { transform: rotateY(180deg); }
  .face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--edge);
    box-shadow: 0 2px 4px rgba(19, 35, 59, 0.06), 0 14px 28px -20px rgba(19, 35, 59, 0.3); }
  .front { background: #fff; display: grid; grid-template-columns: 240px 1fr; align-items: center; }
  .front .art { display: grid; place-items: center; align-self: stretch; padding: 28px; border-right: 1px solid var(--line); }
  .front .art svg { width: 180px; height: 135px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: miter; stroke-linecap: square; }
  .front .art .g { stroke: var(--gold); }
  .front .art .gf { fill: var(--gold); stroke: none; }
  .front .art .gw { fill: var(--gold-wash); stroke: var(--gold); }
  .front .txt { padding: 34px 40px; }
  .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-deep); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
  .step h3 { font-size: 1.6rem; margin-bottom: 8px; }
  .front p { color: var(--slate); font-size: 1.08rem; max-width: 34em; }
  .hint { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--gold-deep); }
  .hint svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
  .back { background: var(--ink); color: #fff; transform: rotateY(180deg); padding: 34px 40px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px 48px; align-content: center; }
  .back .num { border-color: var(--gold); color: var(--gold); }
  .back h3 { color: #fff; }
  .back p { color: #D3DBE6; font-size: 1rem; line-height: 1.65; }
  .back h4 { margin: 0 0 10px; font-size: 0.95rem; font-weight: 600; color: var(--gold); }
  .back ul { margin: 0; padding: 0; list-style: none; }
  .back li { padding: 8px 0 8px 22px; border-top: 1px solid #2E4263; position: relative; font-size: 0.97rem; }
  .back li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
  .back .hint { color: var(--gold); grid-column: 1 / -1; margin-top: 4px; }
  .flip-btn { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; z-index: 2; }
  .flip-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
  .step:hover .face { box-shadow: 0 2px 4px rgba(19, 35, 59, 0.08), 0 20px 36px -20px rgba(19, 35, 59, 0.4); }
  @media (prefers-reduced-motion: reduce) {
    .card3d { transition: none; }
    .step.flipped .card3d { transform: none; }
    .back { transform: none; visibility: hidden; }
    .step.flipped .back { visibility: visible; }
    .step.flipped .front { visibility: hidden; }
  }
  @media (max-width: 760px) {
    .front { grid-template-columns: 1fr; }
    .front .art { border-right: 0; border-bottom: 1px solid var(--line); }
    .front .txt, .back { padding: 28px 24px; }
    .back { grid-template-columns: 1fr; }
  }

  /* Compact engagement: four flip cards in one row */
  section.block#how { padding: clamp(48px, 6vw, 80px) 0; }
  #how .section-head { margin-bottom: 32px; }
  #how h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
  #how .section-head p { font-size: 1rem; margin-top: 8px; }
  #how .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--max); }
  #how .steps { align-items: stretch; }
  #how .step, #how .card3d { height: 100%; }
  #how .front { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; text-align: center; }
  #how .front .art { align-self: auto; }
  #how .front .art { border-right: 0; border-bottom: 1px solid var(--line); padding: 44px 16px 38px; }
  #how .front .art svg { width: 170px; height: 128px; }
  #how .front .txt { padding: 18px 20px 22px; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  #how .num { width: 26px; height: 26px; font-size: 0.8rem; margin-bottom: 8px; }
  #how h3 { font-size: 1.2rem; margin-bottom: 6px; }
  #how .front p { font-size: 0.95rem; }
  #how .hint { margin-top: 12px; font-size: 0.85rem; }
  #how .back { grid-template-columns: 1fr; gap: 12px; padding: 22px 22px; align-content: start; }
  #how .back p { font-size: 0.9rem; line-height: 1.55; margin-top: 4px; }
  #how .back h4 { font-size: 0.85rem; margin-bottom: 4px; }
  #how .back li { font-size: 0.86rem; padding: 6px 0 6px 18px; }
  #how .back li::before { top: 13px; width: 7px; height: 7px; }
  #how .back .hint { margin-top: 2px; }
  @media (max-width: 1000px) { #how .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { #how .steps { grid-template-columns: 1fr; } }

  /* Systems */
  .systems { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
  .systems dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 28px; }
  .systems dt, .systems dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .systems dt { font-weight: 600; font-size: 0.98rem; }
  .systems dd { color: var(--slate); font-size: 0.98rem; }
  .systems .note { margin-top: 18px; font-size: 1rem; color: var(--slate); }
  @media (max-width: 860px) { .systems { grid-template-columns: 1fr; } }

  /* Featured blogs: image panel, category, large title, byline, gold link */
  .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .post { display: flex; flex-direction: column; }
  .post .thumb { display: block; border-radius: 12px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 10; }
  .post .thumb svg { width: 100%; height: 100%; display: block; }
  .post .cat { margin-top: 26px; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--ink); font-weight: 500; }
  .post h3 { margin: 8px 0 12px; font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.015em; }
  .post h3 a { text-decoration: none; }
  .post h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
  .post .by { font-size: 0.95rem; color: var(--slate); }
  .post .read { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; color: var(--gold-deep); font-weight: 600; font-size: 1.05rem; text-decoration: none; }
  .post .read svg { width: 30px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: square; transition: transform .2s ease; }
  .post .read:hover svg { transform: translateX(4px); }
  @media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

  /* Closing */
  .closing { background: var(--ink); color: #fff; }
  .closing .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
  .closing p { color: #C5D0DE; margin-top: 16px; font-size: 1.1rem; max-width: 32em; }
  .closing .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
  .closing .btn-primary { background: var(--gold); color: var(--ink); }
  .closing .btn-primary:hover { background: #C5B064; }
  .closing .btn-quiet { background: transparent; color: #fff; border-color: #3C5275; }
  .closing .btn-quiet:hover { border-color: #fff; }
  @media (max-width: 820px) { .closing .wrap { grid-template-columns: 1fr; } }


/* =====================================================================
   SITE-WIDE ADDITIONS (header menu, footer, product pages, forms, news,
   articles, legal). Everything above this line is the homepage base.
   ===================================================================== */
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
.btn-sm { padding: 11px 16px; font-size: .92rem; }

/* Header: dropdown + mobile menu */
.nav { gap: 28px; }
.nav a.cur { color: var(--ink); font-weight: 500; }
.dd { position: relative; }
.dd-btn { font: inherit; font-size: .95rem; color: var(--slate); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; }
.dd-btn:hover, .dd.cur .dd-btn { color: var(--ink); }
.dd-btn svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 14px); left: -24px; width: 580px; background: #fff; border: 1px solid var(--edge); border-radius: 12px;
  box-shadow: 0 24px 48px -24px rgba(19,35,59,.4); padding: 12px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 30; }
.dd.open .dd-menu { display: grid; }
@media (hover: hover) { .dd:hover .dd-menu { display: grid; } .dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; } }
.dd-menu a { display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover, .dd-menu a:focus-visible { background: var(--mist); }
.dd-menu a b { display: block; font-weight: 600; font-size: .95rem; }
.dd-menu a span { display: block; font-size: .82rem; color: var(--slate); margin-top: 2px; }
.dd-menu a.wide { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 6px; padding-top: 14px; }
.menu-btn { display: none; align-items: center; gap: 8px; font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 14px; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 24px; max-height: calc(100vh - 76px); overflow-y: auto; }
.mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; color: var(--ink); }
.mobile-menu .sub a { padding-left: 16px; font-size: .98rem; color: var(--slate); }
.mobile-menu p { margin: 16px 0 4px; font-size: .82rem; font-weight: 600; color: var(--gold-deep); }
@media (max-width: 1000px) { .nav .hide-sm, .nav .dd { display: none; } .menu-btn { display: inline-flex; } .site-header .wrap { gap: 12px; } .nav { gap: 12px; } }
@media (max-width: 420px) { .nav .btn { display: none; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: .95rem; color: var(--slate); background: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo { height: 36px; width: auto; }
.site-footer .about { margin-top: 14px; max-width: 22em; font-size: .92rem; }
.site-footer h4 { margin: 0 0 14px; font-size: .88rem; color: var(--ink); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Product page hero */
.phero { padding: clamp(44px, 6vw, 84px) 0 clamp(52px, 6vw, 84px); }
.phero .wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.crumb { font-size: .9rem; color: var(--slate); margin-bottom: 18px; }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.crumb span { color: var(--gold-deep); font-weight: 500; }
.phero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.phero h1 .brand { font-weight: 400; color: var(--slate); }
.phero .tagline { margin-top: 12px; font-size: 1.25rem; font-weight: 500; color: var(--gold-deep); }
.phero .lede { margin-top: 20px; }
.phero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .phero .wrap { grid-template-columns: 1fr; } .anim { margin: 0 auto; } }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; border-top: 2px solid var(--ink); }
.checks.one { grid-template-columns: 1fr; }
.checks li { padding: 18px 0 18px 38px; border-bottom: 1px solid var(--edge); position: relative; font-size: 1.05rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 26px; width: 9px; height: 4.5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* Demo media */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.rev { grid-template-columns: 1.2fr 1fr; }
.split .copy p { margin-top: 14px; color: var(--slate); font-size: 1.08rem; }
.split .copy .btn { margin-top: 26px; }
.frame { border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -34px rgba(19,35,59,.45); }
.frame .bar { height: 32px; background: var(--mist); border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; padding: 0 14px; }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8CFB3; }
.frame img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } }

/* How it works row */
.srow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: s; }
.srow li { counter-increment: s; background: #fff; border: 1px solid var(--edge); border-radius: 12px; padding: 24px 22px 26px; box-shadow: 0 2px 4px rgba(19,35,59,.05), 0 14px 28px -22px rgba(19,35,59,.3); }
.srow li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-deep); font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.srow h3 { font-size: 1.15rem; margin-bottom: 8px; }
.srow p { font-size: .96rem; color: var(--slate); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--edge); border-radius: 12px; padding: 26px 22px; }
.benefit svg { width: 42px; height: 42px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; margin-bottom: 16px; }
.benefit svg .g { stroke: var(--gold); }
.benefit b { display: block; font-size: 1.08rem; line-height: 1.35; font-weight: 600; }
.benefit span { display: block; color: var(--slate); font-size: .95rem; margin-top: 4px; }
@media (max-width: 960px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* Statement band reuses .closing */
.closing h2 + p { margin-top: 16px; }

/* Gated whitepaper + forms */
.gate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.gate .cover { border-radius: 10px; overflow: hidden; border: 1px solid var(--edge); box-shadow: 0 30px 60px -34px rgba(19,35,59,.45); max-width: 340px; background: var(--ink); }
.gate .cover img { width: 100%; display: block; }
.gate .copy p { margin-top: 14px; color: var(--slate); font-size: 1.05rem; }
.gate .copy .checks { margin-top: 26px; }
.wp-cover { aspect-ratio: 8.5 / 11; background: var(--ink); color: #fff; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.wp-cover::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 18px solid var(--gold); border-radius: 50%; opacity: .9; }
.wp-cover small { color: var(--gold); font-weight: 600; font-size: .8rem; letter-spacing: .06em; }
.wp-cover b { display: block; font-size: 1.5rem; line-height: 1.2; margin-top: 10px; font-weight: 600; }
.wp-cover span { font-size: .85rem; color: #C5D0DE; position: relative; z-index: 1; }
.formcard { background: #fff; border: 1px solid var(--edge); border-radius: 14px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 2px 4px rgba(19,35,59,.05), 0 24px 48px -30px rgba(19,35,59,.35); }
.formcard h3 { font-size: 1.4rem; margin-bottom: 6px; }
.formcard > p { color: var(--slate); margin-bottom: 22px; font-size: .98rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .fgrid fieldset, .consent { grid-column: 1 / -1; }
.field label, legend { font-size: .88rem; font-weight: 500; color: var(--ink); }
.field label i, legend i { color: var(--gold-deep); font-style: normal; }
.field input, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #C9D0DA; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { margin-bottom: 10px; padding: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.opt { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.opt input, .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--slate); }
.formcard .btn { margin-top: 22px; width: 100%; }
.formcard .fine { margin-top: 12px; font-size: .82rem; color: var(--slate); }
.form-msg { margin-top: 12px; color: #B3261E; font-size: .92rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .gate { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fgrid, .opts { grid-template-columns: 1fr; } }

/* ---------- Product animations ---------- */
.anim { width: 100%; max-width: 500px; margin-left: auto; display: flex; flex-direction: column; gap: 12px; font-size: .9rem; }
.anim .a { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.anim .a.on { opacity: 1; transform: none; }
.acard { background: #fff; border: 1px solid var(--edge); border-radius: 10px; box-shadow: 0 18px 36px -24px rgba(19,35,59,.45); overflow: hidden; }
.acard .ah { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; background: var(--mist); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--slate); }
.acard .ah b { color: var(--ink); font-weight: 600; font-size: .85rem; }
.acard .ab { padding: 10px 14px 12px; }
.mono { font-family: var(--mono); font-size: .78rem; }
.ab .ln { padding: 2px 0; }
.hl { border-radius: 3px; padding: 0 2px; transition: background .35s, box-shadow .35s; }
.hl.on { background: var(--gold-wash); box-shadow: inset 0 -2px 0 var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .75rem; padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--edge); color: var(--ink); font-weight: 500; white-space: nowrap; }
.chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 7px; vertical-align: 1px; }
.stamp { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: .88rem; box-shadow: 0 14px 28px -18px rgba(19,35,59,.6); }
.stamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.stamp.warn { background: #fff; color: #8A3F12; border: 1px solid #E9C3A6; box-shadow: none; }
.stamp.warn::before { background: #C0632A; }
.arow { display: grid; grid-template-columns: 1.25fr .8fr .8fr .95fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); align-items: center; }
.arow:last-child { border-bottom: 0; }
.arow.head { font-family: var(--sans); font-size: .7rem; color: var(--slate); padding-top: 2px; }
.arow.c3 { grid-template-columns: 1.3fr 1fr 1fr; }
.chk { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.chk .ic { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #C9D2DE; flex: 0 0 auto; position: relative; transition: background .3s, border-color .3s; }
.chk.on .ic { background: var(--gold); border-color: var(--gold); }
.chk.on .ic::after { content: ""; position: absolute; left: 4px; top: 4.5px; width: 7px; height: 3.5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.chk.flag.on .ic { background: #C0632A; border-color: #C0632A; }
.chk.flag.on .ic::after { content: "!"; border: 0; transform: none; left: 0; top: 0; width: 100%; height: 100%; text-align: center; color: #fff; font-weight: 700; font-size: 11px; line-height: 15px; font-family: var(--sans); }
.chk .tx { color: #8A94A3; transition: color .3s; }
.chk.on .tx { color: var(--ink); }
.chips.inline .chk { padding: 0; } .chips.inline { gap: 16px; }
.swap { display: inline-flex; gap: 6px; align-items: baseline; }
.swap s { text-decoration: none; transition: opacity .3s; }
.swap b { font-weight: 600; color: var(--gold-deep); display: none; }
.swap.on s { text-decoration: line-through; opacity: .45; }
.swap.on b { display: inline; animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.status { font-family: var(--sans); font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; justify-self: start; white-space: nowrap; }
.status.ok { background: var(--gold-wash); color: var(--gold-deep); }
.status.bad { background: #FBE9DD; color: #8A3F12; }
.acode { background: var(--ink); color: #9FB0C7; border-radius: 10px; padding: 12px 14px; font-family: var(--mono); font-size: .72rem; line-height: 1.65; white-space: pre; overflow: hidden; box-shadow: 0 18px 36px -24px rgba(19,35,59,.6); }
.acode .blk { display: block; border-radius: 4px; transition: background .35s, color .35s; }
.acode .blk.on { background: rgba(179,156,73,.28); color: #fff; }
.acode .fn { color: var(--gold); display: block; margin-bottom: 6px; font-family: var(--sans); font-size: .72rem; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.rulecard { background: #fff; border: 1px solid var(--edge); border-left: 3px solid var(--gold); border-radius: 8px; padding: 9px 11px; font-size: .8rem; line-height: 1.45; box-shadow: 0 12px 24px -18px rgba(19,35,59,.45); }
.rulecard small { display: block; font-family: var(--mono); font-size: .68rem; color: var(--gold-deep); margin-bottom: 3px; }
.rulecard .chk { margin-top: 4px; font-size: .74rem; padding: 0; }
.rulecard .chk .ic { width: 14px; height: 14px; }
.rulecard .chk.on .ic::after { left: 3px; top: 3px; width: 5px; height: 2.5px; }
.flow-arrow { display: flex; align-items: center; gap: 10px; color: var(--gold-deep); font-size: .76rem; font-weight: 600; padding-left: 8px; }
.flow-arrow svg { width: 16px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } .arow { font-size: .7rem; } }

/* ---------- News ---------- */
.nhero { padding: clamp(44px, 6vw, 76px) 0 20px; }
.nhero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.nhero p { margin-top: 14px; color: var(--slate); font-size: 1.2rem; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -34px rgba(19,35,59,.4); }
.feature .img { background: var(--ink); min-height: 280px; }
.feature .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature .txt { padding: clamp(24px, 3.5vw, 40px); }
.feature h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 10px 0 12px; }
.feature p { color: var(--slate); }
.kicker { font-size: .85rem; font-weight: 600; color: var(--gold-deep); }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 24px 0 26px; }
.process div { border-top: 2px solid var(--gold); padding-top: 10px; }
.process b { display: block; font-size: .92rem; }
.process span { font-size: .88rem; color: var(--slate); line-height: 1.45; display: block; margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filters button { font: inherit; font-size: .92rem; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--edge); background: #fff; color: var(--ink); cursor: pointer; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.ncard { display: flex; flex-direction: column; }
.ncard[hidden] { display: none; }
.ncard .thumb { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; border: 1px solid var(--edge); }
.ncard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ncard .thumb.fit img { object-fit: contain; padding: 18px; background: #fff; }
.ncard .thumb.dark { background: var(--ink); }
.ncard:hover .thumb img { transform: scale(1.03); }
.ncard .cat { margin-top: 18px; font-size: .84rem; font-weight: 600; color: var(--gold-deep); }
.ncard h3 { font-size: 1.2rem; margin: 6px 0 10px; line-height: 1.3; }
.ncard h3 a { text-decoration: none; }
.ncard h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ncard .ex { font-size: .95rem; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .meta { font-size: .85rem; color: var(--slate); margin-top: 12px; }
.ncard .btn { margin-top: 16px; align-self: flex-start; }
@media (max-width: 960px) { .ngrid { grid-template-columns: 1fr 1fr; } .feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ngrid { grid-template-columns: 1fr; } .process { grid-template-columns: 1fr; } }
.subscribe { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.follow { display: grid; gap: 14px; }
.follow a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--edge); border-radius: 12px; text-decoration: none; }
.follow a:hover { border-color: var(--gold); }
.follow b { font-size: 1.05rem; } .follow span { grid-column: 1; color: var(--slate); font-size: .92rem; }
.follow em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 6px; font-size: .88rem; font-weight: 500; }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; } }

/* Home news: "see all" */
.see-all { margin-top: 44px; text-align: center; }

/* ---------- Article + legal prose ---------- */
.ahead { max-width: 820px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--gutter) 28px; }
.ahead h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin: 12px 0 20px; }
.byl { display: flex; gap: 10px 18px; align-items: center; color: var(--slate); font-size: .95rem; flex-wrap: wrap; }
.byl b { color: var(--ink); font-weight: 600; }
.ahero { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.ahero img { width: 100%; border-radius: 14px; display: block; border: 1px solid var(--edge); }
.prose { max-width: 740px; margin: 0 auto; padding: 44px var(--gutter) 64px; font-size: 1.1rem; line-height: 1.75; }
.prose p { margin: 0 0 1.2em; }
.prose .lead { font-size: 1.3rem; line-height: 1.5; font-weight: 500; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin: 1.9em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin: 0 0 .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.2rem; font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose a { color: var(--gold-deep); text-underline-offset: 3px; }
.pn { max-width: 820px; margin: 0 auto 64px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn a { display: block; padding: 18px 20px; border: 1px solid var(--edge); border-radius: 12px; text-decoration: none; }
.pn a:hover { border-color: var(--gold); }
.pn small { display: block; color: var(--gold-deep); font-weight: 600; font-size: .82rem; margin-bottom: 4px; }
.pn .next { text-align: right; }
@media (max-width: 600px) { .pn { grid-template-columns: 1fr; } .pn .next { text-align: left; } }

/* Simple centered pages (thank you, 404) */
.center { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px var(--gutter); }
.center .inner { max-width: 620px; }
.center .big { font-size: clamp(4rem, 12vw, 7rem); font-weight: 600; color: var(--gold); line-height: 1; letter-spacing: -.04em; }
.center h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 12px; }
.center p { margin-top: 16px; color: var(--slate); font-size: 1.12rem; }
.center .actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); margin-bottom: 8px; }
.badge svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 2.4; }
