/* ===========================================================
   EER Technology — corporate visual system
   Light surfaces · deep-navy hero & footer · restrained blue accent
   Calm, enterprise, trustworthy — no neon, no scanlines.
   =========================================================== */

:root {
  /* surfaces */
  --bg:        #F6F8FC;   /* page */
  --bg-2:      #FFFFFF;   /* white bands */
  --ink:       #0A1322;   /* deep navy dark surface (hero, footer, CSRAID) */
  --ink-2:     #111E33;   /* navy panel */
  --panel:     #FFFFFF;

  --line:        #E4E9F1;            /* hairline on light */
  --line-strong: #D4DCE8;
  --line-dark:   rgba(255,255,255,.10); /* hairline on dark */

  /* text */
  --txt:       #15202F;   /* primary on light */
  --txt-dim:   #56627A;
  --txt-mute:  #8A93A4;
  --txt-ink:       #EAEFF6; /* primary on dark */
  --txt-ink-dim:   #9FABBF;
  --txt-ink-mute:  #6C7A91;

  /* accent (corporate blue) */
  --accent:      #2563EB;
  --accent-strong:#1D4ED8;
  --accent-ink:  #FFFFFF;             /* text on accent */
  --accent-light:#7DA6FF;             /* accent legible on dark */
  --accent-soft: rgba(37,99,235,.09);
  --accent-line: rgba(37,99,235,.28);
  --accent-glow: rgba(37,99,235,.20);

  --danger:    #d8503e;

  /* Open Sans across the whole site (matches the logo typography). */
  --font-display: 'Open Sans', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;
  --font-mono:    'Open Sans', system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,32,64,.04), 0 4px 16px -8px rgba(16,32,64,.10);
  --shadow-md: 0 2px 6px rgba(16,32,64,.05), 0 24px 48px -28px rgba(16,32,64,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

/* ---- shared type ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; opacity: .85; }
.mono { font-family: var(--font-mono); }
.tech-line { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .01em; color: var(--txt-mute); margin: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; margin: 0; color: var(--txt); }

/* dark-surface helpers */
.on-ink, .on-ink h1, .on-ink h2, .on-ink h3 { color: var(--txt-ink); }
.on-ink .eyebrow { color: var(--accent-light); }
.on-ink .eyebrow::before { background: var(--accent-light); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg-2) 88%, transparent);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--txt); }
.brand .logo-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand b { color: var(--accent); font-weight: 700; }
.on-ink .brand { color: var(--txt-ink); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.navlinks { display: flex; gap: 28px; align-items: center; }
.nav a.navlink { font-size: 14.5px; color: var(--txt-dim); font-weight: 500; position: relative; padding: 6px 0; transition: color .18s; }
.nav a.navlink:hover { color: var(--txt); }
.nav a.navlink::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); border-radius: 2px; transition: width .22s ease; }
.nav a.navlink:hover::after { width: 100%; }

/* language switcher */
.langsw { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.langsw button { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .04em; background: transparent; color: var(--txt-mute); border: 0; padding: 7px 12px; cursor: pointer; transition: color .15s, background .15s; }
.langsw button + button { border-left: 1px solid var(--line); }
.langsw button:hover { color: var(--txt); }
.langsw button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 600; font-size: 15px; border-radius: 10px; padding: 13px 22px; cursor: pointer; border: 1px solid transparent; transition: transform .14s, background .18s, border-color .18s, color .18s, box-shadow .18s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(16,32,64,.10), 0 12px 26px -12px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(16,32,64,.14), 0 16px 30px -12px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--txt); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
/* ghost on dark surfaces */
.on-ink .btn-ghost { color: var(--txt-ink); border-color: var(--line-dark); }
.on-ink .btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* ===========================================================
   HERO  (deep navy)
   =========================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 78% 8%, rgba(37,99,235,.20), transparent 58%),
    radial-gradient(60% 60% at 6% 100%, rgba(37,99,235,.10), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 8%, transparent 62%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 8%, transparent 62%);
}

.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 5.7vw, 76px); max-width: 16ch; text-wrap: balance; }
.hero .hero-sub { color: var(--txt-ink-dim); font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; margin: 26px 0 0; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* --- Hero A: corporate statement --- */
.hero-a .wrap { position: relative; z-index: 2; padding: 116px 30px 124px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-a .hero-eyebrow { justify-content: center; }
.hero-a .hero-sub { margin-left: auto; margin-right: auto; }
.hero-a .hero-ctas { justify-content: center; }
.hero-a .hero-status { margin-top: 58px; padding-top: 30px; border-top: 1px solid var(--line-dark); display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--txt-ink-mute); letter-spacing: .02em; }
.hero-a .hero-status span { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.hero-a .hero-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); }

/* ===========================================================
   POSITIONING band
   =========================================================== */
.band { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.band .wrap { padding: 60px 30px; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.band h2 { font-size: clamp(26px, 3vw, 40px); text-wrap: balance; }
.band p { color: var(--txt-dim); font-size: clamp(16px,1.4vw,19px); margin: 0; text-wrap: pretty; }

/* ===========================================================
   SECTION scaffolding
   =========================================================== */
.section { padding: 104px 0; position: relative; }
.section--flush { border: 0; padding-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 48px); margin-top: 18px; max-width: 18ch; text-wrap: balance; }

/* ===========================================================
   PRODUCTS
   =========================================================== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product + .product { margin-top: 100px; }
.product.flip .product-visual { order: -1; }

.product-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; color: var(--accent); margin-bottom: 20px; }
.product-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: 22px; }
.product-icon svg { width: 23px; height: 23px; }
.product h3 { font-size: clamp(24px, 2.7vw, 36px); max-width: 14ch; text-wrap: balance; }
.product-body { color: var(--txt-dim); font-size: 18px; margin: 18px 0 0; max-width: 46ch; text-wrap: pretty; }
.product-benefit { margin: 22px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--txt); display: flex; align-items: flex-start; gap: 11px; }
.product-benefit::before { content: ""; flex: 0 0 auto; margin-top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); -webkit-mask: no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); mask: no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); }
.product-tech { margin-top: 24px; }

/* product visual frame */
.visual-frame { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: 13px; box-shadow: var(--shadow-md); }
.visual-frame .frame-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; }
.visual-frame .frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: inline-block; }

/* ===========================================================
   I+D  /  R&D
   =========================================================== */
.rd { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rd .section-head { margin-bottom: 56px; }
.rd-lead { max-width: 60ch; margin-top: 20px; }
.rd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rd-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.rd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.rd-card .rd-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: 20px; }
.rd-card .rd-ic svg { width: 22px; height: 22px; }
.rd-card h3 { font-size: 21px; margin-bottom: 10px; }
.rd-card p { color: var(--txt-dim); font-size: 15.5px; margin: 0; text-wrap: pretty; }
.rd-foot { margin-top: 40px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--txt-dim); }
.rd-foot a.rd-jump { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.rd-foot a.rd-jump svg { width: 15px; height: 15px; }
.rd-foot a.rd-jump:hover { color: var(--accent-strong); }

/* ===========================================================
   CSRAID feature band (navy)
   =========================================================== */
.csraid { background: var(--ink); position: relative; overflow: hidden; }
.csraid .csraid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(70% 100% at 100% 0%, rgba(37,99,235,.18), transparent 56%), radial-gradient(50% 80% at 0% 100%, rgba(37,99,235,.10), transparent 60%); }
.csraid .wrap { position: relative; z-index: 2; padding: 100px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.csraid .product-icon { background: rgba(125,166,255,.12); border-color: rgba(125,166,255,.32); color: var(--accent-light); }
.csraid h2 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.03em; }
.csraid .csraid-body { color: var(--txt-ink-dim); font-size: 18px; margin: 18px 0 0; max-width: 46ch; text-wrap: pretty; }
.csraid .csraid-punch { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.1vw, 26px); color: var(--txt-ink); margin: 26px 0 0; max-width: 22ch; text-wrap: balance; line-height: 1.24; }
.csraid .csraid-punch b { color: var(--accent-light); font-weight: 700; }
.csraid .csraid-note { font-size: 13.5px; color: var(--txt-ink-mute); margin: 24px 0 0; display: inline-flex; align-items: center; gap: 9px; }
.csraid .csraid-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); }
.csraid .csraid-ctas { margin-top: 32px; }

/* csraid digest mock — calm cards on navy */
.digest { display: flex; flex-direction: column; gap: 12px; }
.digest-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 16px 18px; }
.digest-card .meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--txt-ink-mute); margin-bottom: 11px; }
.digest-card .meta .tag { color: var(--accent-light); }
.digest-card .meta .ai { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-light); }
.digest-card .bar { height: 9px; border-radius: 5px; background: rgba(255,255,255,.08); margin: 7px 0; }
.digest-card .bar.w1 { width: 92%; } .digest-card .bar.w2 { width: 78%; } .digest-card .bar.w3 { width: 64%; }
.digest-card.lead { border-color: rgba(125,166,255,.38); background: linear-gradient(180deg, #16243d, var(--ink-2)); }
.digest-card.lead .bar { background: rgba(125,166,255,.20); }

/* ===========================================================
   FOOTER (navy)
   =========================================================== */
.site-footer { background: var(--ink); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 18px; color: var(--txt-ink); }
.footer-brand p { color: var(--txt-ink-dim); max-width: 30ch; margin: 0; font-size: 15px; }
.footer-col h4 { font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-ink-mute); margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: var(--txt-ink-dim); font-size: 14.5px; transition: color .15s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--accent-light); }
.footer-col a svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--txt-ink-mute); }
.footer-bottom .flag { display: inline-flex; align-items: center; gap: 9px; color: var(--txt-ink-mute); font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; }

/* ===========================================================
   MEDIA FRAMES (video-capable captures)
   =========================================================== */
.media-frame { position: relative; display: block; height: 320px; border-radius: var(--radius-sm); overflow: hidden; }
.media-poster { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-sm); background: #F1F4FA; border: 0; }

.media-overlay { position: absolute; inset: 0; border-radius: var(--radius-sm); pointer-events: none; z-index: 3; }
.media-overlay::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(8,14,26,.05), rgba(8,14,26,.22)); opacity: 0; transition: opacity .2s; }
.media-frame:hover .media-overlay::before { opacity: 1; }

.media-play {
  pointer-events: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--accent);
  display: grid; place-items: center; backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px -8px rgba(8,14,26,.45), 0 0 0 1px rgba(255,255,255,.4);
  transition: transform .16s ease, background .16s, color .16s;
}
.media-play svg { width: 30px; height: 30px; margin-left: 3px; }
.media-play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); opacity: 0; transition: opacity .2s, transform .2s; }
.media-frame:hover .media-play { transform: translate(-50%, -50%) scale(1.06); background: #fff; color: var(--accent-strong); }
.media-frame:hover .media-play::after { opacity: 1; transform: scale(1.05); }

.media-tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; pointer-events: none; z-index: 4; }
.media-tool {
  pointer-events: auto; width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(10,19,34,.6); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(8px); transition: background .16s, border-color .16s;
}
.media-tool svg { width: 17px; height: 17px; }
.media-tool:hover { background: rgba(10,19,34,.82); border-color: rgba(255,255,255,.32); }

.media-badge {
  position: absolute; left: 12px; bottom: 12px; pointer-events: none; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(10,19,34,.62); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12);
}
.media-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 3px rgba(125,166,255,.25); }

/* inline player */
.media-player { position: absolute; inset: 0; z-index: 6; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.media-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); background: rgba(10,19,34,.66); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px);
}
.media-close:hover { background: rgba(10,19,34,.85); }
.media-close svg { width: 16px; height: 16px; }
.media-frame.playing .media-overlay { display: none; }

/* fullscreen lightbox */
.media-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 5vh 5vw; background: rgba(6,11,20,.86); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.media-lightbox.open { display: flex; opacity: 1; }
.media-lightbox .lb-box { width: min(1120px, 100%); }
.media-lightbox .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.media-lightbox .lb-title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.media-lightbox .lb-actions { display: flex; align-items: center; gap: 10px; }
.media-lightbox .lb-open { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-light); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); }
.media-lightbox .lb-open svg { width: 14px; height: 14px; }
.media-lightbox .lb-open:hover { background: rgba(255,255,255,.06); }
.media-lightbox .lb-close { width: 38px; height: 38px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; }
.media-lightbox .lb-close svg { width: 18px; height: 18px; }
.media-lightbox .lb-close:hover { background: rgba(255,255,255,.12); }
.media-lightbox .lb-ratio { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.media-lightbox .lb-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .nav .navlinks { display: none; }
  .band .wrap, .product, .csraid .wrap { grid-template-columns: 1fr; gap: 40px; }
  .product.flip .product-visual { order: 0; }
  .rd-grid { grid-template-columns: 1fr; }
  .hero-a .wrap { padding: 84px 30px 90px; }
  .section { padding: 76px 0; }
  .product + .product { margin-top: 72px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .media-frame { height: 240px; }
}

/* ===========================================================
   BRAND LOGO (uploaded SVG/image from the CMS)
   =========================================================== */
.brand-logo { height: 34px; width: auto; max-width: 220px; display: block; }
.site-footer .brand-logo { height: 34px; }

/* ===========================================================
   RICHTEXT free section
   =========================================================== */
.richtext .wrap { max-width: 760px; }
.richtext h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 22px; text-wrap: balance; }
.richtext-body { font-size: 18px; }

/* ===========================================================
   MARKDOWN prose inside section fields
   (color/size inherited from the field class; this only handles
   block spacing, lists, links, emphasis)
   =========================================================== */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.3em; }
.prose li { margin: 5px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.on-ink .prose a, .csraid .prose a { color: var(--accent-light); }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose code { font-family: var(--font-mono); background: rgba(16,32,64,.06); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.on-ink .prose code, .csraid .prose code { background: rgba(255,255,255,.10); }
.prose h2, .prose h3, .prose h4 { color: inherit; margin: 20px 0 10px; line-height: 1.2; }
.prose blockquote { margin: 16px 0; padding: 8px 16px; border-left: 3px solid var(--accent-line); color: var(--txt-mute); }

/* body field wrappers that used to be <p> */
.band-body { color: var(--txt-dim); font-size: clamp(16px, 1.4vw, 19px); }
.rd-card .prose { color: var(--txt-dim); font-size: 15.5px; }

/* ===========================================================
   LEGAL pages
   =========================================================== */
.legal { padding: 72px 0 96px; background: var(--bg); min-height: 60vh; }
.legal-wrap { max-width: 800px; }
.legal h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 32px; text-wrap: balance; }
.legal-body { color: var(--txt-dim); font-size: 17px; line-height: 1.7; }
.legal-body h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--txt); margin: 36px 0 14px; }
.legal-body h3 { font-size: 19px; color: var(--txt); margin: 26px 0 10px; }
.legal-body p { margin: 0 0 16px; text-wrap: pretty; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--accent); }
.legal-body a:hover { color: var(--accent-strong); }
.legal-body strong { color: var(--txt); font-weight: 700; }
.legal-body blockquote { margin: 20px 0; padding: 12px 18px; border-left: 3px solid var(--accent-line); background: var(--bg-2); color: var(--txt-mute); border-radius: 0 8px 8px 0; font-size: 15px; }
.legal-body code { font-family: var(--font-mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
