@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mark: "Newsreader", Georgia, "Times New Roman", serif;
  --hairline: 0.5px;
  --radius-card: 20px;
  --radius-field: 14px;
  --gutter: clamp(16px, 5vw, 40px);
  --measure-legal: 720px;
  --shadow-soft: 0 24px 48px -28px color-mix(in srgb, var(--ds-rec) 90%, transparent);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60% 520px at 88% 0%, var(--ds-orb1), transparent 70%) top / 100% 720px no-repeat,
    radial-gradient(50% 480px at 6% 12%, var(--ds-orb2), transparent 70%) top / 100% 720px no-repeat,
    var(--ds-bg);
  color: var(--ds-t1);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
fieldset,
dl {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

a {
  color: inherit;
}

fieldset {
  border: 0;
  min-width: 0;
}

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

[hidden] {
  display: none !important;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--ds-t1);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ds-over);
  color: var(--ds-t1);
  text-decoration: none;
  font-weight: 500;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header {
  border-bottom: var(--hairline) solid var(--ds-line);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  min-height: 72px;
  padding-block: 12px;
}

.wordmark {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ds-t1);
  text-decoration: none;
  padding-block: 6px;
}

.site-nav {
  flex: 1 1 auto;
  order: 2;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ds-t2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ds-t1);
}

.site-nav .nav-cta {
  color: var(--ds-t1);
  border: var(--hairline) solid var(--ds-edge);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  order: 3;
}

.menu-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: var(--hairline) solid var(--ds-edge);
  background: transparent;
  color: var(--ds-t1);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.js .menu-toggle {
  display: inline-flex;
}

@media (min-width: 861px) {
  .js .menu-toggle {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-nav {
    order: 4;
    flex-basis: 100%;
  }

  .js .site-nav[data-open="false"] {
    display: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .site-nav a {
    width: 100%;
    border-radius: 12px;
  }
}

/* Colour world and mode controls */

.theme-control {
  display: none;
}

.js .theme-control {
  display: flex;
}

.dots {
  align-items: center;
  gap: 2px;
}

.dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.dot__swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: var(--hairline) solid var(--ds-t3);
  background: radial-gradient(circle at 32% 28%, var(--swatch-b), var(--swatch-a));
}

.dot--wine,
.pill--wine {
  --swatch-a: var(--w-wine-a);
  --swatch-b: var(--w-wine-b);
}

.dot--verdigris,
.pill--verdigris {
  --swatch-a: var(--w-verdigris-a);
  --swatch-b: var(--w-verdigris-b);
}

.dot--bronze,
.pill--bronze {
  --swatch-a: var(--w-bronze-a);
  --swatch-b: var(--w-bronze-b);
}

.dot input:checked + .dot__swatch {
  box-shadow: 0 0 0 2px var(--ds-bg), 0 0 0 3.5px var(--ds-sig);
}

.dot input:focus-visible + .dot__swatch {
  outline: 2px solid var(--ds-t1);
  outline-offset: 5px;
  border-radius: 50%;
}

/* Sections */

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section + .section {
  border-top: var(--hairline) solid var(--ds-line);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-t3);
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 22ch;
}

.section-lead {
  margin-top: 14px;
  max-width: 56ch;
  color: var(--ds-t2);
  font-size: 1.0625rem;
}

.section-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.hero {
  padding-block: clamp(64px, 11vw, 136px) clamp(56px, 9vw, 104px);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 1.4rem + 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 14ch;
}

.hero__sub {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--ds-t2);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.age-line {
  margin-top: 18px;
  color: var(--ds-t3);
  font-size: 0.9375rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: var(--hairline) solid transparent;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(180deg, var(--ds-d1), var(--ds-d2));
  color: white;
  box-shadow: inset 0 var(--hairline) 0 var(--ds-sheen), 0 14px 28px -16px var(--ds-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--ds-t1);
  border-color: var(--ds-edge);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .btn,
  .site-nav a,
  .dot__swatch,
  .choice__body,
  .pill__body {
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  }
}

/* Cards and grids */

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border-radius: var(--radius-card);
  border: var(--hairline) solid var(--ds-line);
  background: var(--ds-raised);
  box-shadow: inset 0 var(--hairline) 0 var(--ds-sheen), var(--shadow-soft);
}

.card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.card p {
  color: var(--ds-t2);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: var(--hairline) solid var(--ds-edge);
  color: var(--ds-t2);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.callout {
  margin-top: 16px;
  padding: 28px 24px;
  border-radius: var(--radius-card);
  border: var(--hairline) solid var(--ds-line);
  border-inline-start: 2px solid var(--ds-acc);
  background: var(--ds-rec);
}

.callout h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.callout p {
  margin-top: 8px;
  max-width: 60ch;
  color: var(--ds-t2);
}

.callout ul {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  color: var(--ds-t1);
}

.callout li {
  padding-inline-start: 18px;
  position: relative;
}

.callout li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-ok);
}

/* Make it yours */

.world-picker {
  display: grid;
  gap: 24px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pick-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ds-t2);
}

.pill {
  position: relative;
  display: inline-flex;
}

.pill__body {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: var(--hairline) solid var(--ds-edge);
  background: var(--ds-raised);
  color: var(--ds-t1);
  font-weight: 500;
  cursor: pointer;
}

.pill input:checked + .pill__body {
  background: var(--ds-over);
  border: 1.5px solid var(--ds-t1);
}

.pill input:focus-visible + .pill__body {
  outline: 2px solid var(--ds-t1);
  outline-offset: 3px;
}

.pill__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: var(--hairline) solid var(--ds-t3);
  background: radial-gradient(circle at 32% 28%, var(--swatch-b), var(--swatch-a));
}

.note {
  color: var(--ds-t3);
  font-size: 0.9375rem;
  max-width: 60ch;
}

/* Tiers */

.tier ul {
  margin-top: 6px;
}

.tier li {
  padding: 12px 0;
  border-top: var(--hairline) solid var(--ds-line);
  color: var(--ds-t1);
  font-variant-numeric: tabular-nums;
}

.tier__name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier__marks {
  display: inline-flex;
  gap: 3px;
  color: var(--ds-t2);
}

.tier__marks svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* FAQ */

.faq {
  max-width: 760px;
  border-top: var(--hairline) solid var(--ds-line);
}

.faq details {
  border-bottom: var(--hairline) solid var(--ds-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 0;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

/* The question is a heading for structure; it keeps the summary's own type. */
.faq__q {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ds-t2);
  border-bottom: 1.5px solid var(--ds-t2);
  transform: rotate(45deg);
}

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

.faq details p {
  padding-bottom: 20px;
  max-width: 60ch;
  color: var(--ds-t2);
}

/* Get the app */

.get-app {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--radius-card) + 6px);
  border: var(--hairline) solid var(--ds-line);
  background: var(--ds-raised);
  box-shadow: inset 0 var(--hairline) 0 var(--ds-sheen), var(--shadow-soft);
}

.get-app h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.get-app p {
  color: var(--ds-t2);
  max-width: 56ch;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.play-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
}

.play-badge img {
  display: block;
  width: 186px;
  height: auto;
}

.play-badge:focus-visible {
  outline: 2px solid var(--ds-t1);
  outline-offset: 2px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  min-height: 56px;
  padding: 8px 20px;
  border-radius: 14px;
  border: var(--hairline) solid var(--ds-edge);
  background: var(--ds-rec);
  color: var(--ds-t1);
  text-decoration: none;
  line-height: 1.2;
}

.store small {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ds-t2);
}

.store strong {
  font-size: 1.125rem;
  font-weight: 500;
}

.text-link {
  color: var(--ds-t1);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: var(--hairline) solid var(--ds-line);
  padding-block: 40px 48px;
}

.site-footer__inner {
  display: grid;
  gap: 20px;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px 0 0;
  color: var(--ds-t2);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--ds-t1);
}

.site-footer p {
  color: var(--ds-t3);
  font-size: 0.875rem;
}

/* Forms, waitlist and invite */

.page-narrow {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(40px, 8vw, 88px) var(--gutter) clamp(56px, 9vw, 104px);
}

.page-narrow h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.page-narrow .lead {
  margin-top: 18px;
  color: var(--ds-t2);
  font-size: 1.0625rem;
}

.form {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.field legend,
.field .field__label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-weight: 500;
}

.field__hint {
  margin-bottom: 10px;
  color: var(--ds-t3);
  font-size: 0.9375rem;
}

.choices {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.choice {
  position: relative;
  display: block;
}

.choice__body {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-field);
  border: var(--hairline) solid var(--ds-edge);
  background: var(--ds-raised);
  font-weight: 500;
  cursor: pointer;
}

.choice__body::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--ds-t3);
}

.choice input:checked + .choice__body {
  border: 1.5px solid var(--ds-t1);
  background: var(--ds-over);
}

.choice input:checked + .choice__body::before {
  border-color: var(--ds-t1);
  background: radial-gradient(circle, var(--ds-t1) 0 38%, transparent 42%);
}

.choice input:focus-visible + .choice__body {
  outline: 2px solid var(--ds-t1);
  outline-offset: 3px;
}

.input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-field);
  border: 1px solid var(--ds-t3);
  background: var(--ds-rec);
  color: var(--ds-t1);
  font-size: 1rem;
}

.input[aria-invalid="true"] {
  border-color: var(--ds-danger);
}

.error {
  margin-top: 8px;
  color: var(--ds-danger);
  font-size: 0.9375rem;
  font-weight: 500;
}

.panel {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-card);
  border: var(--hairline) solid var(--ds-line);
  background: var(--ds-raised);
  box-shadow: inset 0 var(--hairline) 0 var(--ds-sheen), var(--shadow-soft);
  display: grid;
  gap: 14px;
}

.panel h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.panel p {
  color: var(--ds-t2);
}

.status {
  min-height: 1.6em;
  color: var(--ds-t2);
}

/* Legal pages */

.legal {
  width: 100%;
  max-width: calc(var(--measure-legal) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(56px, 9vw, 96px);
}

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  padding-bottom: 14px;
  border-bottom: var(--hairline) solid var(--ds-line);
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px 0 0;
  color: var(--ds-t2);
  font-size: 0.9375rem;
  text-decoration: none;
}

.legal-nav a[aria-current="page"] {
  color: var(--ds-t1);
  font-weight: 500;
}

.legal h1 {
  margin-top: 32px;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.legal .meta {
  margin-top: 10px;
  color: var(--ds-t3);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.legal .lead {
  margin-top: 20px;
  color: var(--ds-t2);
  font-size: 1.0625rem;
}

.toc {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  border: var(--hairline) solid var(--ds-line);
  background: var(--ds-raised);
}

.toc h2 {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-t3);
  font-weight: 500;
}

.toc ol {
  margin-top: 8px;
  display: grid;
  gap: 2px;
}

.toc a {
  display: inline-block;
  padding: 4px 0;
  color: var(--ds-t2);
  font-size: 0.9375rem;
}

.legal section {
  margin-top: 40px;
  scroll-margin-top: 24px;
}

.legal section h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.legal section p,
.legal section li {
  margin-top: 12px;
  color: var(--ds-t2);
}

.legal section ul {
  margin-top: 4px;
  padding-inline-start: 1.25rem;
  list-style: disc;
}

.legal section a {
  color: var(--ds-t1);
  text-underline-offset: 3px;
}

/* 404 */

.lost__code {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  line-height: 1;
  color: var(--ds-t3);
  font-variant-numeric: tabular-nums;
}

/* Text pages, page tops and links */

.legal > .eyebrow {
  margin-top: 8px;
}

.legal > .eyebrow + h1 {
  margin-top: 14px;
}

.page-top {
  padding-block: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 40px);
}

.page-title {
  margin-top: 14px;
  max-width: 20ch;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.page-top .lead {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--ds-t2);
  font-size: 1.0625rem;
}

.page-top .grid {
  margin-top: clamp(28px, 4vw, 44px);
}

@media (min-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 560px) and (max-width: 959px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card__title {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.card__title a {
  text-decoration: none;
}

.card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.more {
  margin-top: 24px;
}

.tier__price {
  color: var(--ds-t1);
  font-weight: 500;
}

.actions .btn,
.legal .actions a.btn {
  text-decoration: none;
}

.legal .actions {
  margin-top: 32px;
}

.legal a.btn--primary {
  color: white;
}

.page-join {
  max-width: 640px;
}

.combo {
  position: relative;
}

.combo__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  border-radius: var(--radius-field);
  border: 1px solid var(--ds-t3);
  background: var(--ds-rec);
  color: var(--ds-t1);
  overscroll-behavior: contain;
}

.combo__list[hidden] {
  display: none;
}

.combo__group {
  padding: 12px 18px 4px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-t3);
  font-weight: 500;
}

.combo__option {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
}

.combo__option[data-active="true"],
.combo__option:hover {
  background: var(--ds-t3);
  color: var(--ds-rec);
}

.combo__option[aria-selected="true"] {
  font-weight: 600;
}

.combo__note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ds-t2);
}

.combo__retry {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.more-cities {
  margin-top: 48px;
}

.more-cities__title {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-t3);
  font-weight: 500;
}

.more-cities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 8px;
}

.more-cities a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px 0 0;
  border: 0;
  background: transparent;
  color: var(--ds-t2);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--ds-t1);
}

:focus-visible {
  outline: 2px solid var(--ds-t1);
  outline-offset: 3px;
}

/* Consent banner */

.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: grid;
  gap: 14px;
  padding: 18px var(--gutter);
  border-top: var(--hairline) solid var(--ds-edge);
  background: var(--ds-raised);
  box-shadow: 0 -16px 40px -24px var(--ds-rec);
}

.consent__text {
  max-width: 70ch;
  color: var(--ds-t2);
  font-size: 0.9375rem;
}

.consent__text a {
  color: var(--ds-t1);
  text-underline-offset: 3px;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent__actions .btn {
  min-height: 48px;
  padding: 0 22px;
}

@media (min-width: 860px) {
  .consent {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
  }
}

/* Waitlist form */

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__step {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.form .actions {
  margin-top: 0;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 44px;
  color: var(--ds-t2);
  font-size: 0.9375rem;
}

.consent-check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: var(--ds-d1);
}

.consent-check a {
  display: inline-block;
  min-height: 24px;
}

.input--code {
  max-width: 14rem;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-align: center;
}

.note .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Waitlist form: state filter, date of birth, phone, error summary, data notice */

select.input {
  font: inherit;
  padding-right: 12px;
}

.dob {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px;
}

.dob .field__label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ds-t2);
}

.dob .input {
  padding: 0 12px;
  text-align: center;
}

.phone {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.phone__prefix {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 56px;
  padding: 0 16px;
  border-radius: var(--radius-field);
  border: 1px solid var(--ds-line);
  background: var(--ds-raised);
  color: var(--ds-t2);
  font-weight: 500;
  user-select: none;
}

.phone .input {
  flex: 1 1 auto;
  min-width: 0;
}

.error-summary {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--ds-danger);
  background: var(--ds-raised);
}

.error-summary h3 {
  font-size: 1rem;
  font-weight: 600;
}

.error-summary ul {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.error-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ds-danger);
  font-weight: 500;
}

.error-summary[hidden] {
  display: none;
}

.notice {
  padding: 20px;
  border-radius: var(--radius-card);
  border: var(--hairline) solid var(--ds-line);
  background: var(--ds-raised);
  color: var(--ds-t2);
  font-size: 0.9375rem;
  display: grid;
  gap: 12px;
}

.notice h3 {
  color: var(--ds-t1);
  font-size: 1rem;
  font-weight: 600;
}

.notice ul {
  display: grid;
  gap: 8px;
}

.notice strong {
  color: var(--ds-t1);
  font-weight: 500;
}

.combo__group:empty {
  display: none;
}

/* ---- Invite journey: the locked Wine look, whichever colour world the page is in. Colours come from --inv-* tokens. ---- */
html.invite-lock {
  overflow: hidden;
}

.nav-cta-item {
  list-style: none;
}

.btn--invite {
  font-size: 1.0625rem;
  min-height: 56px;
  padding-inline: 36px;
}

.hero__cta {
  margin-top: 32px;
}

.hero__note {
  margin-top: 14px;
  color: var(--ds-t3);
  font-size: 0.9375rem;
}

.hero h1 em,
.club-title {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 400;
}

.hero h1 em {
  color: var(--ds-t1);
}

dialog.invite {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--inv-t1);
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

dialog.invite:not([open]) {
  display: none;
}

dialog.invite::backdrop {
  background: color-mix(in srgb, var(--inv-bg) 78%, transparent);
  backdrop-filter: blur(6px);
}

.invite__sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 48px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 28px 28px;
  background: var(--inv-bg);
  border: 1px solid var(--inv-line);
  border-radius: 28px;
  font-family: var(--font-body);
  color: var(--inv-t1);
}

.invite__grab {
  display: none;
}

.invite__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.invite__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--inv-line);
  background: var(--inv-s1);
  color: var(--inv-t1);
  cursor: pointer;
}

.invite__icon svg {
  width: 20px;
  height: 20px;
}

.invite__progress {
  margin-inline-start: 56px;
}

.invite__progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--inv-s2);
  overflow: hidden;
}

.invite__bar {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--inv-t2);
}

.invite__progress[data-step="2"] .invite__bar { width: 50%; }
.invite__progress[data-step="3"] .invite__bar { width: 75%; }
.invite__progress[data-step="4"] .invite__bar { width: 100%; }

.invite__step[hidden] {
  display: none;
}

.invite__title {
  font-family: var(--font-mark);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--inv-t1);
}

.invite__title:focus-visible {
  outline: none;
}

.invite__title--big {
  font-size: clamp(2.5rem, 2rem + 3vw, 3.25rem);
}

.invite__lead {
  margin-top: 12px;
  margin-bottom: 24px;
  color: var(--inv-t2);
  font-size: 1rem;
  line-height: 1.5;
}

.invite .field {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.invite .field__label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--inv-t2);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.invite .input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--inv-line);
  background: var(--inv-s1);
  color: var(--inv-t1);
  font: inherit;
  font-size: 1rem;
}

.invite select.input {
  appearance: none;
  padding-inline-end: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--inv-t2) 50%), linear-gradient(135deg, var(--inv-t2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.invite .input::placeholder {
  color: var(--inv-t2);
  opacity: 0.8;
}

.invite .input:focus-visible,
.invite .btn:focus-visible,
.invite__icon:focus-visible,
.invite__link:focus-visible,
.invite summary:focus-visible,
.invite .text-link:focus-visible,
.invite .store:focus-visible {
  outline: 2px solid var(--inv-t1);
  outline-offset: 2px;
}

.invite .input[aria-invalid="true"] {
  border-color: var(--inv-danger);
}

.invite .input--code {
  letter-spacing: 0.4em;
  font-size: 1.5rem;
  text-align: center;
}

.invite .phone {
  display: flex;
  gap: 8px;
}

.invite .phone__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--inv-line);
  background: var(--inv-s2);
  color: var(--inv-t1);
  font-weight: 500;
}

.invite .dob {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 1fr;
  gap: 8px;
}

.invite .dob .field__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.invite .error {
  margin-top: 8px;
  color: var(--inv-danger);
  font-size: 0.9375rem;
}

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

.chip {
  flex: 1 1 auto;
  cursor: pointer;
}

.chip__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--inv-line);
  background: var(--inv-s1);
  color: var(--inv-t1);
  font-size: 1rem;
  text-align: center;
}

.chip input:checked + .chip__body {
  background: var(--inv-sel);
  border-color: var(--inv-t2);
}

/* On /join the chips follow the page theme: an unselected chip is outlined in the theme line colour with ink text; a selected one keeps the filled style. */
[data-webjoin] .chip__body {
  border-color: var(--ds-line);
  background: transparent;
  color: var(--ds-t1);
}

[data-webjoin] .chip input:checked + .chip__body {
  background: var(--inv-sel);
  border-color: var(--inv-t2);
  color: var(--inv-t1);
}

[data-webjoin] .chip input:focus-visible + .chip__body {
  outline-color: var(--ds-t1);
}

.chip input:focus-visible + .chip__body {
  outline: 2px solid var(--inv-t1);
  outline-offset: 2px;
}

.invite__actions {
  margin-top: 8px;
}

.invite__primary,
.invite__secondary {
  width: 100%;
  min-height: 56px;
}

.invite .btn--primary {
  background: var(--inv-rose);
  box-shadow: none;
  color: var(--inv-white);
  font-size: 1.1875rem;
  font-weight: 700;
}

.invite .btn--primary:disabled {
  opacity: 0.6;
  cursor: progress;
}

.invite .btn--ghost {
  background: var(--inv-s1);
  border: 1px solid var(--inv-line);
  color: var(--inv-t1);
}

.invite__fine {
  margin-top: 16px;
  color: var(--inv-t2);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.invite .text-link,
.invite__fine a {
  color: var(--inv-t1);
}

.invite__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}

.invite__link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--inv-t1);
  font: inherit;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.invite__link:disabled {
  color: var(--inv-t2);
  text-decoration: none;
  cursor: default;
}

.invite__more {
  margin-top: 12px;
  color: var(--inv-t2);
  font-size: 0.875rem;
}

.invite__more summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.invite .notice {
  margin-top: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--inv-line);
  background: var(--inv-s1);
  color: var(--inv-t2);
}

.invite .notice h3 {
  color: var(--inv-t1);
}

.invite__card {
  margin: 0 0 24px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--inv-line);
  background: var(--inv-s1);
}

.invite__card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--inv-t1);
}

.invite__card p {
  margin-top: 6px;
  margin-bottom: 16px;
  color: var(--inv-t2);
  line-height: 1.5;
}

.invite .store {
  background: var(--inv-s2);
  border: 1px solid var(--inv-line);
  color: var(--inv-t1);
}

.invite .store small {
  color: var(--inv-t2);
}

.invite .combo__list {
  position: static;
  margin-top: 8px;
  max-height: min(38dvh, 280px);
  background: var(--inv-s2);
  border: 1px solid var(--inv-line);
  color: var(--inv-t1);
  z-index: 5;
}

.invite .combo__group {
  color: var(--inv-t2);
}

.invite .combo__option[data-active="true"],
.invite .combo__option:hover {
  background: var(--inv-sel);
  color: var(--inv-t1);
}

.invite .combo__note {
  color: var(--inv-t2);
}

@media (prefers-reduced-motion: no-preference) {
  .invite__bar {
    transition: width 220ms ease;
  }

  dialog.invite[open] .invite__sheet {
    animation: invite-in 200ms ease-out;
  }
}

@keyframes invite-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes invite-sheet-in {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

/* Phones: a bottom sheet. */
@media (max-width: 640px) {
  .invite__sheet {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    max-height: 92dvh;
    padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    border-bottom: 0;
  }

  .invite__grab {
    display: block;
    width: 40px;
    height: 4px;
    margin: 4px auto 14px;
    border-radius: 999px;
    background: var(--inv-line);
  }

  .invite__top {
    margin-bottom: 20px;
  }

  @media (prefers-reduced-motion: no-preference) {
    dialog.invite[open] .invite__sheet {
      animation: invite-sheet-in 220ms ease-out;
    }
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.75rem;
  margin-block: 1rem;
}

.photo-grid__item {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.photo-grid__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}
