/* Nakaris — one stylesheet for the whole site.
 *
 * The colours are the app's dark palette, taken from lib/theme/app_theme.dart
 * so the site and the product are plainly the same thing. Change them there
 * and here together.
 *
 * There is no build step and no framework on purpose: five static pages, two
 * of which are legal texts that have to stay readable and archivable for
 * years. A toolchain is a thing to maintain; this is a thing to upload.
 */

/* ── NUNITO, SELF-HOSTED ────────────────────────────────────────────────────
   It came from Google Fonts until 2026-11-27, with the two `preconnect`s and
   the stylesheet link that every tutorial copies. In Germany that is not a
   performance question: the LG München I awarded damages in 2022 for exactly
   that embedding (Az. 3 O 17493/20), because the browser sends the visitor's
   IP address to Google without being asked, and a privacy policy that has to
   explain the request is a privacy policy explaining something avoidable.

   Two files, because Nunito is a **variable** font - Google serves the same
   woff2 for 400, 700, 800 and 900 and only varies the `font-weight` line, so
   the whole axis is 38 KB and the range below is what unlocks it. Declaring
   four separate faces against one file would download it once and still be
   four rules to keep in step.

   The split is Google's own: `latin` carries ASCII and the German umlauts,
   `latin-ext` the rest of Europe. The unicode ranges are copied verbatim from
   the stylesheet they came from, so a browser still fetches only the half it
   needs. Cyrillic and Vietnamese were dropped - the site is German and
   English.

   `font-display: swap` keeps the text readable while the file loads, in the
   system font. Refresh the files from the Google CSS2 API when the family is
   updated; nothing here does that by itself. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/nunito-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;
}

:root {
  /* The app's **light** palette, from lib/theme/app_theme.dart. The site was
     dark first and the characters were the argument against it: they are drawn
     with heavy black outlines on bright fills, so on a near-black page every
     one of them sits in its own dark hole. On white they read the way they
     were painted. */
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-alt: #edeff5;
  --line: #dce0ea;
  /* ── THE VIOLET IS THE ONBOARDING'S, NOT THE APP CHROME'S ─────────────
     #79488d is `OnboardingColors.accent` and #55305f is `accentDeep`, the
     face and the base of the Continue button somebody presses nine times
     before they ever see this site. It is Time Reaper's own robe, picked
     because he is the character talking on every one of those screens.

     It replaced #6543e0, the app's old chrome violet, which was a brighter
     and bluer colour - so the two were close enough to look like the same
     thing badly reproduced rather than like two decisions. `--primary-dim`
     is the midpoint the gradients run to; every piece of depth, every
     extruded letter and every pressed state uses `--primary-deep`, which
     is the button's base to the digit. */
  --primary: #79488d;
  --primary-dim: #65397a;
  --primary-deep: #55305f;
  --deep: #6322ae; /* the launcher icon's background */
  --mint: #12a272;
  --coin: #c08800;
  --text: #15161d;
  --muted: #666c7e;

  --maxw: 1120px;
  --radius: 22px;
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

a { color: var(--text); text-decoration: none; }
a:hover { color: #000; }

/* `height: auto` is not optional here, and leaving it out cost an afternoon.
   An <img> carries its `width`/`height` attributes into CSS as presentational
   hints. The phone screenshots declare height="2622" so the browser sized
   them to 2622px tall - `width: 100%` overrode the width hint and nothing
   overrode the height one. Measured in the page: a 307px-wide image rendered
   2650px tall, ratio 8.6 against the file's own 2.17.

   It looked exactly like a styling problem, so the tilt, the size and the
   crop were all adjusted first. The attributes stay, because they are what
   stops the page jumping while the images load.

   `video` is in the same rule because it does the same thing and caught us a
   second time: the three clips carry width/height for the same anti-jump
   reason, and the first draft styled only their width - so three 440 x 956
   clips were drawn 240px wide and 956px tall, letterboxed inside their own
   frames. One trap, two element types, and knowing about the first one did
   not stop the second. */
img, video { max-width: 100%; height: auto; display: block; }

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

/* ── Header ──────────────────────────────────────────────────────────────── */

/* No navigation, and not sticky.
   A five-page site for one app has nowhere to navigate to that the page does
   not already walk you past, and a bar that follows you down is a thing you
   have to look past on every screen. What is left is the wordmark. */
header.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

header.site .wrap {
  display: flex;
  align-items: center;
  height: 82px;
}

/* ── THE NAME IS THE WHOLE MARK ─────────────────────────────────────────
   The launcher icon used to sit beside it at 34px. An icon is drawn to be
   found among forty others on a home screen; in the corner of a page that is
   already about one product it has nothing left to do, and two marks in one
   corner split the attention that one of them wanted.

   The depth is the app's own. `DepthButton` sits on a solid 7px shadow in
   #55305f, and these letters are extruded in the same colour, so the site is
   plainly built out of the product's parts. It also solves the problem the
   scrim used to: a *blurred* shadow dissolves into a white cloud, while a
   hard extrusion keeps an edge against sky, cloud and character alike. */
.brand { display: inline-flex; align-items: baseline; font-weight: 900; }
.wordmark {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.025em;
}
/* ONE set of colours, everywhere the mark appears.
   The face is grey rather than white, and that is about the clouds: pure
   white letters crossing a pure white cloud lose their own edge, and the
   extrusion alone then has to carry the shape. A face two steps down from
   white keeps a visible boundary against the cloud and is still read as
   white against the sky. */
.wordmark {
  color: #e3e4ec;
  text-shadow:
    0 1px 0 #65397a, 0 2px 0 #65397a, 0 3px 0 #5c3470,
    0 4px 0 #55305f, 0 5px 0 #55305f,
    0 9px 18px rgba(21, 22, 29, 0.40);
}
/* On a page rather than a painting there is nothing for a cast shadow to
   fall on, so the blur goes - and a one-pixel outline comes in, which is not
   a decoration. Measured against the footer's own background, the grey face
   is a contrast ratio of 1.09:1: on the sky it is a pale letter, here it is
   the same colour as the paper, and without an edge the only thing drawing
   the word is the extrusion hanging below each stroke. The outline is the
   same plum as that extrusion, so the mark still has exactly two colours. */
header.site.plain .wordmark,
footer.site .wordmark {
  text-shadow:
    1px 0 0 #55305f, -1px 0 0 #55305f, 0 -1px 0 #55305f,
    1px -1px 0 #55305f, -1px -1px 0 #55305f,
    0 1px 0 #65397a, 0 2px 0 #65397a, 0 3px 0 #5c3470,
    0 4px 0 #55305f, 0 5px 0 #55305f;
}
footer.site .wordmark { font-size: 31px; }

/* The legal pages keep a plain one on the page background. */
header.site.plain { position: static; border-bottom: 1px solid var(--line); }
header.site.plain .wrap { max-width: var(--maxw); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dim) 100%);
  color: #fff;
  box-shadow: 0 7px 0 0 var(--primary-deep), 0 12px 24px rgba(121, 72, 141, 0.30);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); }
.btn-primary:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 0 var(--primary-deep), 0 5px 12px rgba(121, 72, 141, 0.28);
}
/* ── Hero ────────────────────────────────────────────────────────────────── */

/* `padding: 0` is load-bearing: `section` carries 84px of it, and the hero is
   a section - which put 84px of page background above the band and left the
   wordmark hanging over nothing. */
.hero { position: relative; padding: 0 0 24px; }

/* ── THE SELFIE BAND ────────────────────────────────────────────────────────
   Full-bleed at the very top, with the wordmark over it. It is the one piece
   of art on the site that is not a screenshot, and it does the job the violet
   bloom used to do badly: give the page somewhere to start.

   It fades into the page rather than ending on a line. The picture is a sky
   with characters standing in front of it, so a hard bottom edge cuts them
   off at the waist; the fade reads as them leaning into frame. */
.selfie {
  position: relative;
  width: 100%;
  /* ── THE THREE NUMBERS ARE THE PICTURE'S OWN SHAPE ──────────────────────
     The painting is 3000 x 1000, so 33vw is the height at which nothing is
     cropped at all - the middle value exists to keep that true for every
     ordinary window. The two ends are where it has to give:

       150px   below about 455px of width the band would be thinner than
               that, so it is held open and `cover` trims the sides instead.
               At the narrowest phone that costs 4% off each edge, which is
               inside the margin the art was drawn with.
       470px   above about 1425px the band would grow past a sensible height
               for a strip of decoration, so it is capped and `cover` trims
               top and bottom. At 1920 that is 16% off the top, and the
               highest thing in the picture - the halo - starts at 25%.

     Change either end and check both of those, because the failure is a
     hat or a halo sliced off at one window width and nowhere else. */
  height: clamp(150px, 33vw, 470px);
  overflow: hidden;
}
/* ── THERE IS NO SCRIM, AND THAT IS THE RE-EXPORT'S DOING ──────────────────
   There was one: a 110px black gradient across the whole top, because the
   first painting put Oni's black hair under the wordmark at one window width
   and open sky under it at another, and white text cannot survive both.

   The 3:1 painting reserves its top-left corner and keeps its top band sky,
   so what sits behind the wordmark is now the same pale blue at every width
   the band is ever drawn at - checked at the two extremes, since those are
   where `cover` crops from. A gradient over that is a grey haze over the one
   piece of art on the page, paid for a problem that no longer exists.

   Put it back if the painting is ever recomposed. The shadow below is enough
   for sky and for a white cloud; it is not enough for hair. */
.selfie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Below centre, because the two directions are not equivalent: above the
     characters is sky and below them is the fade, so what is given up by
     cropping from the top is nothing, and what is given up by cropping from
     the bottom is a torso that was going to dissolve anyway.

     This was 58% against the first, almost-square painting, where no value
     worked - the heads alone spanned more of the picture than the band could
     show. The re-export at 3:1 is what made the number a preference rather
     than a compromise. */
  object-position: 50% 62%;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
}

.hero-top { padding: 18px 0 36px; }
.hero .wrap { position: relative; }

h1 {
  margin: 20px 0 0;
  font-size: clamp(38px, 7.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 900;
}
h1 .glow { color: var(--primary); }

.lede {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
}

.hero-center { text-align: center; }
.try-label {
  margin: 30px 0 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--text);
}

/* Apple's and Google's own badge artwork, unaltered except that the Google
   PNG ships with 41px of transparent margin baked in, which is cropped off so
   the two can be set to the same height. Sized by height, never by width:
   the two have different aspect ratios and matching their widths would
   squash one of them. */
.stores {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.stores a {
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 52px; width: auto; }
@media (max-width: 420px) { .stores img { height: 46px; } }

/* ── The two phones ──────────────────────────────────────────────────────── */

/* ── WHY THEY ARE SMALL AND SET ON A DIAGONAL ───────────────────────────────
   Nothing here is distorted: the screenshots are 1206 x 2622, which is what an
   iPhone 17 actually is. The trouble is that two 19.5:9 devices standing
   side by side read as two bars, and the taller they are drawn the more that
   is all they read as.

   Cutting them off at the bottom was tried first and was worse - the only
   part left was the status bar, and the character the whole page is about was
   below the crop. So they stay whole and get smaller, and one sits low while
   the other sits high: the composition then runs across rather than up, and
   the overlap says which one is in front. */
/* ── WHY 86px LOOKS LIKE HALF OF IT ───────────────────────────────────
   `.phone-right` is lifted 34px by its own transform and `.phone-left` is
   pushed down by the same, so the gap the eye measures is this margin minus
   that lift. At the 52px it started on, the pair read as hanging off the
   store badges with 18px of air between them. The mobile override below is
   not a second opinion: under 620px the lift is gone, so the margin is the
   whole gap and 86px would be a hole. */
.stage {
  margin: 86px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
  perspective: 1500px;
}

.phone {
  position: relative;
  width: clamp(168px, 22vw, 244px);
  flex: 0 0 auto;
  border-radius: 34px;
  padding: 6px;
  background: linear-gradient(150deg, #3b3f5e 0%, #15172a 48%, #2c3049 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.16) inset,
    0 40px 70px -26px rgba(21, 22, 29, 0.42),
    0 8px 22px rgba(21, 22, 29, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone img {
  border-radius: 28px;
  display: block;
  width: 100%;
}
.phone::after {
  /* The glass. A single diagonal sheen is what sells a flat PNG as a screen. */
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 28px;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 26%,
    transparent 46%
  );
  pointer-events: none;
}

/* Gentle. The first pass used 17 and 13 degrees and the pair read as a
   funhouse mirror rather than two phones on a desk - at this size the tilt is
   carried by the shadow and the sheen, and the rotation only has to stop them
   looking like flat stickers. */
.phone-left {
  transform: rotateY(13deg) rotateZ(-2.5deg) translateY(34px) translateZ(-30px);
  margin-right: -48px;
  z-index: 1;
}
.phone-right {
  transform: rotateY(-10deg) rotateZ(2.5deg) translateY(-34px);
  z-index: 2;
}
.stage:hover .phone-left {
  transform: rotateY(10deg) rotateZ(-1.5deg) translateY(28px) translateZ(-14px);
}
.stage:hover .phone-right {
  transform: rotateY(-7deg) rotateZ(1.5deg) translateY(-42px);
}

@media (max-width: 620px) {
  .stage { margin-top: 54px; }
  .phone-left { display: none; }
  .phone-right { transform: none; margin: 0; width: min(62vw, 250px); }
  .stage:hover .phone-right { transform: none; }
}

/* ── Phones in a row, flat ───────────────────────────────────────────────── */

/* The hero's pair is a composition; these are exhibits. A tilt on four
   screenshots side by side makes four different shapes out of one device and
   the eye spends its time on the arrangement rather than on what is in them -
   so they share the frame, the sheen and the shadow with the hero and give up
   the rotation. */
.phone-flat {
  width: 100%;
  max-width: 232px;
  margin: 0 auto;
  transform: none;
}
.phone-flat video { width: 100%; border-radius: 28px; }

/* ── FOUR SCREENS, ONE EACH ──────────────────────────────────────────────────
   Four across down to 1000px, two across down to 600, then one. Two across on
   a phone was tried: at 390px of width that is a 165px screenshot, and a
   screenshot nobody can read is decoration with a caption attached. */
.showcase {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 26px;
}
/* ── THE SENTENCE READS BEFORE THE PICTURE, AND THE FOUR PHONES STILL LINE UP
   The caption comes first in the markup, so it is read before the screenshot
   it describes rather than explaining one the eye has already given up on.

   That makes the alignment harder, not easier. The four sentences are one,
   two and three lines long, and a phone placed under its own sentence starts
   at a different height in every column. `subgrid` is what fixes it without
   a guessed `min-height`: the figure borrows the section's two rows instead
   of making its own, so every sentence is laid out in a row as tall as the
   longest of the four, and every phone begins on the same line.
   `display: contents` on the caption is what lets the heading reach that
   grid while keeping the figure/figcaption pairing intact.

   `align-self: end` is the other half: it stands each sentence on the floor
   of that shared row, so a one-line sentence sits on its phone instead of
   floating a line and a half above it. The ragged edge that leaves is at the
   top, against the page background, where there is nothing to be ragged
   against. */
.showcase { grid-template-rows: auto auto; }
.showcase figure {
  margin: 0;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
}
.showcase figcaption { display: contents; }
.showcase h3 {
  margin: 0 auto 18px;
  max-width: 260px;
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  align-self: end;
}

@media (max-width: 1000px) {
  .showcase { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
}
@media (max-width: 600px) {
  .showcase { grid-template-columns: 1fr; gap: 46px; }
  .showcase .phone-flat { max-width: 248px; }
}

/* ── THREE OF THEM, MOVING ───────────────────────────────────────────────────
   These stay three across at every width, including the narrowest phone,
   where each one is about 100px wide. That is small, and it is still the
   right call: the section says *there are more of these and they are not
   alike*, and that sentence is carried by seeing three unlike creatures at
   once. Stacked, it becomes three separate claims that one creature exists. */
.trio {
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2.4vw, 30px);
  max-width: 820px;
  align-items: start;
}
.trio .phone-flat { max-width: 240px; padding: clamp(3px, 0.7vw, 6px); }
.trio figure { margin: 0; }
.trio figcaption {
  margin: 14px 0 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--muted);
}

/* The frame's radius is absolute, so at 100px wide the screen's own 28px
   corners eat into the picture. Both shrink together. */
@media (max-width: 620px) {
  .trio .phone-flat { border-radius: 18px; }
  .trio .phone-flat video,
  .trio .phone-flat::after { border-radius: 15px; }
  .trio .phone-flat::after { inset: 3px; }
}

/* ── Sections ────────────────────────────────────────────────────────────── */

section { padding: 84px 0; }
/* The header is sticky, so an anchor jump lands with the heading underneath
   it. `scroll-margin-top` is the only thing that fixes that without giving
   every section a dead band of padding. */
section[id] { scroll-margin-top: 86px; }
section.tight { padding: 56px 0; }

h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
}
h3 { margin: 0 0 8px; font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
/* `.sub` lived here: the grey paragraph under a section heading. Both of
   them were deleted with this revision - under "Discover the features" it
   explained a row of screenshots that explain themselves, and under the
   three clips it listed unlock conditions nobody reads standing up. The
   closing band's second line is `.cta-sub`, which is a different thing: it
   is bigger and darker, because it is a line somebody is meant to act on
   rather than a footnote. */
.center { text-align: center; }

/* ── THE CLOSING BAND ──────────────────────────────────────────────
   The last thing on the page, and the second place the store badges appear.
   The pair in the hero is for somebody who arrived already convinced; this
   pair is for everybody who read to the bottom, and sending them back up to
   the hero to act is sending them away.

   It stands where the privacy band stood, in violet rather than mint. */
.cta {
  background: linear-gradient(180deg, rgba(121, 72, 141, 0.10), transparent 72%),
    var(--surface);
  border-top: 1px solid var(--line);
}
.cta h2 { max-width: 760px; margin: 0 auto; }
.cta .cta-sub {
  margin: 16px auto 34px;
  max-width: 640px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--muted);
}

/* FAQ */
details.faq {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 2px 20px;
  margin-bottom: 11px;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  color: var(--primary);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  color: var(--muted);
  font-size: 14.5px;
}
footer.site .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  justify-content: space-between;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site nav { display: flex; flex-direction: column; gap: 9px; }
footer.site .legal { margin-top: 34px; font-size: 13px; opacity: 0.75; }

/* ── Legal / long-form pages ─────────────────────────────────────────────── */

.doc { padding: 54px 0 90px; }
.doc .wrap { max-width: 790px; }
.doc h1 { font-size: clamp(30px, 5.2vw, 44px); margin: 0; }
.doc h2 {
  font-size: 23px;
  margin: 46px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 17.5px; margin: 28px 0 0; }
.doc p, .doc li { color: #3a3f52; font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 7px 0; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15.5px;
}
.doc th, .doc td {
  text-align: left;
  padding: 11px 13px;
  border: 1px solid var(--line);
  vertical-align: top;
  color: #3a3f52;
}
.doc th { background: var(--surface-alt); color: var(--text); font-weight: 800; }
.doc code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
.doc a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--primary-deep); }

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ── THE LANGUAGE SWITCH SITS AT THE FOOT OF THE TEXT ────────────────────
   It used to be the second thing on every legal page, directly under the
   heading. That put "Deutsch" in front of every reader of the English text,
   which is a strange first thing to say on a page about an app - and the
   German versions exist for a legal reason, not as a feature of the site.
   Somebody who wants them is looking for them and will reach the bottom. */
.langbar-label {
  margin: 54px 0 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.langbar {
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
}
.langbar a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
}
.langbar a[aria-current="true"] {
  background: rgba(121, 72, 141, 0.14);
  border-color: rgba(121, 72, 141, 0.45);
  color: var(--text);
}

.callout {
  margin: 26px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
}
.callout p { margin: 0; font-size: 15.5px; }
/* A callout used to hold one paragraph. Several of them now do, and with
   `margin: 0` the second one started on a new line with no gap, which reads
   as a line break rather than as a new thought. */
.callout p + p { margin-top: 12px; }
.callout.warn { border-left-color: var(--coin); }

.toc {
  margin: 28px 0 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 5px 0; font-size: 15.5px; }
.toc a { color: #3a3f52; text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }

/* ── The contact form ─────────────────────────────────────────────────────
   One form on one page. It is styled here rather than inline because the
   focus ring and the 16px rule below are the kind of thing that gets
   dropped when it is copied, and this is the only place they are written
   down. */
.contact { margin: 6px 0 0; max-width: 620px; }
.contact .field { margin-bottom: 18px; }
.contact label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: 15px;
}
/* 16px is not a preference. Safari on iOS zooms the page in whenever a
   focused field's text is smaller than that, and it does not zoom back out
   afterwards - so a 15px input leaves the visitor on a page they now have to
   pinch their way around, halfway through writing to support. */
.contact input,
.contact textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact textarea { min-height: 156px; line-height: 1.55; resize: vertical; }
.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(121, 72, 141, 0.20);
}
/* The honeypot. Off-screen rather than `display: none`, because the simpler
   bots skip hidden fields and the ones worth catching fill in everything
   they can reach. A real visitor never reaches it: it is out of the tab
   order, out of autocomplete and out of the accessibility tree. */
.contact .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact .form-note { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.contact button { border: 0; cursor: pointer; font-family: inherit; }
.contact button[disabled] { opacity: 0.6; cursor: default; }
.form-status {
  margin: 18px 0 0;
  min-height: 1.3em;
  font-weight: 800;
  font-size: 15.5px;
}
.form-status.ok { color: var(--mint); }
.form-status.bad { color: #b4232a; }
