/* Deixis site, shared base: tokens, header, footer, type, prose pages.
   Tokens follow the approved prototypes (direction S, Begleiter HUD, Reise wizard): macOS 26 Liquid Glass,
   system font, amber as the brand moment. System fonts only, no external requests. */

@property --x { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --y { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --s { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --r { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --h { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  color-scheme: light dark;
  --page: #f5f4f1;
  --page-2: #ecebe7;
  --wall: linear-gradient(155deg, #dde5ee 0%, #ece8e2 52%, #f2e2d6 100%);
  --ink: #1d1d1f;
  --ink-2: #55555c;
  --ink-3: #8e8e95;
  --line: rgba(0, 0, 0, .09);
  --line-2: rgba(0, 0, 0, .05);
  --glass: rgba(250, 250, 252, .72);
  --glass-2: rgba(255, 255, 255, .92);
  --glass-line: rgba(255, 255, 255, .75);
  --glass-hi: rgba(255, 255, 255, .9);
  --shadow: 0 24px 60px -18px rgba(30, 30, 40, .38), 0 0 0 .5px rgba(0, 0, 0, .14);
  --shadow-s: 0 14px 34px -14px rgba(30, 30, 40, .42), 0 0 0 .5px rgba(0, 0, 0, .12);
  --amber: #ffa31a;
  --amber-ink: #8f4b00;
  --amber-soft: rgba(255, 163, 26, .16);
  --amber-line: rgba(240, 140, 0, .85);
  --pin: #ffaa2b;
  --pin-ink: #3a2200;
  --pin-ring: #fff;
  --green: #2b9e4c;
  --kbd: rgba(0, 0, 0, .06);
  --oc-bg: #f6f7f9; --oc-card: #fff; --oc-side: #fbfbfc; --oc-line: #e6e8ec; --oc-ink: #1b1f24; --oc-ink-2: #68707b;
  --oc-brand: #0f6b5c; --oc-brand-2: #d8ece8;
  --term: #1b1c1f; --term-ink: #d9dade; --term-dim: #8a8d94;
  --menubar: rgba(246, 244, 241, .62);
  --bar: rgba(245, 244, 241, .78);
  --spring: cubic-bezier(.22, 1, .36, 1);
  --rise: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
  --max: 68rem;
  --measure: 40rem;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111216;
    --page-2: #17181d;
    --wall: linear-gradient(155deg, #141a24 0%, #18171d 55%, #221817 100%);
    --ink: #f2f2f4;
    --ink-2: #a9a9b1;
    --ink-3: #7a7a83;
    --line: rgba(255, 255, 255, .12);
    --line-2: rgba(255, 255, 255, .06);
    --glass: rgba(40, 40, 46, .7);
    --glass-2: rgba(48, 48, 54, .94);
    --glass-line: rgba(255, 255, 255, .1);
    --glass-hi: rgba(255, 255, 255, .14);
    --shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 .5px rgba(255, 255, 255, .1);
    --shadow-s: 0 14px 34px -14px rgba(0, 0, 0, .75), 0 0 0 .5px rgba(255, 255, 255, .1);
    --amber: #ffae33;
    --amber-ink: #ffbe55;
    --amber-soft: rgba(255, 170, 50, .18);
    --amber-line: rgba(255, 180, 70, .85);
    --pin-ring: #2a2a30;
    --green: #4cc36f;
    --kbd: rgba(255, 255, 255, .1);
    --oc-bg: #16181c; --oc-card: #1e2126; --oc-side: #1a1c20; --oc-line: #2c3036; --oc-ink: #e9ecef; --oc-ink-2: #959ca6;
    --oc-brand: #3fbfa6; --oc-brand-2: #1d3833;
    --term: #0b0c0e;
    --menubar: rgba(20, 20, 24, .55);
    --bar: rgba(17, 18, 22, .74);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

a { color: var(--amber-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 60;
  background: var(--ink); color: var(--page); padding: .5rem .75rem; border-radius: 8px;
}
.skip:focus { top: .5rem; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: .5px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
}

.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: .35em;
  background: var(--kbd); box-shadow: inset 0 -1px 0 var(--line);
  font: 600 .85em/1 var(--sans); color: var(--ink); vertical-align: .08em; white-space: nowrap;
}

/* header: one thin glass bar, like a macOS toolbar */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bar);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: .5px solid var(--line);
}
.bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.25rem; min-height: 3.25rem; padding-block: .4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font: 650 1.125rem/1 var(--display); letter-spacing: -.01em; }
/* The icon: the dot of Deixis with its pointer. */
.dot { position: relative; display: inline-block; width: 1.25rem; height: 1.25rem; }
.dot::before { content: ""; position: absolute; left: 0; top: 0; width: .62rem; height: .62rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.dot::after { content: ""; position: absolute; left: .5rem; top: .42rem; width: .62rem; height: .85rem; background: currentColor; -webkit-mask: url(/pointer.svg) no-repeat 0 0 / contain; mask: url(/pointer.svg) no-repeat 0 0 / contain; }
.bar nav, .foot nav { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.bar nav a, .foot nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; padding-block: .35rem; }
.bar nav a:hover, .foot nav a:hover { color: var(--ink); }
.bar nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--amber); }

.foot { margin-top: 5rem; border-top: .5px solid var(--line); color: var(--ink-2); font-size: .9375rem; background: var(--page-2); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; padding-block: 1.75rem 2.75rem; }
.foot p { margin: 0; }

/* phones: every navigation link and standalone link is a 44 px tap target */
@media (max-width: 45rem) {
  .brand, .bar nav a, .foot nav a, .skip { min-height: 44px; display: inline-flex; align-items: center; }
  .bar-in { padding-block: 0; }
  .foot-in { padding-block: 1rem 2.25rem; }
  .tap { display: inline-flex; align-items: center; min-height: 44px; }
}

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 7.4vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.012em; line-height: 1.25; }
p, ul, ol, dl { margin: 0 0 1rem; }
p, li, dd { text-wrap: pretty; }
code { font-family: var(--mono); font-size: .875em; background: var(--kbd); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
strong { font-weight: 650; }

.eyebrow { margin: 0 0 .9rem; color: var(--amber-ink); font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.lead { font-size: clamp(1.125rem, 2.4vw, 1.375rem); line-height: 1.45; color: var(--ink-2); }
.note, .meta { color: var(--ink-2); }
.meta { font-size: .9375rem; }

/* prose pages (privacy, support, imprint): quiet and readable */
.prose { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-top: 3.5rem; }
.prose h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: .75rem; }
.prose h2 { font-size: 1.375rem; letter-spacing: -.015em; margin: 2.75rem 0 .75rem; }
.prose h3 { font-size: 1.0625rem; margin: 1.75rem 0 .5rem; }
.prose .lead { margin-top: 1rem; font-size: 1.1875rem; }
.plain { padding-left: 1.25rem; }
.plain li { margin-bottom: .5rem; padding-left: .25rem; }
.plain li::marker { color: var(--ink-3); }
.faq { border-top: .5px solid var(--line); }
.faq dt { font-weight: 650; padding-top: 1rem; }
.faq dd { margin: .25rem 0 0; padding-bottom: 1rem; border-bottom: .5px solid var(--line); color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  a, .bar nav a { transition: color .15s ease; }
}

/* 404 */
.notfound { padding-block: clamp(4rem, 14vw, 9rem); text-align: center; }
.notfound .lead { margin-inline: auto; }
