/* ARAZAS | DreamClub */

:root {
  --bg: #07060a;
  --bg-elev: #0f0d14;
  --surface: #15121c;
  --surface-strong: #1b1725;
  --text: #f5f1ea;
  --text-dim: rgba(245, 241, 234, 0.72);
  --muted: rgba(245, 241, 234, 0.55);
  --line: rgba(245, 241, 234, 0.12);
  --line-strong: rgba(245, 241, 234, 0.22);

  --accent: #c9a962;
  --accent-strong: #e6c982;
  --accent-ink: #1a1208;
  --danger: #ff9a8f;
  --success: #b9e8c6;

  --font-sans: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: "Fraunces", "Outfit", Georgia, serif;

  --radius-sm: 0.55rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --radius-pill: 999px;

  --shadow-card: 0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Dreamify design standard ----------
   Ported from @dreamify/ui-react (dreamify-com/shared):
   src/styles/tokens.css + src/tailwind-preset.ts. HSL channels are stored raw
   so they compose with hsl(... / alpha) the same way the Tailwind preset does. */
:root {
  --df-background: 222.2 84% 4.9%;
  --df-card: 222.2 84% 6%;
  --df-foreground: 0 0% 100%;
  --df-primary: 217.2 91.2% 59.8%;
  --df-primary-foreground: 0 0% 100%;
  --df-secondary: 217.2 32.6% 17.5%;
  --df-muted: 217.2 32.6% 17.5%;
  --df-muted-foreground: 215 20.2% 70%;
  --df-border: 217.2 32.6% 17.5%;
  --df-ring: 224.3 76.3% 48%;
  --df-brand-yellow: 54 100% 68%;
  --df-brand-yellow-soft: 48 55% 16%;
  --df-radius: 0.5rem;

  /* Brand gradient (blue -> violet) used on primary CTAs across dreamify.com. */
  --df-blue: 221 83% 53%;
  --df-brand-gradient: linear-gradient(135deg, hsl(221 83% 53%) 0%, hsl(258 90% 60%) 100%);
  --df-brand-gradient-hover: linear-gradient(135deg, hsl(221 83% 48%) 0%, hsl(258 90% 55%) 100%);
}

/* Apply the Dreamify standard to the inside (member) app shell. The marketing
   landing keeps its current look until we re-skin it separately. */
body.is-app-page {
  --bg: hsl(var(--df-background));
  --bg-elev: hsl(var(--df-card));
  --surface: hsl(217.2 32.6% 11%);
  --surface-strong: hsl(var(--df-secondary));
  --text: hsl(var(--df-foreground));
  --text-dim: hsl(215 20.2% 82%);
  --muted: hsl(var(--df-muted-foreground));
  --line: hsl(var(--df-border));
  --line-strong: hsl(217.2 32.6% 27%);

  --accent: hsl(var(--df-primary));
  --accent-strong: hsl(213 94% 68%);
  --accent-ink: hsl(var(--df-primary-foreground));
  --brand-yellow: hsl(var(--df-brand-yellow));

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

#home {
  scroll-margin-top: 6rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.1rem clamp(1rem, 3vw, 2.25rem);
  background: linear-gradient(
    180deg,
    rgba(7, 6, 10, 0.78) 0%,
    rgba(7, 6, 10, 0.45) 60%,
    rgba(7, 6, 10, 0) 100%
  );
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-solid {
  position: sticky;
  background: rgba(7, 6, 10, 0.92);
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.site-nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 0.52rem 0.86rem;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--text);
  background: rgba(201, 169, 98, 0.14);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.28);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  line-height: 1;
}

.brand-arazas {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-arazas:focus-visible,
.brand-dreamclub:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.75);
  outline-offset: 4px;
  border-radius: 3px;
}

.brand-dreamclub {
  text-decoration: none;
  line-height: 1;
}

.brand-dreamclub:hover {
  color: var(--accent-strong);
}

.brand:focus-visible {
  outline: none;
}

.brand-mark {
  height: clamp(2rem, 3.5vw, 2.6rem);
  width: auto;
  object-fit: contain;
  background: transparent;
}

.brand-divider {
  color: var(--muted);
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1;
}

.brand-secondary {
  color: var(--accent-strong);
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.nav-ghost,
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}

.nav-cta {
  color: #fff;
  background: var(--df-brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px -10px hsl(var(--df-blue) / 0.85);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--df-brand-gradient-hover);
  box-shadow: 0 12px 22px -10px hsl(var(--df-blue) / 0.95);
}

/* ---------- Hero (photo-only banner) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #12100c;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.75s var(--ease);
  will-change: opacity;
}

.hero-layer.is-visible {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 6, 10, 0.45) 0%,
    rgba(7, 6, 10, 0.1) 40%,
    rgba(7, 6, 10, 0.65) 100%
  );
  pointer-events: none;
}

/* ---------- Hero nav arrows ---------- */

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(7, 6, 10, 0.4);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), color 0.2s var(--ease);
}

.hero-prev {
  left: clamp(0.75rem, 3vw, 2rem);
}

.hero-next {
  right: clamp(0.75rem, 3vw, 2rem);
}

.hero-nav:hover {
  background: rgba(7, 6, 10, 0.7);
  border-color: rgba(201, 169, 98, 0.5);
  color: var(--accent);
  transform: translateY(-50%) scale(1.06);
}

.hero-nav:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.35);
}

@media (max-width: 640px) {
  .hero-nav {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* ---------- Hero picker ---------- */

.hero-picker {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.3rem;
  max-width: calc(100vw - 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(7, 6, 10, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.65);
}

.hero-pick {
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.hero-pick:hover:not(.is-active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-pick.is-active {
  color: hsl(var(--df-blue));
  background: #fff;
  font-weight: 600;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  .hero-pick {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* ---------- Auth dialog ---------- */

.auth-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: visible;
}

.auth-dialog:not([open]) {
  display: none;
}

.auth-dialog::backdrop {
  background: rgba(6, 5, 9, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.auth-dialog[open] {
  animation: dialog-in 0.22s var(--ease);
}

.auth-dialog[open]::backdrop {
  animation: backdrop-in 0.22s var(--ease);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.auth-dialog-card {
  margin: 0;
}

.auth-dialog-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.auth-dialog-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Auth card ---------- */

.auth-card {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(27, 23, 37, 0.82) 0%,
    rgba(15, 13, 20, 0.92) 100%
  );
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-card);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.35),
    rgba(201, 169, 98, 0) 35%
  );
  mask: linear-gradient(#000, #000) content-box,
    linear-gradient(#000, #000);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0.7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
}

.auth-tab {
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.auth-tab:hover:not(.is-active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.auth-tab.is-active {
  color: #fff;
  background: var(--df-brand-gradient);
  box-shadow: 0 6px 14px -8px hsl(var(--df-blue) / 0.75);
}

.auth-switch {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.auth-switch button {
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: hsl(var(--df-primary));
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.auth-switch button:hover {
  color: hsl(var(--df-blue));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-card-head {
  margin-bottom: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  padding: 0.35rem 0.75rem 0.35rem 0.65rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: var(--radius-pill);
  color: var(--accent-strong);
  background: rgba(201, 169, 98, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.auth-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: -0.015em;
}

.auth-subtitle {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field-label {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.auth-form input::placeholder {
  color: rgba(245, 241, 234, 0.35);
}

.auth-form input:hover {
  background: rgba(255, 255, 255, 0.06);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.75);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.15);
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.button-primary {
  margin-top: 0.35rem;
  color: #fff;
  background: var(--df-brand-gradient);
  box-shadow: 0 10px 24px -12px hsl(var(--df-blue) / 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.button-primary:hover {
  transform: translateY(-1px);
  background: var(--df-brand-gradient-hover);
  box-shadow: 0 16px 28px -12px hsl(var(--df-blue) / 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.button-primary:disabled {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

.button-primary .button-arrow {
  transition: transform 0.2s var(--ease);
}

.button-primary:hover .button-arrow {
  transform: translateX(3px);
}

.button-secondary {
  color: hsl(var(--df-blue));
  background: #fff;
  border: 1px solid #fff;
  font-weight: 600;
}

.button-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
}

.auth-message {
  min-height: 1.15rem;
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-message.error {
  color: var(--danger);
}

.auth-message.success {
  color: var(--success);
}

.auth-fineprint {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

/* Member panel (post-login) */

.member-panel {
  display: grid;
  gap: 0.75rem;
}

.member-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(185, 232, 198, 0.18);
}

.member-email {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  word-break: break-word;
}

.member-note {
  margin: 0 0 0.25rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-bar {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 20%,
    var(--accent) 80%,
    transparent 100%
  );
}

.footer-content {
  padding: 0.7rem 1.25rem;
  text-align: center;
  background: var(--bg);
}

.footer-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-sep {
  margin: 0 0.4rem;
  color: var(--line-strong);
}

.footer-line a {
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.footer-line a:hover {
  color: var(--accent-strong);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .brand-wordmark {
    font-size: 0.9rem;
  }

  .auth-card {
    padding: 1.3rem;
  }
}

/* ============================================================
   Inside (app.html) — top nav, sub-nav, sidebar filters, offers
   ============================================================ */

.is-app-page {
  background: var(--bg);
}

/* ---------- App header (top nav + sub nav) ---------- */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(11, 9, 15, 0.95) 0%,
    rgba(11, 9, 15, 0.88) 100%
  );
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.app-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem clamp(1rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--line);
}

.app-search {
  position: relative;
  width: min(32rem, 100%);
  justify-self: center;
}

.app-search-icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.app-search input {
  width: 100%;
  padding: 0.7rem 0.95rem 0.7rem 2.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.app-search input::placeholder {
  color: rgba(245, 241, 234, 0.35);
}

.app-search input:hover {
  background: rgba(255, 255, 255, 0.06);
}

.app-search input:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.7);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.app-user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.icon-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem 0.35rem 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.85rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.user-menu-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.avatar {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.user-email {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-dim);
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
  z-index: 40;
}

.user-menu-item {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.user-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* ---------- Sub-nav (Dreamify product switcher) ---------- */

.app-subnav {
  display: flex;
  gap: 0.25rem;
  padding: 0.55rem clamp(1rem, 3vw, 1.75rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.app-subnav::-webkit-scrollbar {
  display: none;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.product-tab svg {
  flex-shrink: 0;
}

.product-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.product-tab.is-active {
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px -12px rgba(201, 169, 98, 0.7);
}

/* ---------- Main app layout ---------- */

.app-main {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 3vw, 1.75rem);
  width: min(100rem, 100%);
  margin: 0 auto;
}

/* ---------- Sidebar ---------- */

.app-sidebar {
  position: sticky;
  top: 7.5rem;
  align-self: start;
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 13, 20, 0.55);
  max-height: calc(100vh - 9rem);
  overflow: auto;
}

.sidebar-section {
  display: grid;
  gap: 0.55rem;
}

.sidebar-heading {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-list.compact {
  gap: 0.15rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.88rem;
  text-align: left;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.filter-chip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.filter-chip.is-active {
  color: var(--text);
  background: rgba(201, 169, 98, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.28);
}

.chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--dot, var(--accent));
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.08);
  flex-shrink: 0;
}

.chip-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.filter-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.filter-row:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.filter-row input[type="checkbox"] {
  accent-color: var(--accent);
  width: 0.95rem;
  height: 0.95rem;
}

.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.price-chip {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.price-chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.price-chip.is-active {
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  border-color: transparent;
}

/* ---------- Content ---------- */

.app-content {
  min-width: 0;
}

.app-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.eyebrow-small {
  margin: 0 0 0.35rem;
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.toolbar-title {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

.toolbar-subtitle {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.toolbar-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.sort-select {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 0.82rem;
}

.sort-select span {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.sort-select select {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  padding-right: 0.5rem;
  cursor: pointer;
}

.sort-select select:focus {
  outline: none;
}

.sort-select select option {
  background: var(--bg-elev);
  color: var(--text);
}

/* ---------- Offers grid + cards ---------- */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.1rem;
}

.offers-empty {
  margin: 2.5rem auto;
  max-width: 30rem;
  color: var(--text-dim);
  text-align: center;
  font-size: 0.95rem;
}

.offer-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(27, 23, 37, 0.85) 0%,
    rgba(15, 13, 20, 0.92) 100%
  );
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
}

.offer-media {
  position: relative;
  height: 11rem;
  background-size: cover;
  background-position: center;
  background-color: #1c1a22;
}

.offer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 6, 10, 0.05) 0%,
    rgba(7, 6, 10, 0.55) 100%
  );
}

.offer-discount,
.offer-category {
  position: absolute;
  z-index: 1;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.offer-discount {
  top: 0.7rem;
  left: 0.7rem;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  text-transform: uppercase;
}

.offer-category {
  top: 0.7rem;
  right: 0.7rem;
  color: var(--text);
  background: rgba(7, 6, 10, 0.55);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.offer-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
}

.offer-header {
  display: grid;
  gap: 0.25rem;
}

.offer-venue {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}

.offer-desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.offer-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-strong);
}

.offer-reviews {
  color: var(--muted);
}

.offer-left {
  color: var(--danger);
  font-weight: 500;
}

.offer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.offer-pricing {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.offer-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--text);
}

.offer-original {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: line-through;
}

.offer-cta {
  padding: 0.6rem 1.05rem;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.offer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -10px rgba(201, 169, 98, 0.8);
}

.offer-cta.is-claimed {
  color: var(--success);
  background: rgba(185, 232, 198, 0.12);
  cursor: default;
  opacity: 0.9;
  transform: none;
}

.offer-ends {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .app-header-main {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand user" "circle circle";
    row-gap: 0.65rem;
  }
  .app-header-main .brand {
    grid-area: brand;
  }
  .app-header-main .app-user {
    grid-area: user;
    justify-self: end;
  }
  .app-header-main .circle-badge {
    grid-area: circle;
    justify-self: start;
    text-align: left;
  }

  .app-main {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    max-height: none;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .event-row-side {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .user-email {
    display: none;
  }

  .app-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Landing page sections (index.html)
   ============================================================ */

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  z-index: 2;
  width: min(42rem, calc(100vw - 2.5rem));
  text-align: center;
  pointer-events: none;
}

.hero-content * {
  pointer-events: auto;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-cta,
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hero-cta {
  color: #fff;
  background: var(--df-brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px -12px hsl(var(--df-blue) / 0.9);
}

.hero-cta:hover {
  transform: translateY(-1px);
  background: var(--df-brand-gradient-hover);
}

.hero-cta-secondary {
  color: var(--text);
  background: rgba(7, 6, 10, 0.45);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.hero-cta-secondary:hover {
  border-color: rgba(201, 169, 98, 0.5);
  color: var(--accent-strong);
}

.landing-section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  background: var(--bg);
}

.landing-section-alt {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(15, 13, 20, 0.85) 50%,
    var(--bg) 100%
  );
}

.landing-inner {
  width: min(68rem, 100%);
  margin: 0 auto;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.feature-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.feature-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 13, 20, 0.45);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.rhythm-card {
  padding: 1.25rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(201, 169, 98, 0.06);
}

.rhythm-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rhythm-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

.journey-steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(15, 13, 20, 0.4);
  color: var(--text-dim);
  counter-increment: journey;
}

.journey-steps li::before {
  content: counter(journey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  font-size: 0.8rem;
  font-weight: 700;
}

.journey-steps strong {
  color: var(--text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.pricing-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 13, 20, 0.5);
}

.pricing-card-featured {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 20px 50px -30px rgba(201, 169, 98, 0.5);
}

.pricing-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.pricing-tag {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pricing-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

.principles-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.principles-list li {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.principles-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Interior pages ---------- */

body.is-page {
  padding-top: 0;
}

.page-main {
  min-height: calc(100vh - 8rem);
}

.page-hero {
  padding: clamp(5.5rem, 12vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(15, 13, 20, 0.6) 0%,
    var(--bg) 100%
  );
  border-bottom: 1px solid var(--line);
}

.page-title {
  margin: 0 0 0.85rem;
  max-width: 44rem;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-lead {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.65;
}

.page-callout {
  margin-top: 2.5rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.page-callout h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.page-callout p {
  margin: 0 0 1rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.page-callout p:last-child {
  margin-bottom: 0;
}

.page-callout-cta .principles-cta {
  margin-top: 0.5rem;
}

.exclude-list {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.exclude-list li {
  padding: 0.65rem 0.85rem;
  color: var(--text-dim);
  background: rgba(255, 154, 143, 0.06);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand actions"
      "links links";
    row-gap: 0.65rem;
  }

  .site-header .brand {
    grid-area: brand;
  }

  .site-nav-links {
    grid-area: links;
    justify-content: flex-start;
    padding-bottom: 0.15rem;
  }

  .site-nav {
    grid-area: actions;
  }
}

@media (max-width: 640px) {
  .nav-ghost {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }

  .nav-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.46rem 0.69rem;
  }
}

/* ============================================================
   Circle app views (app.html v2)
   ============================================================ */

.circle-badge {
  justify-self: center;
  display: grid;
  gap: 0.1rem;
  text-align: center;
}

.circle-badge-name {
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.circle-badge-meta {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.app-main-single {
  grid-template-columns: 1fr;
  width: min(72rem, 100%);
}

.view-root {
  min-width: 0;
}

.health-pill {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.health-pill-green {
  color: var(--success);
  background: rgba(185, 232, 198, 0.12);
  border: 1px solid rgba(185, 232, 198, 0.35);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.panel-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.panel-card-accent {
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.08);
}

.panel-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.panel-lead,
.panel-meta {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.panel-cta,
.text-link,
.toolbar-btn {
  justify-self: start;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.panel-cta:hover,
.text-link:hover,
.toolbar-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-strong);
}

.view-section {
  margin-top: 1.5rem;
}

.view-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.view-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.mini-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.event-list {
  display: grid;
  gap: 0.75rem;
}

.event-list.compact .event-row {
  padding: 1rem;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.event-type {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-row h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.event-meta,
.event-host,
.event-capacity {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.event-row-side {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.rsvp-group {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.15);
}

.rsvp-btn {
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.rsvp-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.rsvp-btn.is-active {
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
}

.directory-controls {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.directory-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
}

.directory-search input:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.6);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-pill {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: capitalize;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter-pill:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.filter-pill.is-active {
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  border-color: transparent;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
}

.member-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.member-avatar {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  font-weight: 700;
}

.member-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
}

.member-neighbourhood,
.member-pod {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.tag {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 500;
}

.tag-interest {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
}

.tag-open {
  color: var(--success);
  background: rgba(185, 232, 198, 0.1);
}

.deals-grid,
.pods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.deal-card,
.pod-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.deal-category {
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deal-card h3,
.pod-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.deal-neighbourhood,
.deal-offer,
.pod-focus,
.pod-meta,
.pod-next {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.deal-cta,
.pod-cta {
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.deal-cta:hover,
.pod-cta:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.intro-form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.intro-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: vertical;
  min-height: 6rem;
}

.intro-form textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.6);
}

.request-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.request-list p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.request-status {
  color: var(--success);
  font-size: 0.75rem;
  white-space: nowrap;
}

.view-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.app-footer-note .footer-policy {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .health-pill {
    align-self: flex-start;
  }
}

/* ============================================================
   Marketing pages (arazaslive-style layout)
   ============================================================ */

body.is-marketing {
  --dc-max: 70rem;
  --dc-surface: #f8f6f1;
  --dc-surface-alt: #f1ede4;
  --dc-text-dark: #1a1208;
  --dc-muted-dark: #5c5347;
  --dc-border-light: #e8e0d0;
  --dc-shadow: 0 20px 60px rgba(7, 6, 10, 0.12);
}

body.is-marketing .page-main {
  min-height: auto;
}

.dc-hero {
  padding: clamp(5rem, 10vw, 6.5rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(180deg, #12100c 0%, #1b1725 55%, #15121c 100%);
  color: var(--text);
}

.dc-hero-inner {
  width: min(var(--dc-max), 100%);
  margin: 0 auto;
}

.dc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.dc-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dc-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.dc-hero-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dc-impact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.dc-impact-card {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: var(--dc-surface);
  border: 1px solid var(--dc-border-light);
  box-shadow: 0 14px 34px rgba(7, 6, 10, 0.1);
}

.dc-impact-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--dc-text-dark);
  font-size: 0.95rem;
}

.dc-impact-card span {
  color: var(--dc-muted-dark);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dc-hero-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.dc-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dc-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 6, 10, 0.55), transparent 50%);
  pointer-events: none;
}

.dc-hero-caption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
}

.dc-hero-caption strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.dc-hero-caption span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}

.dc-section {
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
  background: var(--dc-surface);
  color: var(--dc-text-dark);
}

.dc-section-alt {
  background: var(--dc-surface-alt);
}

.dc-section-dark {
  background: linear-gradient(180deg, #15121c 0%, #0f0d14 100%);
  color: var(--text);
}

body.is-marketing .dc-section-dark {
  background: linear-gradient(180deg, var(--al-navy-deep) 0%, var(--al-navy) 55%, #0a101d 100%);
  color: var(--text);
}

body.is-marketing .dc-section-dark h2 {
  color: var(--text);
}

body.is-marketing .dc-section-dark .dc-eyebrow {
  color: var(--al-amber);
}

.dc-section-inner {
  width: min(var(--dc-max), 100%);
  margin: 0 auto;
}

.dc-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.dc-section-intro {
  margin: 0 0 2rem;
  max-width: 44rem;
  color: var(--dc-muted-dark);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dc-section-dark .dc-section-intro {
  color: var(--text-dim);
}

.dc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
}

.dc-card {
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.dc-card p {
  margin: 0;
  color: var(--dc-muted-dark);
  font-size: 0.94rem;
  line-height: 1.55;
}

.dc-section-dark .dc-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  box-shadow: none;
}

.dc-section-dark .dc-card h3 {
  color: var(--text);
}

.dc-section-dark .dc-card p {
  color: var(--text-dim);
}

.dc-feature-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.dc-feature-media-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.dc-feature-media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-feature-media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dc-feature-media-card--wide img {
  aspect-ratio: 16 / 7;
}

.dc-feature-media-card figcaption {
  padding: 1.15rem 1.2rem 1.25rem;
}

.dc-feature-media-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.dc-feature-media-card p {
  margin: 0;
  color: var(--dc-muted-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dc-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.dc-panel {
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
}

.dc-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.dc-bullet-list li {
  color: var(--dc-muted-dark);
  font-size: 0.92rem;
  line-height: 1.5;
}

.dc-bullet-list li::before {
  content: "\2022";
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.55rem;
}

.dc-pro-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.dc-pro-card {
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-pro-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.14);
  border: 1px solid rgba(201, 169, 98, 0.35);
  color: #8a6d1f;
  font-size: 0.82rem;
  font-weight: 700;
}

.dc-pro-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.dc-pro-card p {
  margin: 0;
  color: var(--dc-muted-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dc-section-dark .dc-pro-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  box-shadow: none;
}

.dc-section-dark .dc-pro-card h3 {
  color: var(--text);
}

.dc-section-dark .dc-pro-card p {
  color: var(--text-dim);
}

.dc-section-dark .dc-month-week {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dc-section-dark .dc-month-week h3 {
  color: var(--text);
}

.dc-section-dark .dc-month-week p {
  color: var(--text-dim);
}

.dc-section-dark .dc-month-week-label {
  color: var(--al-amber);
}

.dc-section-dark .dc-vip-card {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.28);
}

.dc-section-dark .dc-vip-card strong {
  color: var(--text);
}

.dc-section-dark .dc-vip-card span {
  color: var(--text-dim);
}

.dc-section-dark .dc-exp-category {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dc-section-dark .dc-exp-category h3 {
  color: var(--text);
}

.dc-section-dark .dc-exp-tags li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
}

.dc-section-dark .dc-feature-media-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dc-section-dark .dc-feature-media-card strong {
  color: var(--text);
}

.dc-section-dark .dc-feature-media-card p {
  color: var(--text-dim);
}

.dc-section-dark .dc-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dc-section-dark .dc-panel h3 {
  color: var(--text);
}

.dc-section-dark .dc-bullet-list li {
  color: var(--text-dim);
}

.dc-section-dark .dc-journey-grid li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: var(--text-dim);
}

.dc-section-dark .dc-journey-grid strong {
  color: var(--text);
}

.dc-section-dark .dc-pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dc-section-dark .dc-pricing-card h3 {
  color: var(--text);
}

.dc-section-dark .dc-pricing-card ul,
.dc-section-dark .dc-pricing-note {
  color: var(--text-dim);
}

.dc-section-dark .dc-pricing-tag {
  color: var(--al-amber);
}

.dc-section-dark .dc-pricing-card-featured {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 24px 50px -20px rgba(245, 158, 11, 0.2);
}

.dc-section-dark .dc-cta-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: none;
}

.dc-section-dark .dc-pro-card-badge {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--al-amber);
}

.dc-journey-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-journey-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: 0 10px 28px rgba(7, 6, 10, 0.06);
  color: var(--dc-muted-dark);
  font-size: 0.94rem;
  line-height: 1.5;
}

.dc-journey-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  font-size: 0.8rem;
  font-weight: 700;
}

.dc-journey-grid strong {
  color: var(--dc-text-dark);
}

.dc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.dc-pricing-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem 1.3rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-pricing-card-featured {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 24px 50px -20px rgba(201, 169, 98, 0.35);
}

.dc-pricing-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.dc-pricing-tag {
  margin: 0;
  color: #8a6d1f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dc-pricing-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--dc-muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

.dc-pricing-note {
  margin: 0;
  color: var(--dc-muted-dark);
  font-size: 0.82rem;
  font-style: italic;
}

.dc-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #15121c 0%, #1f1a28 100%);
  border: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.dc-cta-panel h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
}

.dc-cta-panel p {
  margin: 0;
  color: var(--text-dim);
  max-width: 28rem;
}

.dc-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.dc-btn:hover {
  transform: translateY(-1px);
}

.dc-btn-primary {
  color: #fff;
  background: var(--df-brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dc-btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
}

.dc-exclude-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-exclude-list li {
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--danger);
  border-radius: 0 0.5rem 0.5rem 0;
  background: rgba(255, 154, 143, 0.08);
  color: var(--dc-muted-dark);
  font-size: 0.92rem;
}

.dc-section-dark .dc-exclude-list li {
  color: var(--text-dim);
  background: rgba(255, 154, 143, 0.06);
}

@media (max-width: 900px) {
  .dc-hero-grid {
    grid-template-columns: 1fr;
  }

  .dc-hero-media {
    order: -1;
  }

  .dc-month-flow {
    grid-template-columns: 1fr;
  }

  .dc-exp-category-featured {
    grid-template-columns: 1fr;
  }
}

/* Monthly programming + experience catalog */

.dc-month-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.dc-month-week {
  padding: 1.15rem 1.1rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-month-week-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #8a6d1f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dc-month-week h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.dc-month-week p {
  margin: 0;
  color: var(--dc-muted-dark);
  font-size: 0.88rem;
  line-height: 1.5;
}

.dc-vip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.dc-vip-card {
  padding: 1.25rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.12), rgba(201, 169, 98, 0.04));
  border: 1px solid rgba(201, 169, 98, 0.28);
}

.dc-vip-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--dc-text-dark);
}

.dc-vip-card span {
  color: var(--dc-muted-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

.dc-exp-catalog {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.dc-exp-category {
  padding: 1.25rem 1.2rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-exp-category-featured {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.dc-exp-category-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1rem;
}

.dc-exp-category-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dc-exp-category-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.dc-exp-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dc-exp-category h3 {
  margin: 0;
  font-size: 1.15rem;
}

.dc-exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-exp-tags li {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--dc-surface-alt);
  border: 1px solid var(--dc-border-light);
  color: var(--dc-muted-dark);
  font-size: 0.82rem;
  line-height: 1.3;
}

.dc-exp-category--social .dc-exp-category-icon {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.dc-exp-category--outdoor .dc-exp-category-icon {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.dc-exp-category--travel .dc-exp-category-icon {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

.dc-exp-category--sports .dc-exp-category-icon {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
}

.dc-exp-category--culture .dc-exp-category-icon {
  background: rgba(168, 85, 247, 0.12);
  color: #7e22ce;
}

.dc-exp-category--volunteer .dc-exp-category-icon {
  background: rgba(236, 72, 153, 0.12);
  color: #be185d;
}

.dc-exp-category--unique .dc-exp-category-icon {
  background: rgba(201, 169, 98, 0.18);
  color: #8a6d1f;
}

@media (max-width: 900px) {
  .dc-vip-grid {
    grid-template-columns: 1fr;
  }
}

.dc-section-spaced-eyebrow {
  display: block;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .dc-month-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   ARAZAS Live design alignment (v17)
   ============================================================ */

body.is-home,
body.is-marketing {
  --al-max: 70rem;
  --al-navy: #0f172a;
  --al-navy-deep: #0b1220;
  --al-cream: #f8f6f1;
  --al-amber: #f59e0b;
  --al-amber-hover: #d97706;
  --al-amber-soft: rgba(245, 158, 11, 0.14);
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  background: #111;
  color: var(--text);
}

body.is-home .site-shell,
body.is-marketing .site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

body.is-home .page-main,
body.is-marketing .page-main {
  flex: 1;
}

/* Let the fixed home header receive clicks above the full-bleed hero */
body.is-home .page-main {
  pointer-events: none;
}

body.is-home .hero-nav,
body.is-home .hero-picker,
body.is-home .hero-pick,
body.is-home .banner-actions,
body.is-home .banner-actions .button {
  pointer-events: auto;
}

/* Header shell */

body.is-home .site-header,
body.is-marketing .site-header {
  display: block;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.is-home .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  pointer-events: auto;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    transparent 100%
  );
  border-bottom-color: transparent;
}

body.is-marketing .site-header-solid {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  width: min(var(--al-max), 100%);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

body.is-home .brand-divider,
body.is-home .brand-secondary,
body.is-marketing .brand-divider,
body.is-marketing .brand-secondary {
  font-family: var(--font-sans);
}

body.is-home .brand-secondary,
body.is-marketing .brand-secondary {
  color: var(--al-amber);
}

body.is-home .brand-dreamclub:hover,
body.is-marketing .brand-dreamclub:hover {
  color: var(--al-amber-hover);
}

/* Nav underline (ARAZAS Live style) */

body.is-home .nav-link,
body.is-marketing .nav-link {
  position: relative;
  padding: 0.4rem 0.75rem;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  font-weight: 500;
}

body.is-home .nav-link::after,
body.is-marketing .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2px;
  background: var(--al-amber);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

body.is-home .nav-link:hover,
body.is-marketing .nav-link:hover,
body.is-home .nav-link.is-active,
body.is-marketing .nav-link.is-active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

body.is-home .nav-link:hover::after,
body.is-marketing .nav-link:hover::after,
body.is-home .nav-link.is-active::after,
body.is-marketing .nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Shared button system */

.button,
body.is-home .nav-cta,
body.is-marketing .nav-cta,
body.is-home .nav-ghost,
body.is-marketing .nav-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.button-primary,
body.is-home .nav-cta,
body.is-marketing .nav-cta {
  border: 1px solid transparent;
  background: var(--al-amber);
  color: #111;
}

.button-primary:hover,
body.is-home .nav-cta:hover,
body.is-marketing .nav-cta:hover {
  background: var(--al-amber-hover);
  color: #111;
  transform: translateY(-1px);
}

.button-secondary,
body.is-home .nav-ghost,
body.is-marketing .nav-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-secondary:hover,
body.is-home .nav-ghost:hover,
body.is-marketing .nav-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Home banner */

body.is-home .hero-scrim {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 38%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

body.is-home .hero-picker {
  bottom: clamp(5.5rem, 12vh, 7rem);
}

body.is-home .hero-pick.is-active {
  color: var(--al-navy);
  background: #fff;
}

.banner-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vh, 2rem);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: min(calc(100vw - 2rem), 40rem);
}

.banner-actions .button {
  min-width: 9.5rem;
}

@media (max-width: 640px) {
  .banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-actions .button {
    width: 100%;
    min-width: 0;
  }

  body.is-home .hero-picker {
    bottom: clamp(9.5rem, 22vh, 11rem);
    max-width: calc(100vw - 1.5rem);
  }
}

/* Marketing page heroes */

body.is-marketing .dc-hero {
  margin-top: 0;
  background: linear-gradient(180deg, var(--al-navy-deep) 0%, var(--al-navy) 100%);
}

.dc-hero--compact {
  padding-block: clamp(2.75rem, 7vw, 4rem);
}

.dc-hero--compact .dc-hero-lead {
  max-width: 42rem;
}

body.is-marketing .dc-eyebrow {
  color: var(--al-amber);
}

body.is-marketing .dc-btn-primary {
  background: var(--al-amber);
  color: #111;
  border-color: transparent;
}

body.is-marketing .dc-btn-primary:hover {
  background: var(--al-amber-hover);
}

body.is-marketing .dc-btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

body.is-marketing .dc-section-dark + .dc-section-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.is-marketing .dc-impact-card,
body.is-marketing .dc-month-week,
body.is-marketing .dc-exp-category,
body.is-marketing .dc-pro-card,
body.is-marketing .dc-feature-media-card {
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

body.is-marketing .dc-section-dark .dc-impact-card,
body.is-marketing .dc-section-dark .dc-month-week,
body.is-marketing .dc-section-dark .dc-exp-category,
body.is-marketing .dc-section-dark .dc-pro-card,
body.is-marketing .dc-section-dark .dc-feature-media-card {
  box-shadow: none;
}

/* Rich footer */

.site-footer-rich {
  margin-top: auto;
  background: #fff;
  color: #1a1208;
}

.footer-accent-strip {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--al-amber) 0%,
    #fbbf24 50%,
    var(--al-amber) 100%
  );
}

.footer-inner {
  width: min(var(--al-max), 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem)
    clamp(1.5rem, 3vw, 2rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 22rem;
  color: #5c5347;
  font-size: 0.92rem;
  line-height: 1.6;
}

.brand-footer .brand-mark {
  height: 2rem;
}

.brand-footer .brand-divider,
.brand-footer .brand-secondary {
  font-family: var(--font-sans);
  font-size: 1.35rem;
}

.brand-footer .brand-secondary {
  color: var(--al-amber-hover);
}

.footer-column h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6d1f;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  color: #5c5347;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--al-amber-hover);
}

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.25rem;
  border-top: 1px solid #e8e0d0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
  color: #8a8175;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand nav"
      "links links";
    gap: 0.75rem;
  }

  body.is-home .site-header-inner .brand,
  body.is-marketing .site-header-inner .brand {
    grid-area: brand;
  }

  body.is-home .site-header-inner .site-nav,
  body.is-marketing .site-header-inner .site-nav {
    grid-area: nav;
    justify-self: end;
  }

  body.is-home .site-header-inner .site-nav-links,
  body.is-marketing .site-header-inner .site-nav-links {
    grid-area: links;
    justify-content: flex-start;
    padding-bottom: 0.15rem;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 0.15rem 0.25rem;
  }

  body.is-home .nav-link,
  body.is-marketing .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.58rem;
  }
}

/* Member app alignment */

body.is-app-page {
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

body.is-app-page .app-header {
  background: rgba(15, 23, 42, 0.96);
}

body.is-app-page .brand-divider,
body.is-app-page .brand-secondary {
  font-family: var(--font-sans);
}

body.is-app-page .brand-secondary {
  color: #f59e0b;
}

body.is-app-page .app-nav-link.is-active,
body.is-app-page .app-subnav-link.is-active {
  color: #f59e0b;
}

/* AI-generated marketing image disclaimer */

.media-ai-disclaimer {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  max-width: calc(100% - 1.2rem);
  padding: 0.35rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.68);
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: right;
  pointer-events: none;
}

.media-ai-disclaimer--hero {
  top: 5rem;
  left: 0.85rem;
  right: auto;
  max-width: 11rem;
  text-align: left;
  z-index: 3;
}

.dc-hero-media .media-ai-disclaimer {
  top: 0.75rem;
  right: 0.75rem;
}

.dc-hero-caption {
  z-index: 1;
}

@media (max-width: 640px) {
  .media-ai-disclaimer {
    font-size: 0.58rem;
    max-width: 9.5rem;
  }

  .media-ai-disclaimer--hero {
    top: 4.25rem;
    left: 0.65rem;
    max-width: 9rem;
  }
}

/* Membership application */
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.apply-form-panel {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.apply-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.apply-account-bar p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.apply-account-gate h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.apply-account-gate p {
  margin: 0 0 1.25rem;
  color: var(--text-dim);
}

.apply-form {
  display: grid;
  gap: 1.5rem;
}

.apply-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.apply-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(245, 241, 234, 0.55) 50%),
    linear-gradient(135deg, rgba(245, 241, 234, 0.55) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.apply-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.apply-form input:hover,
.apply-form select:hover,
.apply-form textarea:hover {
  background: rgba(255, 255, 255, 0.06);
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.75);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.15);
}

.apply-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 1rem;
}

.apply-fieldset legend {
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.apply-field-hint {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.apply-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.apply-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 0.92rem;
  cursor: pointer;
}

.apply-check input {
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

.apply-check--commit {
  grid-column: 1 / -1;
}

.apply-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.apply-message {
  margin: 0;
  font-size: 0.92rem;
}

.apply-message.error {
  color: #f2a3a3;
}

.apply-message.success {
  color: #9fd4b8;
}

.apply-submit {
  justify-self: start;
}

.apply-sidebar {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.apply-sidebar h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.apply-sidebar-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-dim);
  display: grid;
  gap: 0.85rem;
}

.apply-sidebar-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.apply-sidebar-note a {
  color: var(--accent);
}

.apply-status-panel {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.08), rgba(255, 255, 255, 0.02));
}

.apply-status-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.18);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply-status-panel h2 {
  margin: 0 0 0.75rem;
}

.apply-status-text {
  margin: 0 0 1.25rem;
  color: var(--text-dim);
  max-width: 42rem;
}

.apply-status-steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.apply-status-steps li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text-dim);
}

.apply-status-steps li.is-done {
  border-color: rgba(201, 169, 98, 0.4);
  background: rgba(201, 169, 98, 0.08);
  color: var(--text);
}

@media (max-width: 900px) {
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .apply-form-row,
  .apply-check-grid {
    grid-template-columns: 1fr;
  }
}
