/* Every Altitude public pages: the forest palette, Archivo titles, Literata reading text, Source Sans for the interface. */
:root {
  --forest: #1F3B2D; --deep: #12241A; --moss: #4F6B4A; --fern: #9DB394; --canopy: #EAF0E6; --paper: #F6F3ED; --ink: #1A1D1B;
  --stone: #5E615C; --rule: #E2DCD0; --lake: #0E5A57; --verm: #D2462B; --vermText: #B23A20; --mist: #E3EAE4; --night: #0E1A13;
  --body: "Literata", Georgia, serif; --ui: "Source Sans 3", system-ui, sans-serif; --title: "Archivo", "Arial Black", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--lake); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--verm); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 40px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--canopy); padding: 10px 16px; border-radius: 8px; font: 700 15px var(--ui); }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 36, 26, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--canopy); }
.top-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 64px; }
.logo { font: 800 18px/1 var(--title); font-stretch: 125%; color: var(--canopy); text-decoration: none; padding: 12px 0; white-space: nowrap; }
.top nav { display: flex; gap: 2px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: var(--fern); text-decoration: none; font: 600 15px/1 var(--ui); padding: 12px; border-radius: 20px; white-space: nowrap; }
.top nav a:hover { color: var(--canopy); }
.top nav a[aria-current="page"] { color: var(--deep); background: var(--canopy); }
.signin { color: var(--deep); background: var(--canopy); text-decoration: none; font: 700 15px/1 var(--ui); padding: 12px 18px; border-radius: 22px; white-space: nowrap; }
@media (max-width: 860px) {
  .top-in { grid-template-columns: 1fr auto; row-gap: 0; padding-bottom: 6px; }
  .top nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 0 -16px; padding: 0 10px; }
  .top nav a { padding: 10px 10px; font-size: 14.5px; }
  .signin { padding: 10px 16px; }
}

/* Type */
.eyebrow { font: 700 13px/1.2 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--vermText); margin: 0 0 12px; }
.hero .eyebrow, .dark .eyebrow { color: var(--fern); }
h1, h2 { font-family: var(--title); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; line-height: 1.04; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 70px); }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font: 700 20px/1.25 var(--ui); margin: 10px 0 8px; }
.lede { font: 400 clamp(18px, 2vw, 21px)/1.6 var(--body); max-width: 38em; margin: 0 0 20px; }
.small { font: 400 15px/1.5 var(--ui); color: var(--stone); }
.meta { font: 600 15px/1.4 var(--ui); color: var(--moss); margin: 0 0 8px; }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 25px; font: 700 16px/1 var(--ui); text-decoration: none; transition: transform 200ms var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-verm { background: var(--vermText); color: #fff; }
.btn-forest { background: var(--forest); color: var(--canopy); }
.btn-ghost { color: var(--canopy); border: 1.5px solid var(--fern); }
.btn-line { color: var(--forest); border: 1.5px solid var(--forest); }

/* Hero */
.hero { background: radial-gradient(1100px 600px at 80% 10%, #24452F, var(--deep) 60%, var(--night)); color: var(--canopy); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero .lede { color: #D6E0D2; }
.hero-art { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.small-hero .wrap { padding-top: 64px; padding-bottom: 56px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 48px; } }

/* Bands */
.band { padding: 80px 0; }
.band.alt { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band.dark { background: var(--deep); color: var(--canopy); }
.band.dark .lede { color: #D6E0D2; }
@media (max-width: 700px) { .band { padding: 56px 0; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.round { width: 100%; height: auto; border-radius: 24px; }
.strip { width: 260px; height: auto; margin: 4px 0 18px -6px; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }

/* Tiles */
.three, .four { display: grid; gap: 20px; margin-top: 32px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .three, .four { grid-template-columns: 1fr; } }
.tile { background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 24px; }
.band:not(.alt) .tile { background: #fff; }
.tile p { margin: 0; font: 400 16.5px/1.55 var(--ui); color: #33372F; }
.ico { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; background: var(--mist); color: var(--forest); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Phone frames: real screens from the app */
.phone { margin: 0 auto; width: min(300px, 78vw); padding: 10px; border-radius: 46px; background: #0C110E; box-shadow: 0 0 0 1.5px #2F3A33, 0 30px 70px rgba(10, 20, 14, .35); }
.phone img { display: block; width: 100%; height: auto; border-radius: 37px; }
.hero-phone { width: min(290px, 70vw); }

/* Feature rows on the app page */
.feat { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; padding: 28px 0; }
.feat.rev { grid-template-columns: 1fr 340px; }
.feat.rev .phone { order: 2; }
.feat + .feat { border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .feat, .feat.rev { grid-template-columns: 1fr; gap: 24px; } .feat.rev .phone { order: 0; } }

/* Sessions */
.sess-list { list-style: none; padding: 0; margin: 32px 0 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .sess-list { grid-template-columns: 1fr; } }
.sess { background: #fff; border: 1px solid var(--rule); border-radius: 24px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.sess img { width: 100%; height: 190px; object-fit: cover; display: block; }
.sess > div { padding: 20px 22px 22px; }
.sess h3 { font: 800 24px/1.1 var(--title); font-stretch: 125%; margin: 0 0 8px; }
.sess p:last-child { margin: 0; font: 400 16px/1.55 var(--body); }

/* Steps and audiences */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 62px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; font: 400 17px/1.45 var(--ui); }
.band:not(.alt) .steps li { background: #fff; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; background: var(--lake); color: #fff; font: 800 15px/1 var(--title); font-stretch: 125%; }
.steps.big li { padding: 20px 20px 20px 66px; font-size: 18px; }
.steps.big li::before { top: 18px; }
.aud { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 12px; padding: 0; list-style: none; }
.aud li { font: 600 15px/1 var(--ui); padding: 11px 15px; border-radius: 20px; background: var(--mist); color: var(--forest); }
.aud li.now { background: var(--forest); color: var(--canopy); }

/* Text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font: 400 18px/1.7 var(--body); margin: 0 0 1em; }

/* Footer */
.foot { background: var(--night); color: var(--fern); padding: 56px 0 36px; font: 400 15px/1.55 var(--ui); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot-brand { font: 800 20px/1 var(--title); font-stretch: 125%; color: var(--canopy); margin: 0 0 10px; }
.foot-h { font: 700 12.5px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--canopy); margin: 4px 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { color: var(--fern); text-decoration: none; display: inline-block; padding: 4px 0; }
.foot a:hover { color: var(--canopy); text-decoration: underline; }
.crossway { font-size: 12.5px; line-height: 1.5; color: #8FA287; border-top: 1px solid #22322A; padding-top: 20px; margin: 0 0 8px; }
.fine { font-size: 13px; margin: 0; }
/* On a phone the logo is the way home, so the menu fits on one line. */
@media (max-width: 600px) { .top nav a:first-child { display: none; } .top nav a { padding: 10px 8px; } }
