/* Efferenz website: dark layer for the brand, light layer for the platform.
   Shared by all pages. No request to another host: fonts are served from ./schriften (SIL Open Font License). */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("schriften/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("schriften/IBMPlexSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("schriften/IBMPlexMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/IBMPlexMono-Medium.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/newsreader-latin-500-normal.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: "Newsreader"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/newsreader-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* fixed values of the two layers (the product cards in the story always stay light) */
  --black-blue: #020712; --night: #06142E; --deep: #0C2F63; --ice: #7CC4FF; --signal: #4BE3F2;
  --on-dark: #F2F7FF; --on-dark-muted: #A9BEDD; --on-dark-rule: rgba(169, 190, 221, .22);
  --paper: #F4F6FA; --surface: #FFFFFF; --line: #DDE3EC; --ink: #0E1726; --muted: #5A6679; --action: #1746C7;
  --done: #2F7D4F; --waiting: #B7791F; --waiting-text: #8A5A12; --alert: #B3372F;
  --display: "Newsreader", Georgia, serif;
  --text: "IBM Plex Sans", system-ui, sans-serif;
  --num: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 6vw, 88px);
  --wide: 1120px;
  /* content below the story: follows the reader's light or dark setting */
  color-scheme: light dark;
  --bg: #F4F6FA; --panel: #FFFFFF; --rule: #DDE3EC; --fg: #0E1726; --fg-muted: #5A6679; --link: #1746C7;
  --nav-bg: rgba(244, 246, 250, .88); --mark-bg: #FBF4E7; --mark-fg: #8A5A12; --mark-rule: #B7791F;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06142E; --panel: #0A1D40; --rule: rgba(169, 190, 221, .22); --fg: #F2F7FF; --fg-muted: #A9BEDD; --link: #7CC4FF;
    --nav-bg: rgba(4, 12, 30, .86); --mark-bg: #2B2210; --mark-fg: #F0C987; --mark-rule: #B7791F;
  }
}

* { box-sizing: border-box; }
html { background: var(--black-blue); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--text); color: var(--on-dark); background: var(--black-blue); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.sheet :focus-visible, .legal :focus-visible, .nav.docked :focus-visible { outline-color: var(--link); }
[id] { scroll-margin-top: 84px; }

/* head of the page */
.nav { position: fixed; z-index: 30; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--gutter); color: var(--on-dark); transition: background .25s ease, color .25s ease, padding .25s ease; }
.nav.docked, .nav.plain { background: var(--nav-bg); color: var(--fg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); padding-block: 12px; }
.nav.plain { position: sticky; top: 0; }
.wordmark { font: 500 26px/1 var(--display); letter-spacing: -0.015em; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-size: 15px; }
.nav nav a:not(.pill) { opacity: .82; padding: 6px 0; }
.nav nav a:not(.pill):hover { opacity: 1; }
.pill { display: inline-block; font-weight: 500; font-size: 15px; line-height: 1.3; padding: 12px 22px; border-radius: 999px; white-space: nowrap; transition: background .15s ease, box-shadow .15s ease; }
.pill.solid { background: var(--on-dark); color: var(--night); }
.pill.solid:hover { background: #fff; }
.pill.ghost { box-shadow: inset 0 0 0 1px rgba(242, 247, 255, .35); }
.pill.ghost:hover { box-shadow: inset 0 0 0 1px rgba(242, 247, 255, .7); }
.nav .pill { padding: 9px 18px; font-size: 14px; }
.nav.docked .pill.ghost, .nav.plain .pill.ghost, .sheet .pill.ghost { box-shadow: inset 0 0 0 1px var(--fg-muted); }
.pill.action { background: var(--action); color: #fff; }
.pill.action:hover { background: #123AA6; }

/* the light layer that follows the story */
.sheet { position: relative; z-index: 2; background: var(--bg); color: var(--fg); border-radius: 28px 28px 0 0; margin-top: -28px; }
.band { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.band + .band { border-top: 1px solid var(--rule); }
.inner { max-width: var(--wide); margin: 0 auto; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
h2.title { font: 500 clamp(28px, 3.4vw, 44px)/1.1 var(--display); letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; margin: 0 0 16px; max-width: 32em; }
.sheet p { max-width: 34em; }
.sheet .quiet { color: var(--fg-muted); }
.sheet a.text, .legal a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head p { margin: 16px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--fg-muted); }

/* for whom: two plain columns divided by a line */
.pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.pair > div { padding: 28px clamp(0px, 3vw, 40px) 4px 0; }
.pair > div + div { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--rule); }
.pair h3, .steps h3, .facts h3 { font: 600 17px/1.35 var(--text); margin: 0 0 8px; }
.pair p, .steps p { margin: 0 0 12px; color: var(--fg-muted); font-size: 16px; line-height: 1.6; }

/* how it works: five stations on one line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: st; }
.steps li { position: relative; padding: 34px 22px 0 0; counter-increment: st; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--rule); }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--fg-muted); }
.steps li.human::after { background: var(--action); box-shadow: 0 0 0 4px color-mix(in srgb, var(--action) 18%, transparent); }
.steps .n { font: 400 13px/1 var(--num); color: var(--fg-muted); display: block; margin-bottom: 10px; }
.steps .n::before { content: counter(st, decimal-leading-zero); }

/* security: the dark layer again */
.depth { position: relative; z-index: 2; color: var(--on-dark); background: radial-gradient(120% 120% at 78% 0%, #0C2F63 0%, #06142E 46%, #020712 100%); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--on-dark-rule); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--on-dark-rule); }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--on-dark-rule); }
.facts svg { display: block; width: 32px; height: 32px; margin: 0 0 18px; color: var(--ice); }
.depth .head p { color: var(--on-dark-muted); max-width: 34em; }
.facts p { margin: 0; color: var(--on-dark-muted); font-size: 16px; line-height: 1.6; }


/* contact */
.contact { text-align: left; }
.contact h2 { font: 500 clamp(34px, 4.6vw, 64px)/1.05 var(--display); letter-spacing: -0.015em; margin: 0 0 20px; max-width: 13em; text-wrap: balance; }
.contact .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.contact .mail { font: 500 clamp(18px, 2vw, 24px)/1.3 var(--text); }

/* foot of the page */
.foot { position: relative; z-index: 2; background: var(--black-blue); color: var(--on-dark-muted); padding: 44px var(--gutter) 36px; font-size: 14px; }
.foot .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 32px; }
.foot .wordmark { color: var(--on-dark); font-size: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a:hover { color: var(--on-dark); }
.foot .legalline { flex-basis: 100%; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--on-dark-rule); }

/* legal pages */
.legal { background: var(--bg); color: var(--fg); padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(64px, 9vw, 120px); min-height: 70vh; }
.legal article { max-width: 44em; margin: 0 auto; }
.legal h1 { font: 500 clamp(34px, 4.4vw, 52px)/1.05 var(--display); letter-spacing: -0.015em; margin: 0 0 28px; }
.legal h2 { font: 600 19px/1.35 var(--text); margin: 40px 0 10px; }
.legal h3 { font: 600 16px/1.4 var(--text); margin: 24px 0 6px; }
.legal p, .legal li { line-height: 1.65; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 1.2em; margin: 0 0 14px; }
.legal address { font-style: normal; line-height: 1.65; margin: 0 0 14px; }
.legal .stand { color: var(--fg-muted); font-size: 14px; margin-top: 44px; }
.draft { border: 1px solid var(--mark-rule); background: var(--mark-bg); color: var(--mark-fg); border-radius: 14px; padding: 16px 20px; margin: 0 0 32px; font-size: 15px; }
.draft strong { font-weight: 600; }
/* missing facts: clearly marked, never invented */
.ph { background: var(--mark-bg); color: var(--mark-fg); border: 1px dashed var(--mark-rule); border-radius: 6px; padding: 1px 7px; font: 500 .9em/1.6 var(--num); white-space: normal; }
.depth .ph, .foot .ph { background: #2B2210; color: #F0C987; }
.preview { position: fixed; z-index: 40; left: 50%; bottom: 14px; transform: translateX(-50%); background: #2B2210; color: #F0C987; border: 1px solid #B7791F; border-radius: 999px; padding: 6px 14px; font-size: 13px; white-space: nowrap; pointer-events: none; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 26px 34px; }
  .steps li::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps li:last-child::before { display: none; }
  .steps li::after { top: 3px; }
  .steps .n { display: inline; margin-right: 8px; }
  .steps h3 { display: inline; }
  .steps p { margin-top: 6px; max-width: 34em; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .split, .pair, .facts { grid-template-columns: 1fr; }
  .pair > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .facts li, .facts li + li { padding: 24px 0; border-left: 0; }
  .nav { padding: 14px var(--gutter); }
  .wordmark { font-size: 22px; }
  .nav nav a:not(.pill) { display: none; }
  .sheet { border-radius: 20px 20px 0 0; margin-top: -20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nav, .pill { transition: none; } }

.sheet.flat { border-radius: 0; margin-top: 0; }
.contact .lede { margin-bottom: 0; }
.contact .quiet { margin: 22px 0 0; }
.nav.docked ~ .progress { opacity: 0; }
.progress { transition: opacity .25s ease; }
