/* ================================================================
   Public marketing site — light / dark (data-theme + dark_mode cookie)
   ================================================================ */

:root {
  --ws-primary: #7c3aed;
  --ws-primary-deep: #6d28d9;
  --ws-primary-soft: rgba(124, 58, 237, 0.12);
  --ws-accent: #7c3aed;
  --ws-accent-hover: #6d28d9;
  --ws-accent-soft: rgba(124, 58, 237, 0.16);
  --ws-bg: #eef4fb;
  --ws-bg-elevated: #ffffff;
  --ws-bg-muted: #e8eef6;
  --ws-text: #1e293b;
  --ws-text-soft: #475569;
  --ws-muted: #64748b;
  --ws-border: rgba(15, 23, 42, 0.08);
  --ws-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --ws-nav-h: 76px;
  --ws-safe-top: env(safe-area-inset-top, 0px);
  --ws-safe-right: env(safe-area-inset-right, 0px);
  --ws-safe-bottom: env(safe-area-inset-bottom, 0px);
  --ws-safe-left: env(safe-area-inset-left, 0px);
  --ws-header-offset: calc(var(--ws-nav-h) + var(--ws-safe-top));
  --ws-radius: 14px;
  --ws-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ws-display: "Fraunces", Georgia, serif;
}

[data-theme="dark"] {
  --ws-bg: #0b1020;
  --ws-bg-elevated: #151a2d;
  --ws-bg-muted: #1a2138;
  --ws-text: #e8eef8;
  --ws-text-soft: #b6c2d6;
  --ws-muted: #94a3b8;
  --ws-border: rgba(226, 232, 240, 0.1);
  --ws-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ws-primary-soft: rgba(139, 92, 246, 0.18);
  --ws-accent-soft: rgba(139, 92, 246, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body.ws-body {
  margin: 0;
  font-family: var(--ws-font);
  background: var(--ws-bg);
  color: var(--ws-text);
  min-height: 100dvh;
  line-height: 1.55;
  transition: background 0.3s ease, color 0.3s ease;
  padding-left: var(--ws-safe-left);
  padding-right: var(--ws-safe-right);
}

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

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

.ws-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Atmosphere */
.ws-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ws-atmosphere::before,
.ws-atmosphere::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: ws-float 14s ease-in-out infinite;
}

.ws-atmosphere::before {
  width: 420px;
  height: 420px;
  background: #7c3aed;
  top: -120px;
  left: -80px;
}

.ws-atmosphere::after {
  width: 360px;
  height: 360px;
  background: #6366f1;
  bottom: 10%;
  right: -100px;
  animation-delay: -4s;
}

[data-theme="dark"] .ws-atmosphere::before,
[data-theme="dark"] .ws-atmosphere::after {
  opacity: 0.18;
}

@keyframes ws-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(28px);
  }
}

/* Header */
.ws-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: auto;
  min-height: var(--ws-header-offset);
  padding-top: var(--ws-safe-top);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--ws-bg) 82%, transparent);
  border-bottom: 1px solid var(--ws-border);
}

.ws-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 1.5rem));
  min-height: var(--ws-nav-h);
  margin-inline: auto;
}

/* Home-screen / standalone: keep controls below the iOS status bar even if env() is 0 */
html.ws-standalone .ws-header {
  padding-top: max(59px, var(--ws-safe-top));
  min-height: calc(var(--ws-nav-h) + max(59px, var(--ws-safe-top)));
}

html.ws-standalone .ws-drawer-panel {
  padding-top: calc(1.1rem + max(59px, var(--ws-safe-top)));
}

.ws-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.ws-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.18);
}

.ws-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ws-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
}

.ws-brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ws-text);
}

.ws-brand-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--ws-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  line-height: 1.2;
}

.ws-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.ws-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ws-text-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.ws-nav a:hover,
.ws-nav a.is-active {
  color: var(--ws-text);
  background: var(--ws-primary-soft);
}

.ws-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.ws-header-actions .ws-btn {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
}

.ws-theme-btn,
.ws-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--ws-border);
  background: var(--ws-bg-elevated);
  color: var(--ws-text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

.ws-btn:hover {
  transform: translateY(-1px);
}

.ws-btn-accent {
  background: linear-gradient(135deg, var(--ws-primary), #8b5cf6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32);
}

.ws-btn-accent:hover {
  background: var(--ws-accent-hover);
}

.ws-btn-ghost {
  background: transparent;
  color: var(--ws-text);
  border: 1px solid var(--ws-border);
}

.ws-btn-primary {
  background: linear-gradient(135deg, var(--ws-primary), #8b5cf6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.3);
}

.ws-desktop-only {
  display: inline-flex;
}

.ws-mobile-only {
  display: none;
}

.ws-linkish {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

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

.ws-alert-err {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

[data-theme="dark"] .ws-alert-err {
  color: #fca5a5;
}

.ws-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: calc(1rem + var(--ws-safe-top)) calc(1rem + var(--ws-safe-right)) calc(1rem + var(--ws-safe-bottom)) calc(1rem + var(--ws-safe-left));
}

.ws-modal.is-open {
  display: flex !important;
}

.ws-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 22, 0.55);
  backdrop-filter: blur(4px);
}

.ws-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 18px;
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow);
  animation: ws-rise 0.28s ease both;
}

.ws-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--ws-border);
  background: var(--ws-bg-muted);
  color: var(--ws-text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ws-modal-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.ws-modal-brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: contain;
  border: 1px solid var(--ws-border);
  background: var(--ws-bg-muted);
}

.ws-modal-brand h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-family: var(--ws-font);
  letter-spacing: -0.02em;
}

.ws-modal-brand p {
  margin: 0;
  color: var(--ws-muted);
  font-size: 0.9rem;
}

.ws-school-login-form .ws-field input {
  letter-spacing: 0.02em;
  font-weight: 600;
}

.ws-supervisor-schools {
  margin-top: 0.25rem;
}

.ws-supervisor-schools-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.ws-supervisor-schools-intro {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ws-muted);
  flex: 1;
  min-width: 12rem;
}

.ws-supervisor-back {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
}

.ws-supervisor-tabs {
  display: grid;
  gap: 0.55rem;
  max-height: min(52vh, 360px);
  overflow: auto;
  padding-right: 0.15rem;
}

.ws-supervisor-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--ws-border);
  background: color-mix(in srgb, var(--ws-bg) 88%, transparent);
  color: var(--ws-text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.ws-supervisor-tab:hover {
  border-color: color-mix(in srgb, var(--ws-accent) 45%, var(--ws-border));
  background: color-mix(in srgb, var(--ws-accent) 10%, var(--ws-bg));
  transform: translateY(-1px);
}

.ws-supervisor-tab-logo {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--ws-accent) 12%, var(--ws-bg));
  border: 1px solid var(--ws-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ws-supervisor-tab-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ws-supervisor-tab-logo.is-fallback {
  color: var(--ws-accent);
  font-size: 1rem;
}

.ws-supervisor-tab-meta {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.ws-supervisor-tab-meta strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-supervisor-tab-meta span {
  font-size: 0.75rem;
  color: var(--ws-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.03em;
}

.ws-supervisor-tab-chevron {
  color: var(--ws-muted);
  font-size: 0.75rem;
}

.ws-modal-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--ws-muted);
  text-align: center;
}

.ws-modal-note a {
  color: var(--ws-primary);
  font-weight: 700;
}

/* Hero */
.ws-main {
  position: relative;
  z-index: 1;
}

.ws-hero {
  min-height: calc(100dvh - var(--ws-header-offset));
  display: grid;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.ws-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(99, 102, 241, 0.16), transparent 50%),
    linear-gradient(180deg, transparent, var(--ws-bg));
  z-index: 0;
}

[data-theme="dark"] .ws-hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 35%, rgba(124, 58, 237, 0.32), transparent 55%),
    radial-gradient(ellipse 50% 45% at 20% 85%, rgba(99, 102, 241, 0.18), transparent 50%),
    linear-gradient(180deg, transparent, var(--ws-bg));
}

.ws-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.ws-hero-copy {
  animation: ws-rise 0.8s ease both;
}

.ws-hero-brand {
  font-family: var(--ws-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 0.85rem;
  background: linear-gradient(120deg, var(--ws-text) 20%, var(--ws-primary) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ws-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ws-text-soft);
  max-width: 34ch;
  margin: 0 0 1.6rem;
}

.ws-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ws-hero-visual {
  position: relative;
  animation: ws-rise 0.9s ease 0.12s both;
}

.ws-slideshow {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow);
  background: var(--ws-bg-elevated);
}

.ws-slideshow-viewport {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(ellipse 70% 55% at 55% 40%, color-mix(in srgb, var(--ws-accent) 18%, transparent), transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--ws-bg) 55%, #1e1b4b), color-mix(in srgb, var(--ws-bg) 80%, #312e81));
}

.ws-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}

.ws-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.ws-device-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.15rem 1rem 0.45rem;
  min-height: 0;
}

.ws-device-laptop {
  width: min(96%, 560px);
  flex-shrink: 0;
  filter: drop-shadow(0 18px 28px rgba(7, 12, 28, 0.45));
  z-index: 1;
}

.ws-device-laptop-lid {
  background: linear-gradient(180deg, #2a2f3d, #1a1e2a);
  border-radius: 10px 10px 0 0;
  padding: 0.45rem 0.45rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}

.ws-device-laptop-bezel {
  position: relative;
  background: #0b1020;
  border-radius: 6px;
  padding: 0.55rem 0.4rem 0.35rem;
  overflow: hidden;
}

.ws-device-laptop-cam {
  position: absolute;
  top: 0.22rem;
  left: 50%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #3b4258;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ws-device-laptop-base {
  height: 0.72rem;
  background: linear-gradient(180deg, #3a4154, #232836 55%, #1a1e2a);
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 6px 0 -1px rgba(0, 0, 0, 0.25);
}

.ws-device-laptop-notch {
  width: 18%;
  height: 0.28rem;
  margin-top: 0.12rem;
  border-radius: 0 0 4px 4px;
  background: #141824;
}

.ws-device-phone {
  position: absolute;
  right: 4%;
  bottom: 0.55rem;
  width: min(26%, 118px);
  z-index: 2;
  filter: drop-shadow(0 14px 22px rgba(7, 12, 28, 0.5));
  animation: ws-phone-float 4.5s ease-in-out infinite;
}

.ws-device-phone-bezel {
  position: relative;
  background: linear-gradient(165deg, #2c3142, #12151f);
  border-radius: 1.15rem;
  padding: 0.42rem 0.28rem 0.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.ws-device-phone-island {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: 0.38rem;
  border-radius: 999px;
  background: #0b1020;
  transform: translateX(-50%);
}

.ws-device-screen {
  border-radius: 3px;
  overflow: hidden;
  background: #e8ecf3;
  aspect-ratio: 16 / 10;
}

.ws-device-screen--phone {
  aspect-ratio: 9 / 16;
  border-radius: 0.72rem;
  background: #e8ecf3;
}

.ws-device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #e8ecf3;
}

.ws-slide figcaption {
  position: relative;
  z-index: 3;
  padding: 0.65rem 1rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 28, 0.55));
  color: #f8fafc;
  display: grid;
  gap: 0.12rem;
  text-align: left;
}

.ws-slide figcaption strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.ws-slide figcaption span {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.35;
}

@keyframes ws-phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.ws-slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: color-mix(in srgb, var(--ws-bg-elevated) 94%, transparent);
  border-top: 1px solid var(--ws-border);
}

.ws-slideshow-nav {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid var(--ws-border);
  background: var(--ws-bg);
  color: var(--ws-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ws-slideshow-nav:hover {
  background: color-mix(in srgb, var(--ws-accent) 14%, var(--ws-bg));
  border-color: color-mix(in srgb, var(--ws-accent) 40%, var(--ws-border));
}

.ws-slideshow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
}

.ws-slideshow-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ws-muted) 55%, transparent);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.ws-slideshow-dot.is-active {
  width: 1.35rem;
  background: var(--ws-accent);
}

@keyframes ws-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.ws-section {
  padding: 4.5rem 0;
}

.ws-page-inner .ws-section:first-child {
  min-height: calc(100dvh - var(--ws-header-offset) - 8rem);
}

.ws-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.ws-explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--ws-radius);
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow);
  color: var(--ws-text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ws-explore-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ws-primary) 35%, var(--ws-border));
}

.ws-explore-card i {
  color: var(--ws-primary);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.ws-explore-card span {
  color: var(--ws-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.ws-section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.ws-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-accent);
  margin-bottom: 0.55rem;
}

.ws-section h2 {
  font-family: var(--ws-display);
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.ws-section-head p {
  margin: 0;
  color: var(--ws-text-soft);
  font-size: 1.05rem;
}

.ws-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.ws-review-card {
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}
.ws-review-stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
.ws-review-stars .far {
  color: var(--ws-muted);
  opacity: 0.7;
}
.ws-review-card h3 {
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.ws-review-card p {
  margin: 0;
  color: var(--ws-text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}
.ws-review-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.35rem;
  font-size: 0.85rem;
}
.ws-review-card footer span {
  color: var(--ws-muted);
}
.ws-earn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.ws-earn-card {
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  padding: 1.2rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}
.ws-earn-rank {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ws-primary);
  letter-spacing: 0.04em;
}
.ws-earn-card h3 {
  margin: 0;
  font-size: 1.1rem;
}
.ws-earn-amount {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ws-text);
}
.ws-earn-card p {
  margin: 0;
  color: var(--ws-muted);
  font-size: 0.88rem;
}
.ws-earn-card footer {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--ws-text-soft);
}

.ws-review-slideshow {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ws-review-slideshow-viewport {
  display: grid;
}

.ws-review-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ws-review-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.ws-review-slideshow .ws-slideshow-controls {
  border: 1px solid var(--ws-border);
  border-radius: 999px;
  padding: 0.4rem 0.55rem;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
}

.ws-review-slide-status {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ws-text-soft);
  min-width: 4.5rem;
  text-align: center;
}

.ws-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ws-feature {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: var(--ws-radius);
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ws-feature.is-new {
  border-color: color-mix(in srgb, var(--ws-primary) 28%, var(--ws-border));
}

.ws-feature-badge,
.ws-new-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ws-accent, #ea580c) 18%, transparent);
  color: var(--ws-accent, #c2410c);
}

.ws-feature-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.ws-feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ws-primary) 35%, var(--ws-border));
}

.ws-whats-new {
  margin: 0 0 2.25rem;
  padding: 1.5rem;
  border-radius: calc(var(--ws-radius) + 4px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ws-primary) 10%, transparent), color-mix(in srgb, var(--ws-accent, #ea580c) 8%, transparent)),
    var(--ws-bg-elevated);
  border: 1px solid color-mix(in srgb, var(--ws-primary) 22%, var(--ws-border));
}

.ws-whats-new-head {
  margin-bottom: 1.15rem;
}

.ws-whats-new-head h3 {
  margin: 0.45rem 0 0.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.ws-whats-new-head p {
  margin: 0;
  color: var(--ws-text-soft);
}

.ws-whats-new-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  .ws-whats-new-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ws-review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ws-earn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ws-whats-new-card {
  padding: 1rem 1.05rem;
  border-radius: var(--ws-radius);
  background: var(--ws-bg, #fff);
  border: 1px solid var(--ws-border);
}

.ws-whats-new-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.ws-whats-new-card p {
  margin: 0;
  color: var(--ws-text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ws-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ws-primary-soft);
  color: var(--ws-primary);
  margin-bottom: 0.9rem;
}

.ws-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.ws-feature p {
  margin: 0;
  color: var(--ws-muted);
  font-size: 0.94rem;
}

.ws-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.ws-about-copy p {
  color: var(--ws-text-soft);
  margin: 0 0 1rem;
}

.ws-about-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.ws-about-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ws-text-soft);
}

.ws-about-points i {
  color: var(--ws-accent);
  margin-top: 0.2rem;
}

.ws-about-visual {
  min-height: 280px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(124, 58, 237, 0.22), transparent 45%),
    linear-gradient(320deg, rgba(99, 102, 241, 0.2), transparent 40%),
    var(--ws-bg-muted);
  border: 1px solid var(--ws-border);
  position: relative;
  overflow: hidden;
}

.ws-about-visual-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--ws-bg-elevated) 90%, transparent);
  border: 1px solid var(--ws-border);
  backdrop-filter: blur(8px);
}

.ws-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.ws-price {
  padding: 1.4rem 1.25rem 1.3rem;
  border-radius: var(--ws-radius);
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ws-price.is-featured {
  border-color: color-mix(in srgb, var(--ws-accent) 55%, var(--ws-border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ws-accent) 25%, transparent), var(--ws-shadow);
}

.ws-price-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.ws-price-amount {
  font-family: var(--ws-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.ws-price-amount small {
  font-family: var(--ws-font);
  font-size: 0.85rem;
  color: var(--ws-muted);
  font-weight: 600;
}

.ws-price-desc {
  color: var(--ws-muted);
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
  flex: 1;
}

.ws-price-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.ws-price-features-btn {
  width: 100%;
}

.ws-plan-features-panel {
  width: min(480px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
}

.ws-plan-features-panel h2 {
  margin: 0 1.75rem 0.35rem 0;
  font-size: 1.35rem;
  font-family: var(--ws-font);
}

.ws-plan-features-price {
  margin: 0 0 0.45rem;
  font-weight: 800;
  color: var(--ws-primary);
}

.ws-plan-features-desc {
  margin: 0 0 1rem;
  color: var(--ws-muted);
  font-size: 0.92rem;
}

.ws-plan-features-block {
  margin-bottom: 0.95rem;
}

.ws-plan-features-block h3 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ws-muted);
}

.ws-plan-features-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.ws-plan-features-block li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--ws-text-soft);
  font-size: 0.92rem;
}

.ws-plan-features-block li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--ws-accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ws-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.ws-contact-panel,
.ws-contact-form {
  padding: 1.4rem;
  border-radius: var(--ws-radius);
  background: var(--ws-bg-elevated);
  border: 1px solid var(--ws-border);
}

.ws-contact-panel p {
  color: var(--ws-text-soft);
  margin: 0 0 1rem;
}

.ws-field {
  margin-bottom: 0.85rem;
}

.ws-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ws-muted);
  margin-bottom: 0.35rem;
}

.ws-req {
  color: #f43f5e;
  font-weight: 800;
}

.ws-field input,
.ws-field textarea,
.ws-field select {
  width: 100%;
  border: 1.5px solid var(--ws-border);
  background: var(--ws-bg-muted);
  color: var(--ws-text);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  outline: none;
}

.ws-field input:focus,
.ws-field textarea:focus,
.ws-field select:focus {
  border-color: var(--ws-primary);
  box-shadow: 0 0 0 3px var(--ws-primary-soft);
}

.ws-alert {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.ws-alert-ok {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

[data-theme="dark"] .ws-alert-ok {
  color: #6ee7b7;
}

.ws-footer {
  position: relative;
  z-index: 1;
  padding: 2.2rem 0 calc(2.5rem + var(--ws-safe-bottom));
  border-top: 1px solid var(--ws-border);
  color: var(--ws-muted);
  font-size: 0.9rem;
}

.ws-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: center;
}

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

.ws-footer-brand {
  justify-self: start;
}

.ws-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  align-items: center;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
  text-align: center;
}

.ws-footer-links a,
.ws-footer-links .ws-linkish {
  color: var(--ws-muted);
}

.ws-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  width: 100%;
  color: var(--ws-muted);
  text-align: center;
}

.ws-footer-meta a {
  color: var(--ws-muted);
}

/* Mobile nav */
.ws-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.ws-drawer.is-open {
  pointer-events: auto;
}

.ws-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 22, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ws-drawer.is-open .ws-drawer-backdrop {
  opacity: 1;
}

.ws-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  background: var(--ws-bg-elevated);
  border-left: 1px solid var(--ws-border);
  padding: calc(1.1rem + var(--ws-safe-top)) calc(1.1rem + var(--ws-safe-right)) calc(1.1rem + var(--ws-safe-bottom)) 1.1rem;
  transform: translateX(104%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ws-drawer.is-open .ws-drawer-panel {
  transform: translateX(0);
}

.ws-drawer-panel a {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-weight: 650;
}

.ws-drawer-panel a:hover,
.ws-drawer-panel a.is-active {
  background: var(--ws-primary-soft);
  color: var(--ws-text);
}

.ws-drawer-actions {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
}

@media (max-width: 980px) {
  .ws-nav,
  .ws-desktop-only {
    display: none;
  }

  .ws-mobile-only {
    display: inline-flex;
  }

  .ws-theme-btn,
  .ws-menu-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .ws-hero-grid,
  .ws-about-grid,
  .ws-contact-grid,
  .ws-feature-list,
  .ws-review-grid,
  .ws-earn-grid {
    grid-template-columns: 1fr;
  }

  .ws-whats-new-grid {
    grid-template-columns: 1fr;
  }

  .ws-slideshow-viewport {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .ws-device-stage {
    padding: 1rem 0.65rem 0.35rem;
  }

  .ws-device-laptop {
    width: min(96%, 420px);
  }

  .ws-slide figcaption span {
    display: none;
  }

  .ws-brand-tag {
    max-width: 150px;
  }

  .ws-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ws-footer-brand,
  .ws-footer-links,
  .ws-footer-meta {
    width: 100%;
    justify-content: center;
    justify-self: center;
    grid-column: auto;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .ws-header-actions .ws-btn {
    padding-inline: 0.9rem;
  }

  .ws-hero {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
