*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: #f0f0eb;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:root {
  --black: #0a0a0a;
  --white: #f0f0eb;
  --accent: #00e5a0;
  --muted: rgba(240,240,235,0.55);
  --border: rgba(240,240,235,0.09);
  --serif: 'Montserrat', sans-serif;
  --sans: 'Montserrat', sans-serif;
  --gutter: clamp(32px, 6vw, 120px);
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); height: 80px;
}
.nav-logo {
  text-decoration: none; white-space: nowrap;
  display: flex; align-items: center;
}

/* PNG logo image — fills the nav height */
.nav-logo-img {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Footer logo — slightly larger */
.footer-logo .nav-logo-img {
  height: 80px;
  opacity: 0.92;
}

/* Legacy fallbacks */
.nav-whale { display: none; }
.nav-logo-svg { display: none; }
.nav-logo-text { display: none; }
.nav-links { display: flex; list-style: none; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--accent) !important; color: var(--black) !important;
  padding: 10px 22px; font-weight: 700 !important; font-size: 13px !important;
}
.nav-cta:hover { opacity: 0.85; }
.nav-back { font-size: 12px !important; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); }
.nav-mobile {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 20px 28px;
  z-index: 9999;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.nav-mobile.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.nav-mobile a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; color: var(--accent); font-weight: 700; }

/* LAYOUT — full width, gutter-based padding */
.page {
  width: 100%;
  padding: 0 var(--gutter);
}
.section {
  width: 100%;
  max-width: 100%;
  padding: 100px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.section .lead {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 720px;
}
.rule { height: 1px; background: var(--border); }

/* TYPOGRAPHY */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 28px;
  white-space: nowrap;
}
h1 {
  font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 28px; color: var(--white);
}
h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
h2 {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700; line-height: 1.08; margin-bottom: 24px; color: var(--white);
}
h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
h3 {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 14px; color: var(--white);
}
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--muted); line-height: 1.85;
  max-width: 720px; margin-bottom: 44px;
}
p { font-size: 1rem; line-height: 1.8; }

/* BUTTONS */
.btn {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 36px; text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(240,240,235,0.25);
}
.btn-ghost:hover { border-color: var(--white); }

/* HERO — full width, generous vertical padding */
.hero {
  width: 100%;
  max-width: 100%;
  padding: 140px var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.hero .lead {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 720px;
}
.hero-note {
  margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }

/* LISTS */
.clean-list { list-style: none; }
.clean-list li {
  padding: 36px 0; border-top: 1px solid var(--border);
  display: flex; gap: 40px; align-items: flex-start;
}
.clean-list li:last-child { border-bottom: 1px solid var(--border); }
.list-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  color: rgba(240,240,235,0.25); flex-shrink: 0; padding-top: 4px; min-width: 28px;
}
.list-title {
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.2;
}
.list-desc { font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 600px; }
.list-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
  transition: gap 0.2s;
}
.list-link:hover { gap: 10px; }

/* CARDS GRID */
.cards-grid {
  display: grid; grid-template-columns: 1fr; gap: 2px;
}
.card {
  background: #111; padding: 48px 44px;
  border: 1px solid var(--border); transition: border-color 0.3s;
}
.card:hover { border-color: rgba(0,229,160,0.25); }
.card-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.card-title {
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.25;
}
.card-body { font-size: 1rem; color: var(--muted); line-height: 1.8; }
.card-badge {
  display: inline-block; margin-top: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 12px;
}
.badge-free { background: rgba(0,229,160,0.08); color: var(--accent); border: 1px solid rgba(0,229,160,0.2); }
.badge-locked { background: rgba(240,240,235,0.03); color: rgba(240,240,235,0.25); border: 1px solid rgba(240,240,235,0.08); }

/* SIMULATOR */
.sim-wrap { background: #0f0f0f; border: 1px solid var(--border); padding: 52px 44px; max-width: 900px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sim-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 12px;
}
.sim-stage-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.sim-balance { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--white); }
.sim-balance span { color: var(--accent); }
canvas { width: 100% !important; height: 220px !important; display: block; background: #0a0a0a; margin-bottom: 32px; }
.sim-question {
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700; margin-bottom: 24px; line-height: 1.45; color: var(--white);
}
.sim-choices { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; width: 100%; }
.sim-choice, .sim-btn {
  background: #1a1a1a; border: 1px solid rgba(240,240,235,0.12);
  color: var(--white); font-size: 15px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 20px 24px; cursor: pointer; text-align: left;
  transition: border-color 0.2s, background 0.2s; font-family: var(--sans);
  width: 100%;
}
.sim-choice:hover, .sim-btn:hover { border-color: var(--accent); background: rgba(0,229,160,0.04); }
.sim-feedback {
  background: #111; border-left: 3px solid var(--accent);
  padding: 20px 24px; font-size: 1rem; color: var(--muted);
  line-height: 1.8; margin-bottom: 24px; display: none;
}
.sim-feedback.wrong { border-left-color: #ff4d6d; }
.sim-next { display: none; }
.sim-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.sim-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(240,240,235,0.1); }
.sim-dot.done { background: var(--accent); }
.sim-dot.active { background: rgba(0,229,160,0.4); }
.sim-complete { background: #111; border: 1px solid rgba(0,229,160,0.15); padding: 60px 44px; text-align: center; display: none; }
.sim-score { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; color: var(--accent); display: block; margin-bottom: 10px; }
.sim-rating { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }

/* QUOTE */
.big-quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: italic; line-height: 1.5; color: var(--white);
  border-left: 3px solid var(--accent); padding-left: 40px;
  margin-bottom: 40px;
}

/* FORM */
.form-row { display: flex; flex-direction: column; gap: 12px; }
.form-row input {
  background: #111; border: 1px solid rgba(240,240,235,0.12);
  color: var(--white); font-size: 1rem; font-family: var(--sans);
  padding: 18px 22px; outline: none; transition: border-color 0.2s; width: 100%;
}
.form-row input::placeholder { color: rgba(240,240,235,0.25); }
.form-row input:focus { border-color: var(--accent); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border); padding: 44px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-logo em { font-style: italic; font-weight: 400; color: var(--accent); }
.footer-logo span { color: var(--accent); font-style: italic; font-weight: 400; }
.footer-links { display: flex; list-style: none; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(240,240,235,0.22); letter-spacing: 0.04em; }

/* RESPONSIVE */
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .sim-choices { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-choices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  nav { padding: 0 24px; height: 62px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 80px 24px 64px; }
  .hero .eyebrow { 
    font-size: 10px; 
    letter-spacing: 0.1em; 
    white-space: normal; 
    line-height: 1.5;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 24px; }
  .page { padding: 0 24px; }
  .sim-wrap { padding: 32px 22px; }
  footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .nav-mobile { top: 62px; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .eyebrow { font-size: 11px; }
  .clean-list li { flex-direction: column; gap: 20px; padding: 24px 0; }
  .list-num { font-size: 1.2rem; }
  .list-title { font-size: 1.1rem; }
  .list-desc { font-size: 0.95rem; }
}
