/* TSolver — tsolver.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; }
/* the glows reach past the screen's edges: clipped here, as the body's overflow-x (the viewport's) doesn't stop a
   phone's Safari from panning sideways into them */
main { overflow-x: clip; }

.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: " ✓"; }

/* the call to action at the bar's right end: the Download page, the App Store once the app is out */
.header-cta {
  flex: none;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: var(--mint-ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 18px rgba(41, 158, 92, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.header-cta:hover {
  color: var(--mint-ink);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 26px rgba(41, 158, 92, 0.34);
}

/* The bar's items in every language, Download included (Russian needs the most room, then French): the language
   menu keeps only its globe below 860 px; Features goes below 760 px, the guide below 600 px (the home page is the
   feature list anyway, and links the guide), Support below 460 px (the footer and the Download page link it), so a
   phone's bar holds the brand, the language menu and Download; below 360 px the menu's chevron goes too. */
@media (max-width: 860px) {
  .lang-current { display: none; }
  .lang-menu summary { padding: 7px 9px; }
}
@media (max-width: 760px) {
  .nav .nav-features { display: none; }
}
@media (max-width: 600px) {
  .nav .nav-guide { display: none; }
}
@media (max-width: 520px) {
  .brand span { font-size: 1.05rem; }
}
@media (max-width: 460px) {
  .nav { display: none; }
  /* the list under the bar's right end (from the menu's own, left of Download, it would run off a phone's screen) */
  .header-inner { position: relative; }
  .lang-menu { position: static; }
  .lang-list { right: var(--pad); top: calc(100% - 3px); }
}
@media (max-width: 359px) {
  .lang-menu .chevron { display: none; }
  .header-cta { padding-inline: 12px; }
}

/* ---------------------------------------------------------------- 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(1040px + 2 * var(--pad)); }
.hero .display { max-width: 940px; margin-inline: auto; }
.hero .label { margin-bottom: 18px; }
/* the lead's first sentence on one line on most screens (809 px in English at 1.32rem; every language under 1,020 px:
   on one line from about 1,100 px wide), the second after the break; balanced where the first wraps */
.hero .lead { max-width: 1020px; margin: 24px auto 0; text-wrap: balance; }
.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; }
}

/* ---------------------------------------------------------------- performance */
.performance { padding-top: clamp(64px, 9vw, 120px); }
.stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(36px, 5vw, 56px);
}
@media (min-width: 600px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  padding: 26px 20px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}
.stat-value {
  color: var(--mint);
  font-family: var(--display);
  font-size: clamp(2.6rem, 2.1rem + 1.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
:lang(ja) .stat-value, :lang(zh-Hans) .stat-value, :lang(zh-Hant) .stat-value, :lang(ko) .stat-value {
  letter-spacing: 0;
  font-size: clamp(2.3rem, 1.9rem + 1.4vw, 2.9rem);
}
.stat h3 { margin-top: 14px; font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; text-wrap: balance; }
.stat-caption { margin-top: 4px; color: var(--text-2); font-size: 0.95rem; text-wrap: balance; }
.stat-note {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--text-3);
  font-size: 0.9rem;
  text-align: center;
  text-wrap: pretty;
}
@media (max-width: 560px) {
  .stat-grid { gap: 10px; }
  .stat {
    display: grid;
    grid-template-columns: 6.6rem minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    padding: 18px 18px 20px;
    text-align: left;
  }
  .stat-value { grid-row: span 2; font-size: 2.3rem; }
  :lang(ja) .stat-value, :lang(zh-Hans) .stat-value, :lang(zh-Hant) .stat-value, :lang(ko) .stat-value { font-size: 2.1rem; }
  .stat h3 { margin-top: 0; }
  .stat-note { text-align: left; }
}

/* ---------------------------------------------------------------- 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; text-wrap: balance; }
@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; }
}
/* TSolver Pro's two plans: the price large, the period beside it (before it in some languages: 月額 $19.99) */
.pricing-pro { display: grid; gap: 16px; align-content: start; }
.prices { display: flex; flex-wrap: wrap; gap: 10px; }
.prices li {
  flex: 1 1 200px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(110, 214, 150, 0.07);
  border: 1px solid rgba(110, 214, 150, 0.24);
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.35;
}
.prices strong {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-note { color: var(--text-3); font-size: 0.88rem; line-height: 1.5; }

.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, .app-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; }
  .support-side { position: sticky; top: 84px; }
}
.support-side { display: grid; gap: 16px; }
.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; }
.guide-card {
  padding: 24px 26px 26px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}
.guide-card .i { color: var(--mint); margin-bottom: 12px; }
.guide-card h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.guide-card .muted { margin: 8px 0 14px; }

/* ---------------------------------------------------------------- download */
.download-head .lead { max-width: 700px; }
.requirements { padding-top: clamp(48px, 7vw, 88px); }
.device-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; }
@media (max-width: 900px) {
  .device-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
}
@media (max-width: 560px) {
  .device-cards--four { grid-template-columns: 1fr; }
}
.page-download .pricing { padding-top: clamp(64px, 9vw, 120px); }
.help-grid {
  display: grid;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: clamp(64px, 9vw, 120px);
}
@media (min-width: 760px) {
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- guide */
.guide-link { padding-top: clamp(48px, 7vw, 80px); text-align: center; font-size: 1.05rem; }
.guide-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1px solid rgba(110, 214, 150, 0.42);
  background: rgba(110, 214, 150, 0.08);
  text-align: left;
}
.guide-link a:hover { background: rgba(110, 214, 150, 0.14); text-decoration: none; }

.chapters { margin-top: 32px; }
.chapters ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chapters a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.chapters a:hover { color: var(--text); border-color: rgba(110, 214, 150, 0.45); background: rgba(110, 214, 150, 0.08); }
.chapters .i { color: var(--mint); }

.chapter { padding-top: clamp(56px, 8vw, 104px); }
.chapter .section-head { margin-bottom: clamp(26px, 4vw, 40px); }

/* a slideshow: the slides side by side in a strip that scrolls and snaps (a swipe, a trackpad, the arrow keys once
   it has focus, and without JS its scrollbar); site.js adds Previous, Next, the dots and the count */
.deck { max-width: 1040px; margin: 0 auto; }
.slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  border-radius: 28px;
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(110, 214, 150, 0.1), transparent 55%),
    var(--card);
  border: 1px solid var(--line);
}
.js .slides { scrollbar-width: none; }
.js .slides::-webkit-scrollbar { display: none; }
.slide {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 26px;
  padding: clamp(24px, 4vw, 52px) clamp(20px, 4vw, 60px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.slide-media .phone { width: min(250px, 58vw); }
.slide-text { width: 100%; max-width: 520px; }
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step-n {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 1rem;
  font-weight: 800;
}
.slide h3 {
  margin: 16px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: var(--track-title);
  text-wrap: balance;
}
.slide-text p:last-child { color: var(--text-2); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); }
@media (min-width: 800px) {
  .slide {
    grid-template-columns: auto minmax(0, 520px);
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-items: start;
    gap: clamp(36px, 5vw, 72px);
  }
  .slide-media .phone { width: 270px; }
}

.deck-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.no-js .deck-nav { display: none; }
.deck-btn {
  appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.deck-btn:hover:not(:disabled) { background: rgba(110, 214, 150, 0.14); border-color: rgba(110, 214, 150, 0.5); }
.deck-btn:disabled { opacity: 0.3; cursor: default; }
.deck-dots { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.deck-dots button {
  appearance: none;
  position: relative;
  width: 22px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.deck-dots button::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transition: width 0.2s ease, margin 0.2s ease, background 0.2s ease;
}
.deck-dots button:hover::before { background: rgba(255, 255, 255, 0.5); }
.deck-dots button[aria-current="true"]::before { width: 18px; margin-left: -9px; background: var(--mint); }
.deck-count {
  min-width: 64px;
  text-align: center;
  color: var(--text-2);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* the dots where they fit (11 of them: 242 px), else the count */
@media (max-width: 520px) {
  .deck-dots { display: none; }
}
@media (min-width: 521px) {
  .deck-count { display: none; }
}

.tips { padding-top: clamp(72px, 10vw, 128px); }
.tips .title { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.tip-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .tip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tip {
  padding: 24px 22px 26px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.tip .i { color: var(--mint); margin-bottom: 14px; }
.tip h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.tip p { color: var(--text-2); font-size: 0.97rem; }
.tip code { color: var(--text); }
.guide-end { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.guide-end .cta-row { margin-top: 0; }

.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, .header-cta, .lang-menu .chevron, .plus::before, .plus::after, .deck-btn, .deck-dots button::before { 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, .deck-nav { display: none; }
  .slides { grid-auto-flow: row; overflow: visible; }
}
