@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root,
[data-theme="luna"] {
  --page: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f3fa;
  --line: #e6e1f0;
  --ink: #1e1733;
  --text: #3b3355;
  --muted: #625b7a;
  --brand: #6a5da6;
  --accent-soft: rgba(106, 93, 166, 0.1);
  --highlight: #de0416;
  --dark: #1e1733;
  --dark-ink: #ffffff;
  --hero-base: #3f3478;
  --hero-1: #6a5da6;
  --hero-2: #b24c84;
  --hero-3: rgba(222, 4, 22, 0.55);
  --hero-4: #8e83c9;
  --hero-bg:
    radial-gradient(55% 70% at 85% 5%, #f7d9e3, transparent 70%),
    radial-gradient(50% 60% at 5% 95%, #d6cff0, transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(172, 170, 221, 0.6), transparent 70%),
    linear-gradient(160deg, #ece7f5 0%, #f4dde5 100%);
  --hero-ink: #2b2730;
  --hero-soft: #4d4856;
  --hero-line: rgba(43, 39, 48, 0.35);
  --hero-glass: rgba(255, 255, 255, 0.5);
  --hero-glass-line: rgba(255, 255, 255, 0.85);
  --hero-btn: #2b2730;
  --hero-btn-ink: #ffffff;
  --pill-ink: #2b2730;
  --art-1a: #de0416;
  --art-1b: #6a5da6;
  --art-2a: #acaadd;
  --art-2b: #e2a9bf;
  --art-3a: #6a5da6;
  --art-3b: #2e2566;
  --art-4a: #f4dde5;
  --art-4b: #acaadd;
  --ok: #1f8a4c;
  --shadow: 0 24px 48px -24px rgba(30, 23, 51, 0.35);
  --lift-rest: 0 0 0 rgba(20, 20, 24, 0), 0 0 0 -8px rgba(20, 20, 24, 0);
  --lift: 0 1px 2px rgba(20, 20, 24, 0.04), 0 11.2px 24px -14.4px rgba(20, 20, 24, 0.16);
  --shadow-soft: 0 9.6px 24px -14.4px rgba(30, 23, 51, 0.3);
  --ph-line: rgba(106, 93, 166, 0.5);
  --ph-bg: rgba(106, 93, 166, 0.06);
  --focus: #de0416;
  --nav-cta: #6a5da6;
  --nav-cta-ink: #ffffff;
  --cursor: #3f3478;
  color-scheme: light;
}

[data-theme="artemisia"] {
  --page: #14153f;
  --surface: #1e1f57;
  --surface-2: #27276a;
  --line: rgba(214, 180, 252, 0.16);
  --ink: #ffffff;
  --text: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.68);
  --brand: #d6b4fc;
  --accent-soft: rgba(214, 180, 252, 0.14);
  --highlight: #ff95db;
  --dark: #d6b4fc;
  --dark-ink: #17184b;
  --hero-base: #14153f;
  --hero-bg:
    radial-gradient(60% 70% at 78% 18%, var(--hero-1), transparent 70%),
    radial-gradient(50% 60% at 96% 78%, var(--hero-2), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, var(--hero-3), transparent 70%),
    radial-gradient(60% 50% at 30% 120%, var(--hero-4), transparent 70%),
    var(--hero-base);
  --hero-ink: #ffffff;
  --hero-soft: rgba(255, 255, 255, 0.9);
  --hero-line: rgba(255, 255, 255, 0.55);
  --hero-glass: rgba(255, 255, 255, 0.14);
  --hero-glass-line: rgba(255, 255, 255, 0.3);
  --hero-btn: #ffffff;
  --hero-btn-ink: #1e1733;
  --pill-ink: #ffffff;
  --hero-1: #3a2f7a;
  --hero-2: #60498b;
  --hero-3: rgba(255, 149, 219, 0.35);
  --hero-4: #2a3f6e;
  --art-1a: #60498b;
  --art-1b: #ff95db;
  --art-2a: #2a3f6e;
  --art-2b: #abc2dd;
  --art-3a: #3a2f7a;
  --art-3b: #d6b4fc;
  --art-4a: #191a4e;
  --art-4b: #60498b;
  --ok: #7fe0a8;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --lift-rest: 0 0 0 rgba(20, 20, 24, 0), 0 0 0 -8px rgba(20, 20, 24, 0);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.2), 0 11.2px 24px -14.4px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 9.6px 24px -14.4px rgba(0, 0, 0, 0.6);
  --ph-line: rgba(214, 180, 252, 0.5);
  --ph-bg: rgba(214, 180, 252, 0.06);
  --focus: #ff95db;
  --nav-cta: #d6b4fc;
  --nav-cta-ink: #14153f;
  --cursor: #abc2dd;
  color-scheme: dark;
}

[data-theme="alya"] {
  --page: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbf3f8;
  --line: #f0dde8;
  --ink: #3d011d;
  --text: #4f1830;
  --muted: #6b4a2a;
  --brand: #d05b25;
  --accent-soft: rgba(208, 91, 37, 0.1);
  --highlight: #d05b25;
  --dark: #3d011d;
  --dark-ink: #fbf8fa;
  --hero-base: #3d011d;
  --hero-bg:
    radial-gradient(60% 70% at 78% 18%, var(--hero-1), transparent 70%),
    radial-gradient(50% 60% at 96% 78%, var(--hero-2), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, var(--hero-3), transparent 70%),
    radial-gradient(60% 50% at 30% 120%, var(--hero-4), transparent 70%),
    var(--hero-base);
  --hero-ink: #ffffff;
  --hero-soft: rgba(255, 255, 255, 0.9);
  --hero-line: rgba(255, 255, 255, 0.55);
  --hero-glass: rgba(255, 255, 255, 0.14);
  --hero-glass-line: rgba(255, 255, 255, 0.3);
  --hero-btn: #ffffff;
  --hero-btn-ink: #1e1733;
  --pill-ink: #ffffff;
  --hero-1: #7e1b34;
  --hero-2: #b8431f;
  --hero-3: rgba(246, 189, 232, 0.28);
  --hero-4: #6e540a;
  --art-1a: #d05b25;
  --art-1b: #3d011d;
  --art-2a: #f6bde8;
  --art-2b: #9ea3bf;
  --art-3a: #6e540a;
  --art-3b: #d05b25;
  --art-4a: #f2e0ee;
  --art-4b: #f6bde8;
  --ok: #3f7a1f;
  --shadow: 0 24px 48px -24px rgba(61, 1, 29, 0.3);
  --lift-rest: 0 0 0 rgba(20, 20, 24, 0), 0 0 0 -8px rgba(20, 20, 24, 0);
  --lift: 0 1px 2px rgba(20, 20, 24, 0.04), 0 11.2px 24px -14.4px rgba(20, 20, 24, 0.16);
  --shadow-soft: 0 9.6px 24px -14.4px rgba(61, 1, 29, 0.25);
  --ph-line: rgba(61, 1, 29, 0.4);
  --ph-bg: rgba(61, 1, 29, 0.04);
  --focus: #d05b25;
  --nav-cta: #3d011d;
  --nav-cta-ink: #fbf8fa;
  --cursor: #3d011d;
  color-scheme: light;
}

:root {
  --radius-xl: 28.8px;
  --radius-lg: 19.2px;
  --radius-md: 14.4px;
  --radius-pill: 799.2px;
  --wrap: 928px;
  --gutter: clamp(19.2px, 5.6vw, 89.6px);
  --section: clamp(51.2px, 7.2vw, 96px);
  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --stack-top: 76.8px;
  --stack-step: 35.2px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76.8px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2.4px;
  border-radius: 6.4px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(28.8px, 4.16vw, 51.2px);
}

h2 {
  font-size: clamp(24px, 3.04vw, 36.8px);
}

h3 {
  font-size: clamp(15.2px, 1.28vw, 16.8px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 em,
h2 em {
  font-style: normal;
  font-weight: 300;
}

h2 em {
  color: var(--brand);
}

p {
  margin: 0;
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: 12.8px;
  top: -48px;
  z-index: 100;
  padding: 8px 12.8px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: var(--dark-ink);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12.8px;
}

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.kicker {
  font-size: 10.4px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px -14.4px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: saturate(160%) blur(14.4px);
  backdrop-filter: saturate(160%) blur(14.4px);
}

.site-header {
  position: fixed;
  inset: 11.2px 0 auto;
  z-index: 50;
  pointer-events: none;
}

.nav {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6.4px;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  padding: 7.2px 7.2px 7.2px 20.8px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface) 60%, transparent);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled .nav {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  color: var(--brand);
  text-decoration: none;
}

.brand svg {
  width: 52.8px;
  height: 20px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 3.2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 8px 12.8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12.8px;
  margin-left: -6.4px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 33.6px;
  height: 33.6px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s;
}

@media (hover: hover) {
  .icon-button:hover {
    background: var(--accent-soft);
  }
}

.theme-icon {
  display: none;
}

[data-theme="luna"] .theme-icon--luna,
[data-theme="artemisia"] .theme-icon--artemisia,
[data-theme="alya"] .theme-icon--alya {
  display: block;
}

.theme-next {
  margin-right: -6.4px;
  margin-left: 4px;
}

.theme-next:focus-visible {
  outline: none;
  background: var(--accent-soft);
}

.theme-next .icon {
  transition: transform 0.6s var(--ease-out);
}

.theme-next:hover .icon {
  transform: rotate(-20deg);
}

.theme-next.is-turning .icon {
  animation: turn 0.7s var(--ease-out);
}

@keyframes turn {
  from {
    transform: rotate(-200deg) scale(0.7);
  }
}

.nav__toggle {
  display: none;
}

.nav__toggle {
  position: relative;
}

.nav__toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14.4px;
  height: 1.5px;
  margin: -0.75px 0 0 -7.2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.nav__toggle span:first-child {
  transform: translateY(-2.8px);
}

.nav__toggle span:last-child {
  transform: translateY(2.8px);
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36.8px;
  padding: 9.6px 17.6px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s;
}

.btn .icon {
  width: 14.4px;
  height: 14.4px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .icon--arrow {
  transform: translateX(3.2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--dark {
  background: var(--dark);
  color: var(--dark-ink);
  box-shadow: var(--shadow-soft);
}

.btn--dark:hover {
  box-shadow: var(--shadow);
}

.btn--light {
  background: #ffffff;
  color: #1e1733;
}

.btn--glass {
  color: var(--hero-ink);
}

.btn--small {
  min-height: 32px;
  padding: 7.2px 12.8px;
  font-size: 11.2px;
}

.swatches {
  display: grid;
  gap: 6.4px;
}

.swatches--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6.4px;
}

.swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86.4px;
  height: 32px;
  padding: 0 14.4px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 11.2px;
  font-weight: 500;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.swatch:hover {
  transform: translateY(-2px);
}

.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.2px var(--ink);
}

.swatch--luna {
  background: #df0317;
  color: #d6d3d8;
}

.swatch--artemisia {
  background: #4a4480;
  color: #ff95db;
}

.swatch--alya {
  background: #d05b25;
  color: #3d011d;
}

.swatch__form {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.swatch--luna .swatch__form {
  fill: #adaadd;
}

.swatch--artemisia .swatch__form {
  fill: #abc2dd;
}

.swatch__disc {
  position: absolute;
  top: -3%;
  right: 0;
  z-index: -1;
  height: 106%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f6bde8;
}

.swatch__label {
  position: relative;
}

.swatch--luna,
.swatch--artemisia {
  min-width: 99.2px;
  padding: 0 12.8px 0 28.8px;
}

.swatch--artemisia {
  padding-left: 33.6px;
}

.swatch--alya {
  min-width: 99.2px;
  padding: 0 35.2px 0 14.4px;
}

.hero-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--hero-soft);
  background: var(--hero-bg);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-band h1,
.hero-band h2 {
  color: var(--hero-ink);
}

.hero-band .kicker {
  color: var(--hero-soft);
}

.hero-band h1 em,
.hero-band h2 em {
  color: var(--hero-ink);
}

.hero-band .glass {
  background: var(--hero-glass);
  border-color: var(--hero-glass-line);
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: drift 22s var(--ease) infinite alternate;
  pointer-events: none;
}

.orb--a {
  width: 30.4vw;
  height: 30.4vw;
  right: -6.4vw;
  top: -9.6vw;
  background: var(--hero-2);
}

.orb--b {
  width: 24vw;
  height: 24vw;
  left: 24vw;
  bottom: -12.8vw;
  background: var(--hero-1);
  animation-duration: 28s;
  animation-delay: -9s;
}

[data-theme="luna"] .orb--a {
  background: #f2c9d7;
}

[data-theme="luna"] .orb--b {
  background: #cfc9ef;
}

@keyframes drift {
  to {
    transform: translate3d(-3.2vw, 2.4vw, 0) scale(1.1);
  }
}

.hero-split {
  padding-top: clamp(83.2px, 8.8vw, 112px);
}

.hero-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(25.6px, 4vw, 64px);
}

.hero-split__copy {
  display: grid;
  justify-items: start;
  gap: clamp(22.4px, 2.4vw, 32px);
  padding-bottom: clamp(19.2px, 3.2vw, 44.8px);
}

.hero-split h1 {
  font-size: clamp(38.4px, 4.96vw, 76.8px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.marquee {
  --hero-ink: var(--ink);
  padding-block: clamp(14.4px, 2.08vw, 28.8px);
  overflow: hidden;
}

.marquee .ticker__group {
  font-size: clamp(25.6px, 3.52vw, 48px);
}





.ticker {
  overflow: hidden;
  padding-block: clamp(8px, 1.44vw, 20.8px);
}


.ticker__shift {
  margin-left: -16vw;
  will-change: transform;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker--reverse .ticker__track {
  animation-direction: reverse;
  animation-duration: 52s;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 0.28em;
  padding-right: 0.28em;
  font-size: clamp(39.2px, calc(6.88vw - 10px), 101.6px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--hero-ink);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.shape {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
}

.shape--star {
  width: 0.92em;
  height: 0.92em;
}

.shape--star svg:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--highlight);
  stroke: var(--highlight);
  stroke-width: 9;
  stroke-linejoin: round;
  animation: spin 16s linear infinite;
}

.shape__glyph {
  position: relative;
  width: 0.36em;
  height: 0.36em;
  color: #ffffff;
  stroke-width: 2;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.shape--pill {
  display: inline-flex;
  align-items: center;
  width: 2.3em;
  height: 0.78em;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--art-4b);
}

.shape__window {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
}

.shape__icons {
  display: flex;
  gap: 0.2em;
  width: max-content;
  padding-left: 0.2em;
  color: var(--hero-ink);
  animation: ticker 9s linear infinite;
}

.shape__icons .icon {
  width: 0.42em;
  height: 0.42em;
  stroke-width: 1.6;
}

.shape--cal {
  width: 3.2em;
  height: 1.12em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.cal__strip {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  justify-self: start;
  transform: translateX(calc(var(--i, 0) * -0.64em));
  transition: transform 0.9s var(--ease-out);
}

.cal__strip.is-jump {
  transition: none;
}

.cal__day {
  position: relative;
  display: grid;
  flex: none;
  align-content: center;
  justify-items: center;
  gap: 0.05em;
  width: 0.56em;
  height: 0.74em;
  margin: 0 0.04em;
  border-radius: 0.28em;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
  transition: height 0.9s var(--ease-out), background-color 0.6s;
}

.cal__day small {
  font-size: 0.105em;
  letter-spacing: 0.06em;
  line-height: 1;
}

.cal__day strong {
  font-size: 0.24em;
  font-weight: 400;
  line-height: 1;
}

.cal__day.is-period {
  background: var(--highlight);
  color: #ffffff;
}

.cal__day.is-predicted {
  background: color-mix(in srgb, var(--highlight) 55%, transparent);
  color: rgba(255, 255, 255, 0.8);
}

.cal__day.is-center {
  height: 0.96em;
}

.cal__day.is-center strong {
  font-weight: 600;
}

.cal__day b {
  position: absolute;
  top: -0.9em;
  left: -0.3em;
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--art-4b);
  font-size: 0.08em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--highlight);
}

.cal__day.is-center b {
  top: -0.6em;
}




/* The My Cycle screen, drawn in CSS so it follows the site's theme.
   Sizes inside the screen are in cqw, taken from an 640px-wide screenshot: 6.4px = 1cqw. */
.hero-device {
  --device-w: clamp(208px, 21.6vw, 272px);
  width: var(--device-w);
  height: calc(var(--device-w) * 1.42);
}

.phone {
  position: relative;
  padding: 3.2%;
  will-change: transform;
  border-radius: calc(var(--device-w) * 0.165);
  background: #16141a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 2.4px #16141a,
    inset 0 0 0 3.2px rgba(255, 255, 255, 0.06),
    0 32px 64px -24px rgba(20, 10, 40, 0.55),
    0 0 0 1px rgba(20, 10, 40, 0.12);
}

.app {
  --app-bg: linear-gradient(180deg, #e7e2f1 0%, #efe5f0 48%, #f4dde5 100%);
  --app-head: rgba(255, 255, 255, 0.14);
  --app-ink: #2f2326;
  --app-year: #acaadd;
  --app-today-bg: #ffffff;
  --app-today-ink: #7e73b4;
  --app-period: #df0317;
  --app-period-ink: #ffffff;
  --app-badge-bg: #acaadd;
  --app-badge-ink: #de0416;
  --app-badge-ring: transparent;
  --app-pill-line: #acaadd;
  --app-pill-ink: #2f2326;
  --app-log-bg: rgba(208, 183, 204, 0.72);
  --app-log-ink: #ffffff;
  --app-add-bg: #acaadd;
  --app-add-ink: #ffffff;
  --app-card-a: #de0416;
  --app-card-b: #b10311;
  --app-card-ink: #ffffff;
  --app-card-soft: #ebdcec;
  --app-band: rgba(226, 204, 210, 0.6);
  --app-tab-bg: rgba(255, 255, 255, 0.5);
  --app-tab-line: rgba(255, 255, 255, 0.8);
  --app-tab-active: rgba(255, 255, 255, 0.75);
  --app-tab-ink: #403350;
  --app-tab-muted: #807390;
  --app-avatar: linear-gradient(140deg, #acaadd, #e2a9bf);
  position: relative;
  container-type: inline-size;
  aspect-ratio: 800 / 1620;
  overflow: hidden;
  border-radius: calc(var(--device-w) * 0.135);
  background: var(--app-bg);
  color: var(--app-ink);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}

[data-theme="artemisia"] .app {
  --app-bg: linear-gradient(180deg, #252266 0%, #191a4e 50%, #13143e 100%);
  --app-head: rgba(255, 255, 255, 0.04);
  --app-ink: #ffffff;
  --app-year: #d6b4fc;
  --app-today-bg: #60498b;
  --app-today-ink: #ffffff;
  --app-period: #ff95db;
  --app-period-ink: #ffffff;
  --app-badge-bg: #abc2dd;
  --app-badge-ink: #352852;
  --app-pill-line: #d6b4fc;
  --app-pill-ink: #d6b4fc;
  --app-log-bg: #abc2dd;
  --app-log-ink: #191a4e;
  --app-add-bg: #aeaadd;
  --app-add-ink: #17184b;
  --app-card-a: #8aa6c9;
  --app-card-b: #abc2dd;
  --app-card-ink: #191a4e;
  --app-card-soft: rgba(25, 26, 78, 0.78);
  --app-band: #161648;
  --app-tab-bg: rgba(51, 51, 107, 0.95);
  --app-tab-line: rgba(255, 255, 255, 0.1);
  --app-tab-active: rgba(255, 255, 255, 0.12);
  --app-tab-ink: rgba(255, 255, 255, 0.95);
  --app-tab-muted: rgba(255, 255, 255, 0.48);
  --app-avatar: linear-gradient(140deg, #60498b, #ff95db);
}

[data-theme="alya"] .app {
  --app-bg: linear-gradient(180deg, #fbf8fa 0%, #f8eff6 55%, #f2e0ee 100%);
  --app-head: rgba(255, 255, 255, 0.3);
  --app-ink: #3d011d;
  --app-year: #d05b25;
  --app-today-bg: #3d011d;
  --app-today-ink: #f6bde8;
  --app-period: #d05b25;
  --app-period-ink: #fbf8fa;
  --app-badge-bg: #d05b25;
  --app-badge-ink: #fbf8fa;
  --app-badge-ring: #fbf8fa;
  --app-pill-line: #9ea3bf;
  --app-pill-ink: #3d011d;
  --app-log-bg: #f2e0ee;
  --app-log-ink: #3d011d;
  --app-add-bg: #6e540a;
  --app-add-ink: #fbf8fa;
  --app-card-a: #d05b25;
  --app-card-b: #3d011d;
  --app-card-ink: #fbf8fa;
  --app-card-soft: #f6bde8;
  --app-band: #f2e0ee;
  --app-tab-bg: #fbf8fa;
  --app-tab-line: #f2e0ee;
  --app-tab-active: #f2e0ee;
  --app-tab-ink: #3d011d;
  --app-tab-muted: rgba(110, 84, 10, 0.55);
  --app-avatar: linear-gradient(140deg, #d05b25, #f6bde8);
}

:where(.app) p {
  margin: 0;
}

.app .icon {
  width: 1em;
  height: 1em;
}

.phone__island {
  position: absolute;
  z-index: 2;
  top: 2.6cqw;
  left: 50%;
  width: 31cqw;
  height: 9.2cqw;
  border-radius: 799.2px;
  background: #0b0a0d;
  transform: translateX(-50%);
}

.app__head {
  display: flex;
  align-items: center;
  gap: 5.5cqw;
  padding: 7.5cqw 5cqw 3.5cqw;
  background: var(--app-head);
}

.app__head > div {
  flex: 1;
}

.app__year {
  font-size: 3cqw;
  font-weight: 500;
  color: var(--app-year);
}

.app__month {
  margin-top: 0.4cqw;
  font-size: 5.8cqw;
  letter-spacing: -0.02em;
}

.app__today {
  display: grid;
  place-items: center;
  width: 14.5cqw;
  height: 6.25cqw;
  margin-top: 3.4cqw;
  border-radius: 799.2px;
  background: var(--app-today-bg);
  color: var(--app-today-ink);
  font-size: 2.25cqw;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app__cal {
  margin-top: 3.4cqw;
  font-size: 5.3cqw;
}

.app__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  height: 29cqw;
  margin-top: 5.5cqw;
  padding-inline: 4.4cqw;
}

.app__day {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9cqw;
  justify-self: center;
  width: 11.75cqw;
  height: 16.25cqw;
  border-radius: 799.2px;
}

.app__day small {
  font-size: 2.25cqw;
  font-weight: 500;
}

.app__day b {
  font-size: 3.75cqw;
  font-weight: 400;
  line-height: 1;
}

.app__day.is-period {
  background: var(--app-period);
  color: var(--app-period-ink);
}

.app__day.is-today {
  width: 12.25cqw;
  height: 22.75cqw;
}

.app__day.is-today b {
  font-size: 4.75cqw;
  font-weight: 700;
}

.app__day.is-future {
  opacity: 0.55;
}

.app__day i {
  position: absolute;
  top: -2.1cqw;
  left: -0.1cqw;
  display: grid;
  place-items: center;
  width: 4.25cqw;
  height: 4.25cqw;
  border-radius: 50%;
  background: var(--app-badge-bg);
  box-shadow: 0 0 0 0.4cqw var(--app-badge-ring);
  color: var(--app-badge-ink);
  font-size: 1.6cqw;
  font-style: normal;
  font-weight: 700;
}

.app__day.is-today i {
  top: -2.5cqw;
  left: 0.3cqw;
  width: 5cqw;
  height: 5cqw;
  font-size: 1.9cqw;
}

.app__status {
  margin-top: 7.5cqw;
  font-size: 3.25cqw;
  font-weight: 500;
  text-align: center;
}

.app__pill {
  width: fit-content;
  margin: 2.4cqw auto 0;
  padding: 1.5cqw 3cqw;
  border: 0.28cqw solid var(--app-pill-line);
  border-radius: 799.2px;
  color: var(--app-pill-ink);
  font-size: 2.5cqw;
  font-weight: 500;
}

.app__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
  margin-top: 7.4cqw;
  padding-inline: 5cqw;
}

.app__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  height: 10.4cqw;
  border-radius: 799.2px;
  font-size: 2.75cqw;
  font-weight: 500;
}

.app__btn .icon {
  font-size: 3.8cqw;
}

.app__btn--log {
  --btn-glow: color-mix(in srgb, var(--app-log-bg) 80%, #000 20%);
  background: var(--app-log-bg);
  color: var(--app-log-ink);
}

.app__btn--add {
  --btn-glow: color-mix(in srgb, var(--app-add-bg) 80%, #000 20%);
  background: var(--app-add-bg);
  color: var(--app-add-ink);
}

/* The preview is a picture of the app, not text to select. The three controls
   answer the pointer the way they answer a finger. */
.phone {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.app__today,
.app__btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* TODAY is a plain SwiftUI button: pressing fades it, letting go brings it back */
.app__today {
  transition: opacity 0.25s ease-in-out;
}

.app__today:hover {
  opacity: 0.72;
}

.app__today:active {
  opacity: 0.25;
  transition-duration: 0s;
}

/* and like the app, it re-selects today */
.app__day.is-today.is-reselected {
  animation: today-reselect 0.5s ease-in-out;
}

@keyframes today-reselect {
  40% { transform: scale(1.08); }
}

.app__btn {
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s var(--ease-out),
    filter 0.4s var(--ease-out);
}


.app__btn:hover {
  transform: translateY(-0.5cqw) scale(1.03);
  filter: saturate(1.15) brightness(1.04);
  box-shadow: 0 2.4cqw 4.5cqw -2cqw var(--btn-glow);
}


.app__btn:active {
  transform: scale(0.97);
  opacity: 0.8;
  transition-duration: 0.12s;
}

.app__btn .icon {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app__btn--log:hover .icon {
  animation: quill 0.9s ease-in-out;
}

.app__btn--add:hover .icon {
  transform: rotate(90deg) scale(1.15);
}

@keyframes quill {
  25% { transform: rotate(-14deg) translateY(-0.3cqw); }
  55% { transform: rotate(8deg); }
  80% { transform: rotate(-4deg); }
}

.app__phase {
  display: grid;
  grid-template-columns: 32.3cqw 1fr;
  height: 47cqw;
  margin-top: 9.8cqw;
  overflow: hidden;
  border-top-right-radius: 15cqw;
  background: linear-gradient(120deg, var(--app-card-b), color-mix(in srgb, var(--app-card-b) 88%, #000));
  color: var(--app-card-ink);
}

.app__count {
  display: grid;
  place-content: center;
  justify-items: center;
  padding-inline: 3cqw;
  background: var(--app-card-a);
  font-size: 3.25cqw;
  line-height: 1.38;
  text-align: center;
}

.app__count b {
  margin: 1.2cqw 0 0.6cqw;
  font-size: 13.5cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.app__phase-copy {
  display: grid;
  align-content: center;
  padding: 0 4.5cqw 0 5cqw;
  color: var(--app-card-soft);
  font-size: 3cqw;
  line-height: 1.62;
}

.app__phase-copy > span:first-child {
  font-size: 3.25cqw;
  font-weight: 300;
}

.app__phase-copy strong {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  margin: 0.6cqw 0 0.8cqw;
  color: var(--app-card-ink);
  font-size: 5cqw;
  font-weight: 400;
  line-height: 1.3;
}

.app__phase-copy strong b {
  font-weight: 700;
}

.app__phase-copy strong .icon {
  font-size: 3.6cqw;
}

.app__mood {
  position: relative;
  height: 100%;
  padding: 10.5cqw 5cqw 0;
  background: var(--app-band);
  font-size: 4.75cqw;
  line-height: 1.6;
}

.app__mood b {
  font-weight: 600;
}

.app__heart {
  position: absolute;
  top: -3cqw;
  left: 5.2cqw;
  display: grid;
  place-items: center;
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 50%;
  background: inherit;
  font-size: 5cqw;
}

.app__heart .icon {
  margin-bottom: 1.8cqw;
}

.app__tabs {
  position: absolute;
  right: 5cqw;
  bottom: 9.5cqw;
  left: 5cqw;
  display: flex;
  align-items: center;
  gap: 2.5cqw;
}

.app__tabbar {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  height: 14.5cqw;
  padding-inline: 1.9cqw;
  border: 1px solid var(--app-tab-line);
  border-radius: 799.2px;
  background: var(--app-tab-bg);
  -webkit-backdrop-filter: blur(9.6px);
  backdrop-filter: blur(9.6px);
  color: var(--app-tab-muted);
  box-shadow: 0 2cqw 5cqw -3cqw rgba(30, 20, 50, 0.25);
}

.app__tabbar > span {
  display: grid;
  justify-items: center;
  gap: 0.9cqw;
  padding-block: 1.8cqw;
  border-radius: 799.2px;
  font-size: 1.9cqw;
  font-weight: 500;
  white-space: nowrap;
}

.app__tabbar .icon {
  font-size: 5cqw;
}

.app__tabbar .is-active {
  background: var(--app-tab-active);
  color: var(--app-tab-ink);
}

.app__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 13.4cqw;
  height: 13.4cqw;
  border-radius: 50%;
  background: var(--app-avatar);
  color: #ffffff;
  font-size: 5cqw;
  font-weight: 500;
}

.hero__lead {
  max-width: 52ch;
  margin-top: 20.8px;
  font-size: clamp(12px, 0.96vw, 13.6px);
  line-height: 1.45;
  color: var(--hero-soft);
}

.notify {
  display: grid;
  gap: 9.6px;
  width: min(100%, 416px);
}

.notify__row {
  display: flex;
  gap: 4.8px;
  padding: 4.8px;
  border: 1px solid var(--hero-glass-line);
  border-radius: var(--radius-pill);
  background: var(--hero-glass);
  -webkit-backdrop-filter: saturate(160%) blur(12.8px);
  backdrop-filter: saturate(160%) blur(12.8px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.notify__row:focus-within {
  border-color: var(--hero-ink);
  box-shadow: 0 0 0 3.2px color-mix(in srgb, var(--hero-ink) 12%, transparent);
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 0 12.8px;
  border: 0;
  background: transparent;
  color: var(--hero-ink);
  font: inherit;
  font-size: 12px;
}

.notify__input::placeholder {
  color: var(--hero-soft);
}

.notify__input:focus {
  outline: none;
}

.notify__button {
  flex: none;
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--hero-btn);
  color: var(--hero-btn-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.notify__button:hover {
  transform: translateY(-1px);
}

.notify__button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.notify__consent {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
  color: var(--hero-soft);
  cursor: pointer;
}

.notify__check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.notify__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 0;
  border: 1.5px solid color-mix(in srgb, var(--hero-ink) 40%, transparent);
  border-radius: 4.8px;
  background: var(--hero-glass);
  color: var(--hero-btn-ink);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.notify__box .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease-out);
}

.notify__consent:hover .notify__box {
  border-color: var(--hero-ink);
}

.notify__check:checked + .notify__box {
  border-color: var(--hero-btn);
  background: var(--hero-btn);
}

.notify__check:checked + .notify__box .icon {
  opacity: 1;
  transform: none;
}

.notify__check:active + .notify__box {
  transform: scale(0.9);
}

.notify__check:focus-visible + .notify__box {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.notify__spark {
  display: inline-block;
  width: 10.4px;
  height: 10.4px;
  margin: 0 4px 0 2.4px;
  vertical-align: -2px;
}

.notify__fine {
  opacity: 0.8;
}

.notify__consent a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
}

.notify__consent a:hover,
.notify__consent a:focus-visible {
  animation: line-redraw 0.9s var(--ease-out);
}

@keyframes line-redraw {
  0% {
    background-position: 100% 100%;
    background-size: 100% 1px;
  }
  45% {
    background-position: 100% 100%;
    background-size: 0 1px;
  }
  46% {
    background-position: 0 100%;
    background-size: 0 1px;
  }
  100% {
    background-position: 0 100%;
    background-size: 100% 1px;
  }
}

.stack-card--solo {
  grid-template-columns: 1fr;
}

.notify__status {
  min-height: 1.4em;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--hero-ink);
}

.notify__status:empty {
  display: none;
}

.ph {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6.4px;
  margin: 0;
  padding: 14.4px;
  border: 1.5px dashed var(--ph-line);
  border-radius: var(--radius-lg);
  background: var(--ph-bg);
  color: var(--ink);
  text-align: center;
}

.ph__tag {
  padding: 2.4px 8px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: var(--dark-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph__size {
  font-size: 11.2px;
  font-weight: 600;
}

.ph__desc {
  max-width: 26ch;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
}

.ph--on-dark {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ph--on-dark .ph__tag {
  background: #ffffff;
  color: #1e1733;
}

.ph--on-dark .ph__desc {
  color: rgba(255, 255, 255, 0.82);
}

.ph--wide {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.section {
  padding-block: var(--section);
}

.section__head {
  display: grid;
  gap: 11.2px;
  max-width: 544px;
  margin-bottom: clamp(28.8px, 4vw, 48px);
}

.section__head--center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.section__head p {
  font-size: clamp(12.8px, 0.96vw, 13.6px);
  color: var(--text);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12.8px;
}

.card {
  display: grid;
  align-content: start;
  gap: 11.2px;
  padding: clamp(19.2px, 2.08vw, 27.2px);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--lift-rest);
}

.card__icon {
  display: inline-flex;
  margin-bottom: 4.8px;
  color: var(--brand);
}

.card__icon .icon {
  width: 25.6px;
  height: 25.6px;
  stroke-width: 1.5;
  transition: transform 0.9s var(--ease-out);
}

.card:hover .card__icon .icon {
  transform: translateY(-2.4px) rotate(-6deg);
}

.card p {
  font-size: 12px;
}

.card--wide {
  grid-column: span 4;
}

.card--narrow {
  grid-column: span 2;
}

.card--half {
  grid-column: span 3;
}

.card--split {
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 22.4px;
}

.card--split > div {
  display: grid;
  align-content: start;
  gap: 11.2px;
}

.card__icon {
  justify-self: start;
}

.deck {
  position: relative;
  width: 100%;
  max-width: 176.8px;
  aspect-ratio: 23 / 34;
  margin: 0 auto;
}

.deck__page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 19.2px;
  background: var(--surface);
  box-shadow: 0 19.2px 35.2px -20.8px rgba(30, 23, 51, 0.5);
  opacity: 0;
  transform: translateY(20.8px) scale(0.94);
  transform-origin: 50% 100%;
  transition: transform 0.9s var(--ease-out), opacity 0.7s var(--ease-out);
}

.deck__page--back2 {
  background: var(--art-4b);
}

.deck__page--back1 {
  background: var(--hero-1);
}

.is-visible .deck__page--back2 {
  opacity: 1;
  transform: translate(12.8px, -9.6px) rotate(7deg) scale(0.93);
  transition-delay: 0.35s;
}

.is-visible .deck__page--back1 {
  opacity: 1;
  transform: translate(6.4px, -4.8px) rotate(3.5deg) scale(0.965);
  transition-delay: 0.22s;
}

.is-visible .deck__page--front {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.deck__page--front {
  display: grid;
  grid-template-rows: 30% 1fr;
}

.deck__head {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--highlight);
}

.deck__shape {
  display: block;
  width: 29%;
  height: auto;
  fill: var(--art-4b);
  transition: transform 1.2s var(--ease-out);
}

.stack-card:hover .deck__shape {
  transform: rotate(36deg);
}

.deck__close {
  position: absolute;
  top: 8px;
  right: 8.8px;
  width: 10.4px;
  height: 10.4px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.deck__body {
  display: grid;
  align-content: start;
  padding: 9.6px 12px 0;
}

.deck__body p {
  font-size: 10px;
  line-height: 1.45;
}

.deck__body .deck__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.deck__body .deck__sub {
  margin-top: 2.4px;
  color: var(--muted);
}

.deck__body .deck__heading {
  margin-top: 8px;
  margin-bottom: 3.2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.deck__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--text);
}

.deck__list {
  display: grid;
  gap: 3.2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deck__list li {
  display: flex;
  gap: 5.6px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--text);
}

.deck__list .icon {
  width: 8.8px;
  height: 8.8px;
  margin-top: 2.4px;
  color: var(--art-4b);
}

.deck__dots {
  position: absolute;
  bottom: 7.2px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2.4px;
  padding: 3.2px 6.4px;
  border-radius: var(--radius-pill);
  background: var(--highlight);
  transform: translateX(-50%);
}

.deck__dots i {
  width: 2.4px;
  height: 2.4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--art-4b) 70%, transparent);
}

.deck__dots i.is-on {
  width: 9.6px;
  border-radius: 2.4px;
  background: var(--art-4b);
}

.card__list {
  display: grid;
  gap: 6.4px;
  margin: 3.2px 0 0;
  padding: 0;
  list-style: none;
}

.card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.2px;
}

.card__list .icon {
  width: 12.8px;
  height: 12.8px;
  color: var(--highlight);
}

.stack {
  display: grid;
}

.stack-card {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * var(--stack-step));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: min(448px, calc(100vh - var(--stack-top) - 3 * var(--stack-step) - 19.2px));
  margin-bottom: 22.4px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 -12.8px 28.8px -24px rgba(20, 20, 24, 0.22);
}

.stack-card:nth-child(1) { --i: 0; }
.stack-card:nth-child(2) { --i: 1; }
.stack-card:nth-child(3) { --i: 2; }
.stack-card:nth-child(4) { --i: 3; }
.stack-card:nth-child(5) { --i: 4; }

.stack-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(22.4px, 3.6vw, 51.2px);
}

.stack-card__count {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10.4px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stack-card__line {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.stack-card__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}

.stack-card.is-visible .stack-card__line::after {
  transform: scaleX(1);
}

.stack-card h3 {
  margin-top: auto;
  padding-top: 25.6px;
  font-size: clamp(20.8px, 2.24vw, 30.4px);
  letter-spacing: -0.02em;
}

.stack-card__text {
  max-width: 44ch;
  margin-top: 11.2px;
  font-size: clamp(12px, 0.96vw, 13.6px);
  color: var(--text);
}

.stack-card .btn {
  align-self: flex-start;
  margin-top: 24px;
}

.stack-card__themes {
  margin-top: 17.6px;
}

.stack-card__themes p {
  margin-top: 9.6px;
  font-size: 10.4px;
  color: var(--muted);
}

.stack-card__art {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(19.2px, 2.4vw, 35.2px);
  overflow: hidden;
  isolation: isolate;
}

.stack-card__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(80% 70% at 20% 0%, var(--a), transparent 70%),
    radial-gradient(80% 80% at 100% 100%, var(--b), transparent 70%),
    linear-gradient(135deg, var(--a), var(--b));
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out);
}

.stack-card.is-visible .stack-card__art::before {
  transform: scale(1.12);
}

.stack-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
}

.stack-card__art--1 { --a: var(--art-1a); --b: var(--art-1b); }
.stack-card__art--2 { --a: var(--art-2a); --b: var(--art-2b); }
.stack-card__art--3 { --a: var(--art-3a); --b: var(--art-3b); }
.stack-card__art--4 { --a: var(--art-4a); --b: var(--art-4b); }
.stack-card__art--5 { --a: var(--art-2a); --b: var(--art-3b); }

.stack-card__art--5 .deck__list {
  gap: 4.8px;
}

/* the pages fan open a little further while the card is under the cursor */
.stack-card:hover .deck__page {
  transition-delay: 0s;
}

.stack-card:hover .deck__page--back2 {
  transform: translate(20.8px, -13.6px) rotate(10deg) scale(0.93);
}

.stack-card:hover .deck__page--back1 {
  transform: translate(10.4px, -7.2px) rotate(5deg) scale(0.965);
}

.stack-card:hover .deck__page--front {
  transform: translate(-4px, -2.4px) rotate(-2.5deg);
}

/* Make it your own: a home screen widget above the four app icons */
.mock.mock--custom {
  display: grid;
  gap: 14.4px;
  padding: 0;
  background: none;
  box-shadow: none;
}

.widget {
  padding: 14.4px 12.8px 12.8px;
  border-radius: 20.8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.widget__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-inline: 3.2px;
  font-size: 13.6px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.widget__head em {
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--muted);
}

.widget__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 3.2px;
  margin-top: 11.2px;
}

.widget__day {
  display: grid;
  justify-items: center;
  gap: 2.4px;
  padding: 7.2px 0;
  border-radius: 799.2px;
  color: var(--ink);
}

.widget__day small {
  font-size: 10px;
  font-weight: 500;
}

.widget__day b {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.widget__day.is-period {
  background: var(--highlight);
  color: #ffffff;
}

.widget__day.is-today {
  padding-block: 11.2px;
}

.widget__day.is-today b {
  font-weight: 700;
}

.widget__day.is-predicted {
  background: color-mix(in srgb, var(--highlight) 45%, transparent);
  color: #ffffff;
}

.app-icons {
  display: flex;
  justify-content: center;
  gap: 12.8px;
}

.app-icons img {
  width: clamp(38.4px, 4vw, 51.2px);
  height: auto;
  border-radius: 23%;
  box-shadow: var(--shadow-soft);
}

.js .app-icons img {
  opacity: 0;
  transform: translateY(11.2px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.stack-card.is-visible .app-icons img {
  opacity: 1;
  transform: none;
}

.app-icons img:nth-child(1) { transition-delay: 0.5s; }
.app-icons img:nth-child(2) { transition-delay: 0.6s; }
.app-icons img:nth-child(3) { transition-delay: 0.7s; }
.app-icons img:nth-child(4) { transition-delay: 0.8s; }

/* Reminders: a notification arriving on the lock screen */
.lock {
  display: grid;
  justify-items: center;
  width: min(100%, 272px);
  isolation: isolate;
  color: var(--ink);
}

.lock__date {
  font-size: 11.2px;
  font-weight: 500;
  opacity: 0.8;
}

.lock__time {
  margin-bottom: 20.8px;
  font-size: clamp(51.2px, 5.6vw, 67.2px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.notif {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9.6px;
  width: 100%;
  padding: 11.2px;
  border: 1px solid color-mix(in srgb, var(--surface) 70%, transparent);
  border-radius: 17.6px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(14.4px);
  backdrop-filter: blur(14.4px);
  box-shadow: var(--shadow);
  text-align: left;
}

.notif--behind {
  z-index: -1;
  width: 90%;
  height: 17.6px;
  margin-top: -9.6px;
  padding: 0;
  border-radius: 0 0 14.4px 14.4px;
  opacity: 0.6;
  order: 1;
}

.notif__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.notif__body {
  flex: 1;
  min-width: 0;
}

.notif__top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}

.notif__top b {
  font-weight: 600;
  color: var(--ink);
}

.notif__title {
  margin-top: 2px;
  font-size: 11.2px;
  font-weight: 600;
}

.notif__text {
  margin-top: 2px;
  font-size: 10.4px;
  line-height: 1.35;
  color: var(--text);
}

.js .lock .notif:not(.notif--behind) {
  opacity: 0;
  transform: translateY(-14.4px) scale(0.96);
  transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}

.stack-card.is-visible .lock .notif:not(.notif--behind) {
  opacity: 1;
  transform: none;
}

.stack-card__note {
  display: flex;
  align-items: center;
  gap: 6.4px;
  margin-top: 11.2px;
  font-size: 10.4px;
  color: var(--muted);
}

.stack-card__note .icon {
  width: 12px;
  height: 12px;
  color: var(--brand);
}

.promo {
  padding-block: clamp(35.2px, 4.8vw, 76.8px) 0;
}

.promo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(19.2px, 3.2vw, 51.2px);
}

.promo__copy h2 {
  font-size: clamp(20.8px, 2.24vw, 30.4px);
  letter-spacing: -0.02em;
}

.promo__copy p {
  max-width: 34ch;
  margin-top: 12.8px;
  font-size: clamp(12px, 0.96vw, 13.6px);
  color: var(--text);
}

.promo__frame {
  perspective: 880px;
}

.promo__stage {
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px -28.8px rgba(20, 20, 24, 0.45);
  transform:
    translate3d(var(--mx, 0px), var(--my, 0px), 0)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    scale(var(--ms, 1));
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.promo__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  background: var(--surface-2);
}

/* the whole frame is the control: one click plays, the next one pauses */
.promo__toggle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.promo__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(51.2px, 4.8vw, 67.2px);
  aspect-ratio: 1;
  border: 3.2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  filter: drop-shadow(0 4.8px 14.4px rgba(20, 14, 40, 0.35));
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}

.promo__ring::after {
  content: "";
  position: absolute;
  inset: -3.2px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.94);
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}

.promo__glyph {
  grid-area: 1 / 1;
  width: 34%;
  height: 34%;
  color: #fff;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

.promo__glyph--play {
  margin-left: 6%;
}

.promo__glyph--pause,
.is-playing .promo__glyph--play {
  opacity: 0;
  transform: scale(0.7);
}

.is-playing .promo__glyph--pause {
  opacity: 1;
  transform: none;
}

/* touch screens keep :hover after a tap, which would pin the button on top of
   the playing film, so hover belongs to real pointers only */
@media (hover: hover) {
  .promo__toggle:hover .promo__ring {
    transform: scale(1.08);
  }

  .promo__toggle:hover .promo__ring::after {
    opacity: 1;
    transform: scale(1.18);
  }

  .is-playing .promo__toggle:hover .promo__ring {
    opacity: 1;
    transform: scale(1);
  }
}

.promo__toggle:focus-visible .promo__ring {
  transform: scale(1.08);
}

.promo__toggle:focus-visible .promo__ring::after {
  opacity: 1;
  transform: scale(1.18);
}

.promo__toggle:active .promo__ring {
  transform: scale(0.96);
}

/* out of the way while the film runs, back on hover or on pause */
.is-playing .promo__ring {
  opacity: 0;
  transform: scale(0.82);
}

.is-playing .promo__toggle:focus-visible .promo__ring {
  opacity: 1;
  transform: scale(1);
}

.promo__frame:hover .promo__stage {
  box-shadow: 0 32px 57.6px -30.4px rgba(20, 20, 24, 0.5);
}

.theme-carousel {
  position: relative;
  width: 100%;
  height: min(100%, 376px);
  min-height: 304px;
}

.theme-carousel__item {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: calc(100% - 27.2px);
  border-radius: clamp(17.6px, 1.92vw, 25.6px);
  box-shadow: 0 24px 48px -22.4px rgba(20, 12, 40, 0.55);
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}

.theme-carousel__item[data-pos="0"] {
  z-index: 3;
  opacity: 1;
  transform: translateX(-50%);
}

.theme-carousel__item[data-pos="1"],
.theme-carousel__item[data-pos="-1"] {
  z-index: 2;
  opacity: 0.8;
  filter: saturate(0.85) brightness(0.96);
}

.theme-carousel__item[data-pos="1"] {
  transform: translateX(8%) scale(0.82) rotate(5deg);
}

.theme-carousel__item[data-pos="-1"] {
  transform: translateX(-108%) scale(0.82) rotate(-5deg);
}

.theme-carousel__item[data-pos="2"] {
  z-index: 1;
  transform: translateX(40%) scale(0.66) rotate(8deg);
}

.theme-carousel__item[data-pos="-2"] {
  z-index: 1;
  transform: translateX(-140%) scale(0.66) rotate(-8deg);
}

.theme-carousel__dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  gap: 4.8px;
  transform: translateX(-50%);
}

.theme-carousel__dots button {
  width: 5.6px;
  height: 5.6px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.5s var(--ease-out), background-color 0.3s;
}

.theme-carousel__dots button[aria-pressed="true"] {
  width: 17.6px;
  background: #ffffff;
}

.mock {
  width: min(100%, 272px);
  padding: 17.6px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  opacity: 0;
  transform: translateY(19.2px) scale(0.97);
  transition: opacity 0.9s var(--ease-out) 0.25s, transform 0.9s var(--ease-out) 0.25s;
}

.stack-card.is-visible .mock,
html:not(.js) .mock {
  opacity: 1;
  transform: none;
}

.mock__head {
  display: flex;
  align-items: center;
  gap: 9.6px;
  margin-bottom: 12.8px;
  font-size: 12px;
  font-weight: 500;
}

.mock__head small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}

.mock__icon {
  display: grid;
  place-items: center;
  width: 30.4px;
  height: 30.4px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
}

.mock__icon .icon {
  width: 14.4px;
  height: 14.4px;
}

.mock__row {
  display: flex;
  align-items: center;
  gap: 9.6px;
  padding: 8.8px 9.6px;
  border: 1px solid var(--line);
  border-radius: 11.2px;
  background: var(--surface-2);
  font-size: 10.8px;
}

.mock__row + .mock__row {
  margin-top: 6.4px;
}

.mock__row .icon {
  width: 14.4px;
  height: 14.4px;
  color: var(--brand);
}

.mock__row span {
  flex: 1;
}

.mock__status {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ok);
}

.mock__status--muted {
  color: var(--muted);
}

.mock__status {
  display: inline-flex;
  align-items: center;
  gap: 3.2px;
}

.mock__row .mock__check {
  width: 9.6px;
  height: 9.6px;
  color: currentColor;
  stroke-width: 2.4;
}

.js .mock__row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js .mock__status {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease-out), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js .mock__check use {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.6s var(--ease-out);
}

.js .stack-card.is-visible .mock__row {
  opacity: 1;
  transform: none;
}

.js .stack-card.is-visible .mock__status {
  opacity: 1;
  transform: none;
}

.js .stack-card.is-visible .mock__check use {
  stroke-dashoffset: 0;
}

.js .stack-card.is-visible .mock__row:nth-of-type(2) { transition-delay: 0.5s; }
.js .stack-card.is-visible .mock__row:nth-of-type(3) { transition-delay: 0.7s; }
.js .stack-card.is-visible .mock__row:nth-of-type(4) { transition-delay: 0.9s; }
.js .stack-card.is-visible .mock__row:nth-of-type(2) .mock__status { transition-delay: 0.85s; }
.js .stack-card.is-visible .mock__row:nth-of-type(3) .mock__status { transition-delay: 1.05s; }
.js .stack-card.is-visible .mock__row:nth-of-type(4) .mock__status { transition-delay: 1.25s; }
.js .stack-card.is-visible .mock__row:nth-of-type(2) .mock__check use { transition-delay: 1s; }
.js .stack-card.is-visible .mock__row:nth-of-type(3) .mock__check use { transition-delay: 1.2s; }
.js .stack-card.is-visible .mock__row:nth-of-type(4) .mock__check use { transition-delay: 1.4s; }

.mock__bar + .mock__bar {
  margin-top: 9.6px;
}

.mock__bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4.8px;
  font-size: 10.4px;
}

.mock__bar-track {
  height: 6.4px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}

.mock__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) 0.6s;
}

.stack-card.is-visible .mock__bar-fill,
html:not(.js) .mock__bar-fill {
  transform: scaleX(var(--w));
}

.mock__bar-fill[data-w="42"] { --w: 0.42; }
.mock__bar-fill[data-w="31"] { --w: 0.31; background: var(--highlight); transition-delay: 0.8s; }
.mock__bar-fill[data-w="18"] { --w: 0.18; background: var(--muted); transition-delay: 1s; }

.js .mock__bar {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js .stack-card.is-visible .mock__bar {
  opacity: 1;
  transform: none;
}

.js .stack-card.is-visible .mock__bar:nth-of-type(3) { transition-delay: 0.2s; }
.js .stack-card.is-visible .mock__bar:nth-of-type(4) { transition-delay: 0.4s; }

.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22.4px, 4vw, 51.2px);
  align-items: center;
}

.privacy__lead {
  margin-top: 14.4px;
  font-size: clamp(12.8px, 0.96vw, 13.6px);
}

.privacy__label {
  display: inline-flex;
  align-items: center;
  gap: 9.6px;
  margin-top: 19.2px;
  padding: 9.6px 14.4px;
  border-radius: var(--radius-md);
  background: var(--dark);
  color: var(--dark-ink);
  font-size: 11.2px;
  font-weight: 500;
}

.privacy__label .icon {
  width: 16px;
  height: 16px;
}

.checklist {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12.8px;
  padding: 14.4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.checklist li:first-child {
  padding-top: 0;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist .icon {
  width: 17.6px;
  height: 17.6px;
  margin-top: 1px;
  color: var(--brand);
}

.checklist strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 600;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 272px));
  justify-content: center;
  gap: 14.4px;
}

.pricing--single {
  grid-template-columns: minmax(0, 336px);
}

.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14.4px;
  padding: clamp(20.8px, 2.4vw, 28.8px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  box-shadow: var(--lift-rest);
}

.plan__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6.4px;
  color: var(--ink);
}

.plan__price strong {
  font-size: clamp(30.4px, 3.2vw, 38.4px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan__price span {
  font-size: 11.2px;
  color: var(--muted);
}

.plan__note {
  min-height: 2.9em;
  font-size: 11.2px;
}

.plan__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14.4px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.2px;
}

.plan__list .icon {
  width: 14.4px;
  height: 14.4px;
  margin-top: 2px;
  color: var(--brand);
}

.plan .btn {
  margin-top: 4.8px;
}

.pricing__includes {
  display: grid;
  justify-items: center;
  gap: 12.8px;
  max-width: 608px;
  margin: 27.2px auto 0;
}

.pricing__includes > p {
  font-size: 10.4px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing__includes .plan__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 17.6px;
  padding: 0;
  border: 0;
}

.plan--featured {
  overflow: hidden;
  color: var(--hero-soft);
  background: var(--hero-bg);
  isolation: isolate;
}

.plan--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.plan--featured .plan__name,
.plan--featured .plan__price {
  color: var(--hero-ink);
}

.plan--featured .plan__price span {
  color: var(--hero-soft);
}

.plan--featured .plan__list {
  border-color: var(--hero-line);
}

.plan--featured .plan__list .icon {
  color: var(--hero-ink);
}

.plan--featured .btn--light {
  background: var(--hero-btn);
  color: var(--hero-btn-ink);
}

.plan__badge {
  position: absolute;
  top: 17.6px;
  right: 17.6px;
  padding: 4px 9.6px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
  color: var(--hero-ink);
}

.pricing__foot {
  margin-top: 17.6px;
  text-align: center;
  font-size: 10.4px;
  color: var(--muted);
}

.fill {
  padding: 0 4.8px;
  border: 1px dashed currentColor;
  border-radius: 4.8px;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(25.6px, 4.8vw, 70.4px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12.8px;
}

.faq__intro .btn {
  justify-self: start;
  margin-top: 6.4px;
}

.faq__list {
  display: grid;
  gap: 8px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: box-shadow 0.4s var(--ease);
}

.faq__item[open] {
  box-shadow: var(--lift);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14.4px;
  padding: 16px 17.6px;
  font-size: 12.8px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

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

.faq__sign {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8.8px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease), background-color 0.4s;
}

.faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__sign {
  background: var(--dark);
  transform: rotate(180deg);
}

.faq__item[open] .faq__sign::before,
.faq__item[open] .faq__sign::after {
  background: var(--dark-ink);
}

.faq__item[open] .faq__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  padding: 0 17.6px 17.6px;
  font-size: 12px;
  color: var(--text);
}

.cta {
  display: grid;
  justify-items: center;
  gap: 14.4px;
  padding: clamp(38.4px, 5.6vw, 70.4px) var(--gutter);
  text-align: center;
}

.cta p {
  max-width: none;
  font-size: clamp(12.8px, 1.04vw, 14.4px);
}

.cta .notify {
  justify-self: center;
}

.cta__icon {
  width: 60.8px;
  height: 60.8px;
  border-radius: 16px;
  box-shadow: 0 14.4px 32px -14.4px rgba(0, 0, 0, 0.6);
  transition: translate 0.7s var(--ease-out), rotate 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}

.cta__icon:hover {
  translate: 0 -6.4px;
  rotate: -4deg;
  box-shadow: 0 25.6px 40px -17.6px rgba(0, 0, 0, 0.7);
  animation: icon-float 3s ease-in-out 0.7s infinite;
}

@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.cta.hero-band {
  border-radius: var(--radius-xl);
}

.edge {
  --edge-y: -50%;
  position: fixed;
  top: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 11.2px;
  writing-mode: vertical-rl;
  font-size: 10.4px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.6s var(--ease-out), translate 0.6s var(--ease-out), visibility 0.6s;
}

.edge {
  translate: 0 var(--edge-y);
}

.js .edge {
  opacity: 0;
  visibility: hidden;
  translate: 0 calc(var(--edge-y) + 14.4px);
}

.js.is-deep .edge {
  opacity: 1;
  visibility: visible;
  translate: 0 var(--edge-y);
}

.edge--social {
  left: calc((100vw - min(100vw - 2 * var(--gutter), var(--wrap))) / 4 - 5.6px);
  rotate: 180deg;
}

.edge--social a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.edge--social a:hover {
  color: var(--brand);
}

.edge__star {
  width: 11.2px;
  height: 11.2px;
  color: var(--brand);
  transition: transform 0.8s var(--ease-out);
}

.edge--social:hover .edge__star {
  transform: rotate(180deg);
}

.edge--top {
  right: calc((100vw - min(100vw - 2 * var(--gutter), var(--wrap))) / 4 - 5.6px);
}

.edge--top .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.5s var(--ease-out);
}

.edge--top:hover {
  color: var(--brand);
}

.edge--top:hover .icon {
  transform: translateY(-3.2px);
}

/* Footer: no edge of its own. A slow wash in the theme's colours rises out of
   the section above, and everything sits centred on it. */
.site-footer {
  position: relative;
  margin-top: calc(-1 * var(--section));
  padding: calc(var(--section) + clamp(32px, 4.8vw, 72px)) 0 28.8px;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
}

.site-footer::before {
  background:
    radial-gradient(38% 55% at 18% 62%, var(--art-2a), transparent 72%),
    radial-gradient(42% 60% at 82% 58%, var(--art-2b), transparent 72%),
    radial-gradient(50% 50% at 50% 100%, var(--art-4b), transparent 72%),
    radial-gradient(30% 40% at 55% 40%, var(--art-4a), transparent 72%);
  background-size: 170% 170%;
  opacity: 0.75;
  animation: footer-wash 22s ease-in-out infinite alternate;
}

.site-footer::after {
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
}

@keyframes footer-wash {
  0% { background-position: 0% 30%; }
  50% { background-position: 60% 80%; }
  100% { background-position: 100% 40%; }
}

.footer {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(28.8px, 3.2vw, 41.6px);
  text-align: center;
}

.footer__brand {
  margin: 0;
}

.footer__brand svg {
  width: 83.2px;
  height: 32px;
}

.insta {
  display: grid;
  grid-template-columns: minmax(176px, 224px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22.4px, 3.2vw, 44.8px);
  width: 100%;
}

/* six posts shoulder to shoulder; only the row's outer corners are rounded */
.insta__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.insta__tile {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.insta__tile img {
  display: block;
  width: 100%;
  height: 118%;
  margin-top: -9%;
  object-fit: cover;
  object-position: top;
  transition: scale 1.2s var(--ease-out);
  will-change: transform;
}

.insta__tile:hover img {
  scale: 1.06;
}

.insta__note {
  display: grid;
  justify-items: start;
  gap: 8px;
  text-align: left;
  font-size: 11.2px;
  line-height: 1.5;
  color: var(--text);
}

.insta__icon {
  width: 20.8px;
  height: 20.8px;
  margin-bottom: 3.2px;
  color: var(--brand);
}

.insta__note p {
  max-width: 30ch;
}

.insta__link {
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  margin-top: 4.8px;
  padding: 8px 14.4px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: var(--dark-ink);
  font-size: 10.4px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out);
}

.insta__link:hover {
  transform: translateY(-2px);
}

.insta__link .icon {
  width: 11.2px;
  height: 11.2px;
}

.footer__nav {
  display: flex;
  margin-top: clamp(16px, 2.4vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 11.2px clamp(17.6px, 2.72vw, 35.2px);
}

.footer__nav a,
.footer__legal a {
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  padding-bottom: 2.4px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
  transition: background-size 0.6s var(--ease-out), color 0.3s var(--ease);
}

.footer__nav a {
  font-size: 12px;
  font-weight: 500;
}

.footer__nav a:hover,
.footer__nav a:focus-visible,
.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--ink);
  background-position: 0 100%;
  background-size: 100% 1px;
}

.footer__nav .icon {
  width: 10.4px;
  height: 10.4px;
}

.footer__nav a[href="/feedback"] .icon {
  color: var(--highlight);
}

.footer__legal {
  display: grid;
  justify-items: center;
  gap: 6.4px;
  font-size: 10px;
  color: var(--muted);
}



.footer__heart {
  display: inline-block;
  width: 10.4px;
  height: 10.4px;
  margin-inline: 1px;
  vertical-align: -2px;
  color: var(--highlight);
}

.page-hero {
  padding-top: clamp(96px, 11.2vw, 128px);
  padding-bottom: clamp(35.2px, 4.8vw, 57.6px);
}

.line-link {
  display: inline-flex;
  align-items: center;
  gap: 2.4px;
  padding-bottom: 1px;
  color: var(--hero-ink);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
  transition: background-size 0.6s var(--ease-out), color 0.3s var(--ease);
}

.line-link:hover,
.line-link:focus-visible {
  background-position: 0 100%;
  background-size: 100% 1px;
}

.line-link__arrow {
  width: 11.2px;
  height: 11.2px;
  transition: transform 0.5s var(--ease-out);
}

.line-link:hover .line-link__arrow {
  transform: translate(2px, -2px);
}

.page-hero p {
  max-width: 54ch;
  margin-top: 12.8px;
  font-size: clamp(12px, 0.96vw, 13.6px);
  line-height: 1.45;
  color: var(--hero-soft);
}

.prose {
  display: grid;
  gap: 12.8px;
  max-width: 608px;
  margin-block: clamp(32px, 4.8vw, 57.6px) var(--section);
  font-size: 12px;
}

.prose h2 {
  margin-top: 12.8px;
  font-size: clamp(16px, 1.6vw, 19.2px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose--second {
  margin-top: calc(-1 * var(--section) + clamp(19.2px, 3.2vw, 38.4px));
  padding-top: clamp(32px, 4.8vw, 51.2px);
  border-top: 1px solid var(--line);
}

.prose .prose__lang {
  margin-bottom: 6.4px;
  font-size: clamp(22.4px, 2.56vw, 32px);
}

.lang-switch {
  display: flex;
  gap: 16px;
}

.page-hero .lang-switch {
  margin-top: 17.6px;
}

.prose a {
  color: var(--ink);
  text-underline-offset: 2.4px;
}

.board {
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: clamp(19.2px, 3.2vw, 35.2px);
  align-items: start;
  margin-block: clamp(32px, 4.8vw, 51.2px) var(--section);
}

.compose {
  position: sticky;
  top: 76.8px;
  display: grid;
  gap: 12.8px;
  padding: 20.8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
}

.compose h2 {
  font-size: 17.6px;
}

.field {
  display: grid;
  gap: 5.6px;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  padding: 0;
  font-size: 10.4px;
  font-weight: 600;
  color: var(--ink);
}

.field legend {
  margin-bottom: 5.6px;
}

.field__hint {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}

.field__hint a {
  color: var(--ink);
}

.input {
  width: 100%;
  padding: 9.6px 12px;
  border: 1px solid var(--line);
  border-radius: 11.2px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.input::placeholder {
  color: var(--muted);
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3.2px var(--accent-soft);
}

textarea.input {
  min-height: 96px;
  resize: vertical;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2px;
  padding: 3.2px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8px;
  min-height: 30.4px;
  border-radius: var(--radius-pill);
  font-size: 10.4px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.segmented label .icon,
.chip .icon {
  width: 12px;
  height: 12px;
}

.segmented input:checked + label {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.segmented input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.trap {
  position: absolute;
  left: -7999.2px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.count {
  justify-self: end;
  font-size: 10px;
  color: var(--muted);
}

.form-status {
  min-height: 1.4em;
  font-size: 10.8px;
  color: var(--ink);
}

.form-status.is-error {
  color: var(--highlight);
}

.board__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12.8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4.8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  min-height: 30.4px;
  padding: 5.6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 10.4px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.chip[aria-pressed="true"] {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--dark-ink);
}

.posts {
  display: grid;
  gap: 9.6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14.4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  animation: rise 0.6s var(--ease-out) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(11.2px);
  }
}

.vote {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  width: 46.4px;
  height: 52.8px;
  border: 1px solid var(--line);
  border-radius: 12.8px;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s;
}

.vote:hover {
  transform: translateY(-2px);
}

.vote svg {
  width: 12.8px;
  height: 12.8px;
}

.vote strong {
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1;
}

.vote[aria-pressed="true"] {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--dark-ink);
}

.vote.is-bumped {
  animation: bump 0.4s var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.12);
  }
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6.4px;
  margin-bottom: 4.8px;
  font-size: 10px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7.2px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--ink);
}

.tag .icon {
  width: 10.4px;
  height: 10.4px;
}

.post__date sup {
  margin-left: 1px;
  font-size: 0.72em;
  line-height: 0;
  vertical-align: 0.55em;
}

.tag--planned {
  background: var(--dark);
  color: var(--dark-ink);
}

.tag--done {
  background: var(--highlight);
  color: #ffffff;
}

.post h3 {
  font-size: 13.6px;
}

.post p {
  margin-top: 4.8px;
  font-size: 11.6px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 6.4px;
  padding: 35.2px 19.2px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty .icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.notfound {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14.4px;
  min-height: 70vh;
  padding-top: 80px;
  text-align: center;
}

.notfound .hero__lead {
  color: var(--text);
}

.js [data-reveal] {
  opacity: 0;
  filter: blur(4.8px);
  transform: translateY(20.8px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

.card,
.plan,
.js .card[data-reveal].is-settled,
.js .plan[data-reveal].is-settled {
  transition: transform 0.9s var(--ease-out), box-shadow 0.9s var(--ease-out), border-color 0.9s var(--ease-out);
  transition-delay: 0s;
}

.card:hover,
.plan:hover,
.js .card[data-reveal].is-settled:hover,
.js .plan[data-reveal].is-settled:hover {
  transform: translateY(-4.8px);
  box-shadow: var(--lift);
}

.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: top;
}

.js [data-split] .w__i {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 45ms + var(--delay, 0s));
}

.js [data-split].is-visible .w__i {
  transform: none;
}

@media (max-width: 1080px) {
  .board {
    grid-template-columns: 1fr;
  }
  .compose {
    position: static;
  }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6.4px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links a {
    padding: 10.4px 11.2px;
    font-size: 12.8px;
  }
  .nav__toggle {
    display: inline-grid;
  }
  .nav__cta {
    display: none;
  }
  .privacy,
  .faq {
    grid-template-columns: 1fr;
  }
  .faq__intro {
    position: static;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .card--wide,
  .card--narrow,
  .card--half {
    grid-column: auto;
  }
  .card--split {
    grid-template-columns: 1fr;
  }
  .stack-card {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 12.8px;
  }
  .stack-card__art {
    min-height: 272px;
  }
  .theme-carousel {
    height: 336px;
  }
  .promo__grid {
    grid-template-columns: 1fr;
    gap: 20.8px;
  }
  .promo__copy p {
    max-width: 46ch;
  }
  .pricing {
    grid-template-columns: minmax(0, 352px);
  }
  .hero-split__grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 35.2px;
  }
  .hero-split__copy {
    justify-items: center;
    padding-bottom: 0;
    text-align: center;
  }
  .insta {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  .insta__note {
    justify-items: center;
    text-align: center;
  }
  .insta__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .edge--social {
    display: none;
  }
  .edge--top {
    --edge-y: 0%;
    top: auto;
    right: 12.8px;
    bottom: 16px;
    justify-content: center;
    width: 36.8px;
    height: 36.8px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(12.8px);
    backdrop-filter: blur(12.8px);
    writing-mode: horizontal-tb;
  }
  .edge__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .card--split {
    gap: 17.6px;
  }
}

@media (max-width: 560px) {
  .notify {
    justify-items: center;
  }
  .notify__row {
    flex-direction: column;
    width: 100%;
    padding: 4px;
    border-radius: 20.8px;
  }
  .notify__input {
    min-height: 32px;
    padding: 0 11.2px;
    font-size: 11.2px;
    text-align: center;
  }
  .notify__button {
    min-height: 30.4px;
    padding: 0 12.8px;
    font-size: 11.2px;
  }
  .notify__consent {
    justify-content: center;
  }
  .notify__fine {
    font-size: 10px;
  }
  .notify__status {
    text-align: center;
  }
  .post {
    grid-template-columns: 1fr;
    gap: 9.6px;
  }
  .vote {
    grid-auto-flow: column;
    justify-self: start;
    width: auto;
    height: 33.6px;
    padding-inline: 11.2px;
    gap: 6.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-split] .w__i {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .ticker__track,
  .shape__icons {
    animation: none;
  }
}

/* Creators ---------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(11.2px, 1.28vw, 17.6px);
}

.ticks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}

.ticks .icon {
  flex: none;
  width: 13.6px;
  height: 13.6px;
  margin-top: 2.4px;
  color: var(--brand);
}

.ticks--no .icon {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(11.2px, 1.28vw, 17.6px);
}

.step {
  display: grid;
  align-content: start;
  gap: 6.4px;
  padding: clamp(16px, 1.76vw, 22.4px);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.step__no {
  font-size: 10.4px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.step h3 {
  font-size: clamp(13.6px, 1.2vw, 16px);
  letter-spacing: -0.01em;
}

.step p {
  font-size: 11.2px;
  color: var(--text);
}

.kit {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 38.4px);
  padding: clamp(19.2px, 2.4vw, 35.2px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
}

.kit__text {
  display: grid;
  justify-items: start;
  gap: 11.2px;
}

.kit__meta {
  font-size: 10.4px;
  color: var(--muted);
}

.kit__shots {
  display: flex;
  justify-content: center;
  gap: 11.2px;
}

.kit__shots img {
  width: 42%;
  height: auto;
  border-radius: clamp(9.6px, 1.12vw, 16px);
  box-shadow: 0 19.2px 35.2px -22.4px rgba(20, 12, 40, 0.5);
}

.kit__shots img:first-child {
  transform: rotate(-4deg);
}

.kit__shots img:last-child {
  transform: rotate(4deg);
}

.segmented--wrap {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .card-grid,
  .steps,
  .kit {
    grid-template-columns: 1fr;
  }
  .kit__shots {
    display: none;
  }
}

/* The creators page has the form on its own, so it sits in the middle rather than
   in the narrow column the Feedback Corner keeps for it. */
.board--single {
  grid-template-columns: minmax(0, 448px);
  justify-content: center;
}

/* The creator's own page ---------------------------------------------------- */

.me-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn--ghost:hover {
  background: var(--surface);
}

.me-summary {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6.4px 14.4px;
  margin: 0;
  font-size: 11.2px;
}

.me-summary dt {
  color: var(--muted);
}

.me-summary dd {
  margin: 0;
  color: var(--text);
}

/* Inline choices: no tray behind them, an outline each, and the chosen one filled
   with the theme's own ink. */
.segmented--wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 6.4px;
  padding: 0;
  background: none;
  border-radius: 0;
}

.segmented--wrap label {
  min-height: 28.8px;
  padding: 0 12.8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: none;
}

.segmented--wrap input:checked + label {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  box-shadow: none;
}

/* The kicker above a page title is a label, not a heading. */
.page-hero .kicker {
  font-size: 10px;
}

/* Her own page ------------------------------------------------------------- */

.me-body {
  display: grid;
  gap: clamp(16px, 2.4vw, 27.2px);
  margin-block: clamp(25.6px, 4vw, 44.8px) var(--section);
}

.me-signin {
  max-width: 336px;
}

/* The form is the page, so it carries no card of its own. */
.me-form {
  display: grid;
  gap: 11.2px;
  padding: 0;
  background: none;
  box-shadow: none;
}

.me-form h2 {
  font-size: clamp(17.6px, 1.92vw, 24px);
}

.me-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12.8px 14.4px;
  margin-top: 8px;
}

.me-grid .col-2 { grid-column: span 2; }
.me-grid .col-4 { grid-column: span 4; }
.me-grid .col-6 { grid-column: span 6; }
.me-grid .col-8 { grid-column: span 8; }
.me-grid .col-12 { grid-column: span 12; }

.me-note,
.me-contract {
  display: grid;
  justify-items: start;
  gap: 9.6px;
  padding: clamp(17.6px, 2.08vw, 25.6px);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.me-kit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12.8px, 1.6vw, 19.2px);
}

.contract {
  width: 100%;
  max-height: 368px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--ink);
}

.me-sign {
  display: grid;
  justify-items: start;
  gap: 9.6px;
  width: 100%;
  max-width: 336px;
}

.me-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.2px;
}

.me-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.me-copy code {
  flex: 1 1 176px;
  overflow-wrap: anywhere;
  padding: 8px 11.2px;
  border-radius: 9.6px;
  background: var(--surface);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.4px;
}

/* Who is signed in --------------------------------------------------------- */

.who {
  position: relative;
}

.who__button {
  display: flex;
  align-items: center;
  gap: 7.2px;
  padding: 3.2px 11.2px 3.2px 3.2px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 11.2px;
  font-weight: 500;
  cursor: pointer;
}

.who__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 10.4px;
  font-weight: 600;
}

.who__menu {
  position: absolute;
  top: calc(100% + 6.4px);
  right: 0;
  min-width: 128px;
  padding: 4.8px;
  border-radius: 11.2px;
  background: var(--surface);
  box-shadow: 0 16px 32px -19.2px rgba(20, 14, 40, 0.5);
  z-index: 20;
}

.who__item {
  width: 100%;
  padding: 8px 9.6px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 11.2px;
  text-align: left;
  cursor: pointer;
}

.who__item:hover {
  background: var(--surface-2);
}

@media print {
  .site-header,
  .site-footer,
  .hero-band,
  .me-actions,
  .me-sign,
  .me-kit,
  .edge {
    display: none !important;
  }
  .contract {
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .me-grid > .field {
    grid-column: 1 / -1;
  }
  .me-kit {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Editorial redesign (October 2026)
   Solid colour fields instead of washes, Playfair Display for the big titles,
   Space Grotesk for everything small. Pages opt in with body class "editorial".
   ========================================================================== */

.editorial {
  --paper: #fbf6f2;
  --rose: #d8c5d6;
  --blush: #ede4f0;
  --lilac-soft: #d9cbe8;
  --peach: #f3ddd2;
  --mist: #ece6f5;
  --olive: #b0a43a;
  --red: #de0416;
  --plum: #2a1d33;
  --plum-soft: #5d4f66;
  --lilac: #acaadd;
  --rule: var(--plum);
  --why: #6a5da6;
  --badge-bg: #6a5da6;
  --badge-ink: var(--blush);
  --faq-line: #acaadd;
  --card-1: #f3ddd2;
  --card-2: #ede4f0;
  --card-3: #acaadd;
  --card-4: #d8c5d6;
  --card-5: #de0416;
  background: var(--paper);
}

[data-theme="artemisia"] body.editorial {
  --paper: #14153f;
  --rose: #2c2a6b;
  --blush: #1b1c4f;
  --lilac-soft: #3a2f7a;
  --peach: #2a3f6e;
  --mist: #2f4a7a;
  --olive: #8aa6c9;
  --red: #abc2dd;
  --seal-ink: #14153f;
  --rule: #abc2dd;
  --why: #abc2dd;
  --badge-bg: #ff95db;
  --badge-ink: var(--blush);
  --faq-line: #4b3f8f;
  --card-1: var(--lilac-soft);
  --card-2: var(--peach);
  --card-3: var(--mist);
  --card-4: var(--rose);
  --card-5: var(--olive);
  --plum: #ffffff;
  --plum-soft: rgba(255, 255, 255, 0.74);
  --lilac: #d6b4fc;
}

[data-theme="alya"] body.editorial {
  --paper: #fbf8fa;
  --rose: #f6bde8;
  --blush: #f8eff6;
  --lilac-soft: #e7d5ec;
  --peach: #f2dccc;
  --mist: #f2e0ee;
  --olive: #6e540a;
  --red: #d05b25;
  --plum: #3d011d;
  --plum-soft: #6b4a2a;
  --lilac: #9ea3bf;
  --rule: #3d011d;
  --why: #d05b25;
  --badge-bg: #f6bde8;
  --badge-ink: #3d011d;
  --faq-line: #d05b25;
  --card-1: var(--lilac-soft);
  --card-2: var(--peach);
  --card-3: var(--mist);
  --card-4: var(--rose);
  --card-5: var(--olive);
}

.serif {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.editorial h2.serif {
  font-size: clamp(30.4px, 3.84vw, 57.6px);
  line-height: 1.04;
  color: var(--plum);
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9.6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38.4px;
  padding: 0 19.2px;
  border: 1px solid var(--plum);
  border-radius: var(--radius-pill);
  color: var(--plum);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.35s var(--ease);
}

.pill .icon {
  width: 12.8px;
  height: 12.8px;
  transition: transform 0.35s var(--ease);
}

.pill:hover {
  background: var(--plum);
  color: var(--paper);
}

.pill:hover .icon {
  transform: translateX(2.4px);
}

.pill--fill {
  background: var(--plum);
  color: var(--paper);
}

.pill--fill:hover {
  transform: translateY(-2px);
}

.editorial .btn--dark {
  background: var(--plum);
  color: var(--paper);
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* heroes: one solid field */
.editorial .hero-band {
  --hero-ink: var(--plum);
  --hero-soft: var(--plum);
  --hero-line: var(--plum);
  --hero-glass: transparent;
  --hero-glass-line: var(--plum);
  background: var(--rose);
  color: var(--plum);
}

.editorial .hero-band h1 {
  color: var(--plum);
}

.editorial .orb {
  display: none;
}

.editorial .page-hero h1 {
  font-size: clamp(35.2px, 4.48vw, 70.4px);
  line-height: 1.04;
}

.editorial .hero-band::after {
  opacity: 0.1;
}

.editorial .hero-split__copy {
  gap: 17.6px;
}

.editorial .hero-split h1 {
  font-size: clamp(40px, 5.12vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--plum);
}

.editorial .hero__lead {
  max-width: 40ch;
  margin: 0;
  font-size: 12.8px;
  color: var(--plum);
}

/* marquee speaks in the serif too */
.editorial .marquee .ticker__group {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--plum);
}

/* video: two columns, an almost square frame */
.editorial .promo__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(25.6px, 4.8vw, 76.8px);
}

.editorial .promo__stage {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.editorial .promo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial .promo__copy h2 {
  font-size: clamp(32px, 3.68vw, 57.6px);
}

.editorial .promo__copy p {
  font-size: 12px;
}

/* why kloe: every card runs the full width of the window; its content stays on the grid */
/* the last card hands straight over to the next section */
.editorial #why {
  padding-bottom: 0;
}

.editorial .stack-card {
  --wrapw: min(100vw - 2 * var(--gutter), var(--wrap));
  --bleed: calc((100vw - var(--wrapw)) / 2);
  grid-template-columns: calc(var(--wrapw) * 0.46) minmax(0, 1fr);
  margin: 0 calc(-1 * var(--bleed));
  padding-left: var(--bleed);
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.editorial .stack-card__body {
  padding-left: 0;
}

.editorial .stack-card__art {
  padding: clamp(25.6px, 3.2vw, 51.2px);
}

.editorial .stack-card__art::before {
  background: var(--card-art);
}

.editorial .stack-card__art::after {
  opacity: 0.12;
}

.editorial .stack-card:nth-child(1) { --card-art: var(--card-1); }
.editorial .stack-card:nth-child(2) { --card-art: var(--card-2); }
.editorial .stack-card:nth-child(3) { --card-art: var(--card-3); }
.editorial .stack-card:nth-child(4) { --card-art: var(--card-4); }
.editorial .stack-card:nth-child(5) { --card-art: var(--card-5); }

.editorial .stack-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22.4px, 2.24vw, 35.2px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.editorial .stack-card__text {
  max-width: 44ch;
  font-size: 11.2px;
}

/* the number sits in an outlined pill instead of leading a rule */
.editorial .stack-card__line {
  display: none;
}

.editorial .stack-card__count span:first-child {
  padding: 4.8px 9.6px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  font-size: 10px;
  line-height: 1;
  color: var(--plum);
}

/* pricing: a numbered index in red, on the lighter pink */
.section--pricing {
  background: var(--blush);
  color: var(--red);
}

.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44ch);
  align-items: end;
  gap: 19.2px 38.4px;
  margin-bottom: clamp(25.6px, 3.2vw, 44.8px);
}

.pricing-head .eyebrow,
.editorial .pricing-head h2.serif {
  color: var(--red);
}

.editorial .pricing-head h2.serif {
  margin-top: 8px;
  font-size: clamp(25.6px, 2.72vw, 40px);
}

.pricing-head > p {
  font-size: 12px;
}

.plans {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--red);
  list-style: none;
}

.plans__row {
  display: grid;
  grid-template-columns: 28.8px auto minmax(25.6px, 1fr) auto;
  align-items: center;
  gap: clamp(11.2px, 2.08vw, 28.8px);
  padding-block: clamp(9.6px, 1.44vw, 19.2px);
  border-bottom: 1px solid color-mix(in srgb, var(--red) 40%, transparent);
}

.plans__num {
  font-size: 10px;
  font-weight: 600;
}

.plans__name {
  display: flex;
  align-items: center;
  gap: 12.8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 6.56vw, 105.6px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}

.plans__badge {
  padding: 4.8px 9.6px;
  border: 1px solid var(--badge-bg);
  background: var(--badge-bg);
  color: var(--badge-ink);
  border-radius: var(--radius-pill);
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.plans__rule {
  height: 2px;
  background: var(--red);
}

.plans__price {
  display: grid;
  justify-items: end;
  gap: 4.8px;
  text-align: right;
}

.plans__price strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30.4px, 3.68vw, 60.8px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plans__price span {
  max-width: 24ch;
  font-size: 10.4px;
}

.plans__cta {
  margin-top: 32px;
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.plans__cta:hover {
  background: var(--red);
  color: var(--paper);
}

.section--pricing .pricing__includes > p,
.section--pricing .pricing__includes li,
.section--pricing .pricing__includes .icon,
.section--pricing .pricing__foot {
  color: var(--red);
}

.section--pricing .pricing__includes {
  justify-items: start;
  max-width: none;
  margin-inline: 0;
}

.section--pricing .pricing__includes .plan__list {
  justify-content: flex-start;
}

.section--pricing .pricing__foot {
  text-align: left;
}

/* be the first to know: a wavy card on a red grid, with two stickers */
.section--signup {
  position: relative;
  overflow: hidden;
  background-color: var(--rose);
  background-image:
    linear-gradient(var(--red) 2px, transparent 2px),
    linear-gradient(90deg, var(--red) 2px, transparent 2px);
  background-size: 57.6px 57.6px;
  background-position: center;
  padding-block: clamp(72px, 8vw, 120px);
}

.wavy {
  --r: 16px;
  -webkit-mask:
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round no-repeat,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 100% / calc(2 * var(--r)) calc(2 * var(--r)) round no-repeat,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 100% 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    linear-gradient(#000 0 0) 50% 50% / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
  mask:
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round no-repeat,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 100% / calc(2 * var(--r)) calc(2 * var(--r)) round no-repeat,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 100% 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    linear-gradient(#000 0 0) 50% 50% / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
}

.wavy--sm {
  --r: 7.2px;
}

.signup {
  --hero-ink: var(--plum);
  --hero-soft: var(--plum-soft);
  --hero-glass: transparent;
  --hero-glass-line: var(--plum);
  --hero-btn: var(--plum);
  --hero-btn-ink: var(--paper);
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12.8px;
  max-width: 560px;
  margin-inline: auto;
  padding: clamp(48px, 5.6vw, 67.2px) clamp(25.6px, 4.8vw, 60.8px);
  background: var(--paper);
  color: var(--plum);
  text-align: center;
}

.editorial .signup h2.serif {
  font-size: clamp(32px, 4vw, 52.8px);
}

.signup > p {
  max-width: 44ch;
  font-size: 12px;
  color: var(--plum-soft);
}

.signup .cta__icon {
  width: 51.2px;
  height: 51.2px;
  border-radius: 12.8px;
  box-shadow: none;
}

.signup .notify {
  width: 100%;
  margin-top: 11.2px;
}

.signup .notify__row {
  padding: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.signup .notify__input {
  min-height: 43.2px;
}

.signup .notify__button {
  min-height: 43.2px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signup .notify__consent {
  justify-content: flex-start;
  justify-self: start;
  text-align: left;
}

.stickers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
}

.sticker--stamp {
  top: clamp(44.8px, 5.6vw, 72px);
  left: calc(50% - 392px);
  width: 137.6px;
  height: 96px;
  background: var(--lilac);
  color: #2a1d33;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  transform: rotate(-9deg);
}

.sticker--seal {
  bottom: clamp(44.8px, 5.6vw, 72px);
  left: calc(50% + 240px);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--red);
  color: var(--seal-ink, #ffffff);
  transform: rotate(8deg);
}

.sticker__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 24s linear infinite;
}

.sticker__ring text {
  fill: currentColor;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.sticker__glyph {
  width: 28.8px;
  height: 28.8px;
  stroke-width: 1.5;
}

/* feedback corner: the form on the light pink, posts as hairline rows */
.editorial .compose {
  gap: 14.4px;
  padding: clamp(20.8px, 2.4vw, 28.8px);
  border: 0;
  border-radius: 0;
  background: var(--blush);
  color: var(--plum);
}

.editorial .compose h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22.4px, 2.08vw, 28.8px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--plum);
}

.editorial .input {
  border: 1px solid color-mix(in srgb, var(--plum) 35%, transparent);
  border-radius: 4.8px;
  background: var(--paper);
  color: var(--plum);
}

.editorial .input:focus {
  border-color: var(--plum);
  box-shadow: none;
}

.editorial .segmented {
  padding: 2.4px;
  border: 1px solid var(--plum);
  border-radius: 4.8px;
  background: transparent;
}

.editorial .segmented label {
  border-radius: 3.2px;
  color: var(--plum);
}

.editorial .segmented input:checked + label {
  background: var(--plum);
  color: var(--paper);
  box-shadow: none;
}

.editorial .chip {
  border: 1px solid var(--plum);
  border-radius: 4.8px;
  background: transparent;
  color: var(--plum);
}

.editorial .chip[aria-pressed="true"] {
  background: var(--plum);
  color: var(--paper);
}

.editorial .posts {
  gap: 0;
  border-top: 1px solid var(--plum);
}

.editorial .post {
  padding: 17.6px 0;
  border: 0;
  border-bottom: 1px solid var(--plum);
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.editorial .post h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17.6px;
  font-weight: 400;
  color: var(--plum);
}

.editorial .vote {
  border: 1px solid var(--plum);
  border-radius: 4.8px;
  background: transparent;
  color: var(--plum);
}

.editorial .vote[aria-pressed="true"] {
  background: var(--plum);
  color: var(--paper);
}

/* faq: hairline rows, a squared toggle */
.editorial .faq__list {
  gap: 0;
  border-top: 1px solid var(--faq-line);
}

.editorial .faq__item {
  border: 0;
  border-bottom: 1px solid var(--faq-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial .faq__item summary {
  padding: 17.6px 0;
  font-size: 13.6px;
  color: var(--plum);
}

.editorial .faq__sign {
  width: 25.6px;
  height: 25.6px;
  border: 1px solid var(--plum);
  border-radius: 50%;
  background: transparent;
}

.editorial .faq__sign::before,
.editorial .faq__sign::after {
  background: var(--plum);
}

.editorial .faq__item[open] .faq__sign {
  background: var(--plum);
}

.editorial .faq__item[open] .faq__sign::before,
.editorial .faq__item[open] .faq__sign::after {
  background: var(--paper);
}

.editorial .faq__answer p {
  padding: 0 44.8px 19.2px 0;
  color: var(--plum-soft);
}

/* footer: the plain cream ground, no wash */
.editorial .site-footer {
  margin-top: 0;
  padding-top: clamp(64px, 7.2vw, 104px);
}

.editorial .site-footer::before,
.editorial .site-footer::after {
  display: none;
}

@media (max-width: 1080px) {
  .stickers {
    display: none;
  }
}

@media (max-width: 900px) {
  .editorial .hero-split__copy .pill-row {
    justify-content: center;
  }
  .editorial .hero__lead {
    margin-inline: auto;
  }
  .editorial .promo__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .editorial .stack-card {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
  }
  .editorial .stack-card__body {
    padding-inline: var(--bleed);
  }
  .editorial .stack-card__art {
    padding: clamp(22.4px, 4.8vw, 35.2px);
  }
  .pricing-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .plans__row {
    grid-template-columns: 22.4px minmax(0, 1fr);
  }
  .plans__rule {
    display: none;
  }
  .plans__price {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .signup.wavy {
    --r: 10.4px;
  }
  .signup .notify__row {
    border-radius: 0;
  }
  .signup .notify__button {
    border-radius: 0;
  }
}

/* buttons are squarer than pills now, site-wide */
.btn,
.pill,
.notify__button,
.insta__link {
  border-radius: 4.8px;
}

/* the menu button stays round and outlined, in each theme's own colour */
.nav .nav__cta {
  border: 1px solid var(--nav-cta);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--nav-cta);
  box-shadow: none;
}

.nav .nav__cta:hover {
  background: var(--nav-cta);
  color: var(--nav-cta-ink);
  box-shadow: none;
}

.editorial #why .eyebrow {
  color: var(--why);
}

/* stickers answer the pointer */
.sticker {
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticker--stamp:hover {
  transform: rotate(3deg) scale(1.08);
}

.sticker--seal:hover {
  transform: rotate(-6deg) scale(1.06);
}

/* why kloe: the illustrations float a little, and lean in under the pointer */
.editorial .stack-card__art > * {
  animation: art-float 7s ease-in-out infinite;
  transition: scale 0.7s var(--ease-out);
}

.editorial .stack-card:nth-child(even) .stack-card__art > * {
  animation-delay: -3.5s;
}

.editorial .stack-card__art:hover > * {
  scale: 1.03;
}

@keyframes art-float {
  50% { translate: 0 -6.4px; }
}

.editorial .mock__row {
  transition: translate 0.4s var(--ease-out), border-color 0.3s;
}

.editorial .mock__row:hover {
  translate: 4.8px 0;
  border-color: var(--brand);
}

.editorial .widget__day {
  transition: translate 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.editorial .widget__day:hover {
  translate: 0 -3.2px;
}

.editorial .app-icons img {
  transition: translate 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), rotate 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.editorial .app-icons img:hover {
  translate: 0 -4.8px;
  rotate: -6deg;
}

.editorial .lock .notif:not(.notif--behind) {
  transition: scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}

.editorial .lock .notif:not(.notif--behind):hover {
  scale: 1.04;
}

/* why kloe: number, title and text sit together, centred in the card's height */
.editorial .stack-card__body {
  justify-content: center;
}

.editorial .stack-card h3 {
  margin-top: 0;
  padding-top: 17.6px;
}

/* the menu: a full-width bar with hairline dividers, on every page */
.site-header {
  inset: 0 0 auto;
}

.nav {
  --nav-line: var(--ink);
  --nav-bg: var(--page);
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 57.6px;
  padding: 0 var(--gutter);
  border: 0;
  border-bottom: 1px solid var(--nav-line);
  border-radius: 0;
  background: color-mix(in srgb, var(--nav-bg) 88%, transparent);
  box-shadow: none;
}

.editorial .nav {
  --nav-line: var(--plum);
  --nav-bg: var(--paper);
}

.site-header.is-scrolled .nav {
  background: color-mix(in srgb, var(--nav-bg) 96%, transparent);
  box-shadow: none;
}

.nav .brand {
  align-self: center;
  margin-right: clamp(16px, 2.4vw, 32px);
}

.nav__links {
  align-items: stretch;
  gap: 0;
  margin-right: auto;
}

.nav__links li {
  display: flex;
  border-left: 1px solid var(--nav-line);
}

.nav__links li:last-child {
  border-right: 1px solid var(--nav-line);
}

.nav__links a {
  display: flex;
  align-items: center;
  padding: 0 clamp(14.4px, 1.92vw, 27.2px);
  border-radius: 0;
}

.nav__actions {
  align-self: center;
  margin-left: 12.8px;
}

@media (max-width: 900px) {
  .nav {
    min-height: 51.2px;
  }
  .nav__links {
    left: var(--gutter);
    right: var(--gutter);
    align-items: stretch;
    margin-right: 0;
  }
  .nav__links li,
  .nav__links li:last-child {
    border: 0;
  }
  .nav__links li + li {
    border-top: 1px solid var(--line);
  }
  .nav__links a {
    padding: 11.2px;
  }
  .nav__actions {
    margin-left: auto;
  }
}

/* menu: starts in the colour of the page's header, turns solid once you scroll;
   links on the left, logo in the middle, actions on the right */
.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.4s var(--ease);
}

.site-header.is-scrolled .nav {
  background: color-mix(in srgb, var(--nav-bg) 96%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
}

.nav .brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin: 0;
}

.nav__links {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin: 0;
}

.nav__links li,
.nav__links li:last-child {
  border: 0;
}

.nav__links a {
  padding: 0 11.2px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4.8px;
  transition: text-decoration-color 0.25s, color 0.25s;
}

.nav__links li:first-child a {
  padding-left: 0;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  background: transparent;
  text-decoration-color: currentColor;
}

.nav__actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin-left: 0;
}

@media (max-width: 900px) {
  .nav__links li + li {
    border-top: 1px solid var(--line);
  }
  .nav__links a,
  .nav__links li:first-child a {
    padding: 11.2px;
  }
}

/* promo bar: lime strip above the menu, folds away once you scroll */
.promo-bar {
  display: grid;
  grid-template-rows: 1fr;
  background: #f3ff9d;
  color: #2a1d33;
  pointer-events: auto;
  transition: grid-template-rows 0.4s var(--ease), opacity 0.3s var(--ease);
}

.promo-bar p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3.2px 11.2px;
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--gutter);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.promo-bar p > * {
  margin-block: 7.2px;
}

.promo-bar__dot {
  width: 13.6px;
  height: 13.6px;
  stroke-width: 1.8;
  transition: rotate 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-bar p:hover .promo-bar__dot {
  rotate: 180deg;
}

.promo-bar a {
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2.4px;
}

.promo-bar__arrow {
  width: 10.4px;
  height: 10.4px;
  transform: rotate(90deg);
  transition: translate 0.3s var(--ease);
}

.promo-bar a:hover .promo-bar__arrow {
  translate: 0 2px;
}

.site-header.is-scrolled .promo-bar {
  grid-template-rows: 0fr;
  opacity: 0;
}

/* make room for the strip at the top of every page */
.hero-split {
  padding-top: calc(clamp(83.2px, 8.8vw, 112px) + 28.8px);
}

.page-hero {
  padding-top: calc(clamp(96px, 11.2vw, 128px) + 28.8px);
}

.notfound {
  padding-top: 136px;
}

.editorial .notfound h1 {
  font-size: clamp(35.2px, 4.48vw, 70.4px);
  color: var(--plum);
}

.editorial .notfound .hero__lead {
  color: var(--plum-soft);
}

@media (max-width: 560px) {
  .promo-bar p > span:first-child,
  .promo-bar__dot {
    display: none;
  }
}

/* the menu's rule follows the card rules: blue in Artemisia */
.editorial .nav {
  --nav-line: var(--rule);
}

[data-theme="artemisia"] .nav {
  --nav-line: #abc2dd;
}

/* header logo: a gentle float under the pointer, nothing more */
.nav .brand svg {
  transition: translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav .brand:hover svg {
  translate: 0 -2.4px;
}

/* the save badge drifts up a touch */
.plans__badge {
  transition: translate 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.plans__badge:hover {
  translate: 0 -3.2px;
  box-shadow: 0 8px 14.4px -9.6px color-mix(in srgb, var(--badge-bg) 90%, #000);
}

/* cursor: a dot in the theme's colour that shrinks over anything clickable */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 12.8px;
  height: 12.8px;
  margin: -6.4px 0 0 -6.4px;
  border-radius: 50%;
  background: var(--cursor);
  pointer-events: none;
  opacity: 0;
  transition: scale 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  will-change: translate, scale;
}

.has-cursor .cursor-dot.is-shown {
  opacity: 1;
}

.cursor-dot.is-link {
  scale: 0.45;
}

.cursor-dot.is-down {
  scale: 0.3;
}

.cursor-dot.is-text {
  opacity: 0 !important;
}

html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

html.has-cursor input:not([type="checkbox"]):not([type="radio"]),
html.has-cursor textarea,
html.has-cursor select,
html.has-cursor [contenteditable="true"] {
  cursor: text !important;
}

/* cursor: white dot in difference mode, so it always inverts what is under it */
.cursor-dot {
  background: #ffffff;
  mix-blend-mode: difference;
}

/* menu links: a hairline that draws in from the left, and leaves to the right */
.nav__links a {
  position: relative;
  text-decoration: none;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 11.2px;
  right: 11.2px;
  bottom: calc(50% - 0.95em);
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav__links li:first-child a::after {
  left: 0;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 900px) {
  .nav__links a::after {
    display: none;
  }
}

/* signup, tighter: less height, the grid stays put while the card scrolls over it */
.section--signup {
  padding-block: clamp(44.8px, 4.8vw, 76.8px);
  background-attachment: fixed;
}

.signup-wrap {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}

.signup {
  gap: 11.2px;
  padding: clamp(32px, 4vw, 48px) clamp(22.4px, 4vw, 51.2px);
}

.signup-wrap .stickers {
  inset: 0;
}

/* "Private by design": three big scallops on each side, straight top and bottom */
.sticker--stamp {
  --r: 16.8px;
  top: -27.2px;
  left: -102.4px;
  width: 134.4px;
  height: calc(6 * var(--r));
  font-size: 10.4px;
  transform: rotate(-9deg);
  -webkit-mask:
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 100% 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    linear-gradient(#000 0 0) 50% 50% / calc(100% - 2 * var(--r)) 100% no-repeat;
  mask:
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    radial-gradient(var(--r) at 50% 50%, #000 98%, #0000) 100% 0 / calc(2 * var(--r)) calc(2 * var(--r)) no-repeat round,
    linear-gradient(#000 0 0) 50% 50% / calc(100% - 2 * var(--r)) 100% no-repeat;
}

.sticker--stamp:hover {
  transform: rotate(-6deg) scale(1.03);
}

/* the seal sits over the button's top-right corner; site.js places it exactly */
.sticker--seal {
  top: auto;
  bottom: 96px;
  left: auto;
  right: -56px;
}

.sticker--seal:hover {
  transform: rotate(4deg) scale(1.03);
}

/* "Private by design" sits further in over the card's corner */
.sticker--stamp {
  top: -20.8px;
  left: -51.2px;
}

/* serif titles that run to two lines or more: the first line in Medium, the rest
   in Regular, so the lines after the first read lighter (Playfair has no weight
   below Regular). site.js marks the words of the first line. */
.serif-lines .is-first-line {
  font-weight: 500;
}

/* headers are square now */
.hero-band,
.editorial .hero-band {
  border-radius: 0;
}

/* footer: four instagram posts, three on a phone */
.insta__row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .insta__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .insta__tile:nth-child(n + 4) {
    display: none;
  }
}

/* theme coins, as in the app's theme picker: the theme's colour round the edge,
   its second colour as a form in the middle, a ring in its third when chosen */
.coins {
  display: flex;
  flex-wrap: wrap;
  gap: 14.4px 20.8px;
}

.coin {
  --coin-size: 48px;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--plum, var(--ink));
  font: inherit;
  cursor: pointer;
  scale: 0.96;
  transition: scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coin__disc {
  display: grid;
  place-items: center;
  width: var(--coin-size);
  height: var(--coin-size);
  border-radius: 50%;
  background: var(--coin-bg);
  outline: 2.4px solid transparent;
  outline-offset: 2.4px;
  transition: outline-color 0.3s ease, translate 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coin__mark {
  width: 54%;
  height: 54%;
  fill: var(--coin-shape);
  transition: rotate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.coin__label {
  font-size: 10.4px;
}

.coin[aria-pressed="true"] {
  scale: 1;
}

.coin[aria-pressed="true"] .coin__disc {
  outline-color: var(--coin-ring);
}

.coin[aria-pressed="true"] .coin__label {
  font-weight: 600;
}

.coin:hover .coin__disc {
  translate: 0 -2.4px;
}

.coin:hover .coin__mark {
  rotate: 180deg;
}

.coin--luna { --coin-bg: #df0317; --coin-shape: #adaadd; --coin-ring: #d6d3d8; }
.coin--artemisia { --coin-bg: #4a4480; --coin-shape: #abc2dd; --coin-ring: #ff95db; }
.coin--alya { --coin-bg: #d05b25; --coin-shape: #f6bde8; --coin-ring: #3d011d; }

.stack-card__themes .coins {
  margin-bottom: 3.2px;
}

/* pricing: the button after the list, the small print on the right, level with it */
.pricing__end {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14.4px 32px;
  margin-top: 28.8px;
}

.pricing__end .plans__cta {
  margin-top: 0;
}

.section--pricing .pricing__end .pricing__foot {
  max-width: 36ch;
  margin: 0;
  text-align: right;
}

/* faq: rules only between questions */
.editorial .faq__list {
  border-top: 0;
}

.editorial .faq__item:last-child {
  border-bottom: 0;
}

/* phone menu: the whole screen in the theme's main colour, big links in the middle */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.8px;
    padding: 76.8px var(--gutter);
    border: 0;
    border-radius: 0;
    background: var(--nav-cta);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    clip-path: circle(0% at calc(100% - 32px) 32px);
    transition:
      clip-path 0.75s cubic-bezier(0.77, 0, 0.175, 1),
      opacity 0.45s ease,
      visibility 0s linear 0.75s;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at calc(100% - 32px) 32px);
    transition:
      clip-path 0.75s cubic-bezier(0.77, 0, 0.175, 1),
      opacity 0.2s ease,
      visibility 0s;
  }
  .nav__links.is-leaving {
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }
  .nav__links li,
  .nav__links li + li,
  .nav__links li:last-child {
    border: 0;
  }
  .nav__links a,
  .nav__links li:first-child a {
    padding: 6.4px 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 9.6vw, 51.2px);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
    color: var(--nav-cta-ink);
    opacity: 0;
    translate: 0 19.2px;
    transition: opacity 0.5s ease, translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__links.is-open li a {
    opacity: 1;
    translate: 0 0;
  }
  .nav__links.is-open li:nth-child(1) a { transition-delay: 0.25s; }
  .nav__links.is-open li:nth-child(2) a { transition-delay: 0.32s; }
  .nav__links.is-open li:nth-child(3) a { transition-delay: 0.39s; }
  .nav__links.is-open li:nth-child(4) a { transition-delay: 0.46s; }
  .nav__links.is-open li:nth-child(5) a { transition-delay: 0.53s; }
  .nav__links a:hover {
    background: transparent;
  }
  /* the X stays above the panel, in the panel's ink */
  .nav__toggle {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
  }
  .nav__toggle[aria-expanded="true"] {
    color: var(--nav-cta-ink);
  }
  .menu-open .nav,
  .menu-open .site-header.is-scrolled .nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .menu-open {
    overflow: hidden;
  }
}

/* remove-me */
.remove {
  display: grid;
  justify-items: start;
  gap: 14.4px;
  margin-block: clamp(38.4px, 5.6vw, 76.8px) var(--section);
}

.remove__form {
  --hero-ink: var(--plum, var(--ink));
  --hero-soft: var(--plum-soft, var(--muted));
  --hero-glass: transparent;
  --hero-glass-line: var(--plum, var(--ink));
  --hero-btn: var(--plum, var(--ink));
  --hero-btn-ink: var(--paper, var(--page));
  width: min(100%, 496px);
}

.remove__form .notify__row {
  padding: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.remove__form .notify__input,
.remove__form .notify__button {
  min-height: 43.2px;
}

.remove__form .notify__button {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.remove__note {
  font-size: 11.2px;
  color: var(--plum-soft, var(--muted));
}

.remove__note a {
  color: inherit;
}

/* buttons inside forms stay put: a quiet change of colour instead of a lift,
   so they never rise out of the field they sit in */
form .btn:hover,
form .btn:active,
.notify__button:hover,
.notify__button:active {
  transform: none;
  translate: none;
}

form .btn--dark:hover,
.notify__button:hover {
  background: color-mix(in srgb, var(--hero-btn, var(--dark)) 82%, #ffffff);
  box-shadow: none;
}

form .btn--dark:hover {
  background: color-mix(in srgb, var(--plum, var(--dark)) 82%, #ffffff);
}

/* the field and its button share one rounded outline; the button sits flush */
.signup .notify__row,
.remove__form .notify__row {
  overflow: hidden;
  border-radius: 4.8px;
}

.signup .notify__button,
.remove__form .notify__button {
  border-radius: 0;
  transition: background-color 0.25s ease;
}

/* "Private by design" in the serif */
.sticker--stamp {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15.2px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: none;
}

/* privacy notice: two tabs, one per language */
.lang-tabs {
  display: flex;
  gap: 6.4px;
  margin-top: clamp(28.8px, 4vw, 44.8px);
}

.lang-tabs__tab {
  min-height: 33.6px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 4.8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11.2px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.lang-tabs__tab:hover {
  background: var(--accent-soft);
}

.lang-tabs__tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--page);
}

/* Both languages sit the same distance below the tabs */
.lang-tabs ~ .prose {
  margin-top: clamp(32px, 4.8vw, 57.6px);
}

.prose__date {
  margin-top: 28.8px;
  font-size: 10.4px;
  color: var(--muted);
}

.prose[hidden] {
  display: none;
}

/* the email link style inside legal text: same look, in the text colour of the page */
.prose .line-link {
  color: var(--ink);
}


/* legal pages: headings on the left, text on the right, so the page uses its width
   while lines stay a comfortable length */
.prose {
  grid-template-columns: minmax(144px, 0.42fr) minmax(0, 1fr);
  column-gap: clamp(25.6px, 4vw, 64px);
  row-gap: 11.2px;
  max-width: none;
}

.prose > * {
  grid-column: 2;
  max-width: 68ch;
}

.prose > h2 {
  grid-column: 1;
  margin-top: 20.8px;
  font-size: 14.4px;
  line-height: 1.35;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose > h2 + p {
  margin-top: 20.8px;
}

.prose > h2:first-child + p {
  margin-top: 0;
}

/* links inside legal text: the site's line style, no standing underline */
.prose .line-link {
  display: inline;
  padding-bottom: 1px;
}

.prose .line-link .line-link__arrow {
  display: inline-block;
  margin-left: 2px;
  vertical-align: -2px;
}

@media (max-width: 760px) {
  .prose {
    grid-template-columns: minmax(0, 1fr);
  }
  .prose > *,
  .prose > h2 {
    grid-column: 1;
  }
  .prose > h2 + p {
    margin-top: 0;
  }
}

/* headers take the pricing section's colours: its light ground and its red ink */
.editorial .hero-band {
  --hero-ink: var(--red);
  --hero-soft: var(--red);
  --hero-line: var(--red);
  --hero-glass-line: var(--red);
  background: var(--blush);
  color: var(--red);
}

.editorial .hero-band h1,
.editorial .hero-band .eyebrow,
.editorial .hero-split .eyebrow {
  color: var(--red);
}

.editorial .hero-split .pill--fill {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

/* footer photos: three, a little squarer, as separate blocks 16px apart on wide
   screens; on a phone they stay one joined strip */
@media (min-width: 901px) {
  .insta__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
  .insta__tile {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
  }
}

.insta__tile img {
  object-position: center;
}

/* pricing on a phone: button and small print centred */
@media (max-width: 900px) {
  .pricing__end {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .section--pricing .pricing__end .pricing__foot {
    text-align: center;
  }
}

/* the film keeps its own 16:9 frame; the column gives it the room */
.editorial .promo__grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
}

.editorial .promo__stage {
  aspect-ratio: 16 / 9;
}

.editorial .promo__video {
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .editorial .promo__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* pricing: three plans side by side, laid out like a table without one:
   no boxes, no fills, only hairlines between the rows */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(22.4px, 3.2vw, 51.2px);
  border-top: 1px solid var(--red);
  color: var(--red);
}

.tier {
  display: flex;
  flex-direction: column;
  padding-top: clamp(17.6px, 2.08vw, 27.2px);
}

.tier__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12.8px;
  min-height: 44.8px;
}

.tier__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27.2px, 2.72vw, 40px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--red);
}

.tier__switch {
  display: inline-flex;
  padding: 2.4px;
  border: 1px solid var(--red);
  border-radius: var(--radius-pill);
}

.tier__switch button {
  min-height: 24px;
  padding: 0 9.6px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.tier__switch button[aria-pressed="true"] {
  background: var(--red);
  color: var(--blush);
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14.4px;
}

.tier__price strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38.4px, 4vw, 60.8px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tier__price span {
  font-size: 10.4px;
}

.tier__note {
  min-height: 3em;
  margin-top: 8px;
  font-size: 11.2px;
}

.tier__lead {
  margin-top: 17.6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tier__list {
  display: grid;
  margin: 14.4px 0 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--red) 40%, transparent);
  list-style: none;
}

.tier__lead + .tier__list {
  margin-top: 8px;
}

.tier__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8.8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--red) 40%, transparent);
  font-size: 11.2px;
  line-height: 1.4;
}

.tier__list .icon {
  flex: none;
  width: 12.8px;
  height: 12.8px;
  margin-top: 2px;
}

.tiers__all {
  margin-top: 22.4px;
  font-size: 11.2px;
  color: var(--red);
}

@media (max-width: 900px) {
  .tiers {
    grid-template-columns: minmax(0, 1fr);
  }
  .tier + .tier {
    margin-top: 22.4px;
    border-top: 1px solid var(--red);
  }
  .tier__note {
    min-height: 0;
  }
}

/* the three columns share their rows, so names, prices and lists line up
   across them whatever wraps in one of them */
.tiers {
  grid-template-rows: repeat(5, auto);
}

.tier {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  align-content: start;
  row-gap: 0;
}

.tier__top {
  align-self: start;
}

.tier__note {
  min-height: 0;
}

.tier__list {
  align-self: start;
}

@media (max-width: 900px) {
  .tiers {
    grid-template-rows: none;
  }
}

/* features: a plain list, like a changelog, each line led by its icon */
.features {
  max-width: 656px;
  margin: clamp(32px, 4.8vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.features__item {
  display: grid;
  grid-template-columns: 35.2px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 17.6px 0;
  border-bottom: 1px solid var(--faq-line, var(--line));
}

.features__item:last-child {
  border-bottom: 0;
}

.features__icon {
  display: grid;
  place-items: center;
  width: 35.2px;
  height: 35.2px;
  border: 1px solid var(--plum, var(--ink));
  border-radius: 50%;
  color: var(--plum, var(--ink));
}

.features__icon .icon {
  width: 16px;
  height: 16px;
}

.features__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(17.6px, 1.6vw, 22.4px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--plum, var(--ink));
}

.features__item p {
  max-width: 60ch;
  margin-top: 4.8px;
  font-size: 12px;
  color: var(--plum-soft, var(--text));
}

.features__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14.4px 22.4px;
  margin: 28.8px 0 var(--section);
}

.features__end .line-link,
.section--pricing .pricing-head .line-link {
  color: inherit;
}

.tiers__all {
  display: flex;
  align-items: center;
  gap: 6.4px;
}

.tiers__star {
  flex: none;
  width: 12px;
  height: 12px;
}

/* features: no rules between the items */
.features__item {
  border-bottom: 0;
}

/* pricing, tightened: smaller prices with a raised euro, a smaller switch,
   and a badge that appears with the yearly price */
.tier__price strong {
  display: inline-flex;
  align-items: flex-start;
  font-size: clamp(28.8px, 2.88vw, 43.2px);
}

.tier__cur {
  margin-left: 2.4px;
  font-size: 0.42em;
  line-height: 1.5;
  vertical-align: baseline;
  position: static;
}

.tier__switch {
  padding: 2px;
}

.tier__switch button {
  min-height: 19.2px;
  padding: 0 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.tier__price {
  align-items: center;
  flex-wrap: wrap;
}

.tier__price > span:not(.tier__save) {
  align-self: flex-end;
  margin-bottom: 4.8px;
}

.tier__save {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: save-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tier__save[hidden] {
  display: none;
}

@keyframes save-pop {
  from { opacity: 0; scale: 0.6; }
}

.tier__price strong span {
  font-size: inherit;
}

/* tier titles 2.4px smaller; "4ever" raised beside Free; the yearly saving as a
   round sticker on the corner of "Subscription"; a smaller switch */
.tier__name {
  position: relative;
  display: inline-block;
  font-size: clamp(24.8px, calc(2.72vw - 10px), 37.6px);
}

.tier__sup {
  margin-left: 3.2px;
  font-size: 0.36em;
  vertical-align: 1.35em;
  line-height: 0;
  letter-spacing: 0;
}

.tier__name .tier__save {
  position: absolute;
  top: -17.6px;
  right: -36.8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-align: center;
  rotate: 12deg;
}

.tier__name .tier__save[hidden] {
  display: none;
}

.tier__switch {
  padding: 2px;
}

.tier__switch button {
  min-height: 16px;
  padding: 0 6.4px;
  font-size: 10px;
}

/* the switch sits under the title, leaving the corner to the badge */
.tier__top {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

/* the badge sits straight, tucked under the corner of the last letter */
.tier__name {
  isolation: isolate;
}

.tier__name .tier__save {
  z-index: -1;
  top: -16px;
  right: -28.8px;
  rotate: 0deg;
}

/* a soft lift under the pointer for tier rows and feature items */
.tier__list li,
.features__item {
  transition: translate 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tier__list li:hover {
  translate: 3.2px 0;
}

.features__item:hover {
  translate: 0 -2.4px;
}

.features__icon {
  transition: translate 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease, color 0.4s ease;
}

.features__item:hover .features__icon {
  translate: 0 -2px;
  background: var(--plum, var(--ink));
  color: var(--paper, var(--page));
}

.pricing-head .line-link .line-link__arrow {
  display: inline-block;
  margin-left: 3.2px;
  vertical-align: -2px;
}

.pricing-head .line-link:hover .line-link__arrow {
  transform: translateX(2.4px);
}

@media (hover: none) {
  .tier__list li:hover,
  .features__item:hover {
    translate: none;
  }
}

/* links inside running text on the features page and in faq answers */
.features__item .line-link,
.faq__answer .line-link {
  display: inline;
  color: inherit;
}

.features__item .line-link .line-link__arrow {
  display: inline-block;
  margin-left: 3.2px;
  vertical-align: -2px;
}

/* hovers, smoother: longer and softer, and listed alongside the reveal's own
   transitions so the entrance rule no longer cancels them */
.tier__list li {
  transition: translate 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.js .features__item[data-reveal] {
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out),
    filter 1s var(--ease-out),
    translate 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.features__icon {
  transition:
    translate 0.9s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.6s ease,
    color 0.6s ease;
}

/* tier rows: the words slide, the rules stay put; a little quicker */
.tier__list li {
  transition: padding-left 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.tier__list li:hover {
  translate: none;
  padding-left: 4px;
}

@media (hover: none) {
  .tier__list li:hover {
    padding-left: 0;
  }
}

/* tier rows: the words move as one piece, so the lines wrap the same way before
   and during the hover (padding would steal width and re-wrap them) */
.tier__list li,
.tier__list li:hover {
  padding-left: 0;
  transition: none;
}

.tier__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: translate 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.tier__list li:hover .tier__row {
  translate: 4px 0;
}

@media (hover: none) {
  .tier__list li:hover .tier__row {
    translate: none;
  }
}

/* "Private by design" sticker and the signup button, per theme */
[data-theme="luna"] .sticker--stamp {
  color: #ffffff;
}

[data-theme="alya"] .sticker--stamp {
  color: #f6bde8;
}

/* Alya: the button takes the green of the "Share on your terms" card */
[data-theme="alya"] .signup {
  --hero-btn: var(--olive);
  --hero-btn-ink: #fbf8fa;
}

/* Alya: the sticker shares the button's green, with pink words */
[data-theme="alya"] .sticker--stamp {
  background: var(--olive);
  color: #f6bde8;
}

/* phone menu: always the whole screen, sliding in from the right and back out */
@media (max-width: 900px) {
  .nav__links {
    justify-self: stretch;
    align-self: stretch;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    clip-path: none;
    opacity: 1;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.6s cubic-bezier(0.77, 0, 0.175, 1),
      visibility 0s linear 0.6s;
  }
  .nav__links.is-open {
    clip-path: none;
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    transition:
      transform 0.6s cubic-bezier(0.77, 0, 0.175, 1),
      visibility 0s;
  }
  .nav__links.is-leaving {
    opacity: 1;
    transform: translateX(100%);
    transition:
      transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
      visibility 0s linear 0.35s;
  }
}

/* the panel leaves at the same unhurried pace it arrives */
@media (max-width: 900px) {
  .nav__links.is-leaving {
    transform: translateX(100%);
    transition:
      transform 0.65s cubic-bezier(0.65, 0, 0.35, 1),
      visibility 0s linear 0.65s;
  }
  .nav__links.is-leaving li a {
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0s;
  }
}

/* A missed consent box gets pointed at, not just mentioned */
.notify__consent.is-missing .notify__box {
  border-color: var(--hero-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hero-ink) 25%, transparent);
  animation: notify-nudge 0.4s ease;
}

@keyframes notify-nudge {
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .notify__consent.is-missing .notify__box { animation: none; }
}
