/* YouList — website styles.
   Colors, radii and spacing mirror the iOS design system (DesignSystem.swift,
   AccentColor / SuccessColor / DangerColor assets, AmbientBackground.swift). */

:root {
  color-scheme: light;

  /* App palette — light appearance */
  --bg: #f2f5fc;
  --accent: #2e5be6;
  --accent-strong: #2448c4;
  --success: #23a55a;
  --danger: #e5484d;
  --on-accent: #ffffff;

  --text: #0b0d14;
  --text-2: rgba(60, 60, 67, 0.72);
  --text-3: rgba(60, 60, 67, 0.45);
  --fill: rgba(120, 120, 128, 0.16);
  --fill-soft: rgba(0, 0, 0, 0.045);
  --hairline: rgba(15, 20, 40, 0.08);

  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px -12px rgba(30, 45, 90, 0.22);

  --blob-a: hsla(209, 90%, 81%, 0.85);
  --blob-b: hsla(306, 88%, 81%, 0.85);

  /* DS.Tint */
  --t-red: #e65252;
  --t-orange: #f28f33;
  --t-yellow: #dbb324;
  --t-green: #42ad66;
  --t-mint: #33b89e;
  --t-teal: #2e9ec2;
  --t-blue: #4285e6;
  --t-indigo: #6b6bdb;
  --t-purple: #9e66db;
  --t-pink: #e66ba3;
  --t-brown: #a37552;
  --t-gray: #858f9e;

  /* DS.Radius / DS.Spacing */
  --r-s: 10px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 22px;
  --r-2xl: 32px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d0f1a;
    --accent: #4a73f0;
    --accent-strong: #6a8cf5;
    --success: #2fbd68;
    --danger: #f2585d;
    --text: #f5f6fa;
    --text-2: rgba(235, 235, 245, 0.68);
    --text-3: rgba(235, 235, 245, 0.4);
    --fill: rgba(120, 120, 128, 0.32);
    --fill-soft: rgba(255, 255, 255, 0.06);
    --hairline: rgba(255, 255, 255, 0.1);
    --glass: rgba(30, 34, 50, 0.5);
    --glass-strong: rgba(36, 40, 58, 0.78);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --blob-a: hsla(209, 29%, 30%, 0.75);
    --blob-b: hsla(306, 29%, 30%, 0.75);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0f1a;
  --accent: #4a73f0;
  --accent-strong: #6a8cf5;
  --success: #2fbd68;
  --danger: #f2585d;
  --text: #f5f6fa;
  --text-2: rgba(235, 235, 245, 0.68);
  --text-3: rgba(235, 235, 245, 0.4);
  --fill: rgba(120, 120, 128, 0.32);
  --fill-soft: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.1);
  --glass: rgba(30, 34, 50, 0.5);
  --glass-strong: rgba(36, 40, 58, 0.78);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --blob-a: hsla(209, 29%, 30%, 0.75);
  --blob-b: hsla(306, 29%, 30%, 0.75);
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-rounded); letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 8px; }

.icon { width: 1em; height: 1em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Ambient background (AmbientBackground.swift) ---------- */

.ambient {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: var(--bg);
}
.ambient__orbit {
  position: absolute; inset: 0;
  animation: orbit 70s linear infinite;
}
.ambient__orbit--b { animation-duration: 98s; animation-direction: reverse; }
.ambient__blob {
  position: absolute; top: 50%; left: 50%;
  width: 110vmax; height: 110vmax;
  margin: -55vmax 0 0 calc(-55vmax + 32vmin);
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--blob-a) 0%, color-mix(in srgb, var(--blob-a) 60%, transparent) 30%, color-mix(in srgb, var(--blob-a) 20%, transparent) 60%, transparent 100%);
  animation: hue 62s linear infinite;
}
.ambient__orbit--b .ambient__blob {
  width: 90vmax; height: 90vmax;
  margin: -45vmax 0 0 calc(-45vmax + 38vmin);
  background: radial-gradient(circle closest-side, var(--blob-b) 0%, color-mix(in srgb, var(--blob-b) 60%, transparent) 30%, color-mix(in srgb, var(--blob-b) 20%, transparent) 60%, transparent 100%);
  animation-duration: 83s;
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes hue { to { filter: hue-rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient__orbit, .ambient__blob { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}
.card { border-radius: var(--r-xl); }

/* Tinted glass circle (dsGlassCircle(tint:)) */
.badge {
  --tint: var(--accent);
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  color: #fff; font-size: 17px;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, 0.38), transparent 55%),
    var(--tint);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 6px 16px -6px color-mix(in srgb, var(--tint) 70%, transparent);
}
.badge--lg { width: 52px; height: 52px; font-size: 23px; }
.badge--xl { width: 64px; height: 64px; font-size: 28px; }

.t-red { --tint: var(--t-red); } .t-orange { --tint: var(--t-orange); } .t-yellow { --tint: var(--t-yellow); }
.t-green { --tint: var(--t-green); } .t-mint { --tint: var(--t-mint); } .t-teal { --tint: var(--t-teal); }
.t-blue { --tint: var(--t-blue); } .t-indigo { --tint: var(--t-indigo); } .t-purple { --tint: var(--t-purple); }
.t-pink { --tint: var(--t-pink); } .t-brown { --tint: var(--t-brown); } .t-gray { --tint: var(--t-gray); }
.t-accent { --tint: var(--accent); } .t-success { --tint: var(--success); } .t-danger { --tint: var(--danger); }
/* The app uses system red/blue/green/orange for the create menu */
.t-sys-red { --tint: #ff3b30; } .t-sys-blue { --tint: #0a84ff; } .t-sys-green { --tint: #30c759; } .t-sys-orange { --tint: #ff9500; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 17px; line-height: 1; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn .icon { font-size: 20px; }
.btn--primary {
  color: #fff;
  background: radial-gradient(120% 120% at 30% 0%, rgba(255, 255, 255, 0.28), transparent 55%), var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn--primary:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 14px 30px -10px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn--glass { color: var(--text); }
.btn--glass:hover { background: var(--glass-strong); }
.btn--discord { color: #fff; background: #5865f2; box-shadow: 0 10px 24px -10px rgba(88, 101, 242, 0.8); }

/* App Store button styled like "Sign in with Apple" in the app */
.btn--store {
  color: #fff; background: #000; padding: 0 22px 0 18px; gap: 10px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
:root[data-theme="dark"] .btn--store { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--store { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); } }
.btn--store .store-text { display: grid; text-align: left; line-height: 1.1; }
.btn--store small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.btn--store strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.btn--store svg { width: 24px; height: 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 0;
}
.site-header__bar {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 8px 8px 14px; border-radius: 999px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-family: var(--font-rounded); font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  text-decoration: none !important;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--text); font-size: 15px; font-weight: 500;
  text-decoration: none;
}
.nav a:hover { background: var(--fill-soft); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--fill-soft); color: var(--text); font-size: 19px;
}
.icon-btn:hover { background: var(--fill); }

.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 12px 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--fill-soft); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
}
.lang__btn:hover { background: var(--fill); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px;
  margin: 0; padding: 6px; list-style: none; border-radius: var(--r-l);
  background: var(--glass-strong);
  opacity: 0; transform: translateY(-4px) scale(0.98); transform-origin: top right;
  pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease;
}
.lang[data-open="true"] .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 0; border-radius: var(--r-m); background: none; cursor: pointer; font-size: 15px; text-align: left;
}
.lang__menu button:hover { background: var(--fill-soft); }
.lang__menu button[aria-checked="true"] { color: var(--accent); font-weight: 600; }
.lang__menu button .icon { opacity: 0; }
.lang__menu button[aria-checked="true"] .icon { opacity: 1; }

.menu-toggle { display: none; }

.mobile-nav {
  display: none;
  margin-top: 8px; padding: 10px; border-radius: var(--r-xl);
}
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px; border-radius: var(--r-m); color: var(--text); font-weight: 500; text-decoration: none;
}
.mobile-nav a:hover { background: var(--fill-soft); }
.site-header[data-open="true"] .mobile-nav { display: block; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 6px 14px; border-radius: 999px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 14px; font-weight: 600;
}

/* ---------- Hero ---------- */

.hero { padding: 48px 0 80px; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px;
}
.hero__mark { width: 84px; height: 84px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--accent) 10%, color-mix(in srgb, var(--accent) 55%, #b45cf0) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 22px; max-width: 560px; color: var(--text-2); font-size: clamp(18px, 1.9vw, 22px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
}
.chip .icon { color: var(--accent); font-size: 17px; }
.hero__visual { position: relative; display: grid; place-items: center; }

.floating-note {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  max-width: 270px; padding: 12px 16px 12px 12px; border-radius: var(--r-l);
  font-size: 14px; line-height: 1.3;
  animation: float 7s ease-in-out infinite;
}
.floating-note strong { display: block; font-size: 14px; }
.floating-note span { color: var(--text-2); }
.floating-note img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.floating-note--a { top: 74%; left: -6%; }
.floating-note--b { top: 9%; right: -8%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__mark { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__chips { justify-content: center; }
  .floating-note--a { left: 0; }
  .floating-note--b { right: 0; }
}
@media (max-width: 560px) {
  .floating-note { display: none; }
  .hero { padding-top: 24px; }
}

/* ---------- Phone frame for real app screenshots ---------- */

.phone {
  --w: 320px;
  position: relative; width: var(--w); aspect-ratio: 1206 / 2622;
  padding: 10px; border-radius: 56px; box-sizing: content-box;
  background: linear-gradient(145deg, #2b2e36, #0c0d10 40%, #22252c);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.08) inset,
    0 50px 80px -30px rgba(10, 20, 60, 0.45),
    0 30px 60px -40px rgba(0, 0, 0, 0.5);
  flex: none;
}
.phone--sm { --w: 280px; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 46px; background: var(--bg); }
.phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Two screens side by side, the second one slightly lower and in front */
.pair { position: relative; display: flex; align-items: flex-start; justify-content: center; }
.pair .phone--sm { --w: 250px; }
.pair__front { margin-left: -56px; margin-top: 70px; z-index: 2; }
.pair__back { transform: rotate(-3deg); }
.pair__arrow { position: absolute; z-index: 3; left: 50%; top: 46%; transform: translate(-50%, -50%); box-shadow: 0 10px 30px -8px rgba(30, 60, 200, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
@media (max-width: 560px) {
  .pair .phone--sm { --w: 170px; }
  .pair__front { margin-left: -36px; margin-top: 46px; }
  .phone, .phone__screen { border-radius: 40px; }
  .phone__screen { border-radius: 32px; }
}

/* Voice screen with Siri bubbles floating over it */
.voice-visual { position: relative; display: grid; place-items: center; width: 100%; padding: 20px 0; }
.floating-bubble { position: absolute; z-index: 3; max-width: 220px; font-size: 15px; animation: float 7s ease-in-out infinite; box-shadow: 0 14px 30px -14px rgba(10, 20, 60, 0.45); }
.floating-bubble--a { top: 16%; left: 0; }
.floating-bubble--b { top: 30%; right: 0; animation-delay: -3.5s; }
@media (max-width: 560px) { .floating-bubble { display: none; } }

/* Create menu next to the four ways */
.ways-wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.ways-wrap .ways { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .ways-wrap { grid-template-columns: 1fr; } .ways-wrap__phone { justify-self: center; } }
@media (max-width: 600px) { .ways-wrap .ways { grid-template-columns: 1fr; } }

/* ---------- Feature blocks ---------- */

.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.way { padding: 26px 24px; }
.way h3 { margin-top: 18px; font-size: 22px; font-weight: 700; }
.way p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.way .example {
  margin-top: 16px; padding: 10px 14px; border-radius: var(--r-m);
  background: var(--fill-soft); color: var(--text); font-size: 14.5px; font-style: italic;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.tag--free { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
@media (max-width: 1080px) { .ways { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ways { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
}
.split--reverse .split__visual { order: -1; }
.split__text h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.split__text > p { margin-top: 16px; color: var(--text-2); font-size: 19px; }
.split__visual { display: grid; place-items: center; position: relative; }
.points { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points li strong { display: block; font-size: 17px; }
.points li span { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__visual { order: 0; }
}

/* Roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.role { padding: 18px; border-radius: var(--r-l); }
.role .badge { margin-bottom: 12px; }
.role strong { display: block; font-size: 16px; }
.role span { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }

/* Siri bubbles */
.bubble {
  padding: 14px 18px; border-radius: 24px; font-size: 16px; max-width: 88%;
}
.bubble--me { justify-self: end; color: #fff; background: var(--accent); border-bottom-right-radius: 8px; }
.bubble--app { justify-self: start; border-bottom-left-radius: 8px; display: flex; gap: 12px; align-items: center; }
.bubble--app img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.bubble small { display: block; color: var(--text-2); font-size: 13px; }

/* Bento of small features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 26px 24px; }
.tile h3 { margin-top: 16px; font-size: 20px; font-weight: 700; }
.tile p { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }
.swipe-demo { display: flex; gap: 6px; margin-top: 18px; }
.swipe-demo .badge { width: 40px; height: 40px; font-size: 17px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: stretch; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; font-weight: 800; }
.plan .price { margin-top: 10px; font-family: var(--font-rounded); font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 17px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.plan > p { margin-top: 6px; color: var(--text-2); }
.plan ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li .icon { margin-top: 3px; color: var(--success); font-size: 18px; }
.plan .btn { margin-top: auto; }
.plan .spacer { flex: 1; min-height: 24px; }
.plan--ai { position: relative; overflow: hidden; }
.plan--ai::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.tier {
  padding: 16px 12px; border-radius: var(--r-l); text-align: center;
  background: var(--fill-soft); border: 1px solid var(--hairline);
}
.tier--hot { background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.tier strong { display: block; font-size: 16px; }
.tier .p { display: block; margin-top: 6px; font-family: var(--font-rounded); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.tier span { display: block; color: var(--text-2); font-size: 12.5px; }
.tier .meter { display: flex; justify-content: center; gap: 3px; margin-top: 10px; }
.tier .meter i { width: 6px; height: 14px; border-radius: 3px; background: var(--fill); }
.tier .meter i.on { background: var(--accent); }
.topups { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: var(--text-2); font-size: 15px; align-items: center; }
.topups .pill { padding: 6px 12px; border-radius: 999px; background: var(--fill-soft); color: var(--text); font-weight: 500; font-size: 14.5px; }
.fineprint { margin-top: 18px; color: var(--text-3); font-size: 13.5px; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tiers { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Privacy strip ---------- */

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust .tile { text-align: left; }
@media (max-width: 980px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border-radius: var(--r-l); padding: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform 0.2s ease; color: var(--text-2); font-size: 20px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); font-size: 16px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Community / Discord ---------- */

.community { padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; border-radius: var(--r-2xl); }
.community h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.community > div > p { margin-top: 14px; color: var(--text-2); font-size: 18px; }
.community .btn { margin-top: 26px; }
.channels { display: grid; gap: 8px; }
.channel {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-m);
  background: var(--fill-soft); font-size: 15px;
}
.channel b { font-weight: 600; }
.channel span { color: var(--text-2); font-size: 14px; }
.channel .hash { color: var(--text-3); font-weight: 700; font-size: 18px; width: 18px; text-align: center; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Contact ---------- */

.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none !important; transition: transform 0.2s ease; }
.contact:hover { transform: translateY(-3px); }
.contact h3 { margin-top: 10px; font-size: 20px; font-weight: 700; }
.contact p { color: var(--text-2); font-size: 15.5px; }
.contact .link { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; word-break: break-all; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */

.cta { padding: 64px 32px; text-align: center; border-radius: var(--r-2xl); }
.cta > img, .cta__text > img { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(30, 60, 200, 0.55); }
.cta h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.cta p { margin: 14px auto 0; max-width: 560px; color: var(--text-2); font-size: 19px; }
.cta .hero__cta { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 40px; margin-top: 40px; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin-bottom: 12px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text); font-size: 15px; }
.footer-grid .brand + p { margin-top: 12px; color: var(--text-2); font-size: 15px; max-width: 300px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; color: var(--text-3); font-size: 13.5px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Document pages (privacy, terms, support) ---------- */

.doc { padding: 40px 0 80px; }
.doc__card { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-2xl); }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
.doc .updated { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.doc h2 { margin-top: 40px; font-size: 24px; font-weight: 700; }
.doc h3 { margin-top: 24px; font-size: 18.5px; font-weight: 700; font-family: var(--font); letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text); font-size: 16.5px; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.doc table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.doc th { color: var(--text-2); font-weight: 600; }
.doc .note { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-l); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 15.5px; }
.doc .toc { margin-top: 24px; padding: 18px 22px; border-radius: var(--r-l); background: var(--fill-soft); }
.doc .toc ol { margin: 6px 0 0; }
.table-scroll { overflow-x: auto; }

[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"],
html[lang="uk"] [data-lang-block="uk"],
html[lang="ru"] [data-lang-block="ru"] { display: block; }

/* Support page quick actions */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.quick a { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-l); background: var(--fill-soft); color: var(--text); text-decoration: none; font-weight: 600; }
.quick a span { color: var(--text-2); font-weight: 400; font-size: 14.5px; }
.quick a:hover { background: var(--fill); }
@media (max-width: 700px) { .quick { grid-template-columns: 1fr; } }

/* ---------- Center pages (invite, 404) ---------- */

.center-page { min-height: calc(100vh - 100px); display: grid; place-items: center; padding: 24px 0 64px; }
.center-card { width: min(460px, 100%); padding: 40px 28px 30px; border-radius: var(--r-2xl); text-align: center; }
.center-card .hero__mark { margin: 0 auto 22px; width: 96px; height: 96px; }
.center-card h1 { font-size: 32px; font-weight: 800; }
.center-card p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.center-card .stack { display: grid; gap: 10px; margin-top: 28px; }
.center-card .stack .btn { width: 100%; }
.center-card .hint { margin-top: 18px; color: var(--text-3); font-size: 13.5px; }
.code-404 { font-family: var(--font-rounded); font-size: 96px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.04em; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.mt-0 { margin-top: 0 !important; }

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .phone { --w: 286px; }
  .phone--sm { --w: 270px; }
  .btn { min-height: 48px; padding: 0 20px; }
}

/* Hide untranslated English for a moment while a translation is applied; never longer than 1.2s */
html.i18n-pending body { visibility: hidden; animation: i18n-fallback 0s linear 1.2s forwards; }
@keyframes i18n-fallback { to { visibility: visible; } }

[hidden] { display: none !important; }

/* CTA with a real app screenshot */
.cta--split { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 48px 64px 0; text-align: left; overflow: hidden; }
.cta--split .cta__text { padding-bottom: 48px; }
.cta--split img[alt="YouList"] { margin: 0 0 24px; }
.cta--split p { margin-left: 0; }
.cta--split .hero__cta { justify-content: flex-start; }
.phone--cta { margin-bottom: -150px; align-self: end; }
@media (max-width: 860px) {
  .cta--split { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 0; gap: 32px; }
  .cta--split img[alt="YouList"] { margin: 0 auto 24px; }
  .cta--split p { margin-left: auto; }
  .cta--split .hero__cta { justify-content: center; }
  .cta--split .cta__text { padding-bottom: 0; }
  .phone--cta { justify-self: center; }
}
.footer-grid .brand { font-size: 22px; }

/* "No ads" banner under pricing */
.plan__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan__title .tag { font-family: var(--font); letter-spacing: 0; }
.no-ads { display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 24px 28px; border-radius: var(--r-xl); }
.no-ads strong { display: block; font-family: var(--font-rounded); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.no-ads p { margin-top: 4px; color: var(--text-2); font-size: 16px; }
@media (max-width: 560px) { .no-ads { flex-direction: column; align-items: flex-start; padding: 22px; } }
