/* jill.brazh.me. Joule's site (../joule/marketing/site) cut down to one language and Jill's teal: the page is plain
   ink on a plain ground, and Jill's own dashboard sits in it as a display, on the app's own background so it has no
   edge. Follows the system's appearance, light or dark; there is no switch. Fixel, as on Joule's site. */
@font-face { font-family: "Fixel Display"; src: url(/fonts/FixelDisplay-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fixel Display"; src: url(/fonts/FixelDisplay-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url(/fonts/FixelText-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url(/fonts/FixelText-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url(/fonts/FixelText-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light dark;
  /* Light: a white page; the display is the app's pale grey (the screenshot's background). */
  --ground: #ffffff;
  --display: #f2f2f7;
  --ink: #12191b;
  --ink-2: #445055;
  --ink-3: #5f6b70;
  --rule: #dde3e6;
  /* Jill's teal (App/Theme.swift, `brand`), cut deeper for lines on a light page. */
  --accent: #0b7a8a;
  --focus: #0b7a8a;

  --display-face: "Fixel Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-face: "Fixel Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-small: .875rem;   /* 14 */
  --t-note: .9375rem;   /* 15 */
  --t-body: 1.0625rem;  /* 17 */
  --t-lead: 1.25rem;    /* 20 */
  --t-h3: 1.375rem;     /* 22 */
  --t-h2: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem);     /* 28 to 40 */
  --t-h1: clamp(2.125rem, 1rem + 3.6vw, 3.875rem);    /* 34 to 62 */
  --wide: 1200px;
  --gutter: 24px;
  --radius: 26px;       /* the app's card radius */
  --bar: 60px;          /* the header's first row on a phone: the part that scrolls away */
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark: the dark icon's deep teal-black, with the display in the screenshot's black. */
    --ground: #10181b;
    --display: #000000;
    --ink: #eef3f4;
    --ink-2: #b7c3c6;
    --ink-3: #93a1a5;
    --rule: #2a3639;
    --accent: #2cc9d6;
    --focus: #5fe3ea;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-body)/1.55 var(--text-face);
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .18em;
  text-decoration-color: var(--ink-3); }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.whole { white-space: nowrap; }

h1 { font: 700 var(--t-h1)/1.03 var(--display-face); letter-spacing: -.032em; text-wrap: balance; }
h2 { font: 700 var(--t-h2)/1.1 var(--display-face); letter-spacing: -.024em; text-wrap: balance; }
h3 { font: 600 var(--t-h3)/1.2 var(--display-face); letter-spacing: -.012em; }

/* For the keyboard: straight to the page, past the header. */
.skip { position: absolute; left: 12px; top: 0; transform: translateY(-110%); z-index: 10; padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; transform: none; }

/* Header: the brand and the page's sections. On a phone the brand scrolls away and the row of sections stays at the
   top; from 760 px it is one row that stays. */
.top { position: sticky; top: calc(-1px - var(--bar)); z-index: 5; background: var(--ground); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; height: calc(var(--bar) - 16px); margin-block: 8px; margin-right: auto;
  font: 700 1.375rem/1 var(--display-face); letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.sections { display: flex; flex-basis: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0 12px;
  border-top: 1px solid var(--rule); font: 500 var(--t-note)/1 var(--text-face); }
.sections a { padding: 14px 0; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.sections a:hover { color: var(--ink); }
@media (min-width: 480px) { .sections { justify-content: flex-start; gap: 0 28px; } }
@media (min-width: 760px) {
  html { scroll-padding-top: 5.25rem; }
  .top { top: 0; }
  .sections { flex-basis: auto; border: 0; }
}

/* Hero: what Jill is, beside Jill's own dashboard. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 36px 64px; }
.say h1 { max-width: 11em; }
.lede { margin-top: 20px; max-width: 30em; font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); }
.soon { margin-top: 24px; font-weight: 600; }
/* The short answers: what it costs, what it needs. */
.facts { max-width: 36em; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 0 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink-2); }
.facts strong { color: var(--ink); }
.pane { overflow: hidden; border-radius: var(--radius); background: var(--display); }
.pane img { width: 100%; }
.shot { width: 100%; max-width: 400px; justify-self: center; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, min(420px, 40%)); grid-template-rows: auto 1fr; gap: 40px 80px; padding-block: 72px 96px; }
  .say { grid-column: 1; grid-row: 1; }
  .facts { grid-column: 1; grid-row: 2; align-self: start; }
  .shot { grid-column: 2; grid-row: 1 / span 2; align-self: start; max-width: none; }
}

/* Sections: the heading and its one-sentence answer in a rail on the left, the detail beside it. */
.part { padding-block: 56px; border-top: 1px solid var(--rule); }
.part > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.rail p { margin-top: 14px; max-width: 34em; color: var(--ink-2); }
@media (min-width: 960px) { .part { padding-block: 88px; } }
@media (min-width: 1100px) {
  .part > .wrap { grid-template-columns: 272px minmax(0, 1fr); gap: 72px; align-items: start; }
  .rail { position: sticky; top: 6.5rem; }
}

/* Lists of plain facts. */
.list { list-style: none; }
.list li { position: relative; padding-left: 1.3em; color: var(--ink-2); }
.list li + li { margin-top: .5em; }
.list li::before { content: ""; position: absolute; left: .15em; top: .68em; width: .36em; height: .36em; border-radius: 50%; background: var(--ink-3); }
.list strong { color: var(--ink); }

/* What it does: three columns of plain facts. */
.does { display: grid; gap: 40px; }
.feature h3 { margin-bottom: 14px; font-size: 1.75rem; letter-spacing: -.02em; }
@media (min-width: 760px) { .does { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* Which stations: the models in columns, under how far each was tried. */
.group + .group { margin-top: 36px; }
.group h3 { padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.group > p { margin-top: 12px; max-width: 38em; color: var(--ink-2); }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0 16px; margin-top: 12px; list-style: none;
  font: 500 var(--t-body)/1.3 var(--text-face); }
.models li { padding: 6px 0; }

/* Free and Jill Pro: two columns of one table, each under its price. */
.plans { display: grid; gap: 40px; }
.plan { padding-top: 20px; border-top: 3px solid var(--ink); }
.plan h3 { font: 500 var(--t-body)/1.3 var(--text-face); letter-spacing: 0; color: var(--ink-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; margin: 2px 0 18px; font: 700 clamp(2.125rem, 13vw, 2.75rem)/1.1 var(--display-face);
  letter-spacing: -.03em; }
.price small { font: 500 var(--t-note)/1.3 var(--text-face); letter-spacing: 0; color: var(--ink-2); }
.terms { margin-top: 40px; max-width: 38em; }
@media (min-width: 700px) {
  .plans { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; gap: 0 48px; }
  .plan { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
}

/* Private: statements, each a ruled row. */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; gap: 8px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.row p { max-width: 34em; color: var(--ink-2); }
@media (min-width: 700px) { .row { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 32px; } }

/* Help & support: questions that open. */
.qa { border-top: 1px solid var(--rule); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none;
  font: 600 var(--t-lead)/1.3 var(--display-face); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
/* A plus that closes to a minus. */
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: background-size .2s ease-out; }
.qa details[open] summary::after { background-size: 100% 2px, 2px 0; }
.qa summary:hover { color: var(--ink-2); }
.answer { padding: 0 0 22px; max-width: 38em; color: var(--ink-2); }
.answer > * + * { margin-top: .7em; }
.answer ol { padding-left: 1.4em; }
.answer li + li { margin-top: .5em; }
.answer li::marker { font-weight: 600; color: var(--ink); }

/* Footer */
.foot { padding-block: 40px 56px; border-top: 1px solid var(--rule); font-size: var(--t-note); color: var(--ink-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 28px; margin-bottom: 12px; font-weight: 500; color: var(--ink); }
.foot nav a { padding: 11px 0; }
.foot p { max-width: 56em; }
.foot p + p { margin-top: 8px; }

/* A page of plain text, such as the privacy policy: one column. */
.doc { padding-block: 48px 88px; }
.doc > .wrap > * { max-width: 42rem; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); }
.doc h2 { margin-top: 48px; font-size: 1.625rem; }
.doc p, .doc ul { margin-top: 14px; color: var(--ink-2); }
.doc ul { padding-left: 1.3em; }
.doc li + li { margin-top: .4em; }
.doc .updated { font-size: var(--t-note); color: var(--ink-3); }
/* The page in one paragraph, set larger and in full ink. */
.doc .short { margin-top: 24px; font-size: var(--t-lead); line-height: 1.45; color: var(--ink); }
.ways a { display: inline-block; padding-block: 10px; }
.doc .ways li + li { margin-top: 0; }

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .lede { font-size: 1.125rem; }
  .facts div { grid-template-columns: 5.6em minmax(0, 1fr); gap: 0 12px; }
}
/* Windows contrast themes drop backgrounds: the questions keep a plus and minus in type. */
@media (forced-colors: active) {
  .list li::before { background: CanvasText; }
  .qa summary::after { content: "+"; content: "+" / ""; width: auto; height: auto; background: none; font: 400 1.5rem/1 var(--text-face); }
  .qa details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
