/* TSLove — tslove.app. Dark only, system fonts, nothing loaded from elsewhere. */

:root {
  color-scheme: dark;
  --bg: #030806;
  --bg-mid: #06120d;
  --bg-top: #0e291f;
  --mint: #6ed696;
  --mint-ink: #05170f;
  --text: #f2f7f4;
  --text-2: #a8b8af;
  --text-3: #8a9a91;
  --green: #299e5c;
  --green-2: #33b366;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.035);
  --hair: rgba(255, 255, 255, 0.16);
  --glow: rgba(110, 214, 150, 0.16);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --track-display: -0.035em;
  --track-title: -0.028em;
}

:lang(ja) {
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP",
    "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --display: var(--font);
}
:lang(zh-Hans) {
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  --display: var(--font);
}
:lang(zh-Hant) {
  --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans CJK TC", "Noto Sans TC", "Microsoft JhengHei",
    sans-serif;
  --display: var(--font);
}
:lang(ko) {
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR",
    "Malgun Gothic", sans-serif;
  --display: var(--font);
}
:lang(ja), :lang(zh-Hans), :lang(zh-Hant), :lang(ko) {
  --track-display: 0;
  --track-title: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  background: var(--bg);
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

:lang(ja) body, body:lang(ja) { line-break: strict; }
:lang(zh-Hans), :lang(zh-Hant) { line-break: strict; }
:lang(ko) { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }

img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #8fe6b0; }
p, ul, ol, h1, h2, h3 { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; } /* a last resort for a word longer than the line */
ul { padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 600; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--mint-ink); }

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

/* the backdrop: the App Store screenshots' green-black gradient and faint 13-column grid, fading down */
.backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1400px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg) 100%);
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: calc(50% - 48px) -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 70%);
}

/* icons */
.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 8, 6, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 28px);
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand img { border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.lang-menu { position: relative; }
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); border-color: rgba(255, 255, 255, 0.16); }
.lang-menu .chevron { transition: transform 0.2s ease; }
.lang-menu[open] .chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(14, 22, 18, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.lang-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
}
.lang-list a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang-list a[aria-current="true"] { color: var(--mint); }
.lang-list a[aria-current="true"]::after { content: " ✓"; }

@media (max-width: 520px) {
  .lang-current { display: none; }
  .lang-menu summary { padding: 7px 9px; }
  .brand span { font-size: 1.05rem; }
}
/* on phones the brand, Support and the language menu fill the bar in every language ("Fonctionnalités Assistance"
   doesn't fit next to "TSLove" at 375 px); the home page is the feature list anyway */
@media (max-width: 480px) {
  .nav .nav-features { display: none; }
}

/* ---------------------------------------------------------------- type */
.label {
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
:lang(ja) .label, :lang(zh-Hans) .label, :lang(zh-Hant) .label, :lang(ko) .label {
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}
.pro {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.18em 0.6em 0.16em;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: 0.12em;
  line-height: 1.3;
}
.label .pro:first-child { margin-left: 0; margin-right: 0.4em; }

.display {
  font-family: var(--display);
  font-size: clamp(2.55rem, 1.2rem + 5.6vw, 5.4rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
:lang(ja) .display, :lang(zh-Hans) .display, :lang(zh-Hant) .display, :lang(ko) .display {
  font-size: clamp(2.1rem, 1rem + 4.6vw, 4.5rem);
  line-height: 1.16;
}
.title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: var(--track-title);
  text-wrap: balance;
}
:lang(ja) .title, :lang(zh-Hans) .title, :lang(zh-Hant) .title, :lang(ko) .title {
  font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3.1rem);
  line-height: 1.2;
}
.lead {
  color: var(--text-2);
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.32rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.subline {
  color: var(--text-2);
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.5;
  text-wrap: balance;
}

/* ---------------------------------------------------------------- buttons, CTA */
.button, .lang-banner .switch {
  display: inline-block;
  padding: 0.78em 1.35em;
  text-align: center;
  line-height: 1.35;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: var(--mint-ink);
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px rgba(41, 158, 92, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover, .lang-banner .switch:hover {
  color: var(--mint-ink);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px rgba(41, 158, 92, 0.35);
}
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1px solid rgba(110, 214, 150, 0.42);
  background: rgba(110, 214, 150, 0.08);
  color: var(--mint);
  font-weight: 600;
  font-size: 1.02rem;
  box-shadow: 0 0 40px rgba(110, 214, 150, 0.12);
}
.store-badge { display: inline-block; border-radius: 10px; }
.store-badge img { height: 54px; width: auto; }

/* ---------------------------------------------------------------- device frames */
/* The bezel is the picture's padding: a percentage padding resolves against the container's width, and the picture's
   container is the phone itself, so the bezel stays 2.7% of the phone's width wherever it stands (a padding on .phone
   would grow with its container: about 10% of a hero phone's width). The radii are concentric for that 2.7%. */
.phone {
  position: relative;
  background: #050605;
  border-radius: 14.8% / 6.95%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px var(--hair),
    0 40px 80px -24px rgba(0, 0, 0, 0.9),
    0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.phone > picture { padding: 2.7%; }
.phone img { width: 100%; height: auto; border-radius: 12.5% / 5.75%; background: #000; }

.tablet {
  position: relative;
  padding: 2%;
  background: #050605;
  border-radius: 4.4% / 5.8%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px var(--hair),
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.tablet img { width: 100%; height: auto; border-radius: 2.6% / 3.47%; background: #000; }

/* the Mac's window captures come with their own rounded corners (48 px at 2880 × 1666) */
.window {
  position: relative;
  border-radius: 1.75% / 3.03%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 24px 50px -24px rgba(0, 0, 0, 0.75);
}
.window img { width: 100%; height: auto; border-radius: inherit; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero-text { text-align: center; max-width: calc(940px + 2 * var(--pad)); }
.hero .label { margin-bottom: 18px; }
.hero .lead { max-width: 660px; margin: 24px auto 0; }
.platforms {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 0.95rem;
}
.platforms .dot { margin: 0 0.45em; }

.hero-visual {
  position: relative;
  display: grid;
  max-width: 1080px;
  margin: clamp(44px, 7vw, 76px) auto 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 120%; height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
  pointer-events: none;
}
.hero-mac, .hero-phone { grid-area: 1 / 1; }
.hero-mac { width: 90%; justify-self: end; align-self: start; }
.hero-phone { width: 27%; justify-self: start; align-self: start; margin: 13% 0 0 1%; }

@media (max-width: 699px) {
  .hero-mac { width: 92%; }
  .hero-phone { width: 44%; margin: 22% 0 0 0; }
}

/* ---------------------------------------------------------------- highlights */
.highlights { padding: clamp(64px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); }
.highlight-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 600px) {
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .highlight-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.highlight {
  padding: 24px 22px 26px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.highlight .i { color: var(--mint); margin-bottom: 16px; }
.highlight h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.highlight p { color: var(--text-2); font-size: 0.97rem; }
@media (max-width: 560px) {
  .highlight-grid { gap: 10px; }
  .highlight { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 18px 20px; }
  .highlight .i { grid-row: span 2; margin: 2px 0 0; }
}

/* ---------------------------------------------------------------- features */
.group { padding-top: clamp(64px, 9vw, 120px); }
.group-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: var(--track-title);
  line-height: 1.15;
  text-align: center;
  color: var(--text);
  padding-bottom: clamp(8px, 2vw, 24px);
  text-wrap: balance;
}
.group-title::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 3px;
  background: var(--mint);
}

.feature {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.feature + .feature { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.feature-text { max-width: 560px; }
.feature .label { margin-bottom: 14px; }
.headline {
  font-family: var(--display);
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--track-title);
  text-wrap: balance;
}
:lang(ja) .headline, :lang(zh-Hans) .headline, :lang(zh-Hant) .headline, :lang(ko) .headline {
  font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.9rem);
  line-height: 1.22;
}
.feature .subline { margin-top: 16px; }

.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(110, 214, 150, 0.13);
  box-shadow: inset 0 0 0 1px rgba(110, 214, 150, 0.3);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 7px; top: calc(0.18em + 5px);
  width: 5px; height: 9px;
  border: solid var(--mint);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.feature-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.feature-media::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 150%; height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
  pointer-events: none;
}
.feature-media > .phone { width: min(300px, 62vw); }
.feature-media > .tablet { width: 100%; }
.pair { display: grid; width: min(470px, 88vw); }
.pair .phone { grid-area: 1 / 1; width: 57%; }
.pair .phone--front { justify-self: start; align-self: start; margin-top: 12%; z-index: 1; }
.pair .phone--back { justify-self: end; align-self: start; }
/* an iPhone in front of an iPad */
.feature-media > .combo { width: 100%; max-width: 680px; }
.combo { display: grid; }
.combo > .tablet, .combo > .phone { grid-area: 1 / 1; }
.combo > .tablet { width: 88%; justify-self: end; align-self: start; }
.combo > .phone { width: 34%; justify-self: start; align-self: start; margin-top: 21%; z-index: 1; }

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
  .feature--tablet, .feature--combo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature--tablet:nth-of-type(even), .feature--combo:nth-of-type(even) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .combo > .phone { width: 30%; }
  .feature:nth-of-type(even) .feature-media { order: -1; }
  .feature:nth-of-type(even) .feature-text { justify-self: end; }
}

/* ---------------------------------------------------------------- devices */
.devices { padding-top: clamp(80px, 11vw, 150px); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto; }
.section-head .label { margin-bottom: 16px; }
.section-head .subline { margin-top: 18px; }
.duo {
  position: relative;
  display: grid;
  max-width: 1040px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-bottom: 6%;
}
.duo::before {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 120%; height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
  pointer-events: none;
}
.duo-mac, .duo-ipad { grid-area: 1 / 1; }
.duo-mac { width: 84%; justify-self: end; align-self: start; }
.duo-ipad { width: 46%; justify-self: start; align-self: end; margin-bottom: -6%; }

.device-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: clamp(48px, 7vw, 80px) auto 0;
}
.device-card {
  padding: 22px 18px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}
.device-card .i { color: var(--mint); margin: 0 auto 12px; }
.device-card h3 { font-size: 1.12rem; font-weight: 650; }
.device-card p { color: var(--text-2); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 560px) {
  .device-cards { grid-template-columns: 1fr; }
  .device-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; text-align: left; align-items: center; }
  .device-card .i { margin: 0; grid-row: span 2; }
  .device-card p { margin-top: 0; }
}
.ticks--center {
  max-width: 700px;
  margin: 36px auto 0;
}

/* ---------------------------------------------------------------- privacy, pricing, closing */
.privacy-band { padding-top: clamp(80px, 11vw, 150px); }
.band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(110, 214, 150, 0.12), transparent 55%),
    var(--card);
  border: 1px solid var(--line);
}
.band-icon { color: var(--mint); margin-top: 4px; }
.band .label { margin-bottom: 12px; }
.band .body { color: var(--text-2); font-size: 1.08rem; max-width: 720px; margin: 18px 0 20px; }
@media (max-width: 600px) {
  .band { grid-template-columns: 1fr; }
}

.pricing { padding-top: clamp(28px, 4vw, 40px); }
.pricing-card {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(51, 179, 102, 0.14), transparent 55%),
    var(--card);
  border: 1px solid var(--line);
}
.pricing-card .label { margin-bottom: 14px; }
.pricing-card .label .pro { margin: 0 0.5em 0 0; }
.pricing-cols {
  display: grid;
  gap: 18px 40px;
  margin: 24px 0 30px;
  color: var(--text-2);
  font-size: 1.05rem;
}
@media (min-width: 800px) {
  .pricing-cols { grid-template-columns: 1fr 1fr; }
}

.closing { padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); text-align: center; }
.closing-inner { position: relative; }
.closing-inner::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: min(900px, 140%); height: 520px;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
  pointer-events: none;
}
.closing-icon {
  margin: 0 auto 32px;
  width: 112px; height: 112px;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 80px rgba(110, 214, 150, 0.18);
}
.closing .lead { margin-top: 18px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 0 48px;
  color: var(--text-3);
  font-size: 0.9rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer .brand { margin-right: 0; font-size: 1.02rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a, .footer-langs a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover, .footer-langs a:hover { color: var(--text); text-decoration: underline; }
.footer-langs { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-langs a[aria-current="true"] { color: var(--mint); }
.fine { margin-top: 22px; display: grid; gap: 6px; font-size: 0.82rem; line-height: 1.5; }

/* ---------------------------------------------------------------- support */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.page-head .lead { max-width: 640px; margin: 20px auto 0; }
.support-grid {
  display: grid;
  gap: 28px;
  align-items: start;
  padding-bottom: clamp(64px, 9vw, 120px);
}
@media (min-width: 960px) {
  .support-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
  .contact-card { position: sticky; top: 84px; }
}
.contact-card {
  padding: 28px 26px;
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(110, 214, 150, 0.12), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
}
.contact-card .i { color: var(--mint); margin-bottom: 14px; }
.contact-card h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; }
.contact-email { margin-top: 10px; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-email .email { font-weight: 600; }
.muted { color: var(--text-2); font-size: 0.97rem; margin-top: 12px; }

.faq h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { flex: 1; font-size: 1.1rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.005em; }
.faq-item summary:hover h3 { color: #ffffff; }
.plus {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 2px;
  margin: -1px 0 0 -5px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform 0.2s ease;
}
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.answer { padding: 0 2px 22px; color: var(--text-2); display: grid; gap: 12px; max-width: 720px; }
.faq-item:target summary h3 { color: var(--mint); }

/* ---------------------------------------------------------------- privacy */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  color: #d3ddd8;
}
.prose h1 {
  -webkit-hyphens: auto;
  hyphens: auto; /* "Datenschutzerklärung", "конфиденциальности" are wider than a phone at this size */
  font-family: var(--display);
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem);
  font-weight: 700;
  letter-spacing: var(--track-title);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}
.prose h2 { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.01em; color: var(--text); margin: 44px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.prose em { color: var(--text-2); }
.note {
  padding: 14px 18px;
  margin-bottom: 36px;
  border-radius: 14px;
  background: rgba(110, 214, 150, 0.07);
  border: 1px solid rgba(110, 214, 150, 0.25);
  color: var(--text-2);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- 404 */
.notfound { padding-bottom: clamp(80px, 12vw, 160px); }
.notfound .button { margin-top: 30px; }
.notfound-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 40px;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- language suggestion (JS only) */
.lang-banner {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 12px 14px 12px 20px;
  border-radius: 20px;
  background: rgba(14, 24, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
}
.lang-banner p { color: var(--text); }
.lang-banner .switch { padding: 0.55em 1.1em; font-size: 0.92rem; }
.lang-banner .dismiss {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.5em 0.6em;
  border-radius: 999px;
  cursor: pointer;
}
.lang-banner .dismiss:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ---------------------------------------------------------------- motion (JS adds .pre to what is below the fold) */
.js .reveal.pre { opacity: 0; transform: translateY(26px); }
.js .reveal.pre.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal.pre { opacity: 1; transform: none; }
  .button, .lang-menu .chevron, .plus::before, .plus::after { transition: none; }
}

/* a headline's line break (Latin and Cyrillic): only where the line is wide enough to want it */
@media (max-width: 600px) {
  br.lb { display: none; }
}
@media print {
  .js .reveal.pre { opacity: 1 !important; transform: none !important; }
  .site-header, .lang-banner, .backdrop { display: none; }
}
