/* Summit Steps website. Colours and type follow frontend/theme/tokens.ts and docs/design/Landing.dc.html. */

:root {
  --night: #0b1715;
  --pine: #13201d;
  --pine-800: #142622;
  --pine-700: #17302c;
  --pine-600: #244a41;
  --pine-500: #2e5a4f;
  --pine-400: #35655a;
  --pine-300: #4e7a6e;
  --paper: #f4f0e6;
  --paper-warm: #fbf9f3;
  --paper-deep: #e9e5da;
  --track: #efe9dc;
  --card: #ffffff;
  --ember: #d9531e;
  --gold: #f0a33a;
  --peach: #f4b79b;
  --blush: #f6dccf;
  --rust: #7a2a0c;
  --sage: #dcebdd;
  --moss: #1f4a2e;
  --snow: #f2efe6;
  --mist: #c9d1cd;
  --fog: #9aa7a2;
  --slate: #4f5b57;

  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;
  --body: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--pine);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--snow);
  color: var(--pine);
  font-weight: 700;
}

.skip:focus {
  top: 16px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.dark {
  background: var(--night);
  color: var(--snow);
}

/* ------------------------------------------------------------------ type */

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.dark .eyebrow {
  color: var(--peach);
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  font-size: 18px;
  color: var(--slate);
  text-wrap: pretty;
}

.dark .lede {
  color: var(--mist);
}

.head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  background: var(--ember);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  background: #c94a19;
}

.btn:active {
  transform: scale(0.98);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--pine);
  color: var(--pine);
}

.btn--outline:hover {
  background: var(--pine);
  color: var(--snow);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1.5px solid var(--pine-300);
  color: var(--snow);
  text-decoration: none;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store small {
  font-size: 12px;
  color: var(--mist);
}

.store strong {
  font-size: 18px;
  font-weight: 700;
}

.store--primary {
  border-color: var(--ember);
  background: var(--ember);
  color: #fff;
  box-shadow: 0 12px 30px rgba(217, 83, 30, 0.35);
}

.store--primary small {
  color: inherit;
  opacity: 0.9;
}

a.store:hover {
  border-color: var(--snow);
}

a.store--primary:hover {
  border-color: #c94a19;
  background: #c94a19;
}

a.store:active {
  transform: scale(0.98);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
}

.backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero .wrap {
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--snow);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 15px;
  font-weight: 600;
}

.nav__links a {
  padding: 10px 0;
  color: var(--mist);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--snow);
}

.nav__links .nav__cta {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  background: var(--snow);
  color: var(--pine);
  font-weight: 700;
}

.nav__links .nav__cta:hover {
  background: #fff;
  color: var(--pine);
}

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.hero__copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pill {
  align-self: flex-start;
  padding: 8px 12px;
  border: 1px solid var(--pine-400);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--peach);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold);
}

.hero__lede {
  max-width: 520px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--mist);
}

.hero .stores {
  margin-top: 6px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--mist);
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__phone {
  flex: 0 1 340px;
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.phone {
  width: 332px;
  max-width: 100%;
  aspect-ratio: 332 / 695;
  border: 10px solid var(--pine);
  border-radius: 48px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.chip {
  position: absolute;
  left: -36px;
  top: 120px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--pine);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
}

.chip small {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.chip strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
}

/* ------------------------------------------------------------------ trek strip */

.strip {
  background: var(--pine);
}

.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0;
  padding: 18px var(--gutter);
  list-style: none;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.strip li + li::before {
  content: '▲';
  margin-right: 28px;
  color: var(--gold);
}

/* ------------------------------------------------------------------ how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 0;
  border-radius: 28px;
  background: var(--card);
  overflow: hidden;
}

.step__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--pine);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
}

.step h3 {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.step p {
  flex-grow: 1;
  color: var(--slate);
}

.step__phone {
  align-self: center;
  width: 250px;
  max-width: 100%;
  height: 338px;
  margin-top: 18px;
  border: 8px solid var(--pine);
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  overflow: hidden;
  background: var(--paper);
}

.step__phone img {
  width: 100%;
  height: auto;
}


/* ------------------------------------------------------------------ calculator */

.calc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.calc__copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc__treks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.calc__treks button {
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--pine-400);
  border-radius: 22px;
  background: transparent;
  color: var(--snow);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.calc__treks button:hover {
  border-color: var(--gold);
}

.calc__treks button[aria-pressed='true'] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--pine);
}

.calc__card {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--pine-600);
  border-radius: 32px;
  background: var(--pine-800);
}

.calc__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calc__label {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}

.calc__steps {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.calc__buttons {
  display: flex;
  gap: 10px;
}

.round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--pine-300);
  border-radius: 26px;
  background: transparent;
  color: var(--snow);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.round--solid {
  border-color: var(--snow);
  background: var(--snow);
  color: var(--pine);
}

.round:active {
  transform: scale(0.94);
}

.round:disabled {
  opacity: 0.35;
  cursor: default;
}

.calc__rule {
  height: 1px;
  background: var(--pine-600);
}

.calc__arrival {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--gold);
}

.calc__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.calc__stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 2px;
  padding: 14px;
  border-radius: 16px;
  background: var(--night);
}

.calc__stats dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.calc__stats dt {
  font-size: 12px;
  color: var(--fog);
}

/* ------------------------------------------------------------------ treks */

.treks__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.treks__head .head {
  max-width: 620px;
  margin-bottom: 0;
}

.treks__head > p {
  max-width: 420px;
  font-size: 17px;
  color: var(--slate);
}

.treks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trek {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--card);
  overflow: hidden;
}

.trek svg {
  width: 100%;
  height: 170px;
}

.trek__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.trek__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trek h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.trek__meta {
  font-size: 15px;
  color: var(--slate);
}

.trek__stats {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
}

.tag {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--blush);
  color: var(--rust);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.tag--featured {
  background: var(--pine);
  color: var(--snow);
}

.tag--free {
  background: var(--sage);
  color: var(--moss);
}

/* ------------------------------------------------------------------ postcards */

.white {
  background: var(--card);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.cards__art {
  flex: 1 1 400px;
  min-width: 0;
  position: relative;
  min-height: 450px;
}

.postcard {
  position: absolute;
  left: 50%;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 300px;
  padding: 11px 11px 13px;
  border-radius: 6px;
  background: var(--paper-warm);
  box-shadow: 0 24px 50px rgba(19, 32, 29, 0.22);
  transform: translateX(-62%) rotate(-6deg);
}

.postcard > svg {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.postcard__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.postcard__foot strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}

.postcard__foot small {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  color: var(--slate);
}

.postcard__foot svg {
  transform: rotate(-14deg);
}

.story {
  position: absolute;
  left: 50%;
  top: 60px;
  width: 210px;
  height: 374px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--night);
  color: var(--snow);
  box-shadow: 0 28px 56px rgba(19, 32, 29, 0.35);
  transform: translateX(18%) rotate(5deg);
}

.story > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story__body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
}

.story__tag {
  align-self: flex-start;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(11, 23, 21, 0.45);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.story__line {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.story__mark {
  margin-top: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 8px;
  color: var(--fog);
}

.cards__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 24px;
  background: var(--card);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blush);
  color: var(--ember);
}

.feature h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.feature p {
  font-size: 15px;
  color: var(--slate);
}

.feature--dark {
  background: var(--pine);
  color: var(--snow);
}

.feature--dark .feature__icon {
  background: var(--pine-500);
  color: var(--gold);
}

.feature--dark p {
  color: var(--mist);
}

/* ------------------------------------------------------------------ pricing */

.pricing {
  background: var(--paper-deep);
}

.pricing .head {
  align-items: center;
  max-width: none;
  margin-bottom: 40px;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: 28px;
  background: var(--card);
}

.plan__name {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan__price small {
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--fog);
}

.plan__note {
  font-size: 15px;
  color: var(--slate);
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 8px;
  padding: 14px 0 0;
  border-top: 1px solid var(--track);
  list-style: none;
  font-size: 15px;
}

.plan li {
  display: flex;
  gap: 10px;
  color: var(--moss);
}

.plan li span {
  color: var(--pine);
}

.plan li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.plan .btn {
  height: 54px;
  margin-top: auto;
  border-radius: 16px;
  font-size: 16px;
}

.plan--pro {
  background: var(--night);
  color: var(--snow);
  box-shadow: 0 24px 50px rgba(19, 32, 29, 0.25);
}

.plan--pro .plan__name {
  color: var(--peach);
}

.plan--pro .plan__note {
  color: var(--mist);
}

.plan--pro ul {
  border-top-color: var(--pine-600);
}

.plan--pro li {
  color: var(--gold);
}

.plan--pro li span {
  color: var(--snow);
}

.plan__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--ember);
  color: #fff;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.plan--lifetime {
  border: 2px solid var(--gold);
}

.plan__badge--gold {
  background: var(--gold);
  color: var(--pine);
}

/* ------------------------------------------------------------------ faq */

.faq {
  max-width: 820px;
}

.faq .h2 {
  margin-bottom: 28px;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  padding: 0 22px;
  border-radius: 18px;
  background: var(--card);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--ember);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 20px;
  line-height: 1.55;
  color: var(--slate);
}

/* ------------------------------------------------------------------ closing + footer */

.closing {
  position: relative;
  overflow: hidden;
}

.closing .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
  text-align: center;
}

.closing h2 {
  max-width: 760px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.closing p {
  font-size: 18px;
  color: var(--mist);
}

.closing .stores {
  justify-content: center;
}

.footer {
  border-top: 1px solid var(--pine-700);
  background: var(--night);
  color: var(--fog);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__brand strong {
  color: var(--snow);
  font-family: var(--display);
  font-weight: 700;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer nav a {
  padding: 10px 0;
  color: var(--mist);
  text-decoration: none;
}

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

/* ------------------------------------------------------------------ text pages (privacy, terms, support, 404) */

.bar {
  background: var(--night);
}

.doc {
  max-width: 760px;
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: var(--section);
}

.doc h1 {
  margin: 12px 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.doc__meta {
  margin-bottom: 36px;
  color: var(--slate);
}

.doc h2 {
  margin: 40px 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.6;
}

.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 14px;
}

.doc ul {
  margin: 0;
  padding-left: 22px;
}

.doc li + li {
  margin-top: 8px;
}

.doc a {
  color: var(--pine);
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.doc a:hover {
  color: var(--ember);
}

.doc .btn {
  display: inline-flex;
  margin-top: 28px;
  color: #fff;
}

.note {
  margin-top: 36px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card);
}

/* ------------------------------------------------------------------ motion + small screens */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(-10px) rotate(-9deg);
  }
}

@keyframes tick {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
}

.hero__copy > * {
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.06s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.12s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.18s;
}

.hero__copy > :nth-child(5) {
  animation-delay: 0.24s;
}

.hero__phone {
  animation: rise 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.chip {
  animation: settle 0.5s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.is-ticking {
  animation: tick 0.25s ease;
}

@media (max-width: 760px) {
  .nav__links a:not(.nav__cta) {
    display: none;
  }

  .chip {
    left: 0;
    top: 96px;
  }

  .strip li + li::before {
    margin-right: 14px;
  }

  .strip ul {
    gap: 8px 14px;
    font-size: 11px;
  }

  .cards__art {
    flex-basis: 100%;
    min-height: 430px;
  }

  .postcard {
    width: 250px;
    transform: translateX(-66%) rotate(-6deg);
  }

  .story {
    transform: translateX(-4%) rotate(5deg);
  }

  .calc__stats dd {
    font-size: 19px;
  }

  .plan {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
