/* ==========================================================================
   ClipShuttle — design system (dark theme only)
   Ported from lib/landing/tokens.dart
   ========================================================================== */

/* --- Fonts (self-hosted) ------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin.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;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --bg: #060A18;
  --surface: #0D1428;
  --surface-raised: #141B33;

  --accent-cyan: #22D3EE;
  --accent-violet: #8B5CF6;

  --glow-blue: #1E3A8A;
  --glow-violet: #6D28D9;

  --text-hi: rgba(255, 255, 255, 0.95);
  --text-mid: rgba(255, 255, 255, 0.70);
  --text-lo: rgba(255, 255, 255, 0.50);
  --text-faint: rgba(255, 255, 255, 0.35);

  --glass-fill: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 255, 255, 0.22);

  --gradient: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));

  --max-content: 1160px;
  --hpad: 24px;

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);

  --ink-on-accent: #06121A;
}

/* --- Reset / base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --- Focus visibility ---------------------------------------------------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Layout helpers ------------------------------------------------------ */
.container {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--hpad);
}
.section {
  padding-block: 72px;
}
.section--tint {
  background: rgba(13, 20, 40, 0.5);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--text-lo);
  text-transform: uppercase;
  margin: 0 0 24px;
}

/* --- Typography ---------------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text-hi);
  font-weight: 700;
  margin: 0;
}
.h1 {
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: -1.5px;
}
h2,
.h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-hi);
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 16px;
  color: var(--text-mid);
}
.muted {
  color: var(--text-mid);
}
.section-sub {
  margin: 8px 0 0;
  color: var(--text-mid);
}

/* --- Glass panel --------------------------------------------------------- */
.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.glass--hover:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}
.glass--accent {
  border: 1.5px solid rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 34px -6px rgba(34, 211, 238, 0.14);
}

/* --- Keycap -------------------------------------------------------------- */
.keycap {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding-bottom: 3px;
}
.keycap > span {
  display: inline-block;
  background: var(--surface-raised);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-hi);
  font-size: 14px;
  line-height: 1;
}
.keycap--accent {
  background: rgba(34, 211, 238, 0.9);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 16px -2px rgba(34, 211, 238, 0.28);
}
.keycap--accent > span {
  color: var(--accent-cyan);
}

/* --- Buttons / pills ----------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--gradient);
  color: var(--ink-on-accent);
  font-size: 14px;
  font-weight: 600;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.pill:hover {
  box-shadow: 0 0 22px -4px rgba(34, 211, 238, 0.35);
}
.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn--filled {
  background: var(--gradient);
  color: var(--ink-on-accent);
}
.btn--filled:hover {
  box-shadow: 0 0 24px -4px rgba(34, 211, 238, 0.35);
}
.btn--ghost {
  border: 1px solid var(--glass-border);
  color: var(--text-hi);
}
.btn--ghost:hover {
  border-color: var(--glass-border-hover);
}

/* --- Glow (aurora) ------------------------------------------------------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 18px;
  color: var(--text-hi);
}
.wordmark img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text-hi);
}
.nav-cta {
  margin-left: auto;
}
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 16px;
  border-top: 1px solid var(--glass-border);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 12px var(--hpad);
  color: var(--text-mid);
  font-weight: 500;
}
.mobile-menu a:hover {
  color: var(--text-hi);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
  }
  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 36px;
}
.hero__glow-a {
  width: 560px;
  height: 560px;
  left: -140px;
  top: -80px;
  background: radial-gradient(
    circle,
    rgba(30, 58, 138, 0.22),
    rgba(30, 58, 138, 0.04) 40%,
    transparent 70%
  );
  filter: blur(80px);
}
.hero__glow-b {
  width: 600px;
  height: 600px;
  right: -100px;
  top: 20px;
  background: radial-gradient(
    circle,
    rgba(109, 40, 217, 0.2),
    rgba(109, 40, 217, 0.04) 40%,
    transparent 70%
  );
  filter: blur(90px);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hero__text {
  max-width: 640px;
}
.badge-row {
  display: inline-block;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text-mid);
}
.hero__text .h1 {
  margin: 24px 0 20px;
}
.hero__sub {
  font-size: 16px;
  color: var(--text-mid);
  margin: 0 0 18px;
}
.hero__flow {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 12px;
}
.hero__privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-mid);
  margin: 0 0 28px;
  letter-spacing: 0.2px;
}
.hero__privacy svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent-cyan);
}
.hero__quote {
  border-left: 2px solid var(--accent-cyan);
  padding-left: 14px;
  margin: 28px 0 0;
  font-size: 14px;
  font-style: italic;
  color: var(--text-lo);
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.store-badges--center {
  justify-content: center;
}
.store-badges a {
  display: inline-flex;
  transition: transform 0.18s ease;
}
.store-badges a:hover {
  transform: translateY(-3px);
}
.store-badges img {
  height: 42px;
  width: auto;
}
.store-badges--lg img {
  height: 48px;
}
.hero__badges {
  max-width: 330px;
}

/* Hero visual: laptop + phone CSS composition */
.hero__visual {
  position: relative;
  min-height: 300px;
}
.device-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1797 / 987;
}
.laptop {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 78%;
}
.laptop__screen {
  background: linear-gradient(160deg, #10192f, #0a1122);
  border: 1px solid var(--glass-border);
  border-radius: 12px 12px 4px 4px;
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}
.laptop__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 20% 0%,
    rgba(34, 211, 238, 0.10),
    transparent 55%
  );
}
.laptop__base {
  height: 10px;
  background: linear-gradient(#1a2540, #0c1424);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-inline: -6%;
}
.phone {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 26%;
  aspect-ratio: 10 / 20;
  background: linear-gradient(160deg, #121b30, #0a1020);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 60% at 80% 0%,
    rgba(139, 92, 246, 0.16),
    transparent 55%
  );
}
.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.hero__toast {
  position: absolute;
  right: -8px;
  bottom: -20px;
  width: min(62%, 300px);
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 56px;
  }
  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .hero__text {
    flex: 46;
  }
  .hero__visual {
    flex: 54;
  }
}

/* ==========================================================================
   Toast card (notification motif)
   ========================================================================== */
.toast {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(20px);
}
.toast__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.toast__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
}
.toast__brand {
  font-weight: 600;
  color: var(--text-hi);
  letter-spacing: 0.2px;
}
.toast__time {
  margin-left: auto;
  color: var(--text-lo);
}
.toast__title {
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-hi);
}
.toast__sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-lo);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast__sub--link {
  color: var(--accent-cyan);
}
.toast__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.toast__ghost {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: var(--text-mid);
}

/* ==========================================================================
   Generic card grids
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.quote-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-hi);
}
.quote-card cite {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-lo);
}
.compare-card {
  padding: 28px;
}
.compare-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.compare-card__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--text-lo);
}
.compare-card--accent .compare-card__label {
  color: var(--accent-cyan);
}
.compare-card__icon {
  color: var(--text-faint);
  flex: 0 0 auto;
}
.compare-card--accent .compare-card__icon {
  color: var(--accent-cyan);
}
.compare-card p {
  margin: 16px 0 0;
  color: var(--text-mid);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.step {
  display: flex;
  align-items: center;
  gap: 16px;
}
.step__cap {
  width: 96px;
  flex: 0 0 auto;
}
.step__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-hi);
}
.chips-intro {
  margin: 56px 0 20px;
  color: var(--text-mid);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(34, 211, 238, 0.5),
      rgba(139, 92, 246, 0.5)
    );
  }
  .step {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .step__cap {
    width: auto;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .step__title {
    padding-inline: 12px;
  }
}

/* ==========================================================================
   Inbox moment
   ========================================================================== */
.inbox__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.inbox__text .section-sub {
  margin-top: 24px;
}
.toast-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.toast-stack .toast {
  width: 320px;
  max-width: 100%;
}
.toast-stack > *:nth-child(2) {
  margin-left: 12px;
  opacity: 0.7;
}
.toast-stack > *:nth-child(3) {
  margin-left: 24px;
  opacity: 0.45;
}

@media (min-width: 1024px) {
  .inbox__grid {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .inbox__text,
  .inbox__visual {
    flex: 1;
  }
  .inbox__visual {
    display: flex;
    justify-content: center;
  }
}

/* ==========================================================================
   Bento
   ========================================================================== */
.bento {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 44px;
}
.bento .tile {
  padding: 26px;
}
.tile__icon {
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.tile__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-hi);
}
.tile p {
  margin: 10px 0 0;
  color: var(--text-mid);
}
.tile__visual {
  margin-top: 22px;
}
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  /* default tile = one third of a row (the flex-1 partner / bottom-row third) */
  .bento .tile {
    grid-column: span 2;
  }
  /* wide tile = two thirds of a row (the flex-2 feature) */
  .bento .tile--wide {
    grid-column: span 4;
  }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 40px;
  align-items: stretch;
}
.price-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-hi);
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-hi);
  margin-top: 16px;
}
.price-card__tag {
  font-size: 14px;
  color: var(--accent-cyan);
  margin-top: 4px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 6px;
  font-size: 15px;
  color: var(--text-mid);
}
.feature-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent-cyan);
}
.price-card__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-lo);
}
.price-card .btn {
  margin-top: 28px;
}
.price-card--supporter {
  padding: 1.5px;
  background: var(--gradient);
  border-radius: 21px;
  box-shadow: 0 0 40px -8px rgba(34, 211, 238, 0.12);
}
.price-card--supporter > .price-card__inner {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 640px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-hi);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .chev {
  flex: 0 0 auto;
  color: var(--text-lo);
  transition: transform 0.25s ease;
}
.faq-item[open] summary .chev {
  transform: rotate(180deg);
}
.faq-item__answer {
  padding: 0 40px 24px 0;
  color: var(--text-mid);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: 80px;
}
.final-cta__glow {
  width: 560px;
  height: 560px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(109, 40, 217, 0.24),
    rgba(109, 40, 217, 0.05) 40%,
    transparent 70%
  );
  filter: blur(90px);
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}
.final-cta__inner .section-sub {
  margin-top: 16px;
}
.final-cta .store-badges {
  margin-top: 36px;
}
.final-cta__reddit {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.15s ease;
}
.final-cta__reddit:hover {
  color: var(--text-hi);
}

@media (min-width: 1024px) {
  .final-cta {
    padding-block: 110px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--glass-border);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 40px 0;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__keys {
  display: flex;
  gap: 6px;
}
.footer__tagline {
  font-size: 13px;
  color: var(--text-lo);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.15s ease;
}
.footer__links a:hover {
  color: var(--text-hi);
}
.footer__copy {
  padding-block: 32px 40px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   Article pages (about, privacy, checkout)
   ========================================================================== */
.article {
  max-width: 760px;
  margin-inline: auto;
  padding-block: 56px;
}
.article h1 {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.article h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 12px;
}
.article h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text-hi);
}
.article p,
.article li {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
}
.article ul {
  padding-left: 20px;
}
.article li {
  margin-bottom: 8px;
}
.article a {
  color: var(--accent-cyan);
}
.article a:hover {
  text-decoration: underline;
}
.article hr {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin-block: 32px;
}
.article .updated {
  color: var(--text-lo);
  font-style: italic;
  margin-bottom: 32px;
}
.about-hero {
  text-align: center;
  margin-bottom: 32px;
}
.about-hero img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
}
.about-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.about-card h2 {
  margin-top: 0;
  font-size: 20px;
}
.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent-cyan);
}

/* Checkout confirmation */
.checkout-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.checkout-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 40px;
}
.checkout-card .icon {
  margin: 0 auto 12px;
}
.checkout-card .icon--success {
  color: #4ade80;
}
.checkout-card .icon--cancel {
  color: #fbbf24;
}
.checkout-card h1 {
  font-size: 24px;
  margin-bottom: 8px;
}
.checkout-card p {
  color: var(--text-mid);
  margin-bottom: 24px;
}
.checkout-card .actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin-inline: auto;
}
.checkout-session {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-lo);
  word-break: break-all;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .store-badges a:hover,
  .glass--hover:hover {
    transform: none;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface-raised);
  color: var(--text-hi);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}
