/* ═══════════════════════════════════════════════════════
   ODYSSEY THEME — Main Stylesheet
   v2.5.0 | liquid glass design system
═══════════════════════════════════════════════════════ */

/* ── GEOMANIST (self-hosted) ── */
@font-face { font-family:'Geomanist'; src:url('https://odysseypublication.com/css/fonts/geomanist_4.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Geomanist'; src:url('https://odysseypublication.com/css/fonts/geomanist_5.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Geomanist'; src:url('https://odysseypublication.com/css/fonts/geomanist_6.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Geomanist'; src:url('https://odysseypublication.com/css/fonts/geomanist_7.woff2') format('woff2'); font-weight:700; font-display:swap; }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ── HOMEPAGE BODY — overflow hidden for infinite scroll ── */
body.home {
  width: 100%; height: 100vh; overflow: hidden;
  font-family: var(--font-body); font-size: 16px;
  background: var(--bg);
}

/* ── NON-HOME BODY ── */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
}

/* ── STICKY FOOTER ── */
body:not(.home):not(.od-auth-page) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body:not(.home):not(.od-auth-page) .grid-stage,
body:not(.home):not(.od-auth-page) .od-portal-shell,
body:not(.home):not(.od-auth-page) .plans-page,
body:not(.home):not(.od-auth-page) .page-content,
body:not(.home):not(.od-auth-page) .entry-content,
body:not(.home):not(.od-auth-page) main {
  flex: 1;
}

/* ── AMBIENT ORBS ── */
.ambient-glows {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.glow-orb {
  position: absolute; border-radius: 50%;
  opacity: 0.68;
  animation: orbDrift 20s infinite alternate ease-in-out;
  will-change: transform;
  /* filter:blur() on large fixed elements tanks GPU performance.
     The radial-gradient already provides a soft fade — no blur needed. */
}
.orb-orange {
  top: -10%; left: 15%; width: 45vw; height: 45vw;
  background: radial-gradient(circle, #ff8a65 0%, rgba(255,138,101,0) 70%);
}
.orb-cyan {
  bottom: -15%; right: 10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, #4fc3f7 0%, rgba(79,195,247,0) 70%);
  animation-delay: -5s;
}
.orb-purple {
  top: 35%; right: 25%; width: 35vw; height: 35vw;
  background: radial-gradient(circle, #b388ff 0%, rgba(179,136,255,0) 70%);
  animation-delay: -10s;
}
@keyframes orbDrift {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(25px) scale(1.08); }
}

/* ── TOP NAV PILL — frosted glass ── */
.top-nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 28px); max-width: 680px;
  height: 52px;
  display: flex; align-items: center; gap: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 32px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 4px 24px rgba(0,0,0,0.07);
  padding: 0 8px;
  will-change: transform;
  contain: layout style;
}
html.dark .top-nav {
  background: rgba(20, 20, 28, 0.35);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 24px rgba(0,0,0,0.25);
}
.top-nav-left,
.top-nav-right {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.top-nav-right { justify-content: flex-end; }
.top-nav-logo {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 400;
  letter-spacing: 0.10em; color: var(--ink);
  padding: 0 20px; flex-shrink: 0; user-select: none;
  transition: opacity 0.2s;
}
.top-nav-logo:hover { opacity: 0.65; }
.top-nav-logo img { height: 28px !important; width: auto !important; max-width: none !important; display: block; }
.top-nav-link {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  color: var(--ink-mid); padding: 6px 12px; border-radius: 22px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.top-nav-link:hover { background: rgba(15,15,20,0.07); color: var(--ink); }
.top-nav-link.active { background: rgba(15,15,20,0.07); color: var(--ink); }
.top-nav-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid); flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.top-nav-icon:hover { background: rgba(15,15,20,0.07); color: var(--ink); }
.top-nav-icon svg { width: 17px; height: 17px; }

/* ── FLOAT BAR — frosted glass pill, fixed bottom-center ── */
.float-bar {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 300;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 4px 24px rgba(0,0,0,0.07);
  padding: 8px 10px;
  will-change: transform;
  contain: layout style;
}
html.dark .float-bar {
  background: rgba(20, 20, 28, 0.35);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 24px rgba(0,0,0,0.25);
}
.float-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.float-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.06); }
.float-btn svg { width: 18px; height: 18px; }
/* Account button: gradient — primary action */
.float-btn--account {
  background: linear-gradient(135deg, var(--melon) 0%, var(--fuchsia) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), 0 4px 18px rgba(231,111,81,0.40);
}
.float-btn--account:hover { opacity: 0.88; transform: scale(1.07); }
/* Dark mode toggle button */
.float-btn--dark svg#od-icon-moon,
.float-btn--dark svg#od-icon-sun { pointer-events: none; }
html.dark .float-btn--dark svg#od-icon-moon { display: none; }
html.dark .float-btn--dark svg#od-icon-sun  { display: block; }
html:not(.dark) .float-btn--dark svg#od-icon-moon { display: block; }
html:not(.dark) .float-btn--dark svg#od-icon-sun  { display: none; }

/* ── INLINE SEARCH — expands inside nav pill when search icon is clicked ── */
.nav-right-links {
  display: flex; align-items: center; gap: 2px;
  transition: opacity 0.22s var(--ease), max-width 0.32s var(--ease);
  overflow: hidden; max-width: 280px;
}
.top-nav.search-open .nav-right-links {
  opacity: 0; pointer-events: none; max-width: 0;
}
.nav-inline-search {
  overflow: hidden; max-width: 0; opacity: 0;
  transition: max-width 0.35s var(--ease), opacity 0.22s;
  display: flex; align-items: center;
}
.top-nav.search-open .nav-inline-search {
  max-width: 210px; opacity: 1;
}
.nav-inline-search form {
  display: flex; align-items: center; padding: 0 4px;
}
.nav-inline-search input[type="search"] {
  width: 190px; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--ink); padding: 6px 8px;
}
.nav-inline-search input[type="search"]::placeholder { color: var(--ink-muted); }

/* ── INFINITE SCROLL GRID ── */
.grid-stage { position: relative; z-index: 1; width: 100%; background: transparent; }
.grid-columns {
  display: grid;
  grid-template-columns: repeat(var(--col-count), 1fr);
  gap: var(--gap);
  background: transparent;
  padding: calc(var(--gap) + 80px) var(--gap) var(--gap);
}
.col { display: flex; flex-direction: column; gap: var(--gap); }
/* Note: will-change:transform is added dynamically by theme.js (translateZ(0) in rAF loop)
   only while the column animation is running. Declaring it here would create permanent
   GPU compositing layers for every column even when static, causing scroll jank. */

/* ── ARTICLE CARD ── */
.card {
  position: relative; overflow: hidden; display: block;
  flex-shrink: 0; border-radius: 16px; cursor: pointer;
}
.card .thumb {
  position: relative; width: 100%; aspect-ratio: 2/3;
  overflow: hidden; border-radius: 16px;
}
.card.tall .thumb { aspect-ratio: 3/5; }
.card.sq   .thumb { aspect-ratio: 4/5; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); -webkit-user-drag: none; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(15,15,20,0.16) 50%, rgba(15,15,20,0.60) 100%);
  pointer-events: none; border-radius: 16px;
}
.card-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.95);
  font-family: var(--font-ui); font-size: 8px; font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 10px; border-radius: 20px;
}
.card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 14px; z-index: 2; color: #fff;
}
.card-category {
  font-family: var(--font-ui); font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.52); margin-bottom: 5px;
}
.card-title {
  font-family: var(--font-head); font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 400; line-height: 1.3; color: rgba(255,255,255,0.96);
}

/* ── CARD HOVER GLASS ── */
.card-hover-glass {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px 16px;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,10,18,0.55) 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
}
.card:hover .card-hover-glass { opacity: 1; }
.card-excerpt {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.6; margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── CARD PLACEHOLDER (no featured image) ── */
.card-thumb-placeholder,
.card-glass-placeholder {
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, rgba(231,111,81,0.28) 0%, rgba(147,107,255,0.32) 60%, rgba(79,195,247,0.18) 100%);
}
/* Dark gradient scrim so white text stays readable on placeholder cards */
.card-glass-placeholder::after {
  content: '';
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(to bottom, transparent 30%, rgba(15,15,20,0.55) 100%);
}
.card-thumb-placeholder svg { width: 32px; height: 32px; opacity: 0.25; color: var(--ink); }

/* ── FULL-SCREEN NAV OVERLAY ── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(240,243,248,0.60);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-close {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,15,20,0.08);
  border: 1px solid rgba(15,15,20,0.12);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.nav-close:hover { background: rgba(15,15,20,0.14); }
.nav-close svg { width: 16px; height: 16px; }
/* Apple-style glass app-tile grid */
.nav-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 118px));
  justify-content: center;
  gap: 26px 22px;
  width: min(620px, 90vw);
  margin-bottom: 44px;
}
.nav-tile {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  text-decoration: none; cursor: pointer;
  background: none; border: none;
  opacity: 0; transform: translateY(16px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.nav-overlay.open .nav-tile:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.nav-overlay.open .nav-tile:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.09s; }
.nav-overlay.open .nav-tile:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.13s; }
.nav-overlay.open .nav-tile:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.17s; }
.nav-overlay.open .nav-tile:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.21s; }
.nav-overlay.open .nav-tile:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.25s; }
.nav-overlay.open .nav-tile:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.29s; }
.nav-overlay.open .nav-tile:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.33s; }
.nav-tile-icon {
  width: 68px; height: 68px;
  border-radius: 22px;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  position: relative; overflow: hidden;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(0,0,0,0.04),
    0 10px 28px rgba(31,38,135,0.08);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.nav-tile-icon::before {
  content: ''; position: absolute; top: 2px; left: 8px; right: 8px; height: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50% / 4px; pointer-events: none;
}
.nav-tile-icon svg { width: 26px; height: 26px; }
.nav-tile:hover .nav-tile-icon {
  transform: translateY(-3px) scale(1.06);
  background: rgba(255,255,255,0.72);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    0 16px 36px rgba(31,38,135,0.13);
}
.nav-tile-label {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-mid); text-align: center; line-height: 1.35;
  transition: color 0.2s;
}
.nav-tile:hover .nav-tile-label { color: var(--ink); }
/* Legacy big-link fallback (kept for menus rendered without tiles) */
.nav-links { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 36px; }
.nav-link {
  font-family: var(--font-head);
  font-size: clamp(40px,6.5vw,70px); font-weight: 400; font-style: italic;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.18;
  cursor: pointer;
  background: none; border: none; display: block;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--melon); }
.nav-search-wrap {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s var(--ease) 0.22s, transform 0.4s var(--ease) 0.22s;
}
.nav-overlay.open .nav-search-wrap { opacity: 1; transform: none; }
.nav-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15,15,20,0.10);
  border-radius: 32px; padding: 13px 22px;
  width: min(460px,88vw);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 16px rgba(0,0,0,0.04);
}
.nav-search svg { width: 15px; height: 15px; color: var(--ink-muted); flex-shrink: 0; }
.nav-search input {
  background: none; border: none; outline: none;
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  color: var(--ink); width: 100%;
}
.nav-search input::placeholder { color: rgba(15,15,20,0.38); }
.nav-contact {
  position: absolute; bottom: 36px;
  display: flex; gap: 32px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease) 0.28s, transform 0.4s var(--ease) 0.28s;
}
.nav-overlay.open .nav-contact { opacity: 1; transform: none; }
.nav-contact-item {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--font-body); font-size: 11px;
  font-weight: 500; letter-spacing: 0.04em;
  color: rgba(15,15,20,0.45); text-align: center;
}
.nav-contact-item a { color: rgba(15,15,20,0.45); text-decoration: none; transition: color 0.2s; }
.nav-contact-item a:hover { color: var(--melon); }

/* ── ACCOUNT MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 600;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: var(--surface-glass);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--surface-glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  width: 100%; max-width: 420px;
  padding: 44px 40px 36px;
  position: relative;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.35),
    0 40px 100px rgba(31,38,135,0.12);
  transform: translateY(14px); transition: transform 0.4s var(--ease);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.55); }
.modal-close svg { width: 12px; height: 12px; }
.modal-logo {
  text-align: center; margin-bottom: 18px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  color: var(--ink-muted);
}
.modal-logo-img { display: block; margin: 0 auto; }
.modal-logo-light { display: block; }
.modal-logo-dark  { display: none; }
html.dark .modal-logo-light { display: none; }
html.dark .modal-logo-dark  { display: block; }
.modal-box h3 {
  font-family: var(--font-head); font-size: 26px; font-weight: 400;
  text-align: center; margin-bottom: 5px; color: var(--ink);
}
.modal-sub { font-size: 12px; color: var(--ink-muted); text-align: center; margin-bottom: 22px; }
.modal-tabs { display: flex; border-bottom: 1px solid rgba(15,15,20,0.08); margin-bottom: 20px; }
.modal-tab-btn {
  flex: 1; padding: 9px; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  color: var(--ink-muted); border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; margin-bottom: -1px;
}
.modal-tab-btn.active { color: var(--ink); border-bottom-color: var(--ink); }
.modal-form { display: flex; flex-direction: column; gap: 11px; }
.modal-input {
  width: 100%; height: 50px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 12px; padding: 0 15px;
  font-size: 14px; font-weight: 500; font-family: var(--font-body);
  color: var(--ink); outline: none;
  transition: all 0.3s var(--ease);
  box-shadow: inset 0 1.5px 3px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(255,255,255,0.45);
}
.modal-input::placeholder { color: var(--ink-muted); opacity: 0.7; }
.modal-input:focus { border-color: var(--ink); background: #fff; box-shadow: 0 8px 20px rgba(231,111,81,0.06), inset 0 0 0 1.5px rgba(255,255,255,1); }
.modal-submit {
  width: 100%; height: 56px;
  background: var(--cobalt-glass);
  color: #f7f7f7; border: 1.5px solid rgba(177,177,177,0.5);
  border-radius: 28px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
  cursor: pointer;
}
.modal-divider {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; color: var(--ink-muted); margin: 4px 0;
}
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.5); }
.modal-oauth { display: flex; flex-direction: row; justify-content: center; gap: 12px; }
.modal-oauth-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1.5px 3px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.45);
  transition: background 0.15s, transform 0.15s;
}
.modal-oauth-btn:hover { background: rgba(255,255,255,0.75); transform: scale(1.06); }
.modal-footer { text-align: center; font-size: 11px; color: var(--ink-muted); margin-top: 12px; }
.modal-footer a { color: var(--melon); }

/* Logged-in modal state */
.account-greeting { font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 3px; }
.account-email { font-size: 12px; color: var(--ink-muted); margin-bottom: 20px; }
.account-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; font-size: 13px; color: var(--ink-mid);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  width: 100%; text-align: left; font-family: var(--font-body);
  background: none; border-left: none; border-right: none; border-top: none;
  transition: color 0.2s; cursor: pointer;
}
.account-nav-link:last-of-type { border-bottom: none; }
.account-nav-link:hover { color: var(--ink); }
.account-nav-link svg { width: 14px; height: 14px; opacity: 0.3; }
.account-signout {
  margin-top: 16px; font-size: 12px; color: var(--ink-muted);
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  transition: color 0.2s; display: flex; align-items: center; gap: 6px;
}
.account-signout:hover { color: var(--ink); }

/* ── e-EDITION OVERLAY ── */
.edition-overlay {
  position: fixed; inset: 0; z-index: 550;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(240,243,248,0.62);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
  padding: 24px;
}
.edition-overlay.open { opacity: 1; pointer-events: auto; }
.edition-close {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,15,20,0.08);
  border: 1px solid rgba(15,15,20,0.12);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; cursor: pointer;
}
.edition-close:hover { background: rgba(15,15,20,0.14); }
.edition-close svg { width: 16px; height: 16px; }
.edition-guest { text-align: center; max-width: 480px; }
.edition-guest-eyebrow {
  font-family: var(--font-ui); font-size: 10px; font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--ink-muted); margin-bottom: 16px;
}
.edition-guest h2 {
  font-family: var(--font-head); font-size: clamp(32px,5vw,52px);
  font-weight: 400; color: var(--ink); line-height: 1.15; margin-bottom: 14px;
}
.edition-guest p {
  font-size: 14px; font-weight: 400; color: var(--ink-mid);
  line-height: 1.65; margin-bottom: 32px; max-width: 380px; margin-left: auto; margin-right: auto;
}
.edition-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.edition-btn-primary {
  height: 56px; padding: 0 36px;
  background: var(--cobalt-glass);
  border: 1.5px solid rgba(177,177,177,0.5);
  border-radius: 28px;
  color: #f7f7f7; font-family: var(--font-ui);
  font-size: 15px; font-weight: 500; letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05); cursor: pointer;
}
.edition-btn-secondary {
  height: 50px; padding: 0 24px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  color: var(--ink); font-family: var(--font-ui);
  font-size: 13px; font-weight: 500; letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.2s;
}
.edition-btn-secondary:hover { background: rgba(255,255,255,0.15); }
.edition-member { width: 100%; max-width: 900px; }
.edition-member-title {
  font-family: var(--font-head); font-size: 28px; font-weight: 400;
  color: var(--ink); text-align: center; margin-bottom: 28px;
}
.flipbook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.flipbook-card {
  background: rgba(255,255,255,0.40);
  border: 1px solid var(--border-glass);
  border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  cursor: pointer; transition: background 0.2s;
}
.flipbook-card:hover { background: rgba(255,255,255,0.62); }
.flipbook-cover {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(231,111,81,0.18) 0%, rgba(147,107,255,0.18) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.flipbook-cover svg { width: 28px; height: 28px; opacity: 0.35; color: var(--ink); }
.flipbook-issue { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-muted); }
.flipbook-name { font-family: var(--font-head); font-size: 15px; font-weight: 400; color: var(--ink); }

/* ── TOP BANNER ── */
.top-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  text-align: center; padding: 10px 16px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; color: #fff;
}
.top-banner + .top-bar { top: 40px; }
.top-banner + .top-bar ~ .btn-edition { top: 58px; }

/* ── FOOTER ── */
.site-footer {
  background: rgba(15,15,20,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  padding: 56px 40px 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  align-items: start;
}
.footer-brand .footer-logo {
  font-family: var(--font-ui); font-size: 14px; font-weight: 800;
  letter-spacing: 0.26em; color: #fff;
  margin-bottom: 10px; display: block;
}
.footer-brand .footer-logo img { height: 28px; width: auto; }
.footer-tagline { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.38); max-width: 220px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social-link:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.20); }
.footer-social-link svg { width: 14px; height: 14px; color: rgba(255,255,255,0.55); }
.footer-col-label {
  font-family: var(--font-ui); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.28); margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.45);
  transition: color 0.2s; text-decoration: none;
}
.footer-links a:hover { color: rgba(255,255,255,0.80); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 10px;
}

/* ── ARTICLE (single.php) ── */
.article-wrap {
  max-width: 780px; margin: 0 auto;
  padding: 120px 24px 80px;
}
.article-meta {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-muted); margin-bottom: 16px;
  display: flex; gap: 16px; align-items: center;
}
.article-meta .cat { color: var(--melon); }
.article-title {
  font-family: var(--font-head); font-size: clamp(32px,5vw,58px);
  font-weight: 400; line-height: 1.12; color: var(--ink);
  margin-bottom: 20px; letter-spacing: -0.01em;
}
.article-dek {
  font-family: var(--font-head); font-size: 20px; font-weight: 300;
  font-style: italic; color: var(--ink-mid); line-height: 1.55;
  margin-bottom: 32px; max-width: 640px;
}
.article-hero {
  width: calc(100% + 48px); margin-left: -24px;
  aspect-ratio: 16/9; object-fit: cover; border-radius: 12px;
  margin-bottom: 40px;
}
.article-body {
  font-size: 17.5px; line-height: 1.78; color: var(--ink-mid);
}
.article-body p { margin-bottom: 1.4em; }
.article-body h2 { font-family: var(--font-head); font-size: 28px; font-weight: 400; color: var(--ink); margin: 2em 0 0.6em; }
.article-body h3 { font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--ink); margin: 1.8em 0 0.5em; }
.article-body blockquote {
  border-left: 3px solid var(--melon); margin: 2em 0;
  padding: 0.5em 0 0.5em 24px;
  font-family: var(--font-head); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--ink);
}
.article-body a { color: var(--melon); text-decoration: underline; text-underline-offset: 2px; }
.article-body img { width: 100%; border-radius: 10px; margin: 1.6em 0; }

/* ── ARCHIVE ── */
.archive-wrap { max-width: 1100px; margin: 0 auto; padding: 120px 24px 80px; }
.archive-head { margin-bottom: 48px; }
.archive-eyebrow {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--melon); margin-bottom: 8px;
}
.archive-title { font-family: var(--font-head); font-size: clamp(28px,4vw,46px); font-weight: 400; color: var(--ink); }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.archive-card {
  background: rgba(255,255,255,0.40);
  border: 1px solid var(--border-glass);
  border-radius: 20px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  transition: box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.archive-card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 16px 40px rgba(0,0,0,0.08); }
.archive-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.archive-thumb-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(231,111,81,0.12) 0%, rgba(147,107,255,0.12) 100%);
}
.archive-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.archive-cat { font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: 0.15em; color: var(--melon); margin-bottom: 8px; }
.archive-post-title { font-family: var(--font-head); font-size: 19px; font-weight: 400; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.archive-excerpt { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.archive-date { font-size: 11px; color: var(--ink-muted); font-weight: 500; }

/* ── PAGE (default) ── */
.page-wrap { max-width: 780px; margin: 0 auto; padding: 120px 24px 80px; }
.page-title { font-family: var(--font-head); font-size: clamp(28px,4vw,46px); font-weight: 400; color: var(--ink); margin-bottom: 32px; line-height: 1.15; }
.page-content { font-size: 17px; line-height: 1.76; color: var(--ink-mid); }
.page-content p { margin-bottom: 1.4em; }
.page-content h2 { font-family: var(--font-head); font-size: 26px; font-weight: 400; color: var(--ink); margin: 2em 0 0.6em; }
.page-content a { color: var(--melon); }

/* ── 404 ── */
.notfound-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.notfound-code {
  font-family: var(--font-head); font-size: clamp(80px,14vw,160px);
  font-weight: 400; line-height: 1; color: var(--ink); opacity: 0.08; margin-bottom: -20px;
}
.notfound-head {
  font-family: var(--font-head); font-size: clamp(24px,4vw,40px);
  font-weight: 400; color: var(--ink); margin-bottom: 14px;
}
.notfound-sub { font-size: 15px; color: var(--ink-muted); margin-bottom: 32px; line-height: 1.6; max-width: 420px; }
.btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 36px;
  background: var(--cobalt-glass);
  border: 1.5px solid rgba(177,177,177,0.5);
  border-radius: 28px;
  color: #f7f7f7; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05); text-decoration: none;
}
.btn-home:hover { opacity: 0.88; }

/* ── PLANS LANDING ── */
.plans-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 80px 24px 80px;
  position: relative; z-index: 1;
}
.plans-brand {
  font-family: var(--font-head); font-size: 13px; font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--ink); margin-bottom: 40px; text-align: center;
}
.plans-hero { text-align: center; max-width: none; margin: 0; }
.plans-hero-eyebrow {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--melon); margin-bottom: 16px;
}
.plans-hero h1 {
  font-family: var(--font-head); font-size: clamp(38px,6vw,72px);
  font-weight: 400; font-style: italic; color: var(--ink);
  line-height: 1.1; margin-bottom: 18px;
}
.plans-hero p {
  font-size: 16px; color: var(--ink-mid); line-height: 1.65; max-width: 520px; margin: 0 auto;
}
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; width: 100%; margin-bottom: 56px; }
.plans-card {
  background: rgba(255,255,255,0.40);
  border: 1.5px solid var(--border-glass);
  border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.95), 0 20px 50px rgba(31,38,135,0.06);
  cursor: pointer; transition: all 0.3s var(--ease); position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.plans-card::before {
  content: ''; position: absolute; top: 1.5px; left: 8px; right: 8px; height: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50% / 3px; pointer-events: none;
}
.plans-card:hover { transform: translateY(-4px); box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.95), 0 28px 60px rgba(31,38,135,0.10); }
.plans-card.featured { background: rgba(255,255,255,0.65); }
.plans-card-badge {
  display: inline-block; font-size: 8.5px; font-weight: 700; letter-spacing: 0.10em;
  background: var(--melon); color: #fff; padding: 4px 10px; border-radius: 4px; width: fit-content;
}
.plans-card-title { font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--ink); }
.plans-card-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }
.plans-card-price { font-family: var(--font-head); font-size: 38px; font-weight: 400; color: var(--ink); }
.plans-card-price sub { font-size: 16px; font-weight: 400; vertical-align: baseline; }
.plans-card-per { font-size: 12px; color: var(--ink-muted); }
.plans-card-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 36px; border-radius: 28px;
  background: var(--cobalt-glass);
  border: 1.5px solid rgba(177,177,177,0.5);
  color: #f7f7f7; font-family: var(--font-body);
  font-size: 15px; font-weight: 500; letter-spacing: 0;
  width: 100%; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: opacity 0.2s;
}
.plans-card-cta:hover { opacity: 0.88; }
.plans-features { max-width: 760px; width: 100%; }
.plans-features-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; text-align: center;
}
.plans-feature { padding: 24px 16px; }
.plans-feature-icon { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--melon); }
.plans-feature-title { font-family: var(--font-head); font-size: 16px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.plans-feature-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.55; }

/* ── PLANS PAGE (VF-style) ── */
.plans-page {
  display: flex; flex-direction: column; min-height: 100vh;
}

/* Hero */
.plans-hero {
  position: relative; width: 100%; min-height: 72vh; max-width: none; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #0d0d12 center/cover no-repeat;
  padding: 120px 24px 80px;
}
.plans-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.60) 60%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
.plans-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.plans-hero-eyebrow {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.55); margin-bottom: 18px;
}
.plans-hero-head {
  font-family: var(--font-head); font-size: clamp(36px,6vw,72px);
  font-weight: 400; font-style: italic; color: #fff;
  line-height: 1.1; margin-bottom: 16px;
}
.plans-hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.60);
  line-height: 1.65; max-width: 480px; margin: 0 auto;
}

/* Body */
.plans-body {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 0 24px 80px;
  background: var(--bg);
}

/* Inline page header (replaces dark hero) */
.plans-page-header {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 640px;
  margin: 0 auto;
}
.plans-page-header .plans-hero-eyebrow {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ink-muted); margin-bottom: 14px;
}
.plans-page-header .plans-hero-head {
  font-family: var(--font-head); font-size: clamp(32px,5vw,60px);
  font-weight: 400; font-style: italic; color: var(--ink);
  line-height: 1.1; margin-bottom: 14px;
}
.plans-page-header .plans-hero-sub {
  font-size: 15px; color: var(--ink-muted); line-height: 1.65;
}

/* Cycle toggle */
.plans-toggle-wrap {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--border-glass);
  border-radius: 999px; padding: 4px;
  margin-bottom: 40px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.plans-toggle-btn {
  height: 36px; padding: 0 22px;
  border: none; border-radius: 999px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink-mid);
  background: transparent; cursor: pointer;
  transition: background 0.22s, color 0.22s;
}
.plans-toggle-btn--active {
  background: var(--melon); color: #fff;
}

/* Radio cards */
.plans-cards-stack {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 520px; margin-bottom: 32px;
}
.plans-radio-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.42);
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.90), 0 8px 28px rgba(31,38,135,0.05);
  cursor: pointer;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.plans-radio-card--selected {
  border-color: var(--melon);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.90), 0 8px 28px rgba(231,111,81,0.12);
}
.plans-radio-card input[type="radio"] { display: none; }
.plans-radio-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  border: 2px solid rgba(0,0,0,0.20);
  position: relative; transition: border-color 0.2s;
}
.plans-radio-card--selected .plans-radio-dot { border-color: var(--melon); }
.plans-radio-dot::after {
  content: ''; position: absolute;
  inset: 3px; border-radius: 50%;
  background: transparent; transition: background 0.2s;
}
.plans-radio-card--selected .plans-radio-dot::after { background: var(--melon); }
.plans-radio-body { flex: 1; }
.plans-radio-name {
  font-family: var(--font-head); font-size: 17px; font-weight: 400;
  color: var(--ink); margin-bottom: 4px;
}
.plans-radio-price {
  font-family: var(--font-head); font-size: 28px; font-weight: 400;
  color: var(--ink); line-height: 1;
}
.plans-radio-price sup { font-size: 15px; vertical-align: top; margin-top: 6px; }
.plans-radio-badge {
  display: inline-block; margin-left: 8px;
  font-size: 8px; font-weight: 700; letter-spacing: 0.12em;
  background: var(--melon); color: #fff;
  padding: 3px 8px; border-radius: 4px; vertical-align: middle;
}
.plans-radio-cycle { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.plans-radio-note { font-size: 11.5px; color: var(--ink-muted); margin-top: 6px; line-height: 1.45; }

/* CTA — cobalt glass (no flat melon) */
.plans-subscribe-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 520px; height: 54px;
  background: var(--cobalt-glass); color: #f7f7f7;
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.10em;
  border: 1px solid rgba(255,255,255,0.28); border-radius: 28px;
  backdrop-filter: blur(20px);
  cursor: pointer; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  box-shadow: 0 10px 28px rgba(0,45,136,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
}
.plans-subscribe-btn:hover { background: rgba(0,45,136,0.65); transform: translateY(-1px); }
.plans-cancel-note {
  font-size: 12px; color: var(--ink-muted);
  margin-top: 12px; text-align: center;
}

/* What's included */
.plans-included { width: 100%; max-width: 780px; margin-top: 72px; }
.plans-included-head {
  font-family: var(--font-head); font-size: clamp(22px,3vw,32px);
  font-weight: 400; color: var(--ink);
  text-align: center; margin-bottom: 40px;
}
.plans-included-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.plans-feature { padding: 20px 16px; text-align: center; }
.plans-feature-icon {
  width: 40px; height: 40px; margin: 0 auto 12px;
  color: var(--melon);
}
.plans-feature-title {
  font-family: var(--font-head); font-size: 16px; font-weight: 400;
  color: var(--ink); margin-bottom: 6px;
}
.plans-feature-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.55; }

@media(max-width:680px) {
  .plans-included-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:420px) {
  .plans-included-grid { grid-template-columns: 1fr; }
}

/* ── CHECKOUT — matches checkout.html reference ── */

/* Suppress WP chrome */
body.od-checkout-page .top-bar,
body.od-checkout-page .btn-edition,
body.od-checkout-page .float-bar,
body.od-checkout-page .ambient-glows,
body.od-checkout-page .site-footer,
body.od-checkout-page .nav-overlay,
body.od-checkout-page #od-edition-overlay,
body.od-checkout-page .modal-overlay { display: none !important; }

/* Body layout */
body.od-checkout-page {
  display: flex; flex-direction: column; align-items: center; min-height: 100vh;
  overflow-x: hidden;
}
.checkout-page {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  padding: 0 16px 60px; overflow-x: hidden; position: relative;
}

/* Checkout ambient orbs */
.checkout-orbs { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.checkout-orb { position: absolute; border-radius: 50%; opacity: 0.72; animation: ck-orb 20s infinite alternate ease-in-out; will-change: transform; }
.checkout-orb.orb-orange { top: -10%; left: 15%; width: 45vw; height: 45vw; background: radial-gradient(circle, #ff8a65 0%, rgba(255,138,101,0) 70%); }
.checkout-orb.orb-cyan { bottom: -15%; right: 10%; width: 50vw; height: 50vw; background: radial-gradient(circle, #4fc3f7 0%, rgba(79,195,247,0) 70%); animation-delay: -5s; }
.checkout-orb.orb-purple { top: 35%; right: 25%; width: 35vw; height: 35vw; background: radial-gradient(circle, #b388ff 0%, rgba(179,136,255,0) 70%); animation-delay: -10s; }
@keyframes ck-orb { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(25px) scale(1.08); } }

/* Logo bar */
.checkout-top-bar {
  display: flex; align-items: center; justify-content: center;
  padding: 36px 0 0; width: 100%; background: transparent; margin-bottom: 0;
}

/* Step track */
.step-track-wrapper {
  display: flex; align-items: center; justify-content: center;
  position: relative; margin: 32px 0; width: 100%; max-width: 440px;
}
.step-connecting-line {
  position: absolute; top: 19px; left: 10%; right: 10%; height: 3px;
  background: rgba(0,0,0,0.05); box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
  z-index: 1; border-radius: 4px;
}
.step-connecting-line-progress {
  position: absolute; top: 0; left: 0; width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--melon) 0%, #b388ff 100%);
  transition: width 0.4s var(--ease); border-radius: 4px;
}
.step-circles { display: flex; justify-content: space-between; width: 100%; position: relative; z-index: 2; }
.step-circle-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border-glass);
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.15) 100%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink-muted);
  cursor: pointer; position: relative; transition: all 0.4s var(--ease);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,0.95), inset 0 10px 15px rgba(255,255,255,0.45), 0 8px 20px rgba(31,38,135,0.04);
}
.step-circle-btn::before {
  content: ''; position: absolute; top: 1.5px; left: 5px; right: 5px; height: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50% / 3px; pointer-events: none;
}
.step-circle-btn.active {
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 100%);
  border-color: #fff; color: var(--ink);
  box-shadow: inset 0 2px 2px rgba(255,255,255,1), inset 0 12px 18px rgba(255,255,255,0.5), 0 12px 24px rgba(0,0,0,0.05);
}
.step-circle-btn.active::after {
  content: ''; position: absolute; inset: -4px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,111,81,0.22) 0%, transparent 70%);
}
.step-circle-btn.done { border-color: #fff; color: var(--ink); box-shadow: inset 0 1.5px 1.5px rgba(255,255,255,0.9), 0 8px 16px rgba(0,0,0,0.04); }
.step-circle-btn.done::after {
  content: ''; position: absolute; inset: -4px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,195,247,0.22) 0%, transparent 70%);
}

/* Glass workspace */
.workspace {
  display: grid; grid-template-columns: 1fr 1.15fr;
  width: 100%; max-width: 1100px; min-height: 680px;
  background: var(--surface-glass); border: 1px solid var(--border-glass); border-radius: 28px;
  overflow: hidden; position: relative;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.95), inset 0 -1px 0 rgba(0,0,0,0.05), inset 0 0 0 1px rgba(255,255,255,0.35), 0 40px 100px rgba(31,38,135,0.12);
}

/* Left pane */
.canvas-pane {
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 100%);
  border-right: 1px solid var(--border-glass); padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.canvas-label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-muted); }
.pass-viewport { flex: 1; display: flex; align-items: center; justify-content: center; margin: 28px 0; }
.access-pass {
  position: relative; width: 300px; height: 185px;
  background: linear-gradient(135deg, rgba(255,255,255,0.70) 0%, rgba(255,255,255,0.25) 100%);
  border: 1px solid rgba(255,255,255,0.85); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.95), 0 30px 60px rgba(31,38,135,0.08);
  transition: transform 0.5s var(--ease); overflow: hidden;
}
.access-pass::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.45) 40%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.access-pass:hover { transform: translateY(-6px) scale(1.02); }
.pass-wordmark { font-family: var(--font-head); font-size: 10px; font-weight: 400; letter-spacing: 0.22em; color: var(--ink-muted); }
.pass-name { font-family: var(--font-head); font-size: 20px; font-weight: 400; color: var(--ink); line-height: 1.2; }
.pass-address { font-size: 11px; font-weight: 500; color: var(--ink-mid); margin-top: 3px; }
.summary-widget {
  background: rgba(255,255,255,0.40); border: 1px solid var(--border-glass);
  border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 20px rgba(0,0,0,0.02);
}
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.summary-row .sr-label { color: var(--ink-mid); font-weight: 500; }
.summary-row .sr-value { color: var(--ink); font-weight: 600; }
.summary-row.total { border-top: 1px solid rgba(255,255,255,0.5); padding-top: 11px; margin-top: 2px; }
.summary-row.total .sr-label { color: var(--ink); font-weight: 600; }
.summary-row.total .sr-value { font-size: 18px; }
.shipping-block {
  margin-top: 14px; background: rgba(231,111,81,0.08); border: 1.5px solid rgba(231,111,81,0.2);
  border-radius: 16px; padding: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.shipping-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--melon); margin-bottom: 5px; }
.shipping-name { font-family: var(--font-head); font-size: 15px; font-weight: 400; color: var(--ink); }
.shipping-addr { font-size: 12px; font-weight: 500; color: var(--ink-mid); margin-top: 3px; line-height: 1.4; }

/* Right pane */
.form-pane {
  padding: 52px 52px 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.panel-title {
  font-family: var(--font-head); font-size: 30px; font-weight: 400;
  line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 24px; color: var(--ink);
}

/* Plan cards */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.plan-node {
  background: rgba(255,255,255,0.15); border: 1px solid var(--border-glass);
  border-radius: 18px; padding: 22px; min-height: 148px;
  cursor: pointer; opacity: 0.55; transition: all 0.3s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.plan-node::before {
  content: ''; position: absolute; top: 1.5px; left: 6px; right: 6px; height: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50% / 3px; pointer-events: none;
}
.plan-node.active {
  background: rgba(255,255,255,0.85); border: 2px solid #fff; opacity: 1;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06), inset 0 2px 2px rgba(255,255,255,1), inset 0 12px 18px rgba(255,255,255,0.4);
}
.plan-check {
  position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-glass); display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.03); transition: all 0.25s;
}
.plan-node.active .plan-check { background: var(--melon); border-color: var(--melon); }
.plan-check-svg { width: 9px; height: 9px; color: #fff; display: none; }
.plan-node.active .plan-check-svg { display: block; }
.plan-title { font-family: var(--font-head); font-size: 15px; font-weight: 400; color: var(--ink); margin-bottom: 3px; }
.plan-desc { font-size: 12px; font-weight: 500; color: var(--ink-mid); line-height: 1.4; margin: 3px 0; }
.plan-price { font-size: 19px; font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 8px; }
.plan-badge { display: inline-block; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 4px; margin-top: 6px; width: fit-content; }

/* Form fields */
.field-grid { display: grid; gap: 13px; }
.field-grid.c2 { grid-template-columns: 1fr 1fr; }
.field-grid.c3 { grid-template-columns: 2fr 1fr 1fr; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.field-input {
  width: 100%; height: 50px; background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.45); border-radius: 12px; padding: 0 15px;
  font-size: 14px; font-weight: 500; font-family: var(--font-body); color: var(--ink); outline: none;
  transition: all 0.3s var(--ease);
  box-shadow: inset 0 1.5px 3px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(255,255,255,0.45);
}
.field-input::placeholder { color: var(--ink-muted); opacity: 0.7; }
.field-input:focus { border-color: var(--ink); background: #fff; box-shadow: 0 8px 20px rgba(231,111,81,0.06), inset 0 0 0 1.5px rgba(255,255,255,1); }

/* Toggles */
.toggle-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; cursor: pointer; user-select: none; }
.toggle-text { display: flex; flex-direction: column; gap: 2px; }
.toggle-title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.toggle-sub { font-size: 12px; font-weight: 400; color: var(--ink-mid); }
.toggle-switch {
  width: 48px; height: 28px; background: rgba(0,0,0,0.07);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 14px; padding: 2px;
  position: relative; transition: all 0.3s; box-shadow: inset 0 1.5px 2px rgba(0,0,0,0.08); flex-shrink: 0;
}
.toggle-thumb {
  width: 24px; height: 24px; background: #fff; border-radius: 50%;
  transition: all 0.3s var(--ease);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.9);
}
.toggle-row.is-on .toggle-switch { background: var(--melon); border-color: var(--melon); }
.toggle-row.is-on .toggle-thumb { transform: translateX(20px); }

/* Review card */
.review-card { background: rgba(255,255,255,0.40); border: 1px solid var(--border-glass); border-radius: 16px; padding: 20px; margin-bottom: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.review-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.5); font-size: 13px; }
.review-row:last-child { border: none; padding-bottom: 0; }
.review-row-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-muted); margin-bottom: 2px; }
.review-row-val { color: var(--ink); font-weight: 500; }
.review-row-price { font-weight: 600; color: var(--ink); flex-shrink: 0; margin-left: 16px; }
.edit-link { font-size: 11px; color: var(--melon); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; flex-shrink: 0; margin-left: 12px; background: none; border: none; font-family: var(--font-body); }

/* Actions */
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 28px; position: relative; }
.actions .btn-back { margin-right: auto; }
.actions::before {
  content: ''; position: absolute; right: 0; top: -15px; bottom: -15px; width: 86px;
  background: radial-gradient(circle, rgba(231,111,81,0.28) 0%, rgba(236,72,153,0.24) 50%, transparent 100%);
  filter: blur(20px); z-index: 1; pointer-events: none;
}
.btn-next {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(177,177,177,0.5);
  background: var(--cobalt-glass); color: #f7f7f7;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.btn-submit {
  width: auto !important; padding: 0 36px !important;
  border-radius: 28px !important; font-size: 15px !important;
  font-weight: 500 !important; height: 56px !important;
}
.btn-back {
  height: 50px; padding: 0 24px;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 25px;
  background: rgba(255,255,255,0.06); color: var(--ink);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 0 0 1px rgba(255,255,255,0.15);
  transition: all 0.25s;
}
.btn-back:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.15); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--ink-muted); margin-top: 14px; font-weight: 500; }
.workspace-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 18px; font-size: 11px; color: var(--ink-muted); font-weight: 500;
}

/* Step slides */
.step-slide { display: none !important; }
.step-slide.active { display: flex !important; flex-direction: column; animation: ck-step-in 0.45s var(--ease) both; }
@keyframes ck-step-in { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes ck-spin { 100% { transform: rotate(360deg); } }

/* Checkout responsive */
@media(max-width:960px) {
  .workspace { grid-template-columns: 1fr; border-radius: 20px; }
  .canvas-pane { display: none; }
  .form-pane { padding: 36px 24px 28px; }
  .field-grid.c2, .field-grid.c3 { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
}

/* ── GLOBAL BUTTON RADIUS (all pill-style buttons = 28px) ── */
.btn-home,
.btn-edition,
.plans-subscribe-btn,
.plans-cta,
.plans-card-cta,
.modal-submit,
.edition-btn-primary,
.edition-btn-secondary,
[class*="btn-primary"],
[class*="btn-secondary"] { border-radius: 28px !important; }

/* ── DARK MODE ── */
html.dark body { background: #0f0f14; color: #e8e8f0; }
html.dark .ambient-glows .glow-orb { opacity: 0.45; }
html.dark .top-bar { background: linear-gradient(to bottom, rgba(5,5,10,0.55) 0%, rgba(5,5,10,0.28) 55%, rgba(5,5,10,0) 100%); }
html.dark .card .thumb::after { background: linear-gradient(to bottom, transparent 0%, rgba(5,5,10,0.22) 50%, rgba(5,5,10,0.72) 100%); }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  :root { --col-count: 2; }
  .col:nth-child(3), .col:nth-child(4) { display: none; }
  .col:nth-child(2) { margin-top: 60px; }
  .btn-edition { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-features-row { grid-template-columns: 1fr; }
}
@media(max-width:540px) {
  :root { --col-count: 1; }
  .col:nth-child(2) { display: none; }
  .archive-grid { grid-template-columns: 1fr; }
}
