@font-face {
  font-family: "Spectral";
  src: url("/assets/fonts/Spectral-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("/assets/fonts/Spectral-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("/assets/fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("/assets/fonts/FiraSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --surface: #fbf8f9;
  --surface-alt: #f4eef1;
  --ink: #221c20;
  --soft: #6f666b;
  --faint: #a79ea3;
  --line: #efe9ec;
  --accent: #e8508f;
  --accent-deep: #c2306c;
  --tint: #fdeef4;
  --radius: 18px;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

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

.wrap {
  width: min(1080px, 100% - 40px);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 249, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 22px/1 var(--serif);
  letter-spacing: 0.2px;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--soft);
  text-decoration: none;
}

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

.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(232, 80, 143, 0.16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(139, 92, 246, 0.08), transparent 60%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero h1 {
  margin: 18px 0 16px;
  font: 600 clamp(42px, 6vw, 68px) / 1.05 var(--serif);
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p.lead {
  max-width: 520px;
  margin: 0 0 32px;
  color: var(--soft);
  font-size: 19px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(380px, 80vw);
  aspect-ratio: 1;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 80, 143, 0.35), transparent 70%);
  filter: blur(24px);
}

.hero-art img {
  position: relative;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img {
    animation: none;
  }
}

/* Store buttons */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}

.store:hover {
  color: #fff;
  background: #000;
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
}

.store strong {
  font-weight: 500;
  font-size: 17px;
}

.store.soon {
  background: var(--paper);
  color: var(--soft);
  border: 1px solid var(--line);
  cursor: default;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 12px;
  font: 600 clamp(30px, 4vw, 40px) / 1.15 var(--serif);
}

.section .sub {
  max-width: 620px;
  margin: 0 0 44px;
  color: var(--soft);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent-deep);
}

.feature .icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin: 0 0 6px;
  font: 600 21px/1.25 var(--serif);
}

.feature p {
  margin: 0;
  color: var(--soft);
  font-size: 15.5px;
}

.cta {
  text-align: center;
}

.cta .stores {
  justify-content: center;
}

.notice {
  margin-top: 28px;
  color: var(--faint);
  font-size: 14px;
}

/* Legal / document pages */
.doc {
  padding: 56px 0 96px;
}

.doc article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(22px, 5vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.doc h1 {
  margin: 0 0 6px;
  font: 600 clamp(32px, 4.5vw, 44px) / 1.1 var(--serif);
}

.doc .updated {
  margin: 0 0 32px;
  color: var(--faint);
  font-size: 14px;
}

.doc h2 {
  margin: 40px 0 10px;
  font: 600 24px/1.25 var(--serif);
}

.doc h3 {
  margin: 24px 0 6px;
  font-size: 17px;
  font-weight: 500;
}

.doc p,
.doc li {
  color: #3b3338;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

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

.doc .callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--tint);
  border: 1px solid #f6ccde;
}

.doc .callout p {
  margin: 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  color: var(--soft);
  font-weight: 500;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
}

.steps li {
  position: relative;
  padding-left: 44px;
  min-height: 30px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 500;
}

.mail {
  display: inline-block;
  margin: 4px 0;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--soft);
  font-size: 14.5px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.site-footer a {
  color: var(--soft);
  text-decoration: none;
}

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

.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found h1 {
  font: 600 48px/1.1 var(--serif);
  margin: 0 0 12px;
}

@media (max-width: 820px) {
  .hero {
    padding: 56px 0 64px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .stores {
    justify-content: center;
  }

  .hero-art {
    grid-row: 1;
    width: 200px;
  }

  .nav a:not(.lang) {
    display: none;
  }
}
