/*
  Jour: one stylesheet for every page.

  The app's own look: a dark navy sky with a violet light falling from the
  top, white heavy rounded type, and glass for anything you can press. The
  colours are the icon's, navy through violet to magenta.
*/

/* Nunito, served from this site, for browsers without Apple's rounded face.
   Safari uses SF Pro Rounded through ui-rounded and never downloads these.
   OFL, licence beside the files. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  --bg: #07061d;
  --navy: #1b165e;
  --violet: #4a2fa8;
  --lilac: #8656be;
  --magenta: #ae5bc7;

  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.68);
  --ink-3: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-hi: rgba(255, 255, 255, 0.11);

  --radius: 28px;
  --wrap: 1080px;
  --gutter: 20px;

  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  /* Its own stacking context, so the sky below sits over its background. */
  isolation: isolate;
}

/* The sky: a violet light from the top, a faint magenta one rising from below. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  background:
    radial-gradient(60% 55% at 50% -8%, rgba(74, 47, 168, 0.85), transparent 70%),
    radial-gradient(40% 35% at 80% 6%, rgba(134, 86, 190, 0.35), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 700px;
  background: radial-gradient(55% 60% at 50% 115%, rgba(174, 91, 199, 0.35), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgba(174, 91, 199, 0.55); }

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  z-index: 10;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

/* The umbrella stood upright is the J: its hook sits on the baseline like
   the letter's, and the canopy reaches out over "our". */
.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand .j {
  width: auto;
  height: 1.28em;
  /* Pulls "our" in under the canopy, a letter's gap from the stem. */
  margin-right: -0.5em;
  transform: translateY(0.03em);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 800;
  font-size: 15px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav a:hover { color: var(--ink); background: var(--glass); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.98); }
.button svg { width: 18px; height: 18px; }

.button.soon {
  background: var(--glass-hi);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: default;
}
.button.soon:hover { transform: none; }
.button.small { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 56px 0 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 0 auto;
  max-width: 11ch;
  font-size: clamp(46px, 10vw, 96px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  margin: 22px auto 0;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 700;
  text-wrap: pretty;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.note {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 700;
}

/* Three phones, the middle one in front; one alone on a narrow screen. */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin: 64px auto 0;
  max-width: 900px;
}
.stage .phone { flex: none; }
.stage .phone.side {
  display: none;
  width: 250px;
  margin-top: 70px;
  opacity: 0.75;
}
.stage .phone.left { margin-right: -40px; }
.stage .phone.right { margin-left: -40px; }
.stage .phone.front { position: relative; z-index: 1; }

@media (min-width: 760px) {
  .stage .phone.side { display: block; }
}

.phone {
  width: min(310px, 78vw);
  padding: 9px;
  border-radius: 52px;
  background: #0d0b25;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 40px 120px -30px rgba(134, 86, 190, 0.65),
    0 20px 60px -20px rgba(0, 0, 0, 0.8);
}
.phone img {
  width: 100%;
  aspect-ratio: 660 / 1434;
  border-radius: 43px;
  object-fit: cover;
}

/* ---------- Sections ---------- */

section { padding: 120px 0 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head p {
  margin: 16px auto 0;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: 19px;
  font-weight: 700;
  text-wrap: pretty;
}

/* A feature: words beside a phone, alternating sides on a wide screen. */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
  padding: 40px 0;
}
.feature .words { max-width: 440px; text-align: center; }
.feature h3 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.feature p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 700;
  text-wrap: pretty;
}
.feature .phone { width: min(290px, 74vw); }

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 56px 0;
  }
  .feature .words { text-align: left; justify-self: start; }
  .feature.flip .words { order: 2; }
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* The smaller things, as a quiet grid of words. */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.cell {
  padding: 26px 26px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cell svg {
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  color: var(--ink);
}
.cell h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.cell p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 700;
}

/* ---------- Pro ---------- */

.pro {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(74, 47, 168, 0.55), transparent 70%),
    var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pro .mark { width: 54px; height: 54px; margin: 0 auto 18px; }

.perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}
.perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--glass-hi);
  font-size: 16px;
  font-weight: 800;
}
.perks svg { width: 18px; height: 18px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 20px 8px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan.best {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.plan .name { color: var(--ink-2); font-size: 14px; font-weight: 800; }
.plan .price {
  margin-top: 2px;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.plan .per { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.plan .save {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.fine {
  margin: 22px auto 0;
  max-width: 44ch;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Closing ---------- */

.closing {
  text-align: center;
  padding: 140px 0 40px;
}
.closing .mark { width: 72px; height: 72px; margin: 0 auto 22px; }

/* ---------- Footer ---------- */

.foot {
  margin-top: 80px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 700;
}
.foot .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.foot a {
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.foot a:hover { color: var(--ink); }
.foot .credit { margin: 14px 0 0; }
.foot .credit a { text-decoration: underline; text-underline-offset: 3px; display: inline; }

/* ---------- Legal and help pages ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 0 0;
}
.doc h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
  text-align: left;
}
.doc .lead { margin: 16px 0 0; max-width: 46ch; text-align: left; }
.doc .updated { margin: 14px 0 0; color: var(--ink-3); font-size: 14px; }
.doc h2 {
  margin: 56px 0 0;
  font-size: clamp(24px, 3.4vw, 30px);
  letter-spacing: -0.02em;
}
.doc h3 {
  margin: 28px 0 0;
  font-size: 19px;
  font-weight: 900;
}
.doc p,
.doc li {
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 600;
}
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin: 6px 0 0; }
.doc strong { color: var(--ink); font-weight: 800; }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.doc a:hover { text-decoration-color: #fff; }
.doc address { font-style: normal; color: var(--ink); margin: 12px 0 0; line-height: 1.6; }

.summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 36px 0 0;
}
@media (min-width: 640px) { .summary { grid-template-columns: 1fr 1fr; } }
.summary .cell p { color: var(--ink-2); font-size: 15px; }

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--ink-3);
  border-bottom: 3px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 22px; }
.faq details > div p:first-child { margin-top: 0; }

.contact {
  margin: 56px 0 0;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
.contact h2 { margin: 0; }
.contact .button { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
