/* ====================================================================
   Latitude 44 — Claude Learn landing page
   ------------------------------------------------------------------
   Design tokens mirror the in-app `latitude44` brand object:
     navy  #0A1A2A   gold  #C8A25A   greyLight #E6E6E6
   Headings use Outfit 900 (display).  Body uses Inter.
   ==================================================================== */

:root {
  --navy-900: #0A1A2A;
  --navy-800: #0F2237;
  --navy-700: #15314F;
  --navy-600: #1C406A;
  --gold-500: #C8A25A;
  --gold-400: #D9B57A;
  --grey-100: #F7F6F1;
  --grey-200: #E6E6E6;
  --grey-500: #8D9099;
  --ink-900:  #0B121C;
  --ink-700:  #2E343F;
  --ink-500:  #4A5160;

  --brain:    #1E2C50;   /* pillar 1 · navy */
  --hands:    #0E7490;   /* pillar 2 · cyan */
  --builder:  #1D4ED8;   /* pillar 3 · blue */

  --maxw:     1180px;
  --radius:   18px;
  --radius-sm: 10px;

  --shadow-card: 0 10px 30px -12px rgba(10,26,42,.18), 0 4px 8px -3px rgba(10,26,42,.08);
  --shadow-pop:  0 18px 40px -16px rgba(10,26,42,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--grey-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3 {
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-weight: 900; font-size: clamp(40px, 7vw, 78px); line-height: 1.02; }
h2 { font-weight: 900; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
h3 { font-weight: 800; font-size: 20px; line-height: 1.25; }

.eyebrow,
.section__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.section__eyebrow--gold { color: var(--gold-400); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-pop);
}
.btn--primary:hover { transform: translateY(-1px); background: var(--gold-400); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--grey-100);
  border-color: rgba(255,255,255,.32);
}
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-400); }

/* ============== TOP NAV ============== */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(10,26,42,0);
  transition: background .25s ease, backdrop-filter .25s ease, padding .25s ease;
}
.top-nav.is-scrolled {
  background: rgba(10,26,42,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 24px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--grey-100);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 13px;
}
.brand-mark img { width: 32px; height: 32px; }
.top-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-nav__links a {
  color: var(--grey-100);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.top-nav__links a:hover { background: rgba(255,255,255,.08); }
.top-nav__cta {
  background: var(--gold-500);
  color: var(--navy-900) !important;
  font-weight: 800 !important;
  border-radius: 999px;
}
.top-nav__cta:hover { background: var(--gold-400) !important; }

@media (max-width: 720px) {
  .top-nav__links a:not(.top-nav__cta) { display: none; }
  .top-nav { padding: 10px 18px; }
  .brand-mark__text { display: none; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--grey-100);
  overflow: hidden;
  padding: 96px 0 64px;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--navy-900);
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.8);
  animation: heroBgFloat 18s ease-in-out infinite alternate;
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(10,26,42,0) 0%, rgba(10,26,42,.55) 60%, rgba(10,26,42,.95) 100%),
    linear-gradient(180deg, rgba(10,26,42,.25), rgba(10,26,42,.95) 88%);
}
@keyframes heroBgFloat {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.06) translateY(-1.5%); }
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}
.hero__falcon {
  width: 78px; height: 78px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}
.hero__title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin: 4px 0 8px;
  max-width: 16ch;
}
.hero__title .word {
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, #E1D6B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 56ch;
  color: rgba(245,241,232,.86);
  margin: 0;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0;
  margin: 28px 0 0;
  color: rgba(245,241,232,.7);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust li span { font-size: 16px; }

.hero__scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(245,241,232,.45);
  border-radius: 22px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero__scroll-cue span {
  display: block;
  width: 3px; height: 8px;
  border-radius: 2px;
  background: rgba(245,241,232,.75);
  animation: scrollCue 1.5s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============== TRUST STRIP ============== */
.trust {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--grey-100);
  padding: 36px 0 44px;
  border-top: 1px solid rgba(200,162,90,.18);
  border-bottom: 1px solid rgba(200,162,90,.18);
}
.trust__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 920px;
}
.trust__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(200,162,90,.12);
  color: var(--gold-500);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.trust__title {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 6px;
}
.trust__body {
  margin: 0;
  font-size: 15px;
  color: rgba(245,241,232,.82);
  line-height: 1.55;
}
.trust__body strong { color: var(--gold-400); font-weight: 700; }

/* ============== GENERIC SECTION ============== */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--grey-100);
}
.section--dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--grey-100);
}
.section--showcase {
  background:
    radial-gradient(ellipse at top, rgba(200,162,90,.10), transparent 70%),
    var(--grey-100);
}
.section__title { max-width: 22ch; margin-bottom: 14px; }
.section__title--light { color: var(--grey-100); }
.section__lead {
  max-width: 60ch;
  margin: 0 0 36px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-500);
}
.section--dark .section__lead { color: rgba(245,241,232,.72); }
.section--dark .section__title { color: #fff; }

/* ============== GRIDS ============== */
.grid {
  display: grid;
  gap: 18px;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.grid--pricing  { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ============== WHO CARD ============== */
.who-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  border: 1px solid rgba(10,26,42,.06);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
  border-color: rgba(200,162,90,.5);
}
.who-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(200,162,90,.14);
  font-size: 22px;
  margin-bottom: 14px;
}
.who-card h3 { margin: 0 0 6px; }
.who-card p { margin: 0; color: var(--ink-500); font-size: 14.5px; }

/* ============== FEATURE CARD ============== */
.feat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(245,241,232,.12);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  color: var(--grey-100);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  background: rgba(255,255,255,.06);
}
.feat-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(200,162,90,.16);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.feat-card h3 { margin: 0 0 8px; font-size: 19px; }
.feat-card p { margin: 0; color: rgba(245,241,232,.78); font-size: 14.5px; line-height: 1.55; }
.feat-card code {
  background: rgba(200,162,90,.18);
  color: var(--gold-400);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'Outfit', monospace;
  font-weight: 600;
  letter-spacing: 0;
}

/* ============== PHONE MOCKUPS ============== */
.phones {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 12px;
}
.phone { margin: 0; }
.phone__frame {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a2638 0%, #0a1525 100%);
  padding: 10px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.05),
    0 30px 60px -25px rgba(10,26,42,.45),
    0 12px 20px -8px rgba(10,26,42,.22);
}
.phone__frame::before {
  /* speaker / notch */
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  z-index: 2;
}
.phone__frame img {
  width: 100%; height: auto;
  border-radius: 28px;
  display: block;
}
.phone--center .phone__frame { transform: scale(1.04); }
.phone--side   .phone__frame { transform: scale(.96); }
.phone figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-500);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .phones { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .phone--side .phone__frame, .phone--center .phone__frame { transform: none; }
}

/* ============== PRICING TIERS ============== */
.tier {
  position: relative;
  background: #fff;
  border: 1.5px solid rgba(10,26,42,.08);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.tier h3 { font-size: 22px; }
.tier__price {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-900);
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin: 4px 0 0;
}
.tier__currency { font-size: 18px; font-weight: 800; padding-top: 8px; color: var(--ink-500); letter-spacing: 0; }
.tier__decimal  { font-size: 22px; font-weight: 800; padding-top: 8px; color: var(--ink-500); letter-spacing: 0; }
.tier__lead { color: var(--ink-500); margin: 6px 0 0; font-size: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tier li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.tier li::before {
  content: '';
  position: absolute;
  left: 4px; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}
.tier__badge {
  position: absolute;
  top: -12px; right: 22px;
  background: var(--builder);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: 999px;
}
.tier__badge--gold { background: var(--gold-500); color: var(--navy-900); }
.tier--featured { border-color: var(--builder); }
.tier--founder  { border-color: var(--gold-500); background: linear-gradient(180deg, #fff 0%, #FBF6E9 100%); }

.pricing__finepoint {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--grey-500);
  max-width: 64ch;
  line-height: 1.55;
}

/* ============== GET / BUY ============== */
.section--get {
  background:
    radial-gradient(ellipse at top, rgba(200,162,90,.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--grey-100);
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 0;
}
.get__inner { display: flex; flex-direction: column; align-items: center; }
.get__logo {
  width: 220px;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 18px rgba(200,162,90,.35));
}
.get__title { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.get__lead { max-width: 52ch; margin: 0 0 30px; color: rgba(245,241,232,.78); font-size: 17px; }
.get__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.badge { display: inline-block; transition: transform .18s ease; }
.badge:hover { transform: translateY(-2px); }
.badge--live img { height: 64px; width: auto; }
.badge--soon {
  background: rgba(255,255,255,.06);
  border: 1.5px dashed rgba(245,241,232,.32);
  border-radius: 12px;
  padding: 12px 22px;
  color: rgba(245,241,232,.55);
  height: 64px;
  display: inline-flex;
  align-items: center;
}
.badge--soon__inner { display: flex; align-items: center; gap: 12px; }
.badge--soon__inner svg { opacity: .65; }
.badge--soon__lead,
.badge--soon__store {
  display: block;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
}
.badge--soon__lead  { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; opacity: .7; }
.badge--soon__store { font-size: 18px; font-weight: 900; line-height: 1.1; color: rgba(245,241,232,.92); }
.get__finepoint { font-size: 13.5px; color: var(--grey-500); margin: 12px 0 0; }
.get__finepoint a { color: var(--gold-400); text-decoration: underline; }
.get__finepoint a:hover { color: var(--gold-500); }

/* ============== FOOTER ============== */
.footer {
  background: #060E18;
  color: rgba(245,241,232,.72);
  padding: 44px 0 50px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 30px;
  align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 14px;
}
.footer__tagline { margin: 4px 0 0; font-size: 11px; letter-spacing: 0.16em; color: rgba(245,241,232,.55); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
}
.footer__links a { color: rgba(245,241,232,.78); text-decoration: none; padding: 6px 4px; }
.footer__links a:hover { color: var(--gold-400); }
.footer__legal { text-align: right; font-size: 12px; color: rgba(245,241,232,.55); margin: 0; line-height: 1.5; }

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand, .footer__links { justify-content: center; }
  .footer__legal { text-align: center; }
}

/* ============== REVEAL / ANIMATIONS ============== */
.reveal,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in,
.reveal-on-scroll.is-in {
  opacity: 1;
  transform: none;
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .reveal-on-scroll { opacity: 1; transform: none; }
}
