/* Long Summit — the website.
   Every colour here was sampled from something that ships: the hero image the
   maker drew (header.png) and the app icon. Nothing is matched by eye. */

@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-latin.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* sampled from header.png */
  --sky-top: #eddcb7;
  --sky-mid: #f5e5c1;
  --sky-right: #eed9a9;
  --sky-horizon: #fffdf9;
  --sun: #d8971a;
  --cloud: #faefd6;
  --dark: #2d2a24;
  --dark-2: #4a443a;
  --far: #9f9d99;

  /* sampled from the app icon */
  --gold: #c8901a;
  --gold-bright: #f0b429;
  --gold-ink: #9e7014;

  --paper: #faf9f7;
  --cream: #f6f0e3;
  --ink: #1d1b17;
  --ink-2: #57514a;
  --ink-3: #8c8781;
  --rule: #e4e0d8;

  --serif: 'Newsreader', ui-serif, Georgia, serif;
  --sans: 'DM Sans', -apple-system, ui-sans-serif, system-ui, sans-serif;

  --col: 680px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold-ink); }

.skip {
  position: absolute; left: -9999px;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 50; }

/* ─────────── header and footer ─────────── */

header.bar {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 20px 24px;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.mark-svg { display: block; flex-shrink: 0; }
.mark .name {
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  letter-spacing: 0.15em; white-space: nowrap;
}
header.bar nav, footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
header.bar nav a, footer nav a {
  font-size: 14.5px; color: var(--ink-2); text-decoration: none;
}
header.bar nav a:hover, footer nav a:hover { color: var(--gold-ink); }
header.bar nav a[aria-current='page'] { color: var(--gold-ink); }

footer {
  border-top: 1px solid var(--rule); margin-top: 80px;
  background: var(--paper);
}
.foot-in {
  max-width: 1100px; margin: 0 auto; padding: 24px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-3);
}

/* ─────────── the reading column ─────────── */

.col { max-width: var(--col); margin: 0 auto; padding: 0 24px; }

section.col, .gallery, .tiles { margin-top: 72px; }

h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 6.4vw, 54px); line-height: 1.08;
  letter-spacing: -0.005em;
}
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 4.2vw, 34px); line-height: 1.18;
  margin-bottom: 18px;
}
p { margin: 14px 0; color: var(--ink-2); }
p.lead { font-size: 19px; color: var(--ink); }
p.aside { font-size: 15px; color: var(--ink-3); }

ul.kinds, ul.story, ul.plain { list-style: none; margin: 18px 0; }
ul.kinds li, ul.story li, ul.plain li {
  margin: 12px 0; padding-left: 20px; position: relative; color: var(--ink-2);
}
ul.kinds li::before, ul.story li::before, ul.plain li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  opacity: .55;
}
ul.kinds b, ul.story b { color: var(--ink); font-weight: 600; }

/* ─────────── the hero ─────────── */

.hero { position: relative; }

.sky {
  position: relative;
  min-height: clamp(280px, 46vw, 440px);
  background:
    radial-gradient(120% 90% at 50% 100%, var(--sky-horizon) 0%, rgba(255,253,249,0) 58%),
    linear-gradient(104deg, var(--sky-top) 0%, var(--sky-mid) 46%, var(--sky-right) 100%);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) 20px clamp(90px, 13vw, 150px);
  display: flex; align-items: center; justify-content: center;
}

.sun {
  position: absolute; right: clamp(24px, 7vw, 120px); top: clamp(26px, 5vw, 56px);
  width: clamp(44px, 6.4vw, 86px); aspect-ratio: 1;
  border-radius: 50%; background: var(--sun);
}

/* Soft lozenges, not rectangles: the blur is doing the work, so the shape
   underneath only has to be roughly right. */
.cloud {
  position: absolute; border-radius: 999px; background: var(--cloud);
  opacity: .72; filter: blur(9px);
}
.cloud-a { left: 5%; top: 16%; width: clamp(100px, 14vw, 210px); height: clamp(18px, 2.4vw, 34px); }
.cloud-b { right: 10%; top: 40%; width: clamp(76px, 11vw, 165px); height: clamp(14px, 2vw, 27px); }

.chips {
  position: relative; z-index: 2; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(7px, 1vw, 13px);
  /* As a flex item this sizes to its content unless told otherwise, and its
     content is eleven chips in a row — which pushed the whole document wider
     than a phone and cut the headline off at the right. */
  width: 100%; min-width: 0;
  /* Narrow on purpose. Left wider the eleven chips run 5-5-1 and the last row
     is one orphan; at this width they settle into the pyramid the drawn hero
     has, and on a phone they stack the same way. */
  max-width: 620px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px;
  padding: 7px 16px 7px 8px;
  font-size: clamp(14px, 1.7vw, 19px); font-weight: 500; color: var(--ink);
  box-shadow: 0 2px 10px rgba(45, 42, 36, .09), 0 0 0 1px rgba(45, 42, 36, .035);
  white-space: nowrap;
}
.chip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
}

.range {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(80px, 12vw, 150px); display: block;
}

.band {
  background: var(--dark); color: #f3ead9;
  text-align: center;
  padding: clamp(28px, 4vw, 48px) 24px clamp(40px, 5vw, 60px);
}
.band h1 { color: #f3ead9; max-width: 15ch; margin: 0 auto; }
.band .sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold-bright); font-size: clamp(20px, 3.2vw, 28px);
  margin-top: 14px;
}
.band .say {
  color: #cfc6b4; font-size: 16px; max-width: 54ch; margin: 12px auto 0;
}
.band .plat {
  color: #9b9183; font-size: 14px; margin-top: 14px;
  letter-spacing: .02em;
}

.badge { display: inline-block; margin-top: 26px; line-height: 0; }
.badge img { width: 150px; height: 50px; }
/* Not out yet: the badge is shown but is not a link, and says so. */
.badge[data-pending] { opacity: .55; }
.badge .soon {
  display: block; line-height: 1.4; margin-top: 9px;
  font-size: 13.5px; letter-spacing: .04em; color: #9b9183;
}
.try .badge .soon { color: var(--ink-3); }
.badge.on-paper img { filter: invert(1) hue-rotate(180deg); }

/* ─────────── the three tiles ─────────── */

.tiles {
  max-width: 900px; margin-inline: auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.tile {
  background: var(--cream); border-radius: 16px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.tile .big {
  font-family: var(--serif); font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 500; color: var(--gold-ink); line-height: 1;
}
.tile .small { font-weight: 600; font-size: 15.5px; margin-top: 8px; }
.tile .note { font-size: 14.5px; color: var(--ink-3); }

/* ─────────── the screenshots ─────────── */

.gallery .col { margin-bottom: 22px; }
.strip {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 24px 20px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.shot { flex: 0 0 auto; width: min(72vw, 300px); scroll-snap-align: center; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 20px;
  border: 1px solid var(--rule);
  background: var(--cream);
}
.shot figcaption {
  font-size: 14.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.45;
}

/* ─────────── the dark band ─────────── */

.dark {
  background: var(--dark); color: #d9d0bf;
  padding: 64px 0 70px; margin-top: 80px;
}
.dark h2 { color: #f3ead9; }
.dark h2 + ul { margin-top: 8px; }
.dark ul.plain li { color: #cfc6b4; }
.dark ul.plain li::before { background: var(--gold-bright); opacity: .7; }
.dark .aside { color: #9b9183; }
.dark h2:nth-of-type(2) { margin-top: 48px; }

/* ─────────── try it ─────────── */

ul.prices { list-style: none; margin: 20px 0 10px; }
ul.prices li {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
ul.prices b { color: var(--ink); font-weight: 600; min-width: 84px; }
ul.prices .amt { font-family: var(--serif); font-size: 21px; color: var(--ink); }
ul.prices .extra {
  font-size: 13.5px; color: var(--gold-ink); background: #fdf3df;
  padding: 2px 9px; border-radius: 999px;
}
.try .contact { margin-top: 26px; }

/* ─────────── documents (faq, legal, support) ─────────── */

.doc { max-width: var(--col); margin: 48px auto 0; padding: 0 24px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc .stamp { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.doc h2 { margin-top: 48px; }
.doc h3 {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); margin: 40px 0 10px;
}
.doc ul { margin: 14px 0 14px 22px; color: var(--ink-2); }
.doc li { margin: 8px 0; }

/* a question and its answer */
.qa { border-top: 1px solid var(--rule); padding: 22px 0; }
.qa h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  text-transform: none; letter-spacing: 0; color: var(--ink);
  margin: 0 0 8px;
}
.qa p { margin: 8px 0; }
.qa p:first-of-type { color: var(--ink); }

@media (max-width: 680px) {
  /* On a phone the chips fill the width, so the sun has to sit above them
     rather than beside them, or it ends up behind the first row. */
  .sky { padding-top: 76px; }
  .sun { width: 42px; top: 18px; right: 18px; }

  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .tile .big { font-size: 30px; }
  .tile .small { margin-top: 0; }
  .tile .note { flex-basis: 100%; }
  section.col, .gallery, .tiles { margin-top: 56px; }
  .foot-in { flex-direction: column; gap: 14px; }
}
