/* AZERATE — Day-1 landing styles */

/* Self-hosted fonts (SIL Open Font License 1.1 — see /fonts/*-OFL.txt). Latin subset, variable weight. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-wght.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: "Instrument Sans";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-wght.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;
}

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-card: #161618;
  --border: #2a2a2e;
  --border-subtle: #1e1e22;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #8e8e98; /* was #71717a; raised for >=4.5:1 contrast on all dark surfaces */
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --btn-primary: #2563eb; /* white text >=4.5:1 */
  --btn-primary-hover: #1d4ed8;
  --accent-dim: rgba(59, 130, 246, 0.12);
  --accent-glow: rgba(59, 130, 246, 0.25);
  --success: #34d399;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Sans", "Inter", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1100px;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36em;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Layout */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 3rem;
  max-width: 36em;
}

.section-header .lede {
  margin-top: 1rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-primary);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  box-shadow: 0 0 24px var(--accent-glow);
}

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

.btn-ghost:hover {
  border-color: var(--text-dim);
  background: var(--bg-elevated);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto;
  height: 420px;
  background: radial-gradient(ellipse at center, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-meta-item {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-meta-item strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

/* Hero card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-card-label {
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.flow-step {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.flow-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.flow-step:first-of-type {
  padding-top: 0;
}

.flow-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.flow-step .flow-title {
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.hero-card-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.hero-card-note span {
  color: var(--success);
  font-weight: 600;
}

/* Problem */
.problem-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.problem-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* How it works */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.step::before {
  counter-increment: step;
  content: "Day " counter(step) "–" counter(step);
  display: none;
}

.step-day {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a8df7; /* was var(--accent) #3b82f6 (4.29:1); now 4.84:1 on accent-dim over bg-card */
  background: var(--accent-dim);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.step ul {
  margin-top: 1rem;
}

.step li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Included */
.included-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .included-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.included-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.included-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.included-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.included-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.04), transparent);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(59, 130, 246, 0.12);
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a8df7; /* was var(--accent) #3b82f6 (4.29:1); now 4.84:1 on accent-dim over bg-card */
  background: var(--accent-dim);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0.75rem 0 0.35rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
}

.price-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-features {
  flex: 1;
  margin-bottom: 1.75rem;
}

.price-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-note {
  margin-top: 1.5rem;
  margin-inline: auto;
  max-width: 52em;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

.price-note-strong {
  color: var(--text-muted);
  font-weight: 500;
}

/* Audience */
.audience-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-elevated);
}

.audience-card h3 {
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.audience-fit {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: transparent;
}

.audience-fit h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.audience-fit ul {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 700px) {
  .audience-fit ul {
    grid-template-columns: 1fr 1fr;
  }
}

.audience-fit li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.15rem;
  position: relative;
}

.audience-fit li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 42em;
}

/* Final CTA */
.final-cta {
  padding: 5rem 0 6rem;
}

.final-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-dim), transparent 55%);
  pointer-events: none;
}

.final-cta-box > * {
  position: relative;
}

.final-cta-box h2 {
  margin-bottom: 1rem;
}

.final-cta-box .lede {
  margin-inline: auto;
}

.final-cta-box .btn-row {
  justify-content: center;
}

.final-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Legal pages (terms, privacy) */
.legal .faq-item h2 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.legal .faq-item p + p,
.legal .faq-item ul {
  margin-top: 0.6rem;
}

.legal .faq-item ul {
  max-width: 42em;
}

.legal .faq-item li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.legal .faq-item li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.legal .faq-item a,
.legal .section-header a {
  color: var(--accent);
}

.legal .faq-item a:hover {
  color: var(--accent-hover);
}
