/* Pre-login linguist dashboard. Homepage header chrome, quote-page layout. */
:root {
  --font-geist-sans: "Geist", Arial, sans-serif;
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-cairo: "Lalezar", Tahoma, sans-serif;
  --font-markazi: "Markazi Text", Tahoma, serif;
  --navy: #10284c;
  --blue: #234cd6;
  --lime: #d5f66b;
  --muted: #65728c;
  --display: var(--font-display), Arial, sans-serif;
}

* { box-sizing: border-box; }
body.polyver-linguist-access-page .mobile-sidebar,
body.polyver-linguist-access-page .widget_shopping_cart_live_region,
body.polyver-linguist-access-page .ux-body-overlay {
  display: none !important;
}
body.polyver-linguist-access-page {
  min-height: 100dvh;
  overflow-x: clip;
  margin: 0;
  font-family: var(--font-geist-sans), Arial, sans-serif;
  color: var(--navy);
  background:
    radial-gradient(ellipse at 88% 8%, #d5e4ff 0%, transparent 42%),
    #fbfcff;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; background: transparent; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
svg { flex-shrink: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #5378e9; outline-offset: 3px; }
img { max-width: 100%; height: auto; }

html.admin-bar { margin-top: 0 !important; }
.admin-bar .translation-page .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .translation-page .site-header { top: 46px; }
}

.animated-logo { display: block; width: 174px; height: 58px; color: #032850; overflow: visible; }
.logo-dark-ink { display: none; }
.logo-wave { transform-box: fill-box; transform-origin: center; animation: logo-voice 1.4s ease-in-out infinite; }
.wave-1 { animation-delay: -.22s; animation-duration: 1.15s; }
.wave-2 { animation-delay: -.5s; animation-duration: 1.6s; }
.wave-3 { animation-delay: -.8s; animation-duration: 1.3s; }
.wave-4 { animation-delay: -.35s; animation-duration: 1.7s; }
@keyframes logo-voice {
  0%, 100% { transform: scaleY(.55); }
  45% { transform: scaleY(1); }
  72% { transform: scaleY(.72); }
}
[data-theme="dark"] .animated-logo { color: #dce9ff; }
[data-theme="dark"] .logo-dark-ink { display: block; }

.appearance-toggle {
  width: 36px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  color: #536681;
  border: 1px solid transparent;
  border-radius: 12px;
}
.appearance-toggle:hover { background: #eaf0fa; color: #234cd6; }
.locale-toggle { width: 52px; font-size: 12px; direction: ltr; text-decoration: none; }
.locale-toggle span[lang="fa"] { font-family: var(--font-markazi), Tahoma, serif; }

.translation-page { min-height: 100dvh; }
.access-stage {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 calc(36px + env(safe-area-inset-bottom));
}
.access-orbits {
  position: absolute;
  width: min(920px, 100%);
  aspect-ratio: 1;
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
  border: 1px solid #214bc50d;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.access-orbits i { position: absolute; inset: 10%; border: 1px solid #214bc50d; border-radius: 50%; }
.access-orbits i:nth-child(2) { inset: 23%; }
.access-orbits i:nth-child(3) { inset: 35%; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.2px;
  color: #6d7e98;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #aacd32;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #d6f57855;
}
.access-intro h1 {
  font-family: var(--display);
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -1.6px;
}
.access-intro h1 span { color: var(--blue); }
.access-intro .intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.access-points { display: none; }
.access-panel {
  margin-top: 18px;
  padding: 22px 18px;
  border: 1px solid #dce4ef;
  border-radius: 28px;
  background: #ffffffd9;
  box-shadow: 0 22px 70px -28px #10284c59;
  backdrop-filter: blur(16px);
}
.access-kicker {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.access-panel h2 {
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.1;
}
.access-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}
.access-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: #10284c;
  color: #fff;
  font-weight: 650;
  font-size: 15px;
}
.access-cta i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #10284c;
}
.access-cta:hover { background: #1c3d73; }
.access-guide {
  margin-top: 28px;
  padding-top: 8px;
}
.access-guide h2,
.access-guide h3 {
  font-family: var(--display);
  font-weight: 550;
  letter-spacing: -.04em;
}
.access-guide h2 { font-size: clamp(26px, 6vw, 34px); line-height: 1.15; }
.access-guide h3 { margin-top: 22px; font-size: 20px; }
.access-guide > p,
.access-note {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}
.access-features {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.access-features li,
.access-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e3eaf4;
  border-radius: 18px;
  background: #fff;
  line-height: 1.5;
}
.access-feature-icon,
.access-steps span {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf2fa;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.access-steps { display: grid; gap: 10px; margin-top: 14px; }
.access-steps p { margin: 0; }
.access-home { margin-top: 16px; }
.access-home a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 650;
}

.translation-page[dir="rtl"] { font-family: var(--font-markazi), Tahoma, serif; }
.translation-page[dir="rtl"] .access-intro h1,
.translation-page[dir="rtl"] .access-panel h2,
.translation-page[dir="rtl"] .access-guide h2,
.translation-page[dir="rtl"] .access-guide h3,
.translation-page[dir="rtl"] .eyebrow,
.translation-page[dir="rtl"] .access-kicker {
  font-family: var(--font-cairo), Tahoma, sans-serif;
  letter-spacing: 0;
  font-weight: 500;
}
.translation-page[dir="rtl"] .eyebrow { font-size: 15px; text-transform: none; }
.translation-page[dir="rtl"] .access-kicker { font-size: 16px; text-transform: none; letter-spacing: 0; }
.translation-page[dir="rtl"] .access-intro h1 { font-size: clamp(36px, 10vw, 52px); line-height: 1.35; }
.translation-page[dir="rtl"] .access-intro .intro,
.translation-page[dir="rtl"] .access-panel p,
.translation-page[dir="rtl"] .access-guide > p,
.translation-page[dir="rtl"] .access-note,
.translation-page[dir="rtl"] .access-features,
.translation-page[dir="rtl"] .access-steps { font-size: 19px; }
.translation-page[dir="rtl"] .access-cta { font-family: var(--font-markazi), Tahoma, serif; font-size: 20px; }
.translation-page[dir="rtl"] .access-home a { font-size: 20px; }
.translation-page[dir="rtl"] .lucide-arrow-up-right { scale: -1 1; }

@media (min-width: 900px) {
  .animated-logo { width: 195px; height: 65px; }
  .access-stage { width: min(1120px, calc(100% - 10vw)); padding-top: 36px; }
  .access-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 6vw;
    align-items: start;
  }
  .access-intro { position: sticky; top: 118px; padding-top: 12px; }
  .access-intro h1 { font-size: clamp(48px, 4.6vw, 72px); letter-spacing: -2.6px; }
  .access-intro .intro { font-size: 18px; line-height: 1.7; }
  .access-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    font-size: 15px;
  }
  .access-points li { display: flex; align-items: center; gap: 8px; }
  .access-points svg { color: var(--blue); }
  .access-panel { margin-top: 12px; padding: 28px 24px; }
  .access-guide { margin-top: 56px; }
  .access-features,
  .access-steps { grid-template-columns: 1fr 1fr; }
  .translation-page[dir="rtl"] .access-intro h1 { letter-spacing: 0; line-height: 1.35; }
  .translation-page[dir="rtl"] .access-intro .intro,
  .translation-page[dir="rtl"] .access-points { font-size: 21px; }
}

@media (max-width: 599px) {
  .animated-logo { width: 140px; height: 47px; }
  .appearance-toggle { width: 34px; height: 40px; }
  .locale-toggle { width: 49px; }
  .access-stage { width: min(1120px, calc(100% - 24px)); padding-top: 8px; }
  .access-intro h1 { font-size: 34px; letter-spacing: -1.1px; }
}

[data-theme="dark"] body.polyver-linguist-access-page {
  background:
    radial-gradient(ellipse at 85% 12%, #223a4840, transparent 46%),
    #0b1526;
  color: #e7eefc;
}
[data-theme="dark"] .appearance-toggle { color: #acbdd8; }
[data-theme="dark"] .appearance-toggle:hover { background: #1c2b45; color: #d5f66b; }
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .access-intro .intro,
[data-theme="dark"] .access-panel p,
[data-theme="dark"] .access-guide > p,
[data-theme="dark"] .access-note { color: #a7b5cd; }
[data-theme="dark"] .access-intro h1,
[data-theme="dark"] .access-panel h2,
[data-theme="dark"] .access-guide h2,
[data-theme="dark"] .access-guide h3,
[data-theme="dark"] .access-points,
[data-theme="dark"] .access-features,
[data-theme="dark"] .access-steps { color: #e7eefc; }
[data-theme="dark"] .access-intro h1 span,
[data-theme="dark"] .access-kicker,
[data-theme="dark"] .access-home a,
[data-theme="dark"] .access-points svg { color: #97b4ff; }
[data-theme="dark"] .access-orbits,
[data-theme="dark"] .access-orbits i { border-color: #a5c4ff17; }
[data-theme="dark"] .access-panel,
[data-theme="dark"] .access-features li,
[data-theme="dark"] .access-steps li {
  background: #142137e6;
  border-color: #344864;
}
[data-theme="dark"] .access-feature-icon,
[data-theme="dark"] .access-steps span { background: #1c2b45; color: #d5f66b; }
[data-theme="dark"] .access-cta { background: #d5f66b; color: #10284c; }
[data-theme="dark"] .access-cta i { background: #10284c; color: #d5f66b; }
[data-theme="dark"] .access-cta:hover { background: #e4ff8a; }

@media (prefers-reduced-motion: reduce) {
  .logo-wave { animation: none; transform: none; }
}
