/* Abonné website — one stylesheet, no scripts, no third-party requests. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

/* ---------------------------------------------------------------- tokens */

:root {
  color-scheme: light dark;
  --violet: #5b41f2;
  --violet-deep: #4a2fe0;
  --lilac: #d6ceff;
  --paper: #f4f3ef;
  --card: #ffffff;
  --ink: #121216;
  --ink-soft: #2c2b33;
  --muted: #64636e;
  --link: #4b33e0;
  --hairline: rgba(18, 18, 22, 0.08);
  --shadow: 0 1px 2px rgba(18, 18, 22, 0.04), 0 18px 44px -26px rgba(26, 17, 80, 0.32);
  --band-top: #5b41f2;
  --band-bottom: #4a2fe0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b0a12;
    --card: #16151f;
    --ink: #f4f3fa;
    --ink-soft: #dcdae6;
    --muted: #a3a1b3;
    --link: #b0a4ff;
    --hairline: rgba(255, 255, 255, 0.09);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 44px -26px rgba(0, 0, 0, 0.8);
    --band-top: #4a35dc;
    --band-bottom: #2a1c93;
  }
}

/* ------------------------------------------------------------------ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2.5px;
}

:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--violet-deep);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------- violet band */

.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--band-top), var(--band-bottom));
  color: #fff;
}

/* One soft pool of light, like the App Store screenshots. */
.band::before {
  content: "";
  position: absolute;
  inset: 30% -30% -70%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 16px -6px rgba(18, 8, 47, 0.55);
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ------------------------------------------------------------------ home */

/* The calendar spills over the bottom of the violet band onto the page. */
.band--hero {
  --art-width: min(1120px, 100vw - 32px);
  --spill: calc(var(--art-width) * 0.17);
  overflow: visible;
  background: linear-gradient(180deg, var(--band-top), var(--band-bottom)) top / 100% calc(100% - var(--spill)) no-repeat;
}

.band--hero::before {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(44px, 8.4vw, 86px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero h1 span,
.page-title h1 span,
.closing h2 span {
  color: var(--lilac);
}

.lede {
  max-width: 560px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.55;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px -14px rgba(18, 8, 47, 0.6);
  color: var(--violet-deep);
  font-size: 16px;
  font-weight: 700;
}

.pill .icon {
  width: 20px;
  height: 20px;
}

.pill--violet {
  background: var(--violet);
  box-shadow: 0 14px 30px -14px rgba(74, 47, 224, 0.85);
  color: #fff;
}

/* The 3D calendar: a base render plus one layer per tile and per shadow, placed in % of the
   art's box (see tools/web/build.py), so they line up at every size. */
.calendar-art {
  --drop: 30cqw;
  position: relative;
  width: var(--art-width);
  margin: 36px auto 0;
  container-type: inline-size;
}

.calendar-art img {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.calendar-art .ca-base {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 3.4cqw 4.4cqw rgba(24, 12, 92, 0.4));
}

.ca-shadow {
  z-index: 1;
}

.ca-tile {
  z-index: 2;
}

.ca-next {
  z-index: 3;
}

@media (prefers-reduced-motion: no-preference) {
  .ca-base {
    animation: ca-rise 1.1s cubic-bezier(0.16, 0.84, 0.3, 1) 0.1s both;
  }

  .ca-tile {
    animation-name: ca-drop, ca-fade;
    animation-duration: 0.85s, 0.3s;
    animation-delay: var(--d);
    animation-timing-function: var(--bounce), ease-out;
    animation-fill-mode: both;
  }

  .ca-shadow {
    animation: ca-shadow 0.85s cubic-bezier(0.5, 0, 0.75, 0) var(--d) both;
  }

  /* The next renewal lifts off its day and hovers there. */
  .ca-next {
    animation-name: ca-drop, ca-fade, ca-lift, ca-bob;
    animation-duration: 0.85s, 0.3s, 0.8s, 2.6s;
    animation-delay: var(--d), var(--d), var(--hover-start), calc(var(--hover-start) + 0.8s);
    animation-timing-function: var(--bounce), ease-out, cubic-bezier(0.3, 1.5, 0.6, 1), ease-in-out;
    animation-fill-mode: both, both, forwards, none;
    animation-iteration-count: 1, 1, 1, infinite;
    animation-direction: normal, normal, normal, alternate;
  }

  .ca-next-shadow {
    animation-name: ca-shadow, ca-shadow-lift, ca-shadow-bob;
    animation-duration: 0.85s, 0.8s, 2.6s;
    animation-delay: var(--d), var(--hover-start), calc(var(--hover-start) + 0.8s);
    animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0), ease-out, ease-in-out;
    animation-fill-mode: both, forwards, none;
    animation-iteration-count: 1, 1, infinite;
    animation-direction: normal, normal, alternate;
  }
}

@keyframes ca-rise {
  from {
    opacity: 0;
    transform: translateY(6%) scale(0.96);
  }
}

@keyframes ca-drop {
  from {
    transform: translate(calc(var(--ux) * var(--drop)), calc(var(--uy) * var(--drop)));
  }
}

@keyframes ca-fade {
  from {
    opacity: 0;
  }
}

@keyframes ca-shadow {
  from {
    opacity: 0;
    transform: scale(1.4);
  }
}

@keyframes ca-lift {
  to {
    translate: calc(var(--ux) * var(--lift)) calc(var(--uy) * var(--lift));
  }
}

@keyframes ca-bob {
  from {
    translate: calc(var(--ux) * var(--lift)) calc(var(--uy) * var(--lift));
  }
  to {
    translate: calc(var(--ux) * var(--lift) * 1.4) calc(var(--uy) * var(--lift) * 1.4);
  }
}

@keyframes ca-shadow-lift {
  to {
    opacity: 0.2;
    scale: 1.22;
    filter: blur(0.5cqw);
  }
}

@keyframes ca-shadow-bob {
  from {
    opacity: 0.2;
    scale: 1.22;
    filter: blur(0.5cqw);
  }
  to {
    opacity: 0.13;
    scale: 1.3;
    filter: blur(0.7cqw);
  }
}

/* As the page scrolls, the calendar lags a little behind the words, as if it sat further back. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .calendar-art {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 720px;
    }
  }
}

@keyframes hero-drift {
  to {
    translate: 0 34px;
  }
}

/* Wide screens: a big two-line headline over a big calendar that spills past the band. */
@media (min-width: 1100px) {
  .band--hero {
    --art-width: min(1000px, 100vw - 32px);
    --spill: calc(var(--art-width) * 0.19);
  }

  .hero {
    padding-top: 34px;
  }

  .calendar-art {
    --drop: 26cqw;
    margin-top: 40px;
  }
}

/* @generated calendar-art */
.calendar-art { aspect-ratio: 1719 / 1285; }
.ca-s1 { left: 46.597%; top: 14.241%; width: 18.732%; --d: 0.62s; }
.ca-t1 { left: 52.065%; top: 21.634%; width: 7.853%; --ux: 0.0374; --uy: -0.9993; --lift: 2.602cqw; --d: 0.62s; }
.ca-s3 { left: 68.296%; top: 11.595%; width: 18.965%; --d: 0.74s; }
.ca-t3 { left: 73.822%; top: 18.988%; width: 7.970%; --ux: 0.1300; --uy: -0.9915; --lift: 2.629cqw; --d: 0.74s; }
.ca-s8 { left: 48.051%; top: 25.292%; width: 18.965%; --d: 0.86s; }
.ca-t8 { left: 53.578%; top: 32.763%; width: 8.028%; --ux: 0.0460; --uy: -0.9989; --lift: 2.574cqw; --d: 0.86s; }
.ca-s12 { left: 14.892%; top: 41.401%; width: 18.790%; --d: 0.98s; }
.ca-t12 { left: 20.244%; top: 48.872%; width: 8.086%; --ux: -0.1095; --uy: -0.9940; --lift: 2.535cqw; --d: 0.98s; }
.ca-s15 { left: 49.680%; top: 36.965%; width: 19.081%; --d: 1.10s; }
.ca-t15 { left: 55.148%; top: 44.436%; width: 8.261%; --ux: 0.0559; --uy: -0.9984; --lift: 2.539cqw; --d: 1.10s; }
.ca-s19 { left: 15.649%; top: 53.930%; width: 19.023%; --d: 1.22s; }
.ca-t19 { left: 21.001%; top: 61.401%; width: 8.319%; --ux: -0.1105; --uy: -0.9939; --lift: 2.488cqw; --d: 1.22s; }
.ca-s22 { left: 51.367%; top: 49.261%; width: 19.372%; --d: 1.34s; }
.ca-t22 { left: 56.835%; top: 56.732%; width: 8.435%; --ux: 0.0671; --uy: -0.9977; --lift: 2.497cqw; --d: 1.34s; }
.ca-s26 { left: 16.347%; top: 67.160%; width: 19.314%; --d: 1.46s; }
.ca-t26 { left: 21.757%; top: 74.708%; width: 8.551%; --ux: -0.1117; --uy: -0.9937; --lift: 2.432cqw; --d: 1.46s; }
.ca-s29 { left: 53.054%; top: 62.179%; width: 19.779%; --d: 1.58s; }
.ca-t29 { left: 58.581%; top: 69.728%; width: 8.726%; --ux: 0.0802; --uy: -0.9968; --lift: 2.446cqw; --d: 1.58s; }
.calendar-art { --hover-start: 2.58s; --bounce: linear(0.000 0.0%, 0.002 2.5%, 0.008 5.0%, 0.018 7.5%, 0.032 10.0%, 0.050 12.5%, 0.072 15.0%, 0.098 17.5%, 0.128 20.0%, 0.161 22.5%, 0.199 25.0%, 0.241 27.5%, 0.287 30.0%, 0.337 32.5%, 0.391 35.0%, 0.448 37.5%, 0.510 40.0%, 0.576 42.5%, 0.646 45.0%, 0.719 47.5%, 0.797 50.0%, 0.879 52.5%, 0.965 55.0%, 0.984 57.5%, 0.962 60.0%, 0.946 62.5%, 0.934 65.0%, 0.927 67.5%, 0.925 70.0%, 0.928 72.5%, 0.937 75.0%, 0.950 77.5%, 0.968 80.0%, 0.992 82.5%, 0.992 85.0%, 0.983 87.5%, 0.978 90.0%, 0.978 92.5%, 0.981 95.0%, 0.989 97.5%, 1.000 100.0%); }
/* /@generated */

.statement {
  padding: 96px 0 44px;
  text-align: center;
}

.statement p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(27px, 4.3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.statement strong {
  color: var(--ink);
  font-weight: 800;
}

/* Feature cards, each with its own 3D object. */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 36px 0 120px;
}

.bento-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 18px 28px 30px;
  border: 1px solid var(--hairline);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.bento-card--wide {
  grid-column: span 3;
}

.bento-card--full {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px 56px 24px 24px;
}

.bento-figure {
  position: relative;
  height: 250px;
  margin-bottom: 18px;
}

.bento-card--wide .bento-figure {
  height: 290px;
}

.bento-card--full .bento-figure {
  flex: 0 0 52%;
  height: 300px;
  margin: 0;
}

.bento-art {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.bento-card--full h3 {
  font-size: clamp(26px, 3vw, 34px);
}

.bento-card p {
  margin: 0;
  color: var(--muted);
}

/* Floating objects carry no baked shadow: this one stays on the "floor" and breathes as they bob. */
.bento-figure--float .bento-art {
  z-index: 1;
  height: 84%;
}

.bento-figure--float::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 3%;
  left: 50%;
  width: 52%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 16, 84, 0.24), transparent);
  transform: translateX(-50%);
}

@media (prefers-color-scheme: dark) {
  .bento-figure--float::after {
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .bento-figure--float .bento-art {
    animation: float 3.6s ease-in-out infinite alternate;
  }

  .bento-figure--float::after {
    animation: float-shadow 3.6s ease-in-out infinite alternate;
  }

  .bento-card:nth-child(2n) .bento-figure--float .bento-art,
  .bento-card:nth-child(2n) .bento-figure--float::after {
    animation-delay: -1.8s;
  }

  /* The bell rings now and then. */
  .bento-figure--bell .bento-art {
    animation: float 3.6s ease-in-out infinite alternate, ring 5s ease-in-out 1.5s infinite;
    transform-origin: 46% 14%;
  }
}

@keyframes float {
  from {
    translate: 0 -2.5%;
  }
  to {
    translate: 0 2.5%;
  }
}

@keyframes float-shadow {
  from {
    opacity: 0.7;
    scale: 0.86;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes ring {
  0%, 62%, 100% {
    rotate: 0deg;
  }
  66% {
    rotate: 9deg;
  }
  71% {
    rotate: -8deg;
  }
  76% {
    rotate: 6deg;
  }
  81% {
    rotate: -4deg;
  }
  86% {
    rotate: 2deg;
  }
}

/* Cards rise into place as they scroll in, where the browser supports scroll-driven animation. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bento-card {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 48px;
    scale: 0.96;
  }
}

/* Privacy: a dark band where the calendar padlock closes as it scrolls into view. */
.privacy-band {
  overflow: hidden;
  padding: 104px 0;
  background: #17142c;
  color: #fff;
}

.privacy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.lock-art {
  position: relative;
  width: min(100%, 420px);
  container-type: inline-size;
}

.privacy-inner .lock-art {
  justify-self: center;
}

.lock-art::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 84, 255, 0.5), transparent);
}

.lock-art img {
  position: absolute;
  max-width: none;
  height: auto;
}

.lock-shackle {
  z-index: 1;
}

.lock-body {
  z-index: 2;
}

/* @generated lock-art */
.lock-art { aspect-ratio: 697 / 995; --open: 15.819cqw; }
.lock-body { left: 0.000%; top: 34.975%; width: 100.000%; }
.lock-shackle { left: 14.921%; top: 0.000%; width: 70.158%; }
/* /@generated */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .privacy-band .lock-shackle {
      animation: lock-close linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 55%;
    }

    .privacy-band .lock-art::before {
      animation: lock-glow linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 55%;
    }
  }
}

@keyframes lock-close {
  from {
    translate: 0 calc(var(--open) * -1);
  }
  78% {
    translate: 0 0;
  }
  86% {
    translate: 0 calc(var(--open) * -0.12);
  }
  to {
    translate: 0 0;
  }
}

@keyframes lock-glow {
  from {
    opacity: 0.25;
    scale: 0.8;
  }
  80% {
    opacity: 0.4;
    scale: 0.85;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.privacy-copy .eyebrow {
  color: var(--lilac);
}

.privacy-copy h2 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.04em;
}

.privacy-copy p {
  max-width: 480px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--lilac);
  font-weight: 700;
}

.closing {
  padding: 112px 0 104px;
  text-align: center;
}

.closing-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 30px;
  border-radius: 25px;
  box-shadow: 0 26px 50px -22px rgba(26, 17, 80, 0.6);
}

.closing h2 {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.closing h2 span {
  color: var(--link);
}

.closing-note {
  margin: 26px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card,
  .bento-card--wide {
    grid-column: span 1;
  }

  .bento-card--wide:nth-of-type(5),
  .bento-card--full {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .lock-art {
    width: min(70%, 300px);
  }

  .privacy-copy p {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
    padding-bottom: 88px;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--wide:nth-of-type(5),
  .bento-card--full {
    grid-column: span 1;
  }

  .bento-card--full {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 28px 30px;
  }

  .bento-card--full .bento-figure {
    flex: none;
    width: 100%;
    height: 250px;
    margin-bottom: 18px;
  }

  .bento-figure,
  .bento-card--wide .bento-figure {
    height: 230px;
  }

  .statement {
    padding-top: 64px;
  }
}

/* ----------------------------------------------------- shared components */

.card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 15px;
  background: linear-gradient(180deg, #6b52ff, var(--violet-deep));
  color: #fff;
}

.tile--orange {
  background: linear-gradient(180deg, #ffb340, #ff8a00);
}

.tile--green {
  background: linear-gradient(180deg, #34e08f, #18b86a);
}

.tile--pink {
  background: linear-gradient(180deg, #ff5f8a, #f0365f);
}

/* ------------------------------------------------------------ doc pages */

.page-title {
  position: relative;
  z-index: 1;
  padding: 30px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-title h1 {
  font-size: clamp(42px, 7.2vw, 68px);
  letter-spacing: -0.04em;
}

.meta {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 500;
}

.doc {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-bottom: 72px;
}

.summary h2,
.contact h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point + .point {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.point .tile {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.point .tile .icon {
  width: 22px;
  height: 22px;
}

.point strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.point span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.prose {
  margin-top: 12px;
}

.prose h2 {
  margin: 48px 0 12px;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  scroll-margin-top: 24px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 6px;
}

.prose li::marker {
  color: var(--violet);
}

.prose strong {
  color: var(--ink);
}

.note {
  margin-top: 48px;
  padding: 22px 24px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--violet) 9%, var(--card));
  color: var(--ink-soft);
  font-size: 15.5px;
}

.note h2 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.note p {
  margin: 0;
}

/* --------------------------------------------------------------- support */

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.contact p {
  max-width: 440px;
  margin: 8px 0 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 12px 26px -14px rgba(74, 47, 224, 0.9);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--violet-deep);
}

.button .icon {
  width: 20px;
  height: 20px;
}

.faq-title {
  margin: 56px 0 18px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.faq {
  padding: 2px 24px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.faq + .faq {
  margin-top: 12px;
}

.faq summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.faq p {
  margin: -4px 0 20px;
  color: var(--muted);
}

/* ------------------------------------------------------------------- 404 */

.lost {
  padding: 30px 0 140px;
  text-align: center;
}

.lost h1 {
  font-size: clamp(42px, 7vw, 64px);
}

.lost p {
  margin: 16px 0 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.lost .button {
  background: #fff;
  color: var(--violet-deep);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 15px;
}

.site-footer .container--wide {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 520px) {
  body {
    font-size: 16.5px;
  }

  .brand span {
    font-size: 19px;
  }

  .nav a {
    padding: 8px 10px;
  }

  .card {
    padding: 22px;
    border-radius: 24px;
  }

  .faq {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ------------------------------------------------------------- page art */

/* Privacy and Support show a 3D object beside the title; it moves above the title on narrow screens. */
.lock-art--title,
.title-art {
  position: relative;
  width: 150px;
  margin: 0 0 22px -6px;
}

.title-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.title-art--float {
  padding-bottom: 16%;
}

.title-art--float::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 62%;
  height: 11%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 6, 52, 0.42), transparent);
  transform: translateX(-50%);
}

@media (min-width: 1160px) {
  .page-title {
    position: relative;
  }

  .lock-art--title,
  .title-art {
    position: absolute;
    top: 0;
    left: calc(100% + 24px);
    width: min(228px, (100vw - 760px) / 2 - 56px);
    margin: 0;
  }
}

.lock-art--title::before {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .lock-art--title .lock-shackle {
    animation: lock-close 1.1s cubic-bezier(0.45, 0, 0.3, 1) 0.5s both;
  }

  .title-art--float img {
    animation: float 3.6s ease-in-out infinite alternate;
  }

  .title-art--float::after {
    animation: float-shadow 3.6s ease-in-out infinite alternate;
  }

  .lost-art {
    animation: lost-in 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.15s both;
  }
}

.lost-art {
  width: min(300px, 70vw);
  margin: 0 auto 8px;
}

@keyframes lost-in {
  from {
    opacity: 0;
    transform: translateY(-30px) rotate(-8deg) scale(0.9);
  }
}
