/* The home page's own styles. The three document pages share site.css.

   They are in a file, and nothing on the page carries a style of its own,
   because of the Content-Security-Policy the site sends (see _headers): a
   browser applies styles only from a file the site serves. A <style> block in
   the page, or a style="" on an element, is ignored without a word. So a
   one-off adjustment gets a class, and its rule goes at the foot of this
   file. */

:root {
  --night: #131118;
  --night-2: #1b1826;
  --paper: #f7f6f9;
  --card: #ffffff;
  --ink: #17151c;
  --ink-2: #4c4656;
  --muted: #857e91;
  /* The same grey, darker, for small words on paper or a white card: --muted
     is 3.6:1 there, and 4.5:1 is the least that small text may have. */
  --muted-on-light: #726c7d;
  --line: #e3dfea;
  --line-dark: #2c2739;
  --amethyst: #6e4bc4;
  --amethyst-lit: #b092f0;
  --amethyst-soft: #efe9fb;
  --on-night: #efecf5;
  --on-night-2: #b3aac6;

  /* The ring round whatever the keyboard is on: the accent on paper, and its
     lighter tint on the dark bands (set there, below). */
  --focus: var(--amethyst);

  /* The app gives each section of the Expeditions tab a colour of its own.
     The site uses the same three, so a feature here and the screen it
     describes are recognisably the same thing. */
  --tab-expeditions: #2f6fcb;
  --tab-wishlist: #0f9670;
  --tab-market: #a97a0c;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

/* A link to a section, or the keyboard moving down the page, stops short of
   the bar fixed across the top, so nothing it lands on is hidden under it. */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; }
a { color: inherit; }

a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.topbar, .hero, .market, footer { --focus: var(--amethyst-lit); }

/* The first thing a keyboard reaches on every page: a way past the bar to the
   page itself. It is out of sight until it has been reached. */
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amethyst-lit);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 10px; outline: 2px solid var(--on-night); outline-offset: 2px; }

/* The skip link hands the focus to the page, which is not a control and
   needs no ring. */
#content:focus { outline: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 22px; }

/* Grid children default to min-width:auto, so a wide screenshot would force
   the column — and the whole page — wider than the phone reading it. */
.hero-grid > *,
.feature > *,
.shots > *,
.market-grid > *,
.price-grid > * { min-width: 0; }

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

.mark { flex: none; display: block; }

/* The screenshots are straight off a phone, with no frame around them, so
   the page draws the phone. */
.phone {
  background: #0c0b10;
  border-radius: 38px;
  padding: 7px;
  box-shadow: 0 22px 50px rgba(23, 21, 28, 0.22);
}
.phone img { border-radius: 31px; width: 100%; height: auto; }

/* A near-black bezel disappears against the hero's near-black ground, so the
   one up there is lifted and given an edge to read against it. */
.hero .phone,
.market .phone {
  background: #2b2637;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.13), 0 30px 64px rgba(0, 0, 0, 0.55);
}

/* ---------------- top bar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 17, 24, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-night);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--on-night);
}

.topnav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.topnav a { color: var(--on-night-2); text-decoration: none; }
.topnav a:hover { color: var(--on-night); }

/* The way to the same page in the other language: last in the bar, and the
   one link there that a narrow screen never puts away. */
.topnav .lang-switch {
  padding: 3px 11px;
  border: 1px solid rgba(239, 236, 245, 0.32);
  border-radius: 999px;
  color: var(--on-night);
}
.topnav .lang-switch:hover { border-color: var(--on-night); }

/* On a phone the bar keeps the name and the language, and the page scrolls
   to the rest; if the words are ever too long for one line, it takes two
   rather than running off the screen. */
.topbar .wrap { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 720px) { .topnav .hide-sm { display: none; } }
@media (max-width: 480px) { .topnav .hide-xs { display: none; } }

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

.hero {
  background: var(--night);
  color: var(--on-night);
  padding-block: 60px 64px;
}
.hero .eyebrow { color: var(--amethyst-lit); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(50px, 8.4vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-top: 16px;
}
.hero h1 em { font-style: italic; color: #c4aaf5; }
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--on-night-2);
  max-width: 42ch;
  margin-top: 20px;
}
.hero-shot { max-width: 286px; justify-self: center; width: 100%; }

/* ---------------- shared section head ---------------- */

.section-head { max-width: 56ch; padding-block: 62px 0; }
#features .section-head { padding-bottom: 46px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.08;
  margin-top: 10px;
}
.section-head p { margin: 14px 0 0; color: var(--ink-2); }

/* Which tab of the app this lives in — the app's own colour for it. */
.in-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  color: var(--tint-ink, var(--tint, var(--amethyst)));
  background: color-mix(in srgb, var(--tint, var(--amethyst)) 11%, transparent);
}
.in-tab::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------------- one screen beside its text ---------------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding-block: 54px;
  border-top: 1px solid var(--line);
}
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 3.3vw, 36px);
  line-height: 1.12;
  margin: 12px 0 14px;
}
.feature p { color: var(--ink-2); margin: 0; max-width: 46ch; }

.feature ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  max-width: 46ch;
}
.feature li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--tint, var(--amethyst));
  opacity: 0.55;
}
.feature-shot { max-width: 300px; justify-self: center; width: 100%; }

/* ---------------- a group of screens under one heading ---------------- */

.showcase { padding-block: 0 20px; border-top: 1px solid var(--line); }
.shots {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  justify-content: center;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 290px));
}
.shot figcaption {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  text-align: center;
  max-width: 30ch;
  margin-inline: auto;
}
.shot figcaption strong { color: var(--ink); font-weight: 600; }
.shot { margin: 0; }

/* ---------------- market band ---------------- */

.market {
  background: var(--night);
  color: var(--on-night);
  padding-block: 76px;
  margin-top: 52px;
}
.market .eyebrow { color: #e0b552; }
.market h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.08;
  margin: 10px 0 0;
  max-width: 22ch;
}
/* Who the tools are for, said before what they do. */
.market-lede {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 17px;
  color: var(--on-night-2);
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 52px;
  align-items: center;
  margin-top: 36px;
}
.market ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 15px; }
.market li {
  padding-left: 20px;
  position: relative;
  color: var(--on-night-2);
  font-size: 16px;
}
.market li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #e0b552;
}
.market li strong { color: var(--on-night); font-weight: 600; }
.market-shot { max-width: 286px; justify-self: center; width: 100%; }
.market-note { margin: 34px 0 0; font-size: 14.5px; color: var(--muted); }

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

.pricing { padding-block: 0 78px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.plan.pro {
  border-color: var(--amethyst);
  box-shadow: 0 0 0 1px var(--amethyst), 0 18px 40px rgba(110, 75, 196, 0.14);
  position: relative;
}
.plan h3 { font-size: 20px; font-weight: 600; }
.plan .price {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  color: var(--amethyst);
  margin: 10px 0 18px;
}
.plan .price small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted-on-light);
  margin-top: 4px;
}
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 24px; position: relative; font-size: 15.5px; color: var(--ink-2); }
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--amethyst);
  border-bottom: 2px solid var(--amethyst);
  transform: rotate(-45deg);
}
.price-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--muted-on-light);
  max-width: 64ch;
}

.plan-tag {
  position: absolute;
  top: -11px;
  right: 22px;
  background: var(--amethyst);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------------- privacy ---------------- */

.privacy { padding-bottom: 78px; }
.privacy-card { background: var(--amethyst-soft); border-radius: 20px; padding: 46px; }
.privacy-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  max-width: 20ch;
}
.privacy-card p { margin: 16px 0 0; max-width: 58ch; color: #3d3450; }
.privacy-card a { color: var(--amethyst); font-weight: 500; display: inline-block; margin-top: 16px; }

/* ---------------- footer ---------------- */

footer { background: var(--night); color: var(--on-night-2); padding-block: 44px; font-size: 15px; }
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 13px; }
.foot-brand strong { color: var(--on-night); font-weight: 600; display: block; font-size: 16px; }
.foot-brand span { font-size: 14px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--on-night); }
.foot-fine { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------------- the way to the App Store ----------------
   Apple's "Download on the App Store" badge, since the app can be downloaded
   (it was released on 28 October 2026), in the page's language, from
   Apple's marketing tools, used as Apple's guidelines ask (read 31 October
   2026). It is the white one, Apple's alternative to its black, which Apple
   allows where a page carries a single badge: Yasal chose it on 31 October
   2026, beside the black, for the dark top of the page. Its file is never
   changed; it is at least 40px high; nothing comes within a quarter of its
   height of it; and a page carries one, so the foot has a plain link
   instead. Both go to the app's page, by its Apple ID. */
.store-badge { display: inline-block; margin-top: 28px; }
.store-badge img { display: block; width: auto; height: 54px; }
.store-badge:focus-visible { outline-offset: 4px; border-radius: 12px; }
/* In the foot, a link on a line of its own, above the lines it heads. */
.foot-store {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--on-night-2);
  font-weight: 600;
  text-underline-offset: 3px;
}
.foot-store:hover { color: var(--on-night); }
/* "Android planned" was a step dimmer than the line above it until October
   2026. That grey was 3.5:1 on the night, and no grey dimmer than the foot's
   own reaches the 4.5:1 that small text needs, so now it is the same. */
.foot-later { color: var(--muted); }
.foot-legal { margin: 30px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 86ch; }

/* ---------------- narrow ---------------- */

@media (max-width: 980px) {
  .shots { grid-template-columns: repeat(auto-fit, minmax(0, 250px)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-shot { max-width: 250px; margin-inline: auto; }
  .feature { grid-template-columns: 1fr; gap: 30px; padding-block: 46px; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  .feature-shot { max-width: 290px; }
  .shots { grid-template-columns: minmax(0, 290px); gap: 36px; }
  .market-grid { grid-template-columns: 1fr; gap: 34px; }
  .market-shot { max-width: 250px; margin-inline: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .privacy-card { padding: 30px 24px; }
}

@media (max-width: 460px) {
  .wrap { padding-inline: 18px; }
}

/* ---------------- one-off adjustments ----------------
   What would otherwise be written on the element itself; see the top of
   this file for why it is not. */

/* The app icon's drawing, kept in the page for <use> and taking up no room. */
.sprite { position: absolute; }

/* A heading that follows a tab's label sits a little further from it. */
.section-head h2.after-tab { margin-top: 14px; }

/* A second paragraph under a feature's first. */
.feature p.follows { margin-top: 14px; }

/* How many screens stand side by side. */
.shots.of-3 { --n: 3; }

/* The colour of the tab of the app a section belongs to, and a darker shade
   of it for the tab's name, which the colour itself is too light to carry on
   its tinted ground at that size (the blue is 4.0:1 and the green 3.1:1, and
   4.5:1 is needed). The amethyst passes as it is. */
.tint-expeditions { --tint: var(--tab-expeditions); --tint-ink: #2b65b9; }
.tint-wishlist { --tint: var(--tab-wishlist); --tint-ink: #0c7557; }

/* Pricing's heading keeps the full space above it. */
.pricing .section-head { padding-top: 62px; }

/* ---------------- on an iPad ----------------
   An iPad's screenshots are taken with it on its side, so they are wide where
   a phone's are tall. The page draws the iPad round them, as it draws the
   phone, and sets them out one above two. */
.tablet {
  --bezel: 14px;
  --corner: 14px;
  background: #0c0b10;
  border-radius: calc(var(--corner) + var(--bezel));
  padding: var(--bezel);
  box-shadow: 0 22px 50px rgba(23, 21, 28, 0.22);
}
.tablet img { border-radius: var(--corner); width: 100%; height: auto; }

.shot.lead { max-width: 880px; margin: 40px auto 0; }

.shots.tablets { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
.shots.tablets .tablet { --bezel: 9px; --corner: 9px; }

#ipad { padding-bottom: 28px; }

@media (max-width: 900px) {
  .shots.tablets { grid-template-columns: minmax(0, 560px); }
  .shot.lead .tablet { --bezel: 9px; --corner: 9px; }
}
