/* Habloqui Academy — landing page styles */
:root {
  --cobalt: #2445C7;
  --cobalt-dark: #1A3399;
  --yellow: #F4B41A;
  --ink: #121A3E;
  --ink-soft: #3A4470;
  --muted: #5A6694;
  --tint: #F3F5FF;
  --on-cobalt: #E6EBFF;
  --on-cobalt-muted: #C9D3FF;
  --on-ink: #D6DCF5;
  --on-ink-muted: #9FAAD6;
  --display: 'Inter Tight', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
a { color: var(--cobalt); }
a:hover { color: var(--cobalt-dark); }
section[id] { scroll-margin-top: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 18px; padding: 16px 28px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFC433; color: var(--ink); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-dark); color: #fff; }
.btn-sm { font-size: 16px; padding: 12px 20px; }
.btn-block { display: block; width: 100%; }

/* Header */
.site-header { background: var(--cobalt); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; }
.brand-name span { color: var(--yellow); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { background: var(--cobalt); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; padding-top: 48px; }
.hero-copy { flex: 999 1 520px; min-width: 0; padding-bottom: 72px; }
.hero h1 { font-size: clamp(48px, 7vw, 92px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.hero h1 span { color: var(--yellow); }
.hero-sub { margin-top: 28px; font-size: 22px; line-height: 1.45; color: var(--on-cobalt); max-width: 520px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pills li { border: 2px solid #fff; color: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 15px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 24px; font-size: 15px; color: var(--on-cobalt-muted); }
.hero-photo { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.photo-frame { position: relative; width: 100%; max-width: 440px; }
.photo-frame::before { content: ''; position: absolute; left: 10%; right: 0; top: 16%; bottom: 0; background: var(--yellow); border-radius: 36px 36px 0 0; }
.photo-frame img { position: relative; width: 100%; height: auto; }

/* Strip */
.strip { background: var(--yellow); }
.strip ul { list-style: none; margin: 0 auto; padding: 22px 32px; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 700; font-size: 17px; color: var(--ink); }

/* Section headings */
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow-yellow { color: var(--yellow); }
.h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 800; }
.center { text-align: center; }
.text-cobalt { color: var(--cobalt); }

/* Who it's for */
.who { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.who-head { flex: 1 1 380px; min-width: 0; }
.who-cards { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--tint); border-radius: 20px; padding: 28px; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.card-dark { background: var(--ink); grid-column: 1 / -1; }
.card-dark h3 { color: var(--yellow); }
.card-dark p { color: var(--on-ink); }

/* What's inside */
.inside { background: var(--tint); }
.inside .h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.features { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature { background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cobalt); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 24px; font-weight: 700; }
.feature p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.roadmap { margin-top: 48px; background: #fff; border-radius: 24px; padding: 36px 32px; }
.roadmap h3 { font-size: 24px; font-weight: 700; }
.roadmap ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px 16px; }
.roadmap li { border-top: 4px solid var(--cobalt); padding-top: 14px; }
.phase-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.phase-title { margin-top: 6px; font-weight: 700; font-size: 18px; }
.phase-desc { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* How it works */
.how .h2 { max-width: 720px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-top: 4px; font-size: 22px; font-weight: 700; }
.steps p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }

/* About */
.about { background: var(--ink); }
.about-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-photo { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.photo-frame-card { max-width: 380px; border-radius: 28px; overflow: hidden; background: var(--cobalt); }
.photo-frame-card::before { left: 12%; right: 12%; top: 18%; bottom: 0; border-radius: 28px 28px 0 0; }
.about-copy { flex: 2 1 480px; min-width: 0; }
.about .h2 { color: #fff; }
.about-copy p.body { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--on-ink); }
.about-copy p.body:first-of-type { margin-top: 24px; }
.about-name-note { margin-top: 24px; font-size: 15px; color: var(--on-ink-muted); }

/* Pricing */
.pricing { background: var(--cobalt); }
.pricing-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pricing-copy { flex: 1 1 420px; min-width: 0; }
.pricing .h2 { color: #fff; font-size: clamp(36px, 4.5vw, 48px); line-height: 1.08; }
.pricing-copy p { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--on-cobalt); max-width: 460px; }
.price-card { flex: 1 1 380px; min-width: 0; background: #fff; border-radius: 28px; padding: 40px; box-shadow: 0 24px 60px rgba(10,20,70,.35); }
.price-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-card-head h3 { font-size: 22px; font-weight: 700; }
.badge { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1; color: var(--cobalt); }
.price span { font-size: 18px; color: var(--ink-soft); }
.includes { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.4; }
.includes li { display: flex; gap: 12px; }
.includes svg { flex: none; }
.price-card .btn { margin-top: 32px; }
.billing-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--tint); border-radius: 18px; padding: 22px 26px; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--cobalt); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

/* Final CTA */
.final-cta { background: var(--yellow); }
.final-cta .container { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.final-cta h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 800; color: var(--ink); }
.final-cta .btn { margin-top: 28px; }

/* Footer */
.site-footer { background: var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; }
.footer-brand img { width: 32px; height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.footer-links a { color: var(--on-cobalt-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links span { color: var(--on-ink-muted); }

/* Phones */
@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .nav-links .nav-section, .nav-links .nav-app, .nav-price { display: none; }
  .nav { flex-wrap: nowrap; }
  .hero-photo .photo-frame { max-width: 300px; }
  .nav-links { gap: 16px; }
  .brand-name { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .hero-inner { padding-top: 32px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-sub { font-size: 19px; }
  .hero-ctas .btn { width: 100%; }
  .price-card { padding: 28px; }
  .price strong { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
