/* StealMyBonuses platform styles. Product apps are never styled by this file. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080c;
  --bg-raised: #0b0d13;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f4f7;
  --text-2: #b4b9c5;
  --text-3: #8a90a0;
  --accent: #e8c27a;
  --accent-2: #f5dda9;
  --surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -28px rgba(0, 0, 0, 0.75);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Product theme fallbacks; per-product values come from /assets/css/products.css */
  --p1: #e8c27a;
  --p2: #f5dda9;
  --p-deep: #1a1408;
  --p-tint: #ffffff;
  --p-text: #e8c27a;
  --p-btn: #e8c27a;
  --p-btn-hover: #f0cf90;
  --p-on: #120e06;
}

/* ------------------------------------------------------------------ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(232, 194, 122, 0.32);
  color: #fff;
}

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

main:focus {
  outline: none;
}

.icon {
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #0b0c10;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

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

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.text-accent {
  background: linear-gradient(92deg, #f8e6bd 0%, #e8c27a 45%, #f3f4f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ buttons, badges, chips */

.btn {
  --h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s, color 0.2s;
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--sm {
  --h: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn--lg {
  --h: 52px;
  padding: 0 24px;
  font-size: 15.5px;
}

.btn--caps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: #f3f4f7;
  color: #0b0c10;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px -12px rgba(255, 255, 255, 0.28);
}

.btn--primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 14px 34px -12px rgba(255, 255, 255, 0.36);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn--product {
  background: var(--p-btn);
  color: var(--p-on);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 12px 30px -14px var(--p-btn);
}

.btn--product:hover {
  background: var(--p-btn-hover);
  transform: translateY(-1px);
}

.btn--link {
  height: auto;
  padding: 6px 4px;
  background: none;
  color: var(--text-2);
}

.btn--link:hover {
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--ready {
  color: #86efac;
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.26);
}

.badge--warn {
  color: #fcd58a;
  background: rgba(245, 185, 74, 0.08);
  border-color: rgba(245, 185, 74, 0.28);
}

.mark {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--p-btn);
  color: var(--p-on);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

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

.chip {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
}

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

.actions--center {
  justify-content: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

.note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--text-3);
  font-size: 14px;
}

.note .icon {
  margin-top: 3px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled,
.site-header--app {
  border-bottom-color: var(--border);
  background: rgba(7, 8, 12, 0.86);
}

.site-header--minimal {
  position: relative;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.07em;
  white-space: nowrap;
  border-radius: 8px;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #10121a;
}

.logo__mark svg {
  width: 22px;
  height: 22px;
}

.logo__word span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link[aria-current='page'] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav__link .icon {
  opacity: 0.75;
}

.nav__link--button {
  border: 0;
  background: none;
  cursor: pointer;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav__logout {
  margin: 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle__close {
  display: none;
}

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__open {
    display: none;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__close {
    display: block;
  }

  .js .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: rgba(9, 10, 15, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav__list {
    flex-direction: column;
  }

  .js .nav__link {
    padding: 12px;
    font-size: 15.5px;
  }

  .js .nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .js .nav__actions .btn {
    --h: 46px;
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
  }

  html:not(.js) .nav {
    flex-wrap: wrap;
    margin-left: 0;
  }
}

/* ------------------------------------------------------------------ sections */

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 120px);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 56px);
}

.section--alt {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 60%);
}

.section-header {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.section-header--left {
  max-width: none;
  margin: 0 0 24px;
  text-align: left;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.section-header--left .section-title {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  text-wrap: pretty;
}

.section-header--left .section-lead {
  margin: 6px 0 0;
  font-size: 15px;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -260px;
  left: 50%;
  width: min(1100px, 140vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 194, 122, 0.13), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 1120px;
  text-align: center;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero__brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #11131b;
}

.hero__brand-mark svg {
  width: 18px;
  height: 18px;
}

.hero__title {
  margin: 28px auto 0;
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
  font-weight: 720;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

@media (min-width: 900px) {
  .hero__title .text-accent {
    display: block;
  }
}

.hero__lead {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  text-wrap: pretty;
}

.hero__stats {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  margin: 36px auto 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero__stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  padding: 14px clamp(18px, 3vw, 34px);
}

.hero__stats div + div {
  border-left: 1px solid var(--border);
}

.hero__stats dt {
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 500;
}

.hero__stats dd {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .hero__stats {
    display: grid;
    width: 100%;
  }

  .hero__stats div {
    padding: 12px 8px;
  }

  .hero__stats dt {
    font-size: 11.5px;
    line-height: 1.3;
  }
}

.hero__aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__aurora span {
  position: absolute;
  width: 34vw;
  max-width: 460px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__aurora span:nth-child(1) {
  top: 2%;
  left: 2%;
  background: #087f73;
}

.hero__aurora span:nth-child(2) {
  top: 12%;
  right: 4%;
  background: #e91e63;
  animation-delay: -5s;
}

.hero__aurora span:nth-child(3) {
  bottom: 18%;
  left: 18%;
  background: #5b2eff;
  animation-delay: -9s;
}

.hero__aurora span:nth-child(4) {
  right: 20%;
  bottom: 8%;
  background: #ff3d00;
  animation-delay: -13s;
}

@keyframes drift {
  to {
    transform: translate3d(4%, 6%, 0) scale(1.12);
  }
}

.hero__boxes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2.6vw, 36px);
  max-width: 1080px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0;
  list-style: none;
}

.hero__boxes::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero__box {
  position: relative;
  isolation: isolate;
  padding-bottom: 28px;
}

.hero__box::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--p1) 60%, transparent), transparent);
  filter: blur(26px);
  opacity: 0.7;
}

.hero__box img {
  width: 100%;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.55));
  transition: transform 0.6s var(--ease);
}

.hero__box--2 img,
.hero__box--3 img {
  transform: translateY(-22px);
}

.hero__box:hover img {
  transform: translateY(-8px);
}

.hero__box--2:hover img,
.hero__box--3:hover img {
  transform: translateY(-30px);
}

@media (max-width: 640px) {
  .hero__boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 400px;
    gap: 20px 24px;
  }

  .hero__box--2 img,
  .hero__box--3 img {
    transform: none;
  }

  .hero__boxes::after {
    display: none;
  }
}

/* ------------------------------------------------------------------ product grid + cards */

.pgrid {
  display: grid;
  gap: 20px;
}

.pgrid--showcase {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .pgrid--showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pgrid--showcase {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--p1) 45%, var(--border));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 32px 64px -34px color-mix(in srgb, var(--p1) 55%, transparent);
}

.pcard:has(.pcard__link:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.pcard__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(70% 55% at 50% 88%, color-mix(in srgb, var(--p1) 48%, transparent), transparent 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--p-deep) 65%, #07080c), #0a0b10);
}

.pcard__img {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: auto;
  height: 84%;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s var(--ease);
}

.pcard:hover .pcard__img {
  transform: translate(-50%, -5px) scale(1.025);
}

.pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}

.pcard__kicker,
.phero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--p-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcard__title {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pcard__desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
}

.pcard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.pcard__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

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

.pcard__link .icon {
  transition: transform 0.25s var(--ease);
}

.pcard:hover .pcard__link .icon {
  transform: translateX(3px);
}

/* library cards (dashboard) */

.pgrid--library {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .pgrid--library {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lcard {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}

.lcard:hover {
  border-color: color-mix(in srgb, var(--p1) 40%, var(--border));
}

.lcard__media {
  position: relative;
  min-height: 240px;
  border-right: 1px solid var(--border);
  background: radial-gradient(80% 50% at 50% 80%, color-mix(in srgb, var(--p1) 46%, transparent), transparent 75%),
    linear-gradient(180deg, color-mix(in srgb, var(--p-deep) 65%, #07080c), #0a0b10);
}

.lcard__img {
  position: absolute;
  inset: 0;
  width: 78%;
  max-height: 82%;
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
}

.lcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 20px;
}

.lcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lcard .pcard__title {
  margin-top: 4px;
}

.lcard__desc {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.lcard__actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.lcard__actions .btn {
  width: 100%;
}

.lcard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13.5px;
}

.lcard__meta span,
.lcard__meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lcard__meta a {
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s;
}

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

@media (max-width: 560px) {
  .lcard {
    grid-template-columns: minmax(0, 1fr);
  }

  .lcard__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .lcard__img {
    width: auto;
    height: 84%;
  }
}

/* ------------------------------------------------------------------ feature cards */

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

.fgrid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .fgrid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .fgrid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fcard {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.fcard:hover {
  border-color: var(--border-strong);
}

.fcard__icon,
.panel__icon,
.stat__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 194, 122, 0.22);
  border-radius: 12px;
  background: rgba(232, 194, 122, 0.07);
  color: var(--accent);
}

.page-product .fcard__icon {
  border-color: color-mix(in srgb, var(--p1) 38%, transparent);
  background: color-mix(in srgb, var(--p1) 14%, transparent);
  color: var(--p-text);
}

.fcard__title {
  margin-top: 18px;
  font-size: 1.075rem;
  font-weight: 620;
  letter-spacing: -0.012em;
}

.fcard__text {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.step__num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.step__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 194, 122, 0.5), transparent);
}

.step__title {
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: -0.012em;
}

.step__text {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

/* ------------------------------------------------------------------ compare */

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1180px) {
  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .specs {
    grid-template-columns: minmax(0, 1fr);
  }
}

.spec {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--p1), var(--p2));
}

.spec__title {
  margin-top: 14px;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.spec__best {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.spec__list {
  margin: 18px 0 0;
}

.spec__list div {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.spec__list dt {
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec__list dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
}

.spec__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--p-text);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 6px;
}

.spec__link .icon {
  transition: transform 0.25s var(--ease);
}

.spec__link:hover .icon {
  transform: translateX(3px);
}

.every {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.every__title {
  font-size: 14px;
  font-weight: 650;
}

.every__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 14px;
}

.every__list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.every__list .icon {
  color: var(--accent);
}

/* ------------------------------------------------------------------ delivery */

.delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .delivery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel__title {
  margin-top: 18px;
  font-size: 1.5rem;
  font-weight: 680;
  letter-spacing: -0.022em;
}

.panel__text {
  margin-top: 8px;
  color: var(--text-2);
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ticks .icon {
  margin-top: 4px;
  color: var(--accent);
}

.panel__visual {
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}

.zips {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.zip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.zip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--p1) 18%, transparent);
  color: var(--p-text);
}

.zip__name {
  font-size: 15px;
  font-weight: 550;
}

.zip__meta {
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

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

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(22px, 5vw, 64px);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  text-align: center;
}

.cta__glow {
  position: absolute;
  top: -60%;
  left: 50%;
  width: 900px;
  max-width: 160%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 194, 122, 0.18), transparent);
  pointer-events: none;
}

.cta--product .cta__glow {
  background: radial-gradient(closest-side, color-mix(in srgb, var(--p1) 34%, transparent), transparent);
}

.cta__title {
  position: relative;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cta__text {
  position: relative;
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--text-2);
  font-size: 1.075rem;
}

.cta .actions {
  position: relative;
  justify-content: center;
}

.cta > .btn--link {
  margin-top: 18px;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: #06070a;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.site-footer__brand p {
  max-width: 340px;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 14.5px;
}

.site-footer__title {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col a {
  color: var(--text-3);
  font-size: 14.5px;
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ dashboard */

.dash-hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 clamp(12px, 2vw, 20px);
}

.dash-hero::before {
  content: '';
  position: absolute;
  inset: -120px 0 auto;
  height: 480px;
  background: radial-gradient(560px 280px at 12% 30%, rgba(232, 194, 122, 0.09), transparent 70%),
    radial-gradient(520px 280px at 88% 10%, rgba(91, 46, 255, 0.09), transparent 70%);
  pointer-events: none;
}

.dash-hero .container {
  position: relative;
}

.dash-hero__title {
  margin-top: 12px;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.dash-hero__lead {
  max-width: 620px;
  margin-top: 14px;
  color: var(--text-2);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat__body {
  display: flex;
  flex-direction: column;
}

.stat__value {
  font-size: 1.75rem;
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  color: var(--text-2);
  font-size: 14px;
}

@media (max-width: 640px) {
  .stats {
    gap: 10px;
  }

  .stat {
    padding: 14px;
  }

  .stat__icon {
    display: none;
  }

  .stat__value {
    font-size: 1.5rem;
  }

  .stat__label {
    font-size: 12.5px;
    line-height: 1.35;
  }
}

.guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 960px) {
  .guides {
    grid-template-columns: minmax(0, 1fr);
  }
}

.guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.guide__name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}

.guide__links {
  display: flex;
  gap: 8px;
}

.guide__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.guide__links a:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

@media (max-width: 480px) {
  .guide__links {
    width: 100%;
  }

  .guide__links a {
    flex: 1;
    justify-content: center;
  }
}

.account {
  max-width: 760px;
  margin-inline: 0;
}

.kv {
  margin: 20px 0;
}

.kv div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.kv dt {
  color: var(--text-3);
  font-size: 14px;
}

.kv dd {
  margin: 0;
  font-size: 15px;
}

/* ------------------------------------------------------------------ product page */

.phero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(900px 520px at 78% 45%, color-mix(in srgb, var(--p1) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--p-deep) 50%, var(--bg)), var(--bg));
}

.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(24px, 4vw, 48px);
}

.phero__title {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.phero__tagline {
  max-width: 36ch;
  margin-top: 16px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}

.phero__desc {
  max-width: 56ch;
  margin-top: 12px;
  color: var(--text-2);
}

.phero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--text-3);
  font-size: 14px;
}

.phero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.phero__stage {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--p1) 48%, transparent), transparent);
  filter: blur(30px);
}

.phero__img {
  position: relative;
  width: min(420px, 82%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}

@media (max-width: 900px) {
  .phero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phero__visual {
    order: -1;
  }

  .phero__img {
    width: min(300px, 64%);
  }
}

.flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.flow li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 14px;
}

.flow__num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--p1) 24%, transparent);
  color: var(--p-text);
  font-size: 12px;
  font-weight: 700;
}

.flow__end .flow__num {
  background: var(--p-btn);
  color: var(--p-on);
}

.shot {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #0d0e13;
  box-shadow: 0 60px 120px -60px color-mix(in srgb, var(--p1) 55%, transparent), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.shot__chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #111218;
}

.shot__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.shot__img {
  width: 100%;
}

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

.options__group {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.options__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 650;
}

.options__title span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--p1) 18%, transparent);
  color: var(--p-text);
  font-size: 12.5px;
  font-weight: 700;
}

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

.contents__col {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.contents__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 650;
}

.contents__title .icon {
  color: var(--p-text);
}

.contents__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14.5px;
}

.contents__formats {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ login */

.page-auth {
  display: flex;
  flex-direction: column;
}

.page-auth main {
  display: flex;
  flex: 1;
}

.auth {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  overflow: hidden;
  padding: clamp(16px, 4vw, 48px) 0 clamp(48px, 6vw, 80px);
}

.auth__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 420px at 22% 50%, rgba(232, 194, 122, 0.08), transparent 70%),
    radial-gradient(520px 420px at 82% 40%, rgba(91, 46, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.auth__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.auth__boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  max-width: 400px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth__box {
  position: relative;
  isolation: isolate;
}

.auth__box::before {
  content: '';
  position: absolute;
  inset: 30% 0 0;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--p1) 50%, transparent), transparent);
  filter: blur(20px);
  opacity: 0.7;
}

.auth__box:nth-child(even) {
  transform: translateY(32px);
}

.auth__box img {
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.55));
}

.auth__aside-title {
  margin-top: 56px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.auth__aside-text {
  max-width: 400px;
  margin-top: 10px;
  color: var(--text-2);
}

.auth__card {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.85);
}

.auth__brand {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.auth__title {
  margin-top: 10px;
  font-size: 2rem;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.auth__lead {
  margin: 8px 0 28px;
  color: var(--text-2);
  font-size: 15px;
}

.auth__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.auth__back:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .auth__grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .auth__aside {
    display: none;
  }

  .auth__card {
    width: 100%;
    max-width: 460px;
  }
}

.login-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 550;
}

.field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 194, 122, 0.2);
}

.field input[aria-invalid='true'] {
  border-color: #f87171;
}

.field__error {
  color: #fca5a5;
  font-size: 13px;
}

.field__error:empty {
  display: none;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 13.5px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
  cursor: pointer;
}

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

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text-2);
  font-size: 14.5px;
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.form-status:not(.is-visible) {
  display: none;
}

.form-status.is-visible {
  padding: 12px 14px;
  border: 1px solid rgba(248, 113, 113, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
  font-size: 14px;
  line-height: 1.5;
}

.form-status--success.is-visible {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
  color: #bbf7d0;
}

.form-status--info.is-visible {
  border-color: rgba(245, 185, 74, 0.3);
  background: rgba(245, 185, 74, 0.08);
  color: #f8dfa8;
}

/* ------------------------------------------------------------------ studio wrapper */

.page-studio {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.studio-bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #0a0b10;
}

.studio-bar__back,
.studio-bar__home {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.studio-bar__back:hover,
.studio-bar__home:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.studio-bar__home svg {
  width: 22px;
  height: 22px;
}

.studio-bar__title {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: 4px;
}

.studio-bar__title h1 {
  overflow: hidden;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.studio-bar__title h1 span {
  color: var(--text-3);
  font-weight: 500;
}

.studio-bar__actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.studio-main {
  display: flex;
  flex: 1;
  min-height: 0;
}

.studio-frame {
  display: block;
  flex: 1;
  width: 100%;
  border: 0;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .studio-bar__dash,
  .studio-bar__title .badge {
    display: none;
  }
}

@media (max-width: 720px) {
  .studio-bar__actions .btn {
    width: 38px;
    padding: 0;
  }

  .studio-bar__actions .btn > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .studio-bar__title h1 span,
  .studio-bar__title .mark {
    display: none;
  }
}

/* ------------------------------------------------------------------ error */

.error {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
}

.error__code {
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.error__title {
  margin-top: 16px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.error__text {
  max-width: 480px;
  margin: 12px auto 0;
  color: var(--text-2);
}

/* ------------------------------------------------------------------ light sections + paper cards */

.section--light,
.paper {
  --text: #10121a;
  --text-2: #464b58;
  --text-3: #5f6574;
  --border: rgba(16, 18, 26, 0.09);
  --border-strong: rgba(16, 18, 26, 0.16);
  --surface: #ffffff;
  --accent: #8a6516;
  --shadow: 0 1px 2px rgba(16, 18, 26, 0.04), 0 14px 34px -20px rgba(16, 18, 26, 0.22);
  color: var(--text);
}

.section--light,
.section--light [class*='theme-'],
.paper,
.paper [class*='theme-'] {
  --p-text: var(--p-ink);
}

.section--light {
  background: radial-gradient(1100px 380px at 50% 0%, #ffffff, rgba(255, 255, 255, 0) 70%), #f4f2ec;
}

.section--light + .section--light {
  border-top: 1px solid var(--border);
}

.section--light ::selection {
  background: rgba(232, 194, 122, 0.45);
  color: #10121a;
}

.section--light .chip,
.paper .chip {
  background: rgba(16, 18, 26, 0.04);
}

.section--light .btn--primary,
.paper .btn--primary {
  background: #10121a;
  color: #ffffff;
  box-shadow: 0 10px 24px -14px rgba(16, 18, 26, 0.7);
}

.section--light .btn--primary:hover,
.paper .btn--primary:hover {
  background: #232633;
}

.section--light .btn--ghost,
.paper .btn--ghost {
  background: #ffffff;
  color: var(--text);
}

.section--light .btn--ghost:hover,
.paper .btn--ghost:hover {
  background: #f1efe9;
  border-color: rgba(16, 18, 26, 0.26);
}

.section--light .fcard,
.section--light .step,
.section--light .options__group,
.section--light .contents__col,
.section--light .spec,
.section--light .panel {
  box-shadow: var(--shadow);
}

.section--light .fcard:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 101, 22, 0.35);
}

.section--light .fcard__icon,
.section--light .panel__icon,
.paper .panel__icon {
  border-color: rgba(138, 101, 22, 0.22);
  background: linear-gradient(180deg, #fff8e8, #fbefd3);
  color: #7a5812;
}

.page-product .section--light .fcard__icon {
  border-color: color-mix(in srgb, var(--p-ink) 26%, transparent);
  background: color-mix(in srgb, var(--p1) 10%, #ffffff);
  color: var(--p-ink);
}

.section--light .guide,
.section--light .every,
.section--light .zip,
.section--light .flow li {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 18, 26, 0.04);
}

.section--light .guide__links a {
  background: #f7f6f2;
}

.section--light .guide__links a:hover {
  background: #efede6;
}

.section--light .section-header--left .section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.paper {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f7f5f0);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8);
}

.section--light .paper {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.paper__head {
  margin-bottom: 16px;
}

.paper__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.075rem;
  font-weight: 680;
  letter-spacing: -0.012em;
}

.paper__title .icon {
  color: var(--accent);
}

.paper__sub {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 14px;
}

.paper__empty {
  color: var(--text-3);
  font-size: 14.5px;
}

.section--flush-top {
  padding-top: 0;
}

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

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-wrap .section-header--left .section-title {
  margin-top: 12px;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

.faq-wrap .section-header--left .section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, background-color 0.25s;
}

.faq__item[open] {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1.025rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q .icon {
  color: var(--text-3);
  transition: transform 0.3s var(--ease), color 0.2s;
}

.faq__item[open] .faq__q .icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__a {
  padding: 0 20px 20px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ avatar, header user */

.avatar {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #087f73, #e91e63, #5b2eff, #ff3d00, #087f73);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.avatar--sm {
  width: 30px;
  height: 30px;
  font-size: 11.5px;
}

.avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.nav__user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 550;
}

.nav__user-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) and (min-width: 861px) {
  .nav__user-name {
    display: none;
  }

  .nav__user {
    padding-right: 4px;
  }
}

@media (max-width: 860px) {
  .js .nav__user {
    max-width: none;
    padding: 8px 12px 8px 8px;
    border-radius: var(--radius-sm);
  }
}

/* ------------------------------------------------------------------ badges (more tones) */

.badge--accent {
  color: #f5dda9;
  background: rgba(232, 194, 122, 0.1);
  border-color: rgba(232, 194, 122, 0.3);
}

.badge--danger {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.28);
}

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

.badge--ready-light {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.you {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(232, 194, 122, 0.14);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 650;
  vertical-align: 2px;
}

.paper .you {
  background: #fbefd3;
}

.muted {
  color: var(--text-3);
  font-size: 14px;
}

/* ------------------------------------------------------------------ alerts, flash, credentials */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14.5px;
  line-height: 1.55;
}

.alert > .icon {
  margin-top: 1px;
}

.alert__body {
  flex: 1;
  min-width: 0;
}

.alert__title {
  font-weight: 650;
}

.alert__text {
  color: var(--text-2);
}

.alert__title + .alert__text {
  margin-top: 2px;
}

.alert__action {
  margin-top: 12px;
}

.alert--success {
  border-color: rgba(74, 222, 128, 0.3);
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.03));
}

.alert--success > .icon {
  color: #86efac;
}

.alert--error {
  border-color: rgba(248, 113, 113, 0.34);
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.11), rgba(248, 113, 113, 0.03));
}

.alert--error > .icon {
  color: #fca5a5;
}

.alert--warn {
  border-color: rgba(245, 185, 74, 0.32);
  background: linear-gradient(90deg, rgba(245, 185, 74, 0.1), rgba(245, 185, 74, 0.03));
}

.alert--warn > .icon {
  color: #fcd58a;
}

.alert--info > .icon {
  color: var(--accent);
}

.auth__card .alert {
  margin-bottom: 20px;
}

.flash {
  margin-bottom: 4px;
}

.dash-hero .flash {
  margin-bottom: 28px;
}

.credential {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.credential__label {
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.credential__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 8px;
}

.credential__value {
  font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  user-select: all;
}

.credential__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12.5px;
}

/* ------------------------------------------------------------------ forms */

.field__label {
  font-size: 14px;
  font-weight: 550;
}

.field__control {
  position: relative;
}

.field__control input {
  padding-right: 48px;
}

.field__reveal {
  position: absolute;
  top: 50%;
  right: 6px;
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-3);
  cursor: pointer;
  transform: translateY(-50%);
}

.js .field__reveal {
  display: grid;
}

.field__reveal:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.field__reveal-hide,
.field__reveal[aria-pressed='true'] .field__reveal-show {
  display: none;
}

.field__reveal[aria-pressed='true'] .field__reveal-hide {
  display: block;
}

.field__hint {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.5;
}

.field__caps {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fcd58a;
  font-size: 13px;
}

.field__caps[hidden] {
  display: none;
}

.field__static {
  font-size: 15px;
}

.input--code {
  font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input[type='search'] {
  height: 40px;
}

.form-panel {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-group {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
}

.form-group--plain {
  padding: 0;
  border: 0;
  background: none;
}

.form-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 14.5px;
  font-weight: 650;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.checks,
.choice {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.checks__legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 550;
}

.checks__grid,
.choice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 560px) {
  .checks__grid,
  .choice__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.check-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.check-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-card__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.check-card__name {
  font-size: 14.5px;
  font-weight: 550;
}

.check-card:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

.check-card:has(input:checked) {
  border-color: color-mix(in srgb, var(--p1) 70%, transparent);
  background: color-mix(in srgb, var(--p1) 12%, transparent);
}

.check-card input:checked + .check-card__box {
  border-color: var(--p-btn);
  background: var(--p-btn);
  color: var(--p-on);
}

.check-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.is-muted .checks {
  opacity: 0.5;
}

.choice__item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.choice__item input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.choice__item:has(input:checked) {
  border-color: rgba(232, 194, 122, 0.6);
  background: rgba(232, 194, 122, 0.07);
}

.choice__body {
  display: grid;
  gap: 2px;
}

.choice__label {
  font-size: 14.5px;
  font-weight: 600;
}

.choice__text {
  color: var(--text-3);
  font-size: 13.5px;
}

.choice:disabled .choice__item {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ------------------------------------------------------------------ setup wizard */

.wizard {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.wizard__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 550;
}

.wizard__step.is-current {
  border-color: rgba(232, 194, 122, 0.35);
  color: var(--text);
}

.wizard__num {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
}

.is-current .wizard__num,
.form-group__title .wizard__num {
  background: var(--accent);
  color: #120e06;
}

.auth__help {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.5;
}

.auth__help .icon {
  margin-top: 2px;
}

.page-setup .auth__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
}

@media (max-width: 900px) {
  .page-setup .auth__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.auth__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 24px;
}

.auth__links .auth__back {
  margin-top: 0;
}

.auth__switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.auth__switch:hover {
  color: var(--accent);
}

.form-status__link {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ admin sign-in */

.page-admin-login .auth__glow {
  background: radial-gradient(640px 460px at 20% 45%, rgba(232, 194, 122, 0.07), transparent 70%),
    radial-gradient(560px 420px at 85% 60%, rgba(70, 110, 255, 0.07), transparent 70%);
}

.page-admin-login .auth::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.page-admin-login .auth__card {
  position: relative;
  border-color: rgba(232, 194, 122, 0.28);
  background: linear-gradient(180deg, rgba(20, 22, 30, 0.92), rgba(12, 13, 19, 0.92));
}

.page-admin-login .auth__card::before {
  content: '';
  position: absolute;
  inset: 0 24px auto;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.admin-auth__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(232, 194, 122, 0.35);
  border-radius: 999px;
  background: rgba(232, 194, 122, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-admin-login .auth__title {
  margin-top: 16px;
}

.admin-auth__aside {
  max-width: 460px;
}

.admin-auth__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-auth__aside .auth__aside-title {
  margin-top: 14px;
}

.admin-auth__tasks {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.admin-auth__task {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.admin-auth__task strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
}

.admin-auth__task span span {
  display: block;
  margin-top: 2px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.admin-auth__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(232, 194, 122, 0.12);
  color: var(--accent);
}

/* ------------------------------------------------------------------ member area layout */

.stack {
  display: grid;
  gap: 20px;
  align-content: start;
}

.stack--sm {
  gap: 12px;
}

.stack > .btn,
.stack > .checkbox {
  justify-self: start;
}

.panel--danger .panel__text {
  font-size: 14.5px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dash-hero--compact {
  padding-bottom: clamp(24px, 3vw, 36px);
}

.dash-hero--compact .back-link {
  margin-bottom: 18px;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-head .dash-hero__title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  overflow-wrap: anywhere;
}

.dash-hero__hello {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(232, 194, 122, 0.24);
  border-radius: 999px;
  background: rgba(232, 194, 122, 0.06);
  color: var(--accent-2);
  font-size: 13.5px;
  font-weight: 600;
}

.panel__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.075rem;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.panel__heading .icon {
  color: var(--accent);
}

.panel__text--muted {
  color: var(--text-3);
  font-size: 14px;
}

.panel--focus {
  border-color: rgba(232, 194, 122, 0.4);
  box-shadow: 0 0 0 4px rgba(232, 194, 122, 0.08), var(--shadow);
}

.panel--danger {
  border-color: rgba(248, 113, 113, 0.22);
}

.panel--danger .panel__heading .icon {
  color: #fca5a5;
}

.btn--danger {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.btn--danger:hover {
  background: rgba(248, 113, 113, 0.2);
}

.stats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

@media (max-width: 900px) {
  .stats--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat__value small {
  margin-left: 2px;
  color: var(--text-3);
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0;
}

.kv--compact {
  margin: 12px 0 0;
}

.kv--compact div {
  padding: 10px 0;
}

.kv--plain div:first-child {
  border-top: 0;
}

.kv--plain {
  padding: 0 4px;
}

/* ------------------------------------------------------------------ admin */

.admin-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(232, 194, 122, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(232, 194, 122, 0.08), rgba(232, 194, 122, 0.015));
}

.admin-strip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(232, 194, 122, 0.14);
  color: var(--accent);
}

.admin-strip__text {
  flex: 1;
  min-width: 220px;
  color: var(--text-2);
  font-size: 14.5px;
}

.admin-strip__text strong {
  margin-right: 6px;
  color: var(--text);
}

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

.panel--table {
  padding: 0;
}

.table-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.table-tools__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 650;
}

.count {
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 650;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 300px);
}

.search .icon {
  position: absolute;
  left: 12px;
  color: var(--text-3);
}

.search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 14.5px;
}

.search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 194, 122, 0.2);
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.table th {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background-color 0.2s;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.table__action {
  text-align: right;
}

@media (max-width: 720px) {
  .table {
    min-width: 0;
  }

  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
  }

  .table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }

  .table tbody tr:last-child {
    border-bottom: 0;
  }

  .table tr[hidden] {
    display: none;
  }

  .table td {
    padding: 0;
    border: 0;
  }

  .table td:first-child,
  .table__action {
    grid-column: 1 / -1;
  }

  .table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table__action {
    text-align: left;
  }

  .table__action .btn {
    width: 100%;
  }
}

.table-empty {
  padding: 24px 20px;
  color: var(--text-3);
  text-align: center;
}

.member {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member__text {
  min-width: 0;
}

.member__name {
  font-weight: 600;
}

.member__email {
  color: var(--text-3);
  font-size: 13.5px;
}

.member .badge {
  margin-left: auto;
}

.marks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.when {
  display: block;
}

.when__sub {
  display: block;
  color: var(--text-3);
  font-size: 12.5px;
}

.activity {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}

.activity__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a06b;
  transform: translateY(-1px);
}

.activity__dot.is-warn {
  background: #d97706;
}

.activity__text {
  color: var(--text-2);
  font-size: 14.5px;
}

.activity__text strong {
  color: var(--text);
  font-weight: 600;
}

.activity__time {
  color: var(--text-3);
  font-size: 13px;
  white-space: nowrap;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.panel__heading + .action-row {
  margin-top: 10px;
}

.action-row:last-child {
  padding-bottom: 0;
}

.action-row__text {
  flex: 1;
  min-width: 200px;
}

.action-row__title {
  font-size: 14.5px;
  font-weight: 600;
}

.action-row__desc {
  color: var(--text-3);
  font-size: 13.5px;
}

/* ------------------------------------------------------------------ account */

.profile {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.profile .dash-hero__lead {
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.access-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.access-list__name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}

.access-list__item.is-locked .mark {
  opacity: 0.4;
}

.access-list__item.is-locked .access-list__name {
  color: var(--text-3);
  font-weight: 500;
}

.access-list__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--p1) 12%, #ffffff);
  color: var(--p-ink);
  font-size: 13.5px;
  font-weight: 650;
  transition: background-color 0.2s;
}

.access-list__link:hover {
  background: color-mix(in srgb, var(--p1) 20%, #ffffff);
}

.access-list__locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 13px;
}

.sessions {
  display: grid;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.sessions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.sessions__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
}

.sessions__device {
  font-size: 14.5px;
  font-weight: 600;
}

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

/* ------------------------------------------------------------------ dashboard library states */

.lcard--locked .lcard__media {
  filter: grayscale(0.85) brightness(0.7);
}

.lcard--locked .pcard__title,
.lcard--locked .lcard__desc {
  color: var(--text-3);
}

.lcard__lock {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(7, 8, 12, 0.7);
  color: var(--text);
}

.lcard__locked-note {
  padding: 12px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--text-3);
  font-size: 14px;
}

.locked-group {
  margin-top: 36px;
}

.locked-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 600;
}

.locked-group__lead {
  margin-bottom: 16px;
  color: var(--text-3);
  font-size: 14.5px;
}

.lcard__request {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.lcard__request .lcard__locked-note {
  width: 100%;
}

.lcard__request.is-pending .badge {
  justify-self: start;
}

/* ------------------------------------------------------------------ contact */

.contact-section {
  scroll-margin-top: 72px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.contact__title {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.contact__lead {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 16.5px;
}

.contact__points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 15px;
}

.contact__points .icon {
  flex: none;
  color: var(--accent);
}

.contact__form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3.5vw, 36px);
}

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

.paper .check-card__box {
  border-color: rgba(16, 18, 26, 0.3);
}

.paper .check-card {
  background: #fff;
}

.paper .check-card:hover {
  border-color: rgba(16, 18, 26, 0.3);
}

.paper .field input {
  background: #fff;
}

.paper .field input:hover {
  border-color: rgba(16, 18, 26, 0.3);
}

.paper .field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 101, 22, 0.18);
}

.paper .field input[aria-invalid='true'] {
  border-color: #d92d20;
}

.paper .field__error {
  color: #b42318;
}

.paper .form-status.is-visible {
  border-color: #fecdca;
  background: #fef3f2;
  color: #912018;
}

.paper .form-status--success.is-visible {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #085d3a;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ admin: enquiries + settings */

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

.tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 550;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.tabs__item:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.tabs__item.is-active {
  border-color: rgba(232, 194, 122, 0.45);
  background: rgba(232, 194, 122, 0.1);
  color: var(--accent);
}

.enquiries {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.enquiry.is-open {
  border-color: rgba(232, 194, 122, 0.3);
}

.enquiry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.enquiry__name {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 650;
}

.enquiry__email {
  margin-top: 2px;
  color: var(--text-2);
  font-size: 14px;
}

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

.enquiry__label {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enquiry__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.enquiry__tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 550;
}

.enquiry__owned {
  color: var(--text-3);
  font-weight: 450;
}

.enquiry__side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 6px;
}

.enquiry__time {
  color: var(--text-2);
  font-size: 13.5px;
}

.enquiry__by {
  color: var(--text-3);
  font-size: 12.5px;
}

.enquiry__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .enquiry {
    grid-template-columns: minmax(0, 1fr);
  }

  .enquiry__side {
    justify-items: start;
  }

  .enquiry__actions {
    justify-content: flex-start;
  }
}

.settings-form {
  max-width: 640px;
}

/* ------------------------------------------------------------------ motion */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.hero .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.hero .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.hero .reveal:nth-child(5) {
  transition-delay: 0.24s;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__aurora span {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
