/* Boulderist website: the app's own palette and type. */
:root {
  --bg: #E9EBE3;
  --surface: #F7F8F2;
  --surface2: #DFE2D6;
  --line: #CDD1C3;
  --ink: #252421;
  --muted: #666A5D;
  --olive: #3E4A33;
  --on-olive: #F3F5EC;
  --sand: #9C7440;
  --flash: #2E8452;
  --send: #3463AE;
  --project: #B87B12;
  --display: "Archivo", system-ui, -apple-system, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --gutter: 20px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171815;
    --surface: #20221D;
    --surface2: #2A2D26;
    --line: #363A31;
    --ink: #ECEDE4;
    --muted: #9C9F92;
    --olive: #A6B888;
    --on-olive: #171A12;
    --sand: #D3A96B;
    --flash: #5CC283;
    --send: #79A3EA;
    --project: #E6AC40;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--olive); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 680px; }

/* Header */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark {
  display: inline-block; width: 34px; aspect-ratio: 791 / 633;
  background: var(--olive);
  -webkit-mask: url("/assets/logo.png") center / contain no-repeat;
  mask: url("/assets/logo.png") center / contain no-repeat;
}
.wordmark {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  letter-spacing: .2em; font-size: 15px; text-transform: uppercase;
}
.nav { display: flex; gap: 18px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Type */
.eyebrow {
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.4vw, 44px); }
h3 { font-size: 24px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.tagline {
  font-family: var(--display); font-stretch: 125%; font-size: 14px; letter-spacing: .14em;
  color: var(--sand); margin: 0 0 22px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--olive); color: var(--on-olive);
}
.btn.soon { cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.phone {
  justify-self: center; width: min(320px, 78vw);
  border-radius: 46px; padding: 12px; background: #111;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { border-radius: 34px; width: 100%; }

/* Features */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head p { margin: 12px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 24px;
}
.section:not(.alt) .card { background: var(--surface); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface2); color: var(--olive);
}
.icon svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 11px; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px; border: 1.5px solid currentColor;
}
.chip.flash { color: var(--flash); }
.chip.send { color: var(--send); }
.chip.project { color: var(--project); }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gallery figure { margin: 0; }
.gallery .phone { width: 100%; border-radius: 36px; padding: 8px; }
.gallery .phone img { border-radius: 29px; }
.gallery figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.gallery figcaption strong { color: var(--ink); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.steps h3 { margin: 2px 0 8px; }
.steps p { margin: 0; color: var(--muted); }
.num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--olive); color: var(--on-olive);
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 20px;
}
.tabs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tabs-grid .card h3 { margin-top: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; }
.plan { border-radius: 26px; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.plan.pro { background: var(--olive); color: var(--on-olive); border-color: transparent; }
.plan.pro .muted { color: color-mix(in srgb, var(--on-olive) 78%, transparent); }
.plan .price { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 40px; margin: 10px 0 4px; }
.plan ul { margin: 18px 0 0; padding: 0; list-style: none; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.fine { font-size: 14px; margin-top: 18px; }

/* Text pages */
.page { padding: 24px 0 80px; }
.page h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 8px; }
.page h2 { font-size: 26px; margin: 36px 0 8px; }
.page p, .page li { color: var(--muted); }
.page p { margin: 0 0 12px; }
.page strong { color: var(--ink); font-weight: 600; }
.contact {
  margin: 28px 0 8px; padding: 22px 24px; border-radius: 20px;
  background: var(--olive); color: var(--on-olive);
}
.contact p { color: inherit; margin: 0; }
.contact a { color: inherit; font-weight: 700; font-size: 20px; overflow-wrap: anywhere; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

/* Footer */
.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 16px; }
  .grid, .steps, .tabs-grid { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .gallery figure { flex: 0 0 68%; scroll-snap-align: center; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .nav { gap: 14px; font-size: 14px; }
  .wordmark { font-size: 13px; letter-spacing: .16em; }
  .mark { width: 28px; }
}

.plan .price .per { font-size: 20px; }
