/* Hermetra Media website. Colors and font from brand/README.md. Montserrat is self-hosted (SIL OFL), no external requests. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens: brand/README.md and brand/gestaltung.md (same names as infra/adcoret/stil.css and the customer page) */
:root {
  --ink: #111111;
  --muted: #5B6472;
  --night: #0B2545;
  --night-2: #0E2F56;
  --accent: #13A89E;
  --accent-dark: #0B6B64;
  --accent-deep: #08524D;
  --accent-soft: #E3F5F3;
  --line: #E1E6EC;
  --soft: #F4F6F8;
  --white: #ffffff;
  --lead: #D6E2F0;
  --teal: var(--accent); --teal-dark: var(--accent-dark); --light: var(--soft);   /* old names, still used in a few places */
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
  /* wave motif derived from the bildmarke: three soft lines, used as a faint background on dark surfaces */
  --wellen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M0 60c75 0 75 40 150 40s75-40 150-40 75 40 150 40 75-40 150-40'/%3E%3Cpath d='M0 110c75 0 75 40 150 40s75-40 150-40 75 40 150 40 75-40 150-40'/%3E%3Cpath d='M0 160c75 0 75 40 150 40s75-40 150-40 75 40 150 40 75-40 150-40'/%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--night); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; color: var(--night); margin: 0 0 0.45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.65rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.06rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* Header: slim, logo left, nav right, night blue line as on every document */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 10; border-bottom: 2px solid var(--night); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand img { height: 54px; width: auto; display: block; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }
.nav a.btn { color: var(--white); padding: 10px 18px; border-bottom: 2px solid var(--accent); }
.nav a.btn:hover { border-bottom-color: var(--accent-dark); }
.nav a.login { border: 2px solid var(--night); border-radius: 6px; padding: 8px 14px; font-size: 0.85rem; }
.nav a.login:hover { background: var(--night); color: var(--white); border-bottom-color: var(--night); }

/* Buttons: one strong, one ghost */
.btn {
  display: inline-block; background: var(--accent); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; padding: 12px 22px; border-radius: 8px; border: 2px solid var(--accent);
  transition: background-color 200ms, border-color 200ms, color 200ms, transform 200ms;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn.ghost:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn.outline { background: transparent; color: var(--night); border-color: var(--night); }
.btn.outline:hover { background: var(--night); color: var(--white); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; align-items: center; }

/* Hero: the one decision surface. Night blue gradient, faint waves lower right, turquoise eyebrow */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%); color: var(--white); padding: 88px 0 80px; }
.hero::after {
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 620px; height: 210px; pointer-events: none;
  background: var(--wellen) no-repeat right bottom / contain; opacity: 0.08;
}
.hero .wrap { position: relative; }
.hero h1 { color: var(--white); max-width: 18em; }
.hero p.lead { font-size: 1.15rem; color: var(--lead); max-width: 40em; line-height: 1.6; }
.hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 16px; }
.hero.page { padding: 56px 0 48px; }
.hero.page h1 { font-size: clamp(1.75rem, 3.4vw, 2.3rem); }

/* Sections: rhythm white, light, white; dark only in hero and band */
section.block { padding: 80px 0; }
section.block.alt { background: var(--soft); }
section.block + section.block:not(.alt) { padding-top: 72px; }
.intro { max-width: 46em; margin-bottom: 36px; }
.intro h2 { position: relative; padding-top: 14px; }
.intro h2::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; }
.intro p { color: var(--muted); font-size: 1.02rem; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Cards: white, thin line, turquoise line on the left; lift only when they lead somewhere */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 26px; transition: transform 200ms, box-shadow 200ms; }
.card::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; background: var(--accent); border-radius: 0 2px 2px 0; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card p:last-child a { font-weight: 700; text-decoration: none; }
.card:has(> p:last-child a:only-child):hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.alt .card { border-color: var(--line); }

/* Multi-partner comparison: old way quiet, Hermetra way with turquoise line */
.compare { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.compare .card.old { background: var(--soft); }
.compare .card.old::before { background: var(--line); }
.compare .card.old h3 { color: var(--muted); }
.compare ul { margin: 0; padding-left: 1.2em; }
.compare li { margin-bottom: 8px; }
.compare li::marker { color: var(--accent); }

/* Steps: numbered circles joined by a line */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { position: relative; padding: 64px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem;
}
.steps li::after { content: ""; position: absolute; left: 70px; right: 22px; top: 36px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

/* Lists, tags, tables */
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check li::before { content: ''; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0; }
.tags li { background: var(--accent-soft); color: var(--night); border-radius: 999px; padding: 4px 14px; font-size: 0.88rem; font-weight: 700; }
.alt .tags li { background: var(--white); border: 1px solid var(--line); font-weight: 400; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); background: none; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--night); }
.table-scroll { overflow-x: auto; }

/* Notice and the CTA band */
.notice { background: #FFF7E0; border-left: 4px solid #F0C96A; color: #5A3F00; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 0 0 24px; }
.band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%); color: var(--white); padding: 64px 0; }
.band::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: 520px; height: 180px; background: var(--wellen) no-repeat right bottom / contain; opacity: 0.08; pointer-events: none; }
.band .wrap { position: relative; }
.band h2 { color: var(--white); }
.band p { color: var(--lead); max-width: 40em; }

/* Legal and FAQ pages */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h2::before { display: none; }
section.block .legal h2 { padding-top: 0; }

/* Footer: night blue, calm */
.site-footer { background: var(--night); color: #B8C6D8; padding: 56px 0 28px; font-size: 0.92rem; }
.site-footer a { color: var(--lead); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-grid img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-grid p { color: #B8C6D8; }
.footer-grid h3 { color: var(--white); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 40px; padding-top: 18px; color: #8FA3BC; }

@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .brand img { height: 44px; }
  .nav { gap: 14px; width: 100%; }
  .nav a.btn { padding: 8px 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section.block, section.block + section.block:not(.alt) { padding: 56px 0; }
  .hero { padding: 56px 0 52px; }
  .hero::after, .band::after { width: 360px; height: 120px; }
  .steps li::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .card:hover { transform: none; }
}

/* Contact form */
.contact-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
@media (max-width: 820px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-side { display: grid; gap: 20px; }
.contact-form { display: grid; gap: 14px; }
.contact-form h2 { margin-bottom: 0; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.9rem; color: var(--night); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.ok { color: var(--accent-dark); font-weight: 700; }
.form-status.err { color: #B42318; font-weight: 700; }

/* ---- 11/2026: same look as the customer panel (petrol buttons with readable text), phone menu, blog ---- */
.btn { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.nav a.btn { border-bottom: 2px solid var(--accent-dark); }
.nav a.btn:hover { border-bottom-color: var(--accent-deep); }
.nav { gap: 22px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--night); border-radius: 2px; }
.steps li::before, .intro h2::before { background: var(--accent-dark); }
.post-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--white); }
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--night); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.post-card p:last-child { margin-bottom: 0; }
.post-card p:last-child a { font-weight: 700; text-decoration: none; }
.post-date { color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.post h2 { font-size: 1.35rem; margin-top: 1.8em; padding-top: 0; }
.post h2::before { display: none; }
.post p, .post li { font-size: 1.03rem; line-height: 1.7; }
.standards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); list-style: none; padding: 0; margin: 0; }
.standards li { border-left: 3px solid var(--accent-dark); padding: 4px 0 4px 16px; }
.standards a { font-weight: 700; text-decoration: none; }
.standards span { display: block; color: var(--muted); font-size: 0.93rem; }
.two-ways { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.two-ways .card { padding: 28px 28px 28px 30px; }
.two-ways .card h3 { font-size: 1.25rem; }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a.login, .nav a.btn { margin-top: 10px; text-align: center; padding: 12px 14px; }
  .actions .btn { flex: 1 1 220px; text-align: center; }
}

/* Welcome product tour: light-weight illustrations instead of a blocked video embed. */
.welcome-hero-grid { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:54px;align-items:center; }
.hero-note { color:#b8c6d8;font-size:.84rem;margin:18px 0 0; }
.tour-preview { position:relative;display:block;color:var(--white);text-decoration:none;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:18px 18px 22px;box-shadow:0 24px 60px rgba(0,0,0,.22);transition:transform .18s,border-color .18s; }
.tour-preview:hover { color:var(--white);transform:translateY(-3px);border-color:rgba(19,168,158,.8); }
.tour-preview strong,.tour-preview small { display:block;margin-left:56px; }
.tour-preview small { color:#b8c6d8;margin-top:3px;font-size:.82rem; }
.tour-play { position:absolute;left:20px;bottom:20px;width:40px;height:40px;border-radius:50%;background:var(--accent-dark);display:grid;place-items:center;padding-left:2px;font-size:14px; }
.tour-window,.product-shot { display:block;background:#f7f9fb;border:1px solid rgba(255,255,255,.25);border-radius:10px;overflow:hidden; }
.tour-window { height:230px;margin-bottom:18px; }
.tour-bar,.shot-top { display:flex;gap:5px;align-items:center;height:26px;padding:0 10px;background:#fff;border-bottom:1px solid #dfe5eb; }
.tour-bar i,.shot-top i { width:6px;height:6px;border-radius:50%;background:#c7d0db; }
.tour-layout { display:grid;grid-template-columns:64px 1fr;height:calc(100% - 26px); }
.tour-menu { background:#0b2545; }
.tour-main { padding:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-content:start; }
.tour-main i { display:block;height:52px;border-radius:6px;background:#fff;border-left:3px solid #13a89e;box-shadow:0 1px 4px rgba(11,37,69,.1); }
.tour-main b { grid-column:1/-1;display:block;height:80px;border-radius:6px;background:linear-gradient(160deg,#fff 0 60%,#e3f5f3);box-shadow:0 1px 4px rgba(11,37,69,.1); }
.section-head { max-width:720px;margin-bottom:30px; }
.section-head .eyebrow,.welcome-benefits .eyebrow { color:var(--accent-dark);font-size:.78rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase; }
.welcome-steps { list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px; }
.welcome-steps > li { min-width:0; }
.welcome-steps h3 { margin:7px 0 8px; }
.welcome-steps p:last-child { color:var(--muted);font-size:.93rem; }
.step-label { color:var(--accent-dark);font-size:.77rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:18px 0 0; }
.product-shot { height:190px;border-color:var(--line);box-shadow:0 12px 28px rgba(11,37,69,.08);padding-bottom:18px; }
.product-shot .shot-top { margin-bottom:18px; }
.shot-title,.shot-line,.shot-button { display:block;margin-left:18px;border-radius:4px; }
.shot-title { width:42%;height:15px;background:#0b2545;margin-bottom:14px; }
.shot-line { width:58%;height:8px;background:#dce3ea;margin-bottom:9px; }
.shot-line.wide { width:78%; }
.shot-button { width:36%;height:27px;background:#0b6b64;margin-top:18px; }
.check-row { display:flex;align-items:center;gap:12px;margin:13px 18px; }
.check-row i { width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e1e6ec;color:#64748b;font-style:normal;font-size:.75rem;font-weight:700; }
.check-row.done i { background:#0b6b64;color:white; }
.check-row b { display:block;height:9px;width:64%;background:#dce3ea;border-radius:4px; }
.report-kpis { display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 16px 10px; }
.report-kpis b { display:block;height:35px;background:#fff;border:1px solid #e1e6ec;border-left:3px solid #13a89e;border-radius:5px; }
.shot-report svg { display:block;width:calc(100% - 32px);height:70px;margin:0 16px; }
.welcome-benefits { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:50px;align-items:start; }
.welcome-benefits .standards li { display:grid;gap:3px; }
.welcome-benefits .standards span { color:var(--muted);font-size:.9rem; }
.welcome-cta { text-align:center; }
.welcome-cta .actions { justify-content:center; }
.welcome-cta p { max-width:620px;margin-left:auto;margin-right:auto; }
@media (max-width:900px) {
  .welcome-hero-grid,.welcome-benefits { grid-template-columns:1fr; }
  .welcome-hero-grid { gap:34px; }
  .welcome-steps { grid-template-columns:1fr;gap:30px; }
  .product-shot { max-width:520px; }
}
@media (max-width:520px) {
  .tour-window { height:190px; }
  .tour-layout { grid-template-columns:46px 1fr; }
  .tour-main { padding:16px;gap:7px; }
  .tour-main i { height:44px; }
  .tour-preview strong,.tour-preview small { margin-left:50px; }
}

/* Landing pages and promo kit (26.11.2026, session Social Media & Blog) */
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--lead); }
.hero-points li { padding-left: 28px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: var(--lead); }
.btn.tg { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn.tg:hover { background: #229ED9; border-color: #229ED9; color: var(--white); }
.band .btn.tg, .block .btn.tg { color: var(--night); border-color: var(--line); }
.trust { background: var(--soft); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 0.9rem; font-weight: 600; color: var(--night); }
.trust li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.reel { width: 100%; max-width: 300px; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--night); box-shadow: var(--shadow); display: block; margin: 0 auto; }
.note { font-size: 0.85rem; color: var(--muted); border-left: 3px solid var(--accent); padding: 8px 14px; background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.formula { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; display: inline-block; }
.dl-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.dl-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-align: center; }
.dl-grid img, .dl-grid video { width: 100%; height: auto; border-radius: 8px; display: block; }
.dl-grid figcaption { font-size: 0.82rem; margin-top: 8px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.copy-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.copy-box pre { white-space: pre-wrap; font-family: inherit; margin: 0 0 10px; font-size: 0.95rem; }
.share { display: flex; gap: 10px; flex-wrap: wrap; }
.share a, .share button { font: inherit; font-size: 0.85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--night); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent-dark); }
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.footer-social a { font-size: 0.9rem; }
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; gap: 8px; padding: 10px 12px; background: rgba(11, 37, 69, 0.97); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15); }
  .sticky-cta a { flex: 1; text-align: center; padding: 11px 8px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
  .sticky-cta a.main { background: var(--accent); color: var(--white); }
  .sticky-cta a.alt { border: 1px solid rgba(255, 255, 255, 0.5); color: var(--white); }
  body.has-sticky { padding-bottom: 66px; }
}
.footer-news { margin-top: 18px; max-width: 320px; }
.footer-news label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--lead); }
.footer-news div { display: flex; gap: 6px; }
.footer-news input[type=email] { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: var(--white); font: inherit; font-size: 0.9rem; }
.footer-news button { padding: 8px 12px; border: 0; border-radius: 6px; background: var(--accent); color: var(--white); font-weight: 700; cursor: pointer; }
.footer-news small { display: block; margin-top: 6px; font-size: 0.75rem; color: var(--lead); }
