/* Dice Score Sheet & Scorepad, presentation site. The app's v2 design system:
   violet and pink, Carter One for the brand, Montserrat for the rest, light
   and dark as in the app. */

@font-face {
  font-family: 'Carter One';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/carter-one.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/montserrat-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700.woff2') format('woff2');
}

/* ---------- Tokens, the app's ---------- */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f8f8;
  --card: #ffffff;
  --ink: #333333;
  --ink2: #5b5b5b;
  --ink3: #909090;
  --line: #ebebeb;
  --line2: #c4c4c4;
  --accent: #ef5a9d;
  --accent-deep: #b62a69;
  --accent-text: #b62a69;
  --tint: #fdeef5;
  --on-accent: #ffffff;
  --violet: #473080;
  --violet-deep: #382b73;
  --violet-text: #473080;
  --violet-tint: #ece8f6;
  --hero: #473080;
  --hero-ink2: #d9d2f0;
  --shadow: rgba(51, 51, 51, 0.14);
  --wrap: 1120px;
  --gutter: 16px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #333333;
  --surface: #3d3d3d;
  --card: #3d3d3d;
  --ink: #ffffff;
  --ink2: #c4c4c4;
  --ink3: #909090;
  --line: #5b5b5b;
  --line2: #6e6e6e;
  --accent-text: #f48fbc;
  --tint: #4a3541;
  --violet-text: #b4a6e2;
  --violet-tint: #433a66;
  --hero: #382b73;
  --shadow: rgba(0, 0, 0, 0.45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #333333;
    --surface: #3d3d3d;
    --card: #3d3d3d;
    --ink: #ffffff;
    --ink2: #c4c4c4;
    --ink3: #909090;
    --line: #5b5b5b;
    --line2: #6e6e6e;
    --accent-text: #f48fbc;
    --tint: #4a3541;
    --violet-text: #b4a6e2;
    --violet-tint: #433a66;
    --hero: #382b73;
    --shadow: rgba(0, 0, 0, 0.45);
  }
}

/* ---------- Base ---------- */

[hidden] {
  display: none !important;
}
.only-dark {
  display: none;
}
:root[data-theme='dark'] .only-dark {
  display: block;
}
:root[data-theme='dark'] .only-light {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .only-dark {
    display: block;
  }
  :root:not([data-theme='light']) .only-light {
    display: none;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}
h1,
h2 {
  font-family: 'Carter One', 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
h3 {
  font-size: 17px;
  font-weight: 700;
}
p,
li {
  text-wrap: pretty;
}
a {
  color: var(--accent-text);
}
img,
svg {
  display: block;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  top: 8px;
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.app-icon {
  flex: none;
  border-radius: 22.37%;
  overflow: hidden;
}

/* ---------- Dice, as the app draws them ---------- */

.die {
  --s: 36px;
  --o: calc(var(--s) * 0.09);
  --pip: var(--ink);
  --tl: radial-gradient(circle at 27% 27%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  --tr: radial-gradient(circle at 73% 27%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  --ml: radial-gradient(circle at 27% 50%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  --c: radial-gradient(circle at 50% 50%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  --mr: radial-gradient(circle at 73% 50%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  --bl: radial-gradient(circle at 27% 73%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  --br: radial-gradient(circle at 73% 73%, var(--pip) var(--o), transparent calc(var(--o) + 0.6px));
  display: inline-block;
  flex: none;
  width: var(--s);
  height: var(--s);
  border-radius: calc(var(--s) * 0.24);
  border: 2px solid var(--ink);
  background-color: var(--card);
}
.die[data-v='1'] {
  background-image: var(--c);
}
.die[data-v='2'] {
  background-image: var(--tr), var(--bl);
}
.die[data-v='3'] {
  background-image: var(--tr), var(--c), var(--bl);
}
.die[data-v='4'] {
  background-image: var(--tl), var(--tr), var(--bl), var(--br);
}
.die[data-v='5'] {
  background-image: var(--tl), var(--tr), var(--c), var(--bl), var(--br);
}
.die[data-v='6'] {
  background-image: var(--tl), var(--tr), var(--ml), var(--mr), var(--bl), var(--br);
}
.die.on {
  --pip: #ffffff;
  border-color: var(--accent);
  background-color: var(--accent);
}
.die.s28 {
  --s: 28px;
  border-width: 1.5px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.site-header .wrap {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Carter One', 'Montserrat', sans-serif;
  font-size: 17px;
  white-space: nowrap;
}
.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand .app-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.spacer {
  flex: 1;
}
.nav {
  display: none;
  gap: 4px;
}
.nav a {
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink2);
  text-decoration: none;
}
.nav a:hover {
  color: var(--ink);
}
.nav a[aria-current='page'] {
  color: var(--accent-text);
  background: var(--tint);
}
.seg {
  display: flex;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.seg a,
.seg button {
  min-width: 40px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink2);
  background: transparent;
  cursor: pointer;
}
.seg [aria-current='true'],
.seg [aria-pressed='true'] {
  color: var(--ink);
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.seg .i {
  width: 18px;
  height: 18px;
}
.theme-seg {
  display: none;
}
.menu-btn {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-panel {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 64px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 40px var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-panel a {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.menu-panel a[aria-current='page'] {
  background: var(--tint);
  color: var(--accent-text);
}
.menu-panel .menu-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 4px 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink2);
}

/* ---------- Android download banner ---------- */

.android-banner {
  display: none;
  height: 68px;
  padding: 0 6px 0 4px;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.platform-android .android-banner.show {
  display: flex;
}
.android-banner .close {
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  background: none;
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.android-banner .app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.android-banner .txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.android-banner .txt b {
  font-size: 15px;
}
.android-banner .txt span {
  font-size: 13px;
  color: var(--ink2);
}
.pill {
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

/* ---------- Store badges ---------- */

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.badges.center {
  justify-content: center;
}
.badges .store {
  display: flex;
  border-radius: 9px;
}
.badges .store img {
  height: 48px;
  width: auto;
}
.badges.small .store img {
  height: 40px;
}
.also {
  display: none;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qr {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.qr img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
}
.qr span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 150px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink2);
}
.qr b {
  font-size: 14px;
  color: var(--ink);
}
/* iPhone: App Store only (Safari's Smart App Banner does the rest). Android:
   Google Play only. Computer: both, and the QR code. */
.platform-ios .store.google,
.platform-android .store.apple {
  display: none;
}
.platform-ios .also.google,
.platform-android .also.apple {
  display: flex;
}
.platform-desktop .qr {
  display: flex;
}
.badges.no-qr .qr {
  display: none;
}

/* ---------- Links and buttons ---------- */

.link-arrow {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-arrow .i {
  width: 18px;
  height: 18px;
}

/* ---------- Cards and sections ---------- */

.card {
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.section {
  padding: 48px 0;
}
.section.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section > .wrap,
.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 660px;
}
.section-head h2 {
  font-size: 30px;
}
.section-head p {
  font-size: 17px;
  color: var(--ink2);
}
.icon-tile {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-split {
  display: flex;
  flex-direction: column;
  gap: 12px 24px;
  align-items: flex-start;
  justify-content: space-between;
}

/* ---------- Home: hero, on the stores' violet ---------- */

.hero-band {
  position: relative;
  overflow: hidden;
  background: var(--hero);
  color: #ffffff;
}
/* The pink diamonds of the store screenshots. */
.hero-band::before,
.hero-band::after {
  content: '';
  position: absolute;
  border-radius: 14%;
  transform: rotate(45deg);
  pointer-events: none;
}
.hero-band::before {
  width: 340px;
  height: 340px;
  right: -150px;
  top: -120px;
  background: rgba(239, 90, 157, 0.22);
}
.hero-band::after {
  width: 180px;
  height: 180px;
  left: -90px;
  bottom: -70px;
  background: rgba(239, 90, 157, 0.16);
}
.hero {
  position: relative;
  z-index: 1;
  padding-top: 36px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero .kicker {
  color: #f48fbc;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.08;
}
.hero h1 .pink {
  color: #f48fbc;
}
.hero .lead {
  font-size: 18px;
  color: var(--hero-ink2);
  max-width: 540px;
}
.hero .also {
  color: #ffffff;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.chips li {
  height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.chips .i {
  width: 16px;
  height: 16px;
  color: #f48fbc;
}
.hero-visual {
  display: flex;
  justify-content: center;
}

/* A generic phone around a screenshot, never cropping it. */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 9px;
  border-radius: 46px;
  background: #1b1b1f;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(20, 12, 50, 0.45);
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 660 / 1434;
  border-radius: 37px;
  background: var(--bg);
}
.hero .phone {
  transform: rotate(-3deg);
}

/* ---------- Home: features ---------- */

.features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}
.features li {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.features p {
  font-size: 15px;
  color: var(--ink2);
}
.free-note {
  border-radius: 20px;
  background: var(--tint);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.free-note b {
  font-family: 'Carter One', 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--accent-text);
}
.free-note p {
  font-size: 15px;
}

/* ---------- Home: a look inside ---------- */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 16px;
  margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
  list-style: none;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery li {
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gallery .phone {
  max-width: 250px;
  box-shadow:
    0 0 0 1px var(--line),
    0 14px 40px var(--shadow);
}
.gallery figcaption {
  text-align: center;
  max-width: 250px;
}
.gallery figcaption b {
  display: block;
  font-size: 15px;
}
.gallery figcaption span {
  font-size: 14px;
  color: var(--ink2);
}
.gallery figure {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---------- Home: the game in 30 seconds ---------- */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.num {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dice-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}
.score-tag {
  margin-left: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 15px;
  background: var(--tint);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.steps p {
  font-size: 15px;
  color: var(--ink2);
}
.vary {
  font-size: 15px;
  color: var(--ink2);
  max-width: 640px;
}

/* ---------- Home: Premium, on the app's violet ---------- */

.premium-card {
  border-radius: 28px;
  background: var(--violet);
  color: #ffffff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
:root[data-theme='dark'] .premium-card {
  background: var(--violet-deep);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .premium-card {
    background: var(--violet-deep);
  }
}
.premium-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.premium-card .kicker {
  color: #f48fbc;
}
.premium-card h2 {
  font-size: 30px;
}
.premium-card .lead {
  color: #d9d2f0;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}
.checks .i {
  margin-top: 2px;
  color: #f48fbc;
}
.prices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price.best {
  background: #ffffff;
  color: #333333;
  border-color: #ffffff;
}
.price div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price b {
  font-size: 18px;
}
.price span {
  font-size: 13px;
  opacity: 0.8;
}
.save {
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex: none;
  opacity: 1 !important;
}
.price-note,
.still-free {
  font-size: 13px;
  color: #d9d2f0;
}
.still-free {
  font-weight: 700;
  color: #ffffff;
}

/* ---------- Home: the other apps ---------- */

.apps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}
.app-card {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.app-card:hover {
  border-color: var(--line2);
}
.app-card img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}
.app-card div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-card b {
  font-size: 15px;
}
.app-card span {
  font-size: 14px;
  color: var(--ink2);
}
.app-card .i {
  color: var(--ink3);
}

/* ---------- FAQ ---------- */

.faq,
.section > .wrap.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.faq h2 {
  font-size: 30px;
}
.faq-list {
  overflow: hidden;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 0;
}
.faq-list summary {
  min-height: 60px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  flex: 1;
}
.faq-list summary .i {
  color: var(--ink3);
  transition: transform 160ms ease-out;
}
.faq-list details[open] summary .i {
  transform: rotate(180deg);
}
.faq-list details p {
  padding: 0 16px 16px;
  font-size: 15px;
  color: var(--ink2);
}

/* ---------- Final call ---------- */

.cta {
  border-radius: 28px;
  background: var(--tint);
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.cta h2 {
  font-size: 30px;
  max-width: 620px;
}

/* ---------- Text pages ---------- */

.page {
  padding: 32px 0 56px;
}
.page > .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.page-head h1 {
  font-size: 36px;
}
.page-head p {
  font-size: 17px;
  color: var(--ink2);
}
.updated {
  font-size: 14px;
  color: var(--ink3);
}
.prose {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prose h2 {
  font-size: 24px;
  margin-top: 18px;
}
.prose h3 {
  margin-top: 6px;
}
.prose p,
.prose li {
  color: var(--ink2);
}
.prose strong {
  color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.prose th,
.prose td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink2);
  background: var(--surface);
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose td.pts {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.toc {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 760px;
}
.toc b {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink2);
}
.toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prose h2 .n {
  color: var(--accent-text);
  margin-right: 8px;
}
.facts {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px 16px;
  padding: 12px 16px;
}
.facts div + div {
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink3);
}
.facts dd {
  color: var(--ink);
}
.ext {
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-text);
}
.ext .i {
  width: 16px;
  height: 16px;
}
.contact-card {
  max-width: 760px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--tint);
  border-color: var(--tint);
}
.contact-card h2 {
  font-size: 22px;
}
.contact-card p {
  color: var(--ink2);
}
.mail-btn {
  align-self: flex-start;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.lost {
  padding: 64px 0;
  text-align: center;
}
.lost .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lost h1 {
  font-size: 34px;
}
.lost p {
  color: var(--ink2);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  padding-top: 32px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
}
.footer-brand .name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Carter One', 'Montserrat', sans-serif;
  font-size: 17px;
}
.footer-brand .app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.footer-brand p {
  font-size: 15px;
  color: var(--ink2);
}
.footer-links {
  display: grid;
  grid-template-columns: minmax(0, auto);
  gap: 0 32px;
  align-content: start;
  padding: 0;
  list-style: none;
}
.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent-text);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-bottom .legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 680px;
  font-size: 13px;
  color: var(--ink2);
}
.footer-bottom .legal a {
  color: var(--ink2);
}
.footer-lang {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--ink2);
}
.footer-lang .i {
  width: 18px;
  height: 18px;
}
.footer-lang a {
  min-height: 44px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--ink2);
  text-decoration: none;
}
.footer-lang a[aria-current='true'] {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Cookie consent (CNIL) ---------- */

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0 8px 8px;
}
.consent-box {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 -6px 30px var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 16px);
  overflow-y: auto;
}
.consent-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consent-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.consent-text b,
.consent h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.consent-text span,
.consent .intro {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2);
}
.consent-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  flex: none;
}
/* Refusing is as easy as accepting: same size, same weight (CNIL). */
.c-btn {
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 2px solid var(--accent);
  background: var(--card);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.c-btn.solid {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}
.c-link {
  align-self: flex-start;
  min-height: 44px;
  margin: -10px 0 -12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.c-link .i {
  width: 16px;
  height: 16px;
}
.consent .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.consent .panel-head h2 {
  font-size: 20px;
}
.round-btn {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.round-btn .i {
  width: 18px;
  height: 18px;
}
.purposes {
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.purpose {
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.purpose + .purpose {
  border-top: 1px solid var(--line);
}
.purpose div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.purpose b {
  font-size: 15px;
}
.purpose span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink2);
}
.always {
  height: 28px;
  padding: 0 10px;
  flex: none;
  border-radius: 14px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink2);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.switch {
  width: 52px;
  height: 32px;
  flex: none;
  border-radius: 16px;
  border: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  background: var(--line2);
  margin-top: 2px;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: left 160ms ease-out;
}
.switch[aria-checked='true'] {
  background: var(--accent);
}
.switch[aria-checked='true']::after {
  left: 23px;
}
.panel-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.panel-buttons .solid {
  grid-column: 1 / -1;
}

/* ---------- Tablet and computer ---------- */

@media (min-width: 640px) {
  .features,
  .apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-auto-columns: 42%;
  }
  .consent-row {
    flex-direction: row;
    align-items: center;
  }
  .consent-buttons {
    width: 320px;
  }
}

@media (min-width: 860px) {
  :root {
    --gutter: 32px;
  }
  .site-header .wrap {
    height: 72px;
  }
  .nav,
  .theme-seg {
    display: flex;
  }
  .menu-btn,
  .menu-panel {
    display: none !important;
  }
  .section {
    padding: 72px 0;
  }
  .section-head h2,
  .faq h2,
  .cta h2,
  .premium-card h2 {
    font-size: 40px;
  }
  .hero {
    flex-direction: row;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 72px;
    gap: 48px;
  }
  .hero-copy {
    flex: 1;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-visual {
    flex: none;
    width: 340px;
  }
  .hero .phone {
    max-width: 320px;
  }
  .hero-band::before {
    width: 520px;
    height: 520px;
    right: -180px;
    top: -200px;
  }
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin: 0;
    padding: 4px 0 0;
    row-gap: 40px;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .row-split {
    flex-direction: row;
    align-items: center;
  }
  .premium-card {
    flex-direction: row;
    align-items: center;
    padding: 48px;
    gap: 48px;
  }
  .premium-copy {
    flex: 1;
  }
  .prices {
    width: 340px;
    flex: none;
  }
  .section > .wrap.faq {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }
  .apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-card .i {
    display: none;
  }
  .cta {
    padding: 56px 32px;
  }
  .page {
    padding: 48px 0 80px;
  }
  .page-head h1 {
    font-size: 48px;
  }
  .facts div {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .footer-top {
    flex-direction: row;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, auto));
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
  .consent {
    padding: 0 16px 16px;
  }
}

/* ---------- Motion, as in the app ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 420ms ease-out var(--d, 0ms),
      transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
  .hero .phone {
    animation: rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(28px) rotate(-3deg);
    }
    to {
      opacity: 1;
      transform: rotate(-3deg);
    }
  }
}
