:root {
  color-scheme: light;
  --navy-950: #0F172A;
  --navy-900: #0F172A;
  --navy-800: #0F172A;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #2563EB;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --gold-500: #F59E0B;
  --gold-400: #F59E0B;
  --gold-100: #fff0c2;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --canvas: #F8FAFC;
  --surface: #ffffff;
  --success: #16A34A;
  --danger: #DC2626;
  --warning: #9a6400;
  --shadow-sm: 0 8px 24px rgba(7, 26, 52, 0.07);
  --shadow-lg: 0 24px 64px rgba(4, 18, 37, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --content: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy-950);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.eyebrow {
  color: var(--blue-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-400);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 7px 24px rgba(241, 185, 62, 0.24);
}

.brand-on-dark {
  color: #fff;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--navy-950);
  color: #fff;
}

.site-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.public-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
}

.public-nav a:hover,
.public-nav a[aria-current="page"] {
  color: #fff;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.24);
}

.button-primary:hover:not(:disabled) {
  background: var(--blue-700);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.3);
}

.button-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 12px 30px rgba(241, 185, 62, 0.23);
}

.button-ghost-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-danger {
  border-color: #f4ccd2;
  background: #fff4f5;
  color: var(--danger);
}

.button-small {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 0.79rem;
}

.button-block {
  width: 100%;
}

.button:disabled {
  box-shadow: none;
  opacity: 0.52;
  transform: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.25rem;
}

/* Landing */
.landing-body {
  background: var(--navy-950);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 23%, rgba(37, 99, 235, 0.3), transparent 25%),
    radial-gradient(circle at 18% 10%, rgba(241, 185, 62, 0.1), transparent 20%),
    linear-gradient(150deg, #0F172A 0%, #0F172A 64%, #0a2448 100%);
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 70px;
  padding-block: 76px 92px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.invite-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  border: 1px solid rgba(247, 206, 107, 0.22);
  border-radius: 999px;
  background: rgba(247, 206, 107, 0.08);
  color: var(--gold-400);
  font-size: 0.77rem;
  font-weight: 800;
  padding: 8px 13px;
}

.invite-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 5px rgba(247, 206, 107, 0.11);
  content: "";
}

.hero h1 {
  max-width: 680px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--gold-400);
}

.hero-lead {
  max-width: 615px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.77rem;
}

.hero-note::before {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--gold-400);
  content: "✓";
  font-size: 0.7rem;
  line-height: 16px;
  text-align: center;
}

.campaign-preview {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.campaign-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(43vw, 560px);
  border: 1px solid rgba(52, 136, 255, 0.25);
  border-radius: 50%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.campaign-orbit::before,
.campaign-orbit::after {
  position: absolute;
  border: 1px solid rgba(241, 185, 62, 0.15);
  border-radius: inherit;
  content: "";
}

.campaign-orbit::before {
  inset: 12%;
}

.campaign-orbit::after {
  inset: 25%;
}

.preview-card {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(8, 30, 58, 0.86);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 18px;
}

.preview-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-count {
  border-radius: 999px;
  background: rgba(52, 136, 255, 0.14);
  color: #92c1ff;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 6px 9px;
}

.preview-video {
  position: relative;
  display: grid;
  min-height: 236px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(6, 24, 48, 0.1), rgba(6, 24, 48, 0.76)),
    radial-gradient(circle at 68% 24%, rgba(52, 136, 255, 0.6), transparent 28%),
    linear-gradient(130deg, #173459, #0a1c35 65%);
}

.preview-video::before,
.preview-video::after {
  position: absolute;
  content: "";
}

.preview-video::before {
  right: 8%;
  bottom: -40%;
  width: 52%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  aspect-ratio: 1;
}

.preview-video::after {
  top: 17%;
  left: 9%;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.12), 0 36px 0 rgba(255, 255, 255, 0.07);
}

.play-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 1.35rem;
  padding-left: 4px;
  backdrop-filter: blur(12px);
}

.preview-content {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.preview-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.preview-title-row h2 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.03rem;
}

.preview-title-row p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
}

.status-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(21, 128, 95, 0.14);
  color: #6ee7bd;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 6px 9px;
}

.preview-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.preview-progress span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-400));
}

.trust-strip {
  background: #fff;
  color: var(--ink);
}

.trust-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 25px;
}

.trust-intro {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 700;
}

.trust-icon,
.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 800;
}

.section {
  padding-block: 96px;
}

.section-white {
  background: #fff;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 12px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.section-heading p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

.step-card,
.benefit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.step-card h3,
.benefit-card h3 {
  margin-top: 24px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.23rem;
}

.step-card p,
.benefit-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.step-number {
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: Outfit, Inter, sans-serif;
}

.benefit-card {
  box-shadow: none;
}

.benefit-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 1.1rem;
  font-weight: 900;
}

.cta-band {
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}

.cta-band-inner {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-block: 64px;
}

.cta-band-inner::after {
  position: absolute;
  right: -80px;
  width: 380px;
  border: 1px solid rgba(52, 136, 255, 0.2);
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: inset 0 0 80px rgba(37, 99, 235, 0.08);
  content: "";
}

.cta-band-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.cta-band h2 {
  margin-top: 10px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.7;
}

.cta-band .button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  padding-block: 52px;
}

.footer-about p {
  max-width: 380px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-column h2 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 0.86rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 15px;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

/* Authentication */
.auth-body {
  min-height: 100vh;
  background: #fff;
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 0.88fr) minmax(520px, 1.12fr);
}

.auth-promo {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 20% 78%, rgba(241, 185, 62, 0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(52, 136, 255, 0.35), transparent 30%),
    var(--navy-950);
  color: #fff;
  padding: 44px clamp(30px, 5vw, 78px);
}

.auth-promo::after {
  position: absolute;
  right: -130px;
  bottom: -130px;
  width: 430px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: 0 0 0 75px rgba(255, 255, 255, 0.025), 0 0 0 150px rgba(255, 255, 255, 0.018);
  content: "";
}

.auth-promo-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-block: auto;
  padding-block: 80px;
}

.auth-promo-copy h1 {
  margin-top: 14px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.auth-promo-copy p {
  max-width: 500px;
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.auth-promo-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.auth-promo-foot span {
  color: var(--gold-400);
}

.auth-panel {
  display: grid;
  place-items: center;
  background: #fff;
  padding: 56px 28px;
}

.auth-card {
  width: min(100%, 520px);
}

.auth-card-header h2 {
  margin-top: 8px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  letter-spacing: -0.04em;
}

.auth-card-header p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 29px;
  border-radius: 14px;
  background: var(--canvas);
  padding: 5px;
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-tab[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 5px 14px rgba(7, 26, 52, 0.08);
  color: var(--ink);
}

.auth-form {
  display: grid;
  gap: 17px;
  margin-top: 26px;
}

.auth-form[hidden] {
  display: none;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label,
.field-label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #ccd8e6;
  border-radius: 13px;
  background: #fff;
  padding: 0 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: 0;
}

.field-hint {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 70px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  padding-inline: 9px;
  transform: translateY(-50%);
}

.form-message {
  border-radius: 12px;
  font-size: 0.77rem;
  line-height: 1.55;
  padding: 11px 13px;
}

.form-message:empty {
  display: none;
}

.form-message.error {
  border: 1px solid #f2c9cf;
  background: #fff5f6;
  color: var(--danger);
}

.form-message.success {
  border: 1px solid #bee8d9;
  background: #f0fbf7;
  color: var(--success);
}

.terms-note,
.auth-back {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

.terms-note a,
.auth-back a,
.inline-link {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-back {
  margin-top: 23px;
}

/* Member application */
.app-body {
  background: var(--canvas);
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-950);
  color: #fff;
  padding: 24px 18px;
}

.sidebar .brand {
  padding-inline: 8px;
}

.sidebar-nav {
  display: grid;
  gap: 5px;
  margin-top: 42px;
}

.sidebar-nav a {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0 14px;
}

.sidebar-nav a::before {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  content: attr(data-icon);
  font-size: 0.72rem;
}

.sidebar-nav a:hover,
.sidebar-nav a[aria-current="page"] {
  background: rgba(52, 136, 255, 0.14);
  color: #fff;
}

.sidebar-nav a[aria-current="page"]::before {
  background: var(--blue-600);
}

.sidebar-foot {
  display: grid;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 8px 0;
}

.sidebar-account {
  min-width: 0;
}

.sidebar-account strong,
.sidebar-account span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-account strong {
  font-size: 0.79rem;
}

.sidebar-account span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.67rem;
}

.signout-button {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
}

.app-main {
  min-width: 0;
}

.app-topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 248, 252, 0.9);
  padding: 0 clamp(20px, 4vw, 48px);
  backdrop-filter: blur(15px);
}

.app-topbar h1 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.13rem;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cde2ff;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.69rem;
  font-weight: 800;
  padding: 7px 10px;
}

.access-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  content: "";
}

.mobile-sidebar-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
}

.app-content {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 42px clamp(20px, 4vw, 48px) 70px;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.page-intro h2 {
  margin-top: 6px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-intro p {
  max-width: 650px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #cde2ff;
  border-radius: 15px;
  background: var(--blue-50);
  color: #21446f;
  font-size: 0.78rem;
  line-height: 1.6;
  padding: 13px 15px;
}

.notice::before {
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  content: "i";
  font-family: Georgia, serif;
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.86fr;
  gap: 20px;
  margin-top: 20px;
}

.welcome-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 28%, rgba(52, 136, 255, 0.35), transparent 26%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 34px;
}

.welcome-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  aspect-ratio: 1;
  content: "";
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025);
}

.welcome-card h3 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 14px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.welcome-card p {
  position: relative;
  z-index: 1;
  max-width: 530px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  line-height: 1.7;
}

.welcome-card .button {
  position: relative;
  z-index: 1;
  margin-top: 25px;
}

.progress-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 27px;
}

.card-label {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.progress-number {
  margin-top: auto;
  font-family: Outfit, Inter, sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.progress-number span {
  color: var(--muted);
  font-size: 1.2rem;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  margin-top: 19px;
  border-radius: 999px;
  background: #e9eff7;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
  transition: width 300ms ease;
}

.progress-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.quick-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  padding: 23px;
}

.quick-card h3 {
  margin-top: 18px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.05rem;
}

.quick-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.quick-card a {
  margin-top: auto;
  color: var(--blue-700);
  font-size: 0.77rem;
  font-weight: 800;
}

.quick-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 900;
}

.loading-panel,
.empty-panel {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 35px;
}

.spinner {
  width: 27px;
  height: 27px;
  border: 3px solid #dce6f2;
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Tasks */
.task-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  padding: 22px 24px;
}

.task-summary h3 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1rem;
}

.task-summary p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.task-summary-meter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-summary-meter .progress-track {
  width: 170px;
  margin: 0;
}

.task-summary-meter strong {
  min-width: 34px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 0.9rem;
}

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

.task-card {
  overflow: hidden;
}

.task-thumb {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(52, 136, 255, 0.56), transparent 25%),
    linear-gradient(130deg, #13345b, #07192f);
}

.task-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.task-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 18, 37, 0.5), transparent 60%);
  content: "";
}

.task-thumb .play-mark {
  width: 54px;
  height: 54px;
  font-size: 1rem;
}

.task-card-content {
  display: grid;
  gap: 14px;
  padding: 19px;
}

.task-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.task-card h3 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.task-card-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.task-state {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 8px;
}

.task-state.completed {
  background: #ebf9f4;
  color: var(--success);
}

.task-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.task-duration {
  color: var(--muted);
  font-size: 0.72rem;
}

.task-dialog {
  width: min(94vw, 820px);
  max-width: 820px;
  max-height: 92vh;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  padding: 0;
}

.task-dialog::backdrop {
  background: rgba(2, 10, 22, 0.82);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 22px 18px;
}

.dialog-head h2 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.18rem;
}

.dialog-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.dialog-close {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 1.15rem;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.task-player-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #020812;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.65;
  padding: 30px;
  text-align: center;
}

.dialog-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 19px 22px 22px;
}

.watch-progress-row {
  display: grid;
  gap: 8px;
}

.watch-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.73rem;
}

.watch-progress-copy strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 20px;
}

.profile-identity {
  display: flex;
  min-height: 360px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.profile-avatar {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 27px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 13px 35px rgba(37, 99, 235, 0.25);
  color: #fff;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.profile-identity h3 {
  margin-top: 20px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.35rem;
}

.profile-identity > p {
  max-width: 100%;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  text-overflow: ellipsis;
}

.profile-status {
  margin-top: 17px;
}

.profile-details {
  padding: 28px;
}

.profile-details h3 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.2rem;
}

.detail-list {
  display: grid;
  gap: 0;
  margin-top: 21px;
}

.detail-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 17px;
}

.detail-row dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.detail-row dd {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  font-weight: 700;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

/* Legal and status pages */
.simple-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.simple-header .container {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-main {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
  padding-block: 70px 90px;
}

.legal-main h1,
.status-main h1 {
  margin-top: 10px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.legal-updated {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-content {
  display: grid;
  gap: 34px;
  margin-top: 48px;
}

.legal-content section {
  display: grid;
  gap: 10px;
}

.legal-content h2 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.22rem;
}

.legal-content p,
.legal-content li {
  color: #465a74;
  font-size: 0.88rem;
  line-height: 1.78;
}

.legal-content ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.status-main {
  display: grid;
  width: min(calc(100% - 40px), 650px);
  min-height: calc(100vh - 73px);
  place-items: center;
  align-content: center;
  margin-inline: auto;
  padding-block: 80px;
  text-align: center;
}

.status-code {
  color: var(--blue-600);
  font-family: Outfit, Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.status-main p {
  max-width: 520px;
  margin-top: 17px;
  color: var(--muted);
  line-height: 1.7;
}

.status-main .button {
  margin-top: 28px;
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(360px, calc(100% - 40px));
  gap: 10px;
}

.toast {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  font-size: 0.77rem;
  line-height: 1.5;
  padding: 13px 15px;
}

.toast.error {
  border-left-color: var(--danger);
}

.sidebar-scrim {
  display: none;
}

@media (max-width: 980px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .campaign-preview {
    width: min(100%, 570px);
    margin-inline: auto;
  }

  .campaign-orbit {
    width: min(75vw, 550px);
  }

  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-intro {
    grid-column: 1 / -1;
  }

  .auth-layout {
    grid-template-columns: minmax(320px, 0.78fr) minmax(460px, 1.22fr);
  }

  .auth-promo {
    padding-inline: 34px;
  }

  .dashboard-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: min(290px, 86vw);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 45;
    inset: 0;
    background: rgba(2, 10, 22, 0.62);
  }

  .sidebar-scrim.open {
    display: block;
  }

  .mobile-sidebar-button {
    display: grid;
  }

  .app-topbar h1 {
    margin-right: auto;
  }

  .auth-layout {
    display: block;
  }

  .auth-promo {
    min-height: 300px;
    padding: 30px 26px;
  }

  .auth-promo-copy {
    margin: 0;
    padding-block: 54px 30px;
  }

  .auth-promo-copy h1 {
    max-width: 600px;
    font-size: 2.7rem;
  }

  .auth-promo-foot {
    display: none;
  }

  .auth-panel {
    padding-block: 46px 70px;
  }

  .steps-grid,
  .benefit-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .task-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .legal-main,
  .status-main {
    width: min(calc(100% - 30px), var(--content));
  }

  .site-header-inner {
    min-height: 66px;
  }

  .menu-button {
    display: grid;
  }

  .public-nav {
    position: absolute;
    top: 61px;
    right: 15px;
    display: none;
    width: min(260px, calc(100vw - 30px));
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: var(--navy-900);
    box-shadow: var(--shadow-lg);
    padding: 8px;
  }

  .public-nav.open {
    display: flex;
  }

  .public-nav a {
    border-radius: 10px;
    padding: 11px 12px;
  }

  .header-signin {
    display: none;
  }

  .hero-inner {
    gap: 52px;
    padding-block: 62px 74px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .preview-video {
    min-height: 190px;
  }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-block: 28px;
  }

  .trust-intro {
    grid-column: auto;
  }

  .section {
    padding-block: 70px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .cta-band-inner {
    min-height: 360px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 28px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 17px;
  }

  .auth-promo {
    min-height: 260px;
  }

  .auth-promo-copy {
    padding-block: 42px 18px;
  }

  .auth-promo-copy h1 {
    font-size: 2.35rem;
  }

  .auth-panel {
    padding-inline: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .app-topbar {
    min-height: 64px;
    padding-inline: 15px;
  }

  .app-topbar-actions .access-badge {
    display: none;
  }

  .app-content {
    padding: 29px 15px 60px;
  }

  .page-intro {
    display: block;
  }

  .welcome-card {
    min-height: 300px;
    padding: 28px 24px;
  }

  .progress-card {
    min-height: 240px;
  }

  .task-summary {
    grid-template-columns: 1fr;
  }

  .task-summary-meter .progress-track {
    flex: 1;
    width: auto;
  }

  .dialog-foot {
    grid-template-columns: 1fr;
  }

  .dialog-foot .button {
    width: 100%;
  }

  .task-dialog {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .profile-identity,
  .profile-details {
    padding: 24px 20px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Self-contained Lucide icon sprite: /assets/icons.svg */
.wp-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  overflow: visible;
}

.wp-icon-host,
.wp-nav-icon,
.wp-header-icon-button > span,
.wp-signout-button > span,
.wp-bottom-link > span,
.wp-plan-benefit-icon,
.wp-task-limit-check,
.wp-profile-detail-icon,
.wp-quick-action-icon,
.wp-security-check,
.wp-admin-metric-icon,
.wp-admin-activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
