/* Tokens. Day is the default; night applies via prefers-color-scheme or data-theme="dark". */
:root {
  --font: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --outer: #d3d6de;
  --shell: #eceef3;
  --text: #1d1d1f;
  --text-2: #515158;
  --text-3: #76767e;
  --hairline: rgba(20, 28, 56, 0.1);
  --hairline-strong: rgba(20, 28, 56, 0.16);
  --accent: #0071e3;
  --pending: #d27400;

  --glass: rgba(255, 255, 255, 0.62);
  --glass-nav: rgba(255, 255, 255, 0.7);
  --glass-edge: rgba(255, 255, 255, 1);
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.38));
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 1px 2px rgba(20, 30, 70, 0.06), 0 14px 30px -16px rgba(20, 30, 80, 0.22), 0 44px 80px -36px rgba(30, 44, 120, 0.4);
  --well: rgba(20, 30, 70, 0.045);
  --skeleton: rgba(20, 30, 70, 0.09);
  --skeleton-strong: rgba(20, 30, 70, 0.16);

  --aura-1: rgba(64, 128, 255, 0.46);
  --aura-2: rgba(150, 100, 255, 0.4);
  --aura-3: rgba(30, 180, 255, 0.32);
  --glow: rgba(0, 113, 227, 0.32);

  --tile-edge: rgba(255, 255, 255, 0.16);
  --tile-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 10px 22px -8px rgba(10, 20, 60, 0.32), 0 30px 60px -16px rgba(20, 44, 140, 0.38);
  --flyer: #1d1d1f;
  --lift: 0 1px 2px rgba(20, 30, 70, 0.07), 0 8px 20px -10px rgba(20, 30, 90, 0.26);
  --nav-shadow: 0 1px 2px rgba(20, 30, 70, 0.06), 0 14px 34px -14px rgba(20, 30, 90, 0.3);

  --frame: 8px;
  --frame-radius: 28px;
  --wrap: 1120px;
  --gutter: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --outer: #000;
    --shell: #0b0b0d;
    --text: #f5f5f7;
    --text-2: rgba(235, 235, 245, 0.64);
    --text-3: rgba(235, 235, 245, 0.42);
    --hairline: rgba(255, 255, 255, 0.08);
    --hairline-strong: rgba(255, 255, 255, 0.14);
    --accent: #2997ff;
    --pending: #ffb340;

    --glass: rgba(30, 30, 34, 0.5);
    --glass-nav: rgba(24, 24, 28, 0.62);
    --glass-edge: rgba(255, 255, 255, 0.1);
    --card: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.8);
    --well: rgba(255, 255, 255, 0.04);
    --skeleton: rgba(255, 255, 255, 0.09);
    --skeleton-strong: rgba(255, 255, 255, 0.18);

    --aura-1: rgba(40, 90, 220, 0.3);
    --aura-2: rgba(110, 70, 220, 0.2);
    --aura-3: rgba(20, 140, 200, 0.16);
    --glow: rgba(41, 151, 255, 0.28);

    --tile-edge: rgba(255, 255, 255, 0.16);
    --tile-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px -12px rgba(0, 0, 0, 0.9);
    --flyer: #fff;
    --lift: 0 0 #0000;
    --nav-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.28);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --outer: #000;
  --shell: #0b0b0d;
  --text: #f5f5f7;
  --text-2: rgba(235, 235, 245, 0.64);
  --text-3: rgba(235, 235, 245, 0.42);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --accent: #2997ff;
  --pending: #ffb340;

  --glass: rgba(30, 30, 34, 0.5);
  --glass-nav: rgba(24, 24, 28, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.1);
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --well: rgba(255, 255, 255, 0.04);
  --skeleton: rgba(255, 255, 255, 0.09);
  --skeleton-strong: rgba(255, 255, 255, 0.18);

  --aura-1: rgba(40, 90, 220, 0.3);
  --aura-2: rgba(110, 70, 220, 0.2);
  --aura-3: rgba(20, 140, 200, 0.16);
  --glow: rgba(41, 151, 255, 0.28);

  --tile-edge: rgba(255, 255, 255, 0.16);
  --tile-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px -12px rgba(0, 0, 0, 0.9);
  --flyer: #fff;
  --lift: 0 0 #0000;
  --nav-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.28);

  color-scheme: dark;
}

/* Base */

* { box-sizing: border-box; }

html {
  background: var(--outer);
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color 360ms ease, border-color 360ms ease, color 360ms ease, box-shadow 360ms ease !important;
}

img, svg { display: block; }

a { color: inherit; }

p { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: fixed;
  left: 24px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--shell);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 24px; }

/* Window shell: an 8px frame with rounded inner corners, fixed to the viewport. */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 45% at 18% -5%, var(--aura-1), transparent 70%),
    radial-gradient(45% 40% at 92% 8%, var(--aura-2), transparent 70%),
    radial-gradient(70% 55% at 50% 115%, var(--aura-3), transparent 70%),
    var(--shell);
}

.frame {
  position: fixed;
  inset: var(--frame);
  z-index: 60;
  border-radius: var(--frame-radius);
  box-shadow: 0 0 0 calc(var(--frame) + 40px) var(--outer), inset 0 0 0 1px var(--hairline);
  pointer-events: none;
}

/* Floating glass nav */

.nav {
  position: fixed;
  top: calc(var(--frame) + 10px);
  left: 50%;
  z-index: 50;
  width: min(1040px, calc(100% - 2 * var(--frame) - 20px));
  transform: translateX(-50%);
  border-radius: 22px;
  background: var(--glass-nav);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--nav-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding: 0 8px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--hairline);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-links a {
  padding: 7px 12px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--well);
}

.nav-links a[aria-current="page"] { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, background-color 160ms ease;
}

.icon-button:hover { color: var(--text); background: var(--well); }

.theme-toggle .icon-moon { display: none; }
.theme-toggle[data-current="light"] .icon-sun { display: none; }
.theme-toggle[data-current="light"] .icon-moon { display: block; }

.menu-toggle { display: none; }

.menu-toggle path { transition: transform 240ms var(--ease-out); transform-origin: 12px 12px; }
.nav.is-open .menu-line-a { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .menu-line-b { transform: translateY(-3.5px) rotate(-45deg); }

/* Layout */

main, .footer-inner {
  width: min(var(--wrap), calc(100% - 2 * var(--frame) - 2 * var(--gutter)));
  margin: 0 auto;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 176px 0 120px;
}

.hero-name {
  margin-top: 36px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 12.5ch;
  margin-top: 10px;
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 700;
}

.soft { color: var(--text-3); }

.hero h1 .soft { display: block; }

.hero-support {
  max-width: 34rem;
  text-wrap: balance;
  margin-top: 24px;
  color: var(--text-2);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.018em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--lift);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 200ms var(--ease-out), border-color 200ms ease;
}

.chip svg { color: var(--text-2); }
.chip:hover { border-color: var(--hairline-strong); transform: translateY(-1px); }

/* Hero mark and its send animation */

.mark {
  --size: 120px;
  position: relative;
  isolation: isolate;
  width: var(--size);
  height: var(--size);
}

.mark-glow {
  position: absolute;
  inset: -90%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}

.mark-tile {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  border-radius: 23%;
  background: linear-gradient(180deg, #1c1c1f 0%, #050506 60%, #000 100%);
  box-shadow: inset 0 1px 0 var(--tile-edge), var(--tile-shadow);
}

.mark-glyph,
.mark-flyer,
.mark-flyer svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mark-glyph path { fill: #fff; }
.mark-flyer path { fill: var(--flyer); }

.mark-flyer,
.mark-ring { opacity: 0; pointer-events: none; }

.mark-flyer { z-index: 1; }

.mark-flyer::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 69%;
  width: calc(var(--size) * 2.4);
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--flyer));
  transform: scaleX(0);
  transform-origin: right center;
}

.mark-ring {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: 23%;
  border: 1.5px solid var(--accent);
}

.js .mark:not(.is-settled) {
  opacity: 0;
  animation: mark-fallback 0s 2.5s forwards;
}

@keyframes mark-fallback { to { opacity: 1; } }

.mark.is-entering {
  animation: mark-enter 620ms var(--ease-out) both;
}

.mark.is-sending .mark-tile { animation: tile-recoil 1000ms both; }
.mark.is-sending .mark-glyph { animation: glyph-send 1000ms both; }
.mark.is-sending .mark-flyer { animation: flyer-send 1000ms both; }
.mark.is-sending .mark-flyer::before { animation: trail-send 1000ms both; }
.mark.is-sending .mark-ring { animation: ring-send 1000ms both; }

@keyframes mark-enter {
  0%   { opacity: 0; transform: translateY(28px) scale(0.78); filter: blur(10px); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* 0-140ms anticipation, 140-420ms launch, 460-1000ms a fresh glyph settles in. */
@keyframes glyph-send {
  0%     { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.3, 0, 0.5, 1); }
  14%    { transform: translateX(-7%) scale(0.9); opacity: 1; }
  14.1%  { transform: translateX(-7%) scale(0.9); opacity: 0; }
  46%    { transform: translateX(-115%); opacity: 0; }
  46.1%  { transform: translateX(-115%); opacity: 1; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  82%    { transform: translateX(2.5%); animation-timing-function: ease-in-out; }
  100%   { transform: none; opacity: 1; }
}

@keyframes flyer-send {
  0%, 14% { transform: translateX(-7%) scale(0.9); opacity: 0; }
  14.1%   { transform: translateX(-7%) scale(0.9); opacity: 1; animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); }
  32%     { transform: translateX(210%) scale(1.02); opacity: 1; animation-timing-function: linear; }
  42%     { transform: translateX(430%) scale(1.04); opacity: 0; }
  100%    { transform: translateX(430%); opacity: 0; }
}

@keyframes trail-send {
  0%, 14% { transform: scaleX(0); opacity: 0; }
  14.1%   { transform: scaleX(0); opacity: 0.7; animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); }
  32%     { transform: scaleX(1); opacity: 0.55; animation-timing-function: linear; }
  42%     { transform: scaleX(1.2); opacity: 0; }
  100%    { transform: scaleX(1.2); opacity: 0; }
}

@keyframes ring-send {
  0%, 14% { transform: scale(1); opacity: 0; }
  18%     { transform: scale(1.02); opacity: 0.6; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  70%     { transform: scale(1.5); opacity: 0; }
  100%    { transform: scale(1.5); opacity: 0; }
}

@keyframes tile-recoil {
  0%, 14% { transform: none; }
  19%     { transform: translateX(-3%) scale(0.97); animation-timing-function: var(--ease-spring); }
  40%     { transform: none; }
  100%    { transform: none; }
}

/* Sections */

.section {
  padding: 40px 0 120px;
}

.section-head {
  max-width: 44rem;
  margin: 0 0 56px;
}

.section-head h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section-head p {
  margin-top: 16px;
  text-wrap: balance;
  color: var(--text-2);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.018em;
}

/* Glass cards */

.ways {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ways::before,
.shelf-wrap::before {
  content: "";
  position: absolute;
  inset: 6% -4% -2%;
  z-index: -1;
  background:
    radial-gradient(38% 55% at 18% 45%, var(--aura-1), transparent 70%),
    radial-gradient(38% 55% at 82% 55%, var(--aura-2), transparent 70%),
    radial-gradient(30% 45% at 50% 95%, var(--aura-3), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--hairline);
  background: var(--card);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-bottom: 14px;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pending);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pending) 22%, transparent);
}

.card h3 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.role {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
}

.steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-top: 1px solid var(--hairline);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.45;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 11px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--well);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.card-foot {
  margin-top: auto;
  padding-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--shell);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.button[aria-disabled="true"] {
  background: var(--well);
  border: 1px solid var(--hairline);
  color: var(--text-2);
  cursor: default;
}

.meta {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.45;
}

.meta a {
  color: var(--accent);
  text-decoration: none;
}

.meta a:hover { text-decoration: underline; }

/* Card vignettes: skeleton illustrations of each surface, no real UI copy. */

.vignette {
  position: relative;
  height: 188px;
  padding: 24px 24px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(80% 90% at 50% 0%, var(--aura-1), transparent 75%),
    var(--well);
}

.v-window {
  position: relative;
  height: 100%;
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--hairline-strong);
  border-bottom: 0;
  background: var(--glass-nav);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}

.v-lights { display: inline-flex; gap: 5px; }
.v-lights i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.v-lights i:nth-child(2) { background: #febc2e; }
.v-lights i:nth-child(3) { background: #28c840; }

.vignette-mac .v-window {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 10px;
  padding: 6px;
}

.v-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-edge);
}

.v-sidebar .v-lights { margin-bottom: 6px; }
.v-row { height: 9px; border-radius: 5px; background: var(--skeleton); }
.v-row.is-active { height: 16px; background: var(--skeleton-strong); }
.v-row:nth-child(3) { width: 80%; }
.v-row:nth-child(4) { width: 64%; }

.v-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 6px 0 0;
}

.v-grid .cover-art { border-radius: 7px; aspect-ratio: 4 / 3; }

.v-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 10px 0 12px;
  border-bottom: 1px solid var(--hairline);
}

.v-address {
  flex: 1;
  height: 20px;
  border-radius: 999px;
  background: var(--skeleton);
}

.v-ext {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);
}

.v-ext svg, .v-send svg { width: 100%; height: 100%; }
.v-ext path, .v-send path { fill: #fff; }

.v-article { padding: 20px 20px 0; }
.v-line { display: block; height: 8px; margin-bottom: 10px; border-radius: 4px; background: var(--skeleton); }
.v-line.is-title { width: 72%; height: 14px; margin-bottom: 16px; background: var(--skeleton-strong); }
.v-line.is-short { width: 55%; }

.vignette-inbox .v-window { padding: 8px; }

.v-mail {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 10px;
  border-radius: 10px;
}

.v-mail + .v-mail { margin-top: 4px; }

.v-mail.is-picked {
  border: 1px solid var(--hairline-strong);
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 8px 20px -10px rgba(0, 0, 0, 0.3);
}

.v-avatar { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--skeleton-strong); }
.v-lines { display: grid; flex: 1; gap: 6px; }
.v-lines i { display: block; height: 7px; border-radius: 4px; background: var(--skeleton); }
.v-lines i:first-child { width: 60%; background: var(--skeleton-strong); }
.v-lines i:last-child { width: 88%; }

.v-send {
  display: grid;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
}

/* Generated-cover stand-ins */

.cover-art {
  position: relative;
  display: block;
  overflow: hidden;
  background: #222;
}

.cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%);
  mix-blend-mode: soft-light;
}

.art-1 {
  background:
    radial-gradient(circle at 70% 30%, #ffd08a 0 16%, transparent 17%),
    radial-gradient(120% 80% at 20% 100%, #ff5e3a, transparent 60%),
    linear-gradient(160deg, #3b1d4a, #b0385a 70%, #ff8a4c);
}

.art-2 {
  background:
    radial-gradient(circle at 50% 58%, #fff6d6 0 15%, rgba(255, 240, 200, 0.5) 16%, transparent 30%),
    radial-gradient(90% 30% at 25% 100%, #e8845c 0 60%, transparent 61%),
    radial-gradient(80% 26% at 85% 100%, #f29a6b 0 60%, transparent 61%),
    linear-gradient(180deg, #6fb6ff 0%, #a9d2ff 40%, #ffd9ae 68%, #ffb487);
}

.art-3 {
  background:
    radial-gradient(90% 60% at 30% 20%, #64d2ff, transparent 60%),
    radial-gradient(80% 70% at 90% 90%, #5e5ce6, transparent 60%),
    repeating-linear-gradient(170deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 14px),
    linear-gradient(200deg, #0a3d91, #0b1b3f);
}

.art-4 {
  background:
    radial-gradient(circle at 72% 26%, #f2ffe9 0 9%, transparent 10%),
    radial-gradient(120% 45% at 10% 100%, #0b3d2a 0 58%, transparent 59%),
    radial-gradient(110% 40% at 95% 100%, #11583a 0 58%, transparent 59%),
    radial-gradient(130% 50% at 50% 100%, #1f7a4d 0 60%, transparent 61%),
    linear-gradient(180deg, #9ff0d0 0%, #52c79a 45%, #1f8a62);
}

/* Collections */

.shelf-wrap {
  position: relative;
  isolation: isolate;
}

.shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 36px;
  border-radius: 32px;
  border: 1px solid var(--hairline);
  background: var(--card);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
}

.cover { margin: 0; }

.cover .cover-art {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 20px 40px -18px rgba(0, 0, 0, 0.55);
  transition: transform 400ms var(--ease-out);
}

.cover:hover .cover-art { transform: translateY(-4px); }

.cover-mark {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Cpath d='M37 43.5 91.5 64 37 84.5 49.5 64Z' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.cover figcaption {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.features li { padding: 0 16px 0 0; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--lift);
  color: var(--accent);
}

.features h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.features p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 16px;
}

/* Footer */

.footer {
  padding: 0 0 calc(var(--frame) + 40px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.footer .brand { font-size: 15px; }
.footer .brand img { width: 24px; height: 24px; border-radius: 6px; }

.footer-tag {
  color: var(--text-3);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-left: auto;
}

.footer-links a {
  color: var(--text-2);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover { color: var(--text); }

/* Scroll reveal, only when JS is running and motion is allowed */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  }

  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .ways .reveal:nth-child(2) { transition-delay: 80ms; }
  .js .ways .reveal:nth-child(3) { transition-delay: 160ms; }
}

/* Privacy page */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 132px 0 80px;
}

.doc ~ .footer .footer-inner { max-width: 720px; }
.doc ~ .footer .footer-links { flex-basis: 100%; margin-left: 0; }

.doc-card {
  padding: 48px 52px;
  border-radius: 32px;
  border: 1px solid var(--hairline);
  background: var(--card);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
}

.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 15px;
  text-decoration: none;
}

.doc .back:hover { text-decoration: underline; }

.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.doc .subtitle {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.doc .intro {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 18px;
  line-height: 1.55;
}

.doc h2 {
  margin-top: 40px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.doc ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.doc li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

.doc li + li { border-top: 1px solid var(--hairline); }

.doc li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}

.doc p.body {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

.doc code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--well);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}

/* Responsive */

@media (max-width: 1000px) {
  :root { --wrap: 600px; }
  .ways { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; margin-top: 40px; gap: 28px; }
  .features li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  .features .feature-icon { grid-row: span 2; margin: 0; }
  .features p { margin-top: 2px; }
}

@media (max-width: 820px) {
  .nav-bar {
    flex-wrap: wrap;
    gap: 0;
    height: auto;
    padding: 0 6px 0 12px;
  }

  .nav-bar > .brand,
  .nav-actions { height: 52px; }

  .menu-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 -6px 0 -12px;
    padding: 0 8px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    border-top: 1px solid transparent;
    transition: max-height 320ms var(--ease-out), padding 320ms var(--ease-out), border-color 320ms ease, visibility 0s linear 320ms;
  }

  .nav.is-open { background: color-mix(in srgb, var(--shell) 86%, transparent); }

  .nav.is-open .nav-links {
    max-height: 320px;
    padding: 6px 8px 10px;
    visibility: visible;
    border-top-color: var(--hairline);
    transition: max-height 320ms var(--ease-out), padding 320ms var(--ease-out), border-color 320ms ease;
  }

  .nav-links a {
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--text);
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  :root { --frame-radius: 24px; --gutter: 14px; }

  body { font-size: 16px; }

  .nav { width: calc(100% - 2 * var(--frame) - 12px); top: calc(var(--frame) + 6px); border-radius: 20px; }
  .nav-bar > .brand,
  .nav-actions { height: 50px; }

  .hero { padding: 132px 0 88px; }
  .mark { --size: 96px; }
  .hero-name { margin-top: 30px; font-size: 19px; }
  .hero h1 { font-size: 44px; letter-spacing: -0.03em; }
  .hero-support { margin-top: 18px; font-size: 18px; }
  .chips { margin-top: 32px; gap: 8px; }
  .chip { font-size: 14px; padding: 0 15px 0 13px; }

  .section { padding: 16px 0 88px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 36px; }
  .section-head p { font-size: 18px; }

  .card { border-radius: 24px; }
  .card-body { padding: 22px 22px 24px; }
  .card h3 { font-size: 28px; }
  .role { font-size: 18px; }
  .vignette { height: 164px; padding: 20px 20px 0; }

  .shelf { gap: 16px; padding: 18px; border-radius: 26px; }
  .cover .cover-art { border-radius: 10px; }
  .cover figcaption { margin-top: 10px; font-size: 14px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-links { margin-left: 0; }

  .doc { padding: 100px 0 56px; }
  .doc-card { padding: 30px 22px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .mark:not(.is-settled) { opacity: 1; }
  .mark, .mark * { animation: none !important; }
  .chip, .cover .cover-art { transition: none; }
}
