/* Design layer for the public pages (FlowUz Design System v1.0).
   Every rule sits under .public-site, which base.html renders only around the
   public shell, so the private app never matches. Whitelabel hosts share this
   design; only the FlowUz mark (logo, name, favicon) stays off them, and that
   is decided in the templates. It maps the shared zinc palette and Studio
   classes onto the design tokens instead of rewriting each template. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/vendor/inter/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/vendor/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/vendor/space-grotesk/space-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/vendor/space-grotesk/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.public-site {
  --fz-teal: #14a0a9;
  --fz-teal-bright: #1abfc9;
  --fz-teal-deep: #0e7d85;
  --fz-ink: #0b0f12;
  --fz-ink-2: #12181c;
  --fz-panel: #151c21;
  --fz-panel-2: #1b242a;
  --fz-line: #28333a;
  --fz-fg: #eaf1f3;
  --fz-fg-2: #d3dee2;
  --fz-fg-3: #b4c3c9;
  --fz-muted: #8fa3ab;
  --fz-dim: #6e8189;
  --fz-faint: #4f5f66;
  --fz-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fz-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  min-height: 100vh;
  background: var(--fz-ink);
  color: var(--fz-fg);
  font-family: var(--fz-body);
  -webkit-font-smoothing: antialiased;
}

/* Overscroll, short pages and sections that reuse the app shell class
   (login, signup, password) show the brand ink too. */
.studio-shell:has(> .public-site),
.public-site .studio-shell {
  background: var(--fz-ink);
}

/* Typography: Space Grotesk carries titles, eyebrows, buttons and numbers. */
.public-site :is(h1, h2, h3, h4, .card-title, .btn) {
  font-family: var(--fz-display);
}

.public-site :is(h1, h2) {
  letter-spacing: -0.02em;
}

/* Display / H1 is Space Grotesk 700 in the design system. */
.public-site h1 {
  font-weight: 700;
}

/* Eyebrows: the small uppercase labels above each section. */
.public-site p.uppercase {
  font-family: var(--fz-display);
  color: var(--fz-teal-bright);
}

/* Text scale: zinc grays become the brand's cool neutrals. */
.public-site :is(.text-zinc-50, .text-zinc-100) { color: var(--fz-fg); }
.public-site .text-zinc-200 { color: var(--fz-fg-2); }
.public-site .text-zinc-300 { color: var(--fz-fg-3); }
.public-site .text-zinc-400 { color: var(--fz-muted); }
.public-site .text-zinc-500 { color: var(--fz-dim); }
.public-site .text-zinc-600 { color: var(--fz-faint); }
.public-site :is(.hover\:text-zinc-50, .hover\:text-zinc-100):hover { color: var(--fz-fg); }
/* Check marks mean "included", not system success: they take the brand
   accent. The design system keeps green for status only. */
.public-site .text-emerald-300,
.public-site .text-emerald-400 { color: var(--fz-teal-bright); }

/* Surfaces and lines. */
.public-site .border-white\/10,
.public-site .divide-white\/10 > * + * { border-color: var(--fz-line); }
.public-site .bg-zinc-950 { background-color: var(--fz-ink-2); }
.public-site .bg-zinc-900 { background-color: var(--fz-panel); }

.public-site .studio-mobile-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-color: var(--fz-line);
  background: color-mix(in srgb, var(--fz-ink) 88%, transparent);
  backdrop-filter: blur(12px);
}

.public-site .studio-card,
.public-site #mentorship-page .studio-card {
  border-color: var(--fz-line);
  border-radius: 16px;
  background: var(--fz-panel);
}

.public-site .bg-white\/10 { background-color: var(--fz-line); }

/* Hero: the design system's soft teal glow behind the opening section. */
.public-site .public-hero {
  background:
    radial-gradient(1100px 520px at 80% -15%, rgb(20 160 169 / 0.22), transparent 60%),
    radial-gradient(640px 400px at 5% 120%, rgb(20 160 169 / 0.10), transparent 60%),
    var(--fz-ink);
}

/* Prices and plan limits read as numbers in Space Grotesk. */
.public-site :is(.public-number, dd) {
  font-family: var(--fz-display);
  font-variant-numeric: tabular-nums;
}

/* Recommended plan: teal outline and a soft teal badge. */
.public-site .pricing-recommended {
  border-color: var(--fz-teal);
  box-shadow: 0 24px 80px rgb(20 160 169 / 0.14);
}

.public-site .public-badge {
  border: 1px solid var(--fz-teal-deep);
  background: color-mix(in srgb, var(--fz-teal) 16%, transparent);
  color: var(--fz-teal-bright);
  font-family: var(--fz-display);
}

.public-site .studio-surface {
  border-color: var(--fz-line);
  background: var(--fz-panel-2);
}

.public-site .btn-ghost:hover,
.public-site .hover\:bg-white\/5:hover {
  background: var(--fz-panel);
}

/* Buttons. Primary is brand teal with ink text: white on #14A0A9 is 3.2:1,
   below WCAG AA; ink on teal is 6.1:1. Hover brightens instead of darkening,
   because ink on teal-deep would drop to 3.4:1. */
.public-site .public-cta {
  border: 0;
  border-radius: 10px;
  background: var(--fz-teal);
  color: var(--fz-ink);
}

.public-site .public-cta:hover,
.public-site .public-cta:focus-visible {
  border: 0;
  background: var(--fz-teal-bright);
  color: var(--fz-ink);
}

.public-site .public-cta:disabled {
  background: var(--fz-teal);
  color: var(--fz-ink);
  opacity: 0.55;
}

.public-site .studio-action-button {
  border: 1px solid var(--fz-line);
  border-radius: 10px;
  background: transparent;
  color: var(--fz-fg);
}

.public-site .studio-action-button:hover,
.public-site .studio-action-button:focus-visible {
  border-color: var(--fz-teal);
  background: var(--fz-panel);
  color: var(--fz-fg);
}

/* Form fields. */
.public-site .input {
  border-color: var(--fz-line);
  background: var(--fz-ink-2);
  color: var(--fz-fg);
}

.public-site .input:focus,
.public-site .input:focus-within {
  border-color: var(--fz-teal);
  outline: 2px solid var(--fz-teal);
  outline-offset: 1px;
}

.public-site a.underline,
.public-site .decoration-white\/20 {
  text-decoration-color: color-mix(in srgb, var(--fz-teal) 60%, transparent);
}

.public-site :focus-visible {
  outline-color: var(--fz-teal);
}

/* Footer brand mark. */
.public-site .flowuz-footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--fz-display);
  font-weight: 600;
  color: var(--fz-fg);
}
