@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
/* The seconds inside the breathing orb. A browser without @property shows the first value. */
@property --orb-seconds { syntax: "<integer>"; inherits: true; initial-value: 4; }
:root {
  color-scheme: dark;
  /* Water, from the lit surface down. */
  --abyss: #041a1f;
  --ocean: #092a2e;
  --lagoon: #0f3d42;
  --ink: #f8f7ed;
  --muted: #c2d1cb;
  --edge: #496467;
  --link: #b4f1dc;
  /* Light: sea glass for actions, the cool light of the app's orb, coffee. */
  --glass: #b6efd5;
  --sky: #9fd9ff;
  --ember: #f6a85c;
  --hair: rgb(214 240 232 / .16);
  /* Pearl: the inside of the shell. */
  --paper: #f3f5ee;
  --paper-ink: #123432;
  --paper-muted: #435d55;
  --paper-line: #cdd6c8;
  --gutter: clamp(1.2rem, 5.6vw, 6rem);
  --width: 78rem;
  --header: 4.75rem;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  background: var(--ocean);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; -webkit-font-smoothing: antialiased;
  /* Light enters from above and fades with depth. */
  background:
    radial-gradient(72rem 34rem at 50% -13rem, rgb(46 140 136 / .46), transparent 70%),
    radial-gradient(38rem 24rem at 90% 3rem, rgb(120 196 226 / .11), transparent 70%),
    linear-gradient(180deg, #0a3137 0, var(--ocean) 34rem, #07252a 100%);
}
::selection { background: #b6efd5; color: #0b2b2c; }
[id] { scroll-margin-top: calc(var(--header) + 1.25rem); }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #ffaa60; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.03; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
h3 { font-size: 2rem; }
p { line-height: 1.65; color: var(--muted); font-size: 1.02rem; }
button { font: inherit; }
body > main, .wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--width));
  margin-inline: auto;
}
header, footer, header nav, footer nav, .brand { display: flex; flex-wrap: wrap; align-items: center; }
header, footer {
  justify-content: space-between; gap: .45rem 1.3rem;
  padding-inline: max(var(--gutter), calc((100% - var(--width)) / 2));
}
/* The bar is glass: what scrolls below it stays visible, blurred. */
header {
  z-index: 6; min-height: var(--header); padding-block: .5rem;
  background-color: rgb(5 30 34 / .88);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 -1px 0 var(--hair), 0 1px 0 rgb(2 16 19 / .35);
}
header nav { gap: .12rem .2rem; }
footer nav { gap: .12rem clamp(.75rem, 3vw, 2rem); }
header a, footer nav a, .brand { color: var(--ink); text-decoration: none; }
header nav a, footer a { display: inline-flex; align-items: center; min-height: 2.65rem; }
header nav a {
  min-height: 2.4rem; padding: .3rem .85rem; border-radius: 2rem;
  font-size: .92rem; font-weight: 550;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
header nav a:hover { background: rgb(255 255 255 / .09); }
header nav [aria-current="page"] {
  color: #e3fcf0; background: rgb(182 239 213 / .13);
  box-shadow: inset 0 0 0 1px rgb(182 239 213 / .3), inset 0 1px 0 rgb(255 255 255 / .12);
}
footer a:hover { text-decoration: underline; }
.brand { gap: .63rem; font-family: var(--display); font-size: 1.85rem; white-space: nowrap; line-height: 1.2; }
.brand img { width: 2.1rem; height: 2.1rem; object-fit: contain; filter: drop-shadow(0 0 .55rem rgb(182 239 213 / .38)); }
footer {
  position: relative; padding-block: 1.6rem; font-size: .83rem; color: var(--muted);
  background: linear-gradient(180deg, #06242a, var(--abyss));
}
/* A hairline that is brightest in the middle, as a line of light on water. */
footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgb(182 239 213 / .5) 30%, rgb(159 217 255 / .5) 70%, transparent);
}
footer a { color: var(--muted); }
.skip { position: fixed; left: .7rem; top: .7rem; translate: 0 -180%; z-index: 9; padding: .8rem 1rem; background: white; color: black; }
.skip:focus { translate: 0 0; }
.home { width: auto; }
.home em, .document em { color: #b4ebd4; font-weight: 400; }

/* Actions. The main one is sea glass with a lit upper edge; a band of light crosses it on hover. */
.action, .soft-action {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3rem; padding: .68rem 1.3rem; border-radius: 3rem;
  font: 650 .93rem/1.3 var(--sans); text-decoration: none;
}
.action, .soft-action, .starter, .open-arrow { transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, scale .15s ease; }
.action > span, .board-note a > span, .open-arrow { transition: translate .18s ease, background-color .18s ease, color .18s ease; }
.action:hover > span, .board-note a:hover > span { translate: .18rem 0; }
.action {
  color: #0f3a31; border: 1px solid rgb(255 255 255 / .6);
  background: linear-gradient(180deg, #dcfaeb 0%, #b6efd5 46%, #a1e4c8 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .85), 0 .55rem 1.5rem -.55rem rgb(120 235 195 / .6), 0 .1rem .25rem rgb(2 20 22 / .4);
}
.action::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 46%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .85), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.soft-action {
  color: white; border: 1px solid rgb(214 240 232 / .5); background: rgb(9 42 44 / .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2);
}
.action:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 .7rem 1.9rem -.5rem rgb(120 235 195 / .8), 0 .1rem .25rem rgb(2 20 22 / .4); }
.soft-action:hover { background: rgb(35 73 67 / .78); border-color: rgb(235 250 244 / .8); }

/* The hero: the tide, the words, and the orb of the app breathing over the water. */
.hero-ocean { position: relative; isolation: isolate; background: #092a2e; }
.hero-ocean picture, .hero-ocean::after { position: absolute; inset: 0; z-index: -1; }
.hero-ocean picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-ocean::after {
  content: "";
  background:
    linear-gradient(180deg, rgb(3 24 28 / .5) 0, transparent 9rem),
    linear-gradient(90deg, #031d20c9 0%, #041c1e61 55%, transparent 80%),
    linear-gradient(0deg, rgb(3 24 28 / .4) 0, transparent 7rem);
}
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-block: clamp(3.8rem, 6.5vw, 7.2rem); }
.hero-copy { max-width: 42rem; }
.hero-copy .platform { color: #e1e9df; font-size: .88rem; font-weight: 560; letter-spacing: .025em; margin-bottom: 1.4rem; }
.hero-copy h1 { font-size: clamp(4rem, 7.8vw, 7.15rem); letter-spacing: -.035em; line-height: .94; text-shadow: 0 .15rem 2.5rem rgb(2 20 24 / .55); }
.hero-copy h1 em { display: block; color: #c4f5de; }
.hero-copy .intro { max-width: 32rem; margin-block: 1.6rem; font-size: 1.14rem; color: #e2ebe3; line-height: 1.53; }
.store-download { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-block: 1rem; }
.store-download a, .store-download img { display: block; }
.store-download a { border-radius: .55rem; transition: filter .18s ease, scale .15s ease; }
.store-download a:hover { filter: drop-shadow(0 0 .9rem rgb(255 255 255 / .35)); }
/* A platform that is not in its store yet: the shape of a store badge, with no link. */
.store-badge {
  display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 .85rem 0 .7rem;
  border: 1px solid #a6a6a6; border-radius: 7px; background: #000; color: white; white-space: nowrap;
}
.store-badge svg { width: 1.45rem; height: 1.45rem; fill: currentColor; flex: none; }
.store-badge > span { display: grid; line-height: 1.05; text-align: left; }
.store-badge small { font-size: .61rem; letter-spacing: .01em; color: #e9e9e9; }
.store-badge strong { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-side { display: grid; justify-items: center; gap: 1.5rem; width: min(100%, 20.5rem); }

/* Words in the accent voice take the light of a pearl. The padding keeps the tails of the italic letters inside the painted box. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home h1 em, .home h2 em {
    padding: .04em .1em .16em .14em; margin: -.04em 0 -.16em -.14em;
    background: linear-gradient(100deg, #c2f5dd 0%, #f4fffa 26%, #d2efff 50%, #d6fbe9 72%, #ffe9d2 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .home h1 em { text-shadow: none; filter: drop-shadow(0 .15rem 1.6rem rgb(2 20 24 / .5)); }
}

/* The breathing orb. Ten seconds: four to grow, six to shrink, as Rectangle in the app. */
.orb-demo { display: grid; justify-items: center; gap: .9rem; margin: 0; }
.orb { position: relative; display: grid; place-items: center; width: 14.5rem; aspect-ratio: 1; }
.orb { isolation: isolate; }
.orb-glass, .orb-orbit, .orb-glow { position: absolute; border-radius: 50%; }
.orb-glow { inset: -14%; z-index: -1; background: radial-gradient(closest-side, rgb(140 232 222 / .34), rgb(140 232 222 / .1) 60%, transparent); }
.orb-glass {
  inset: 0;
  background:
    radial-gradient(circle at 71% 80%, rgb(150 128 255 / .5), rgb(88 169 208 / .16) 16%, transparent 30%),
    radial-gradient(circle at 34% 30%, rgb(255 255 255 / .16), transparent 34%),
    radial-gradient(circle at 50% 46%, rgb(9 46 58 / .5) 0, rgb(5 30 40 / .8) 58%, rgb(60 150 160 / .5) 88%, rgb(170 240 230 / .62) 100%);
  -webkit-backdrop-filter: blur(5px) saturate(1.5); backdrop-filter: blur(5px) saturate(1.5);
  box-shadow:
    inset 0 0 0 1.5px rgb(190 245 235 / .6),
    inset 0 -1.4rem 2.6rem rgb(88 169 208 / .22),
    inset 0 1.1rem 2rem rgb(255 255 255 / .07),
    0 1.4rem 3.2rem rgb(2 18 22 / .5);
}
/* Two streaks of light on the upper left, one small glint lower right. */
.orb-glass::before, .orb-glass::after { content: ""; position: absolute; border-radius: 50%; }
.orb-glass::before {
  top: 13%; left: 17%; width: 36%; height: 11%; rotate: -34deg;
  background: radial-gradient(closest-side, rgb(255 255 255 / .95), rgb(255 255 255 / .35) 60%, transparent);
  filter: blur(1.5px);
}
.orb-glass::after {
  top: 27%; left: 11%; width: 13%; height: 5%; rotate: -52deg;
  background: radial-gradient(closest-side, rgb(255 255 255 / .8), transparent);
  filter: blur(1px);
}
/* The arc and the two small bubbles that travel with it in the app. */
.orb-orbit { inset: -8%; }
.orb-orbit::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from -4deg, transparent 0 1%, rgb(170 232 240 / .9) 7% 30%, transparent 40%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
}
.orb-bubble { position: absolute; border: 1.5px solid rgb(170 232 240 / .75); border-radius: 50%; background: rgb(170 232 240 / .1); }
.orb-bubble.b1 { top: 9.5%; right: 11.5%; width: 9%; aspect-ratio: 1; }
.orb-bubble.b2 { top: 2.5%; right: 9%; width: 4.2%; aspect-ratio: 1; }
.orb-text { position: relative; display: grid; justify-items: center; gap: .1rem; color: white; text-align: center; }
.orb-words { display: grid; font: 400 1.6rem/1.2 var(--display); }
.orb-words span { grid-area: 1 / 1; }
.orb-words .orb-out { opacity: 0; }
.orb-count { font: 200 2.9rem/1.1 var(--sans); letter-spacing: .02em; font-variant-numeric: tabular-nums; counter-reset: orb var(--orb-seconds); }
.orb-count::after { content: "0:0" counter(orb); }
.orb-note {
  padding: .55rem 1.1rem; border-radius: 1.1rem; text-align: center;
  color: #f1f8f3; font-size: .86rem; line-height: 1.35;
  background: rgb(5 30 32 / .58); border: 1px solid rgb(255 255 255 / .2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.orb-note strong { display: block; font-weight: 650; }

/* The sound sample. With the script it has one round control; without it, the browser's own. */
.dry-sample {
  display: grid; gap: .7rem; align-self: end; width: 100%; margin: 0;
  padding: 1rem 1.05rem 1.05rem; border: 1px solid rgb(255 255 255 / .24); border-radius: 1.2rem;
  background: linear-gradient(160deg, rgb(12 52 54 / .72), rgb(5 28 30 / .76));
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 1.2rem 2.6rem -1rem rgb(1 14 18 / .7);
}
.dry-sample figcaption { display: grid; gap: .15rem; }
.dry-sample strong { color: white; font-size: .95rem; }
.dry-sample figcaption span { color: #cfded6; font-size: .82rem; line-height: 1.4; }
.dry-sample audio { display: block; width: 100%; height: 2.5rem; border-radius: 3rem; color-scheme: dark; }
.dry-sample.is-enhanced { grid-template-columns: auto 1fr; align-items: center; gap: .95rem; padding: .85rem 1.1rem .85rem .85rem; }
.dry-sample.is-enhanced audio { display: none; }
.sample-play {
  --played: 0;
  position: relative; display: grid; place-items: center; width: 3.4rem; height: 3.4rem;
  border: 0; border-radius: 50%; cursor: pointer; color: #0f3a31;
  background:
    radial-gradient(circle at 34% 26%, #f1fff8, #b6efd5 58%, #92dcc0) content-box,
    conic-gradient(#fff calc(var(--played) * 1turn), rgb(255 255 255 / .22) 0) border-box;
  padding: 3px;
  box-shadow: 0 .5rem 1.4rem -.4rem rgb(120 235 195 / .7), inset 0 0 0 1px rgb(255 255 255 / .35);
  transition: scale .18s ease, box-shadow .18s ease;
}
.sample-play:hover { scale: 1.06; box-shadow: 0 .6rem 1.8rem -.3rem rgb(120 235 195 / .95), inset 0 0 0 1px rgb(255 255 255 / .5); }
.sample-play i { display: block; width: 0; height: 0; margin-left: .2rem; border-style: solid; border-width: .5rem 0 .5rem .82rem; border-color: transparent transparent transparent currentColor; }
.sample-play[aria-pressed="true"] i { width: .85rem; height: .95rem; margin: 0; border: 0; background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66%); }

/* Pearl sections. */
.paper {
  position: relative; color: var(--paper-ink); color-scheme: light;
  background:
    radial-gradient(58rem 30rem at 8% 0, #ffffff, transparent 62%),
    radial-gradient(48rem 26rem at 100% 100%, rgb(250 232 214 / .6), transparent 66%),
    radial-gradient(40rem 22rem at 92% 0, rgb(214 240 240 / .55), transparent 68%),
    var(--paper);
}
.paper p { color: var(--paper-muted); }
.paper a { color: var(--paper-ink); }
.section-space { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.paper + .paper > .wrap { border-top: 1px solid var(--paper-line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(15rem, 28rem); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.section-heading h2, .preview-copy h2, .tip-callout h2 { letter-spacing: -.03em; }
.paper .action {
  color: white; border-color: #0b2a28;
  background: linear-gradient(180deg, #23554e 0%, #123432 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 .7rem 1.5rem -.7rem rgb(9 52 50 / .7), 0 .1rem .2rem rgb(9 52 50 / .25);
}
.paper .action::before { background: linear-gradient(100deg, transparent, rgb(190 245 225 / .5), transparent); }
.paper .action:hover { background: linear-gradient(180deg, #2c675d 0%, #174340 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 .9rem 1.8rem -.7rem rgb(9 52 50 / .85), 0 .1rem .2rem rgb(9 52 50 / .25); }

/* Starting rhythms. */
.starter-list { border-block: 1px solid #9faea2; }
.starter {
  display: grid; grid-template-columns: 2fr 1.55fr .85fr auto; align-items: center; gap: 1.5rem;
  padding: 1.45rem .7rem; text-decoration: none;
  background: linear-gradient(90deg, rgb(255 255 255 / .8), rgb(255 255 255 / 0)) no-repeat 0 0 / 0% 100%;
  transition: background-size .45s ease, background-color .18s ease;
}
.starter + .starter { border-top: 1px solid var(--paper-line); }
.starter:hover { background-size: 100% 100%; }
.starter:hover .open-arrow { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); translate: .12rem -.12rem; }
.starter h3 { font-size: clamp(1.9rem, 3.1vw, 2.8rem); }
.starter small { display: block; margin-top: .2rem; font-size: .82rem; color: var(--paper-muted); }
.timing { max-width: 14rem; }
.phase-bars { display: flex; gap: 3px; height: 10px; width: 100%; margin-bottom: .45rem; }
.phase-bars i { display: block; flex: 1; background: #4d8b79; border-radius: 5px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35); }
.phase-bars .out { background: #315d70; }
.phase-bars .full { background: repeating-linear-gradient(120deg,#926f43 0 2px,#f5e3cc 2px 5px); }
.phase-bars .empty { background: repeating-linear-gradient(120deg,#6d607e 0 2px,#e4d9eb 2px 5px); }
.rectangle-bars .out { flex: 1.5; }
.long-bars .out { flex: 2; }
.duration { font-size: .97rem; font-variant-numeric: tabular-nums; }
.open-arrow { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid #b3c1b6; border-radius: 50%; font-size: 1.15rem; background: rgb(255 255 255 / .6); }
.board-note { margin-top: 1.7rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .8rem; }
.board-note a { font-weight: 650; }

/* The preview: a phone lit from behind, as a screen in a dark room. */
.preview-section {
  background:
    radial-gradient(34rem 30rem at 76% 52%, rgb(70 170 168 / .3), transparent 70%),
    linear-gradient(180deg, #0c3136, #0a292d);
  box-shadow: inset 0 1px 0 var(--hair);
}
.preview-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.preview-copy > p { max-width: 30rem; margin-top: 1rem; font-size: 1.1rem; }
.feature-facts { margin-top: 2.1rem; display: grid; gap: 1.1rem; }
.feature-facts div { position: relative; padding-left: 1.05rem; }
.feature-facts div::before { content: ""; position: absolute; inset: .15rem auto .15rem 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--glass), rgb(159 217 255 / .35)); box-shadow: 0 0 .6rem rgb(182 239 213 / .5); }
.feature-facts dt { color: var(--ink); font-weight: 650; margin-bottom: .2rem; }
.feature-facts dd { color: var(--muted); line-height: 1.5; }
.preview-device { display: grid; justify-items: center; align-items: center; }
.preview-device video {
  width: min(100%, 14.6rem); height: auto; aspect-ratio: 480 / 1040; border-radius: 1.75rem; background: #091d27;
  box-shadow:
    0 0 0 1px rgb(200 240 235 / .4),
    0 0 0 .42rem #0a2126,
    0 0 0 calc(.42rem + 1px) rgb(200 240 235 / .2),
    0 2.4rem 4.5rem -.9rem rgb(1 14 18 / .9),
    0 0 6rem rgb(120 220 215 / .16);
}
.preview-device figcaption { margin-top: 1.4rem; color: var(--muted); font-size: .83rem; text-align: center; }

/* Coffee. The cup is empty; now and then it rings, lightly. */
.coffee { padding-block: clamp(3rem, 6vw, 5.5rem); }
.tip-callout {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 1.6rem;
  padding: clamp(1.6rem, 3.2vw, 2.6rem) clamp(1.3rem, 3.4vw, 3rem); border: 1px solid #f1d9bd; border-radius: 1.75rem;
  background: linear-gradient(115deg, #ffffff 0%, #fff8ee 52%, #ffe9cf 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1.6rem 3rem -1.8rem rgb(206 122 40 / .5), 0 .1rem .3rem rgb(120 60 10 / .06);
}
.tip-callout h2 { font-size: clamp(2.3rem,4vw,3.3rem); }
.tip-callout p { margin-top: .5rem; }
.tip-callout > div { flex: 1 1 18rem; }
.cup {
  flex: none; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; color: #7a3f0c;
  background: radial-gradient(circle at 30% 24%, #fff6e8, #f9cd98 62%, #f2ab62);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -.5rem 1rem rgb(214 120 40 / .22), 0 .9rem 1.8rem -.7rem rgb(206 122 40 / .6);
}
.cup svg { display: block; width: 2.3rem; height: 2.3rem; transform-origin: 50% 62%; }
.action.coffee-action, .paper .action.coffee-action {
  color: #3d1f04; border-color: rgb(255 255 255 / .7);
  background: linear-gradient(180deg, #ffdcb0 0%, #f6a85c 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 .7rem 1.6rem -.6rem rgb(214 120 40 / .7), 0 .1rem .2rem rgb(120 60 10 / .25);
}
.action.coffee-action::before, .paper .action.coffee-action::before { background: linear-gradient(100deg, transparent, rgb(255 255 255 / .8), transparent); }
.action.coffee-action:hover, .paper .action.coffee-action:hover { background: linear-gradient(180deg, #ffe7c6 0%, #f9b36e 100%); }

/* The coffee steps (assets/coffee.js): in a dialog over the page, or alone on /coffee/ inside Spiro for Chrome. */
.coffee-dialog {
  width: min(31rem, calc(100% - 1.5rem)); max-width: none; max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem);
  padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--ink); color-scheme: dark;
  border: 1px solid rgb(190 240 235 / .3); border-radius: 1.6rem;
  background: radial-gradient(26rem 14rem at 50% -4rem, rgb(246 168 92 / .22), transparent 70%), linear-gradient(180deg, #11434a, #072a2f);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 2.5rem 5rem -1.5rem rgb(0 8 12 / .9);
}
/* Stripe's form sets two columns side by side when it has the room. */
.coffee-dialog:has(.coffee-form:not(:empty, .coffee-form-demo)) { width: min(58rem, calc(100% - 1.5rem)); }
.coffee-dialog::backdrop { background: rgb(2 14 20 / .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.coffee-close {
  /* It stays in view while a long form scrolls, and takes no room from the text below it. */
  position: sticky; top: .65rem; z-index: 2; display: block; width: 2.75rem; height: 2.75rem; margin: .65rem .65rem -3.4rem auto; padding: 0;
  border: 1px solid var(--hair); border-radius: 50%; background: rgb(6 32 36 / .75); color: var(--ink); font-size: 1.55rem; line-height: 1; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.coffee-close:hover { background: rgb(35 73 67 / .9); border-color: rgb(235 250 244 / .7); }
.coffee-body { padding: clamp(1.5rem, 4.5vw, 2.3rem); }
.coffee-view { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.coffee-view h2 { font-size: clamp(2rem, 6vw, 2.7rem); letter-spacing: -.02em; outline: none; }
.coffee-view > p { max-width: 27rem; }
.coffee-view svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.coffee-sizes { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: .7rem; width: 100%; margin-block: .3rem; }
.coffee-size {
  display: grid; justify-items: center; align-content: end; gap: .32rem; min-height: 9.4rem; padding: 1rem .4rem .95rem;
  border: 1px solid rgb(246 168 92 / .38); border-radius: 1.25rem; background: rgb(246 168 92 / .08); color: var(--ink); cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
  transition: background-color .18s ease, border-color .18s ease, translate .18s ease, box-shadow .18s ease, scale .15s ease;
}
.coffee-size:hover { background: rgb(246 168 92 / .18); border-color: var(--ember); translate: 0 -.15rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 1rem 2rem -1rem rgb(246 168 92 / .55); }
.coffee-size:active { scale: .97; }
.coffee-size-cup {
  display: grid; place-items: center; margin-bottom: .35rem; border-radius: 50%; color: #7a3f0c;
  background: radial-gradient(circle at 30% 24%, #fff6e8, #f9cd98 62%, #f2ab62);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -.4rem .8rem rgb(214 120 40 / .22), 0 .7rem 1.4rem -.6rem rgb(206 122 40 / .7);
}
.coffee-size-1 .coffee-size-cup { width: 3.1rem; height: 3.1rem; }
.coffee-size-2 .coffee-size-cup { width: 3.8rem; height: 3.8rem; }
.coffee-size-3 .coffee-size-cup { width: 4.5rem; height: 4.5rem; }
.coffee-size-cup svg { width: 54%; height: 54%; }
.coffee-size strong { font: 650 1.15rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.coffee-size small { color: var(--muted); font-size: .85rem; }
.coffee-fine, .coffee-view > p.coffee-fine { font-size: .85rem; line-height: 1.5; }
.coffee-back {
  justify-self: start; min-height: 2.5rem; padding: .3rem 1rem; border: 1px solid var(--hair); border-radius: 2rem;
  background: rgb(255 255 255 / .05); color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.coffee-back:hover { background: rgb(255 255 255 / .12); }
.coffee-status { color: var(--ink); }
.coffee-form { width: 100%; overflow: hidden; border-radius: 1rem; background: white; text-align: left; }
.coffee-form:empty { display: none; }
.coffee-form.coffee-form-demo { display: grid; place-items: center; padding: .4rem 0 .2rem; background: none; }
.coffee-thanks { padding-block: .8rem .4rem; }
/* /coffee/ on its own. Inside Spiro for Chrome the page has no ground: the dialog around it shows through. */
.coffee-page { display: grid; place-items: start center; }
.coffee-page .coffee-body { width: min(100%, 46rem); }
html.framed, html.framed body { background: none; min-height: 0; }
html.framed .coffee-body { padding: .2rem .2rem 1rem; }

/* Documents: support and privacy. */
.document { width: auto; }
.document-intro { padding-block: clamp(2.5rem,6vw,5.5rem); }
.document-intro h1 { letter-spacing: -.035em; }
.document-intro p { max-width: 38rem; margin-top: 1rem; }
.document-grid { display: grid; grid-template-columns: minmax(12rem,.65fr) minmax(0,1.5fr); gap: clamp(2rem,6vw,7rem); align-items: start; }
.contents { position: sticky; top: calc(var(--header) + 1.5rem); border-top: 1px solid #93a79b; }
.contents strong { display: block; padding-block: .9rem .5rem; }
.contents nav { display: grid; }
.contents a { display: block; padding: .5rem .8rem; margin-left: -.8rem; border-radius: .6rem; font-size: .95rem; text-decoration: none; transition: background-color .18s ease; }
.contents a:hover { background: rgb(255 255 255 / .85); box-shadow: 0 .3rem .9rem -.5rem rgb(9 52 50 / .35); }
.document article { max-width: 46rem; }
.document article section + section { border-top: 1px solid #bfcbc1; margin-top: 1.9rem; padding-top: 1.9rem; }
.document h2 { font-size: clamp(1.9rem,3.5vw,2.65rem); letter-spacing: -.025em; }
.document article p { margin-top: .7rem; }
.document article .action { margin-top: .95rem; }

/* Dry tables. */
.dry-diagrams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.dry-card {
  margin: 0; padding: 1.35rem 1.45rem 1.25rem; border: 1px solid #d3dbce; border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #f9fbf5);
  box-shadow: inset 0 1px 0 #fff, 0 1.1rem 2.2rem -1.4rem rgb(9 60 58 / .45), 0 .1rem .3rem rgb(9 60 58 / .07);
}
.dry-card figcaption { display: flex; align-items: baseline; gap: .7rem; padding-bottom: .95rem; border-bottom: 1px solid #dde2d5; }
.dry-card .gas { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.dry-card .gas sub { font-size: .58em; vertical-align: baseline; position: relative; top: .12em; margin-left: .04em; }
.dry-card strong { font-size: .97rem; font-weight: 600; }
.dry-card ol { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.dry-card li { display: grid; grid-template-columns: 4.6rem 1fr; align-items: center; gap: .8rem; font-size: .88rem; color: var(--paper-muted); font-variant-numeric: tabular-nums; }
.diagram-bars { display: flex; gap: .25rem; }
.diagram-bars i, .diagram-key i { display: block; height: .7rem; border-radius: .35rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -1px 0 rgb(0 0 0 / .12); }
.diagram-bars .hold, .diagram-key .hold { background: linear-gradient(180deg, #0b8581, #02726f); }
.diagram-bars .rest, .diagram-key .rest { background: linear-gradient(180deg, #b47a4a, #a0683c); }
.bar-1 { width: 20%; } .bar-2 { width: 40%; } .bar-3 { width: 60%; }
.diagram-key { display: flex; gap: 1.4rem; margin-top: 1rem; font-size: .86rem; font-weight: 600; }
.diagram-key span { display: inline-flex; align-items: center; gap: .5rem; }
.diagram-key i { width: 1.5rem; }
.dry-note { max-width: 46rem; margin-top: 1.6rem; padding-left: 1rem; border-left: 2px solid #a0683c; font-size: .97rem; }
.dry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-top: 1.9rem; }
.quiet-link { font-weight: 650; }

/* The letter. The shell rests behind it. */
.about { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #0c2f33, #082529); box-shadow: inset 0 1px 0 var(--hair); }
.about::before {
  content: ""; position: absolute; z-index: -1; left: max(-4rem, calc(50% - 46rem)); bottom: -5rem; width: 30rem; aspect-ratio: 228 / 204;
  background: url("./mark.svg") center / contain no-repeat; opacity: .04; rotate: -8deg;
}
.about-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.6rem, 6vw, 6rem); align-items: start; }
.about-layout h2 { letter-spacing: -.03em; }
.about-layout h2 em { display: block; }
.about-letter { max-width: 35rem; display: grid; gap: 1.05rem; }
.about-letter p { font-size: 1.08rem; }
.about-letter p:first-child { color: var(--ink); }
.about-letter a { font-weight: 650; text-decoration-thickness: .08em; }

/* The bar stays at the top, and the tide continues under it. Clear glass over the tide; denser once the page moves, so it holds over the pearl sections too. */
header { position: sticky; top: 0; }
@supports (animation-timeline: scroll()) {
  header { animation: header-dense linear both; animation-timeline: scroll(root); animation-range: 0 14rem; }
}
@keyframes header-dense { from { background-color: rgb(5 30 34 / .5); } to { background-color: rgb(5 30 34 / .9); } }
.home > .hero-ocean:first-child { margin-top: calc(-1 * var(--header)); padding-top: var(--header); }

/* A press is felt at once on a touch screen. */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
.action, .soft-action, .store-download a, .starter, .sample-play { touch-action: manipulation; }
.action:active, .soft-action:active, .store-download a:active, .sample-play:active { scale: .97; }
.starter:active { background-size: 100% 100%; }

@media (max-width: 760px) {
  :root { --header: 3.6rem; --gutter: clamp(1.1rem, 5vw, 2.4rem); }
  header { padding-block: .3rem; gap: .2rem .6rem; }
  .brand { font-size: 1.5rem; gap: .45rem; }
  .brand img { width: 1.7rem; height: 1.7rem; }
  header nav { margin-right: -.6rem; }
  header nav a { min-height: 2.75rem; padding-inline: .6rem; font-size: .88rem; }
  /* One row has room for two links. Privacy stays in the footer of every page. */
  header nav a[href$="privacy/"] { display: none; }
  footer { gap: .6rem 1.3rem; padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom)); }
  footer nav a { min-height: 2.75rem; }

  /* The phone order of the first screen: words, stores, the orb, then the two ways on. */
  .hero-content { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: 2.2rem 2.6rem; }
  .hero-copy, .hero-side { display: contents; }
  .hero-copy .platform { order: 1; margin-bottom: 1rem; }
  .hero-copy h1 { order: 2; }
  .hero-copy .intro { order: 3; margin-block: 1.2rem; }
  .store-download { order: 4; margin-block: 0; }
  .orb-demo { order: 5; margin-block: 1.7rem 1.5rem; }
  .hero-actions { order: 6; }
  .dry-sample { order: 7; margin-top: 1.1rem; max-width: 26rem; }
  .hero-actions > * { flex: 1 1 auto; }
  .hero-ocean::after { background: linear-gradient(180deg, rgb(3 24 28 / .55) 0, transparent 8rem), linear-gradient(90deg,#041b1de0,#041b1da8 55%,#041b1d48); }
  .hero-ocean picture img { object-position: 67% center; }
  .orb-demo { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 1.3rem; max-width: 26rem; }
  .orb { width: 9.6rem; margin: .5rem 0 .5rem .4rem; }
  .orb-words { font-size: 1.14rem; }
  .orb-count { font-size: 1.95rem; }
  .orb-note { text-align: left; }

  .section-heading, .preview-layout, .document-grid, .about-layout { grid-template-columns: 1fr; }
  .section-space { padding-block: clamp(2.8rem, 9vw, 3.6rem); }
  .about-layout h2 em { display: inline; }
  .section-heading { gap: .55rem; }
  .dry-actions .action { flex: 1 1 auto; }
  .starter { grid-template-columns: 1.25fr 1fr auto; gap: .6rem 1rem; }
  .starter .duration { grid-column: 2; grid-row: 2; }
  .starter .open-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .starter .starter-name { grid-column: 1; grid-row: 1 / span 2; }
  .duration small { display: inline; }
  .duration small::before { content: " · "; }
  .preview-layout { gap: 2.4rem; }
  .preview-device video { width: min(72%, 15.5rem); }
  /* On a phone the list of sections is a row of chips above the text. */
  .contents { position: static; border-top: 0; }
  .contents strong { padding-top: 0; }
  .contents nav { display: flex; flex-wrap: wrap; gap: .5rem; }
  .contents a { margin: 0; min-height: 2.75rem; display: inline-flex; align-items: center; padding: .4rem .95rem; border: 1px solid var(--paper-line); border-radius: 2rem; background: rgb(255 255 255 / .8); }
  .about::before { width: 20rem; left: -5rem; }
  .tip-callout > div { flex-basis: 12rem; }
  .coffee-action { flex: 1 1 100%; }
}
/* On a phone the coffee dialog rises from the lower edge, where the thumb is. */
@media (max-width: 560px) {
  .coffee-dialog, .coffee-dialog:has(.coffee-form:not(:empty, .coffee-form-demo)) {
    width: 100%; max-height: 94vh; max-height: 94dvh; margin: auto 0 0; border-width: 1px 0 0; border-radius: 1.6rem 1.6rem 0 0;
  }
  .coffee-body { padding: 1.4rem 1.1rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .coffee-sizes { gap: .5rem; }
  .coffee-size { min-height: 8.6rem; padding-inline: .2rem; }
}
@media (max-width: 480px) {
  .brand { font-size: 1.4rem; gap: .4rem; }
  .brand img { width: 1.6rem; height: 1.6rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 13.5vw, 4.35rem); }
  .hero-copy .intro { font-size: 1.02rem; }
  .hero-actions { gap: .55rem; }
  .action, .soft-action { padding-inline: 1.1rem; font-size: .92rem; min-height: 3.1rem; }
  .starter { grid-template-columns: 1.1fr 1fr auto; gap: .3rem .6rem; padding-inline: .3rem; }
  .open-arrow { width: 1.9rem; height: 1.9rem; }
  .starter small { font-size: .76rem; }
  .duration { font-size: .84rem; }
  .cup { width: 3.8rem; height: 3.8rem; }
  .cup svg { width: 1.9rem; height: 1.9rem; }
  .dry-card { padding: 1.15rem 1.1rem 1.05rem; }
  .dry-card li { grid-template-columns: 4.1rem 1fr; gap: .6rem; }
}
@media (max-width: 370px) {
  header nav a { padding-inline: .45rem; font-size: .82rem; }
  .store-badge { padding-inline: .55rem .65rem; gap: .4rem; }
}
/* The narrowest screens: the bar may take two rows, so it scrolls with the page. */
@media (max-width: 350px) {
  :root { --header: 0rem; }
  header { position: relative; min-height: 3.6rem; }
  .home > .hero-ocean:first-child { margin-top: 0; padding-top: 0; }
  .orb { width: 8.4rem; }
  .orb-demo { gap: .9rem; }
  .orb-note { padding-inline: .8rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .action:hover::before, .action:focus-visible::before { animation: sheen .8s ease-out; }
  /* One arrival, when the page opens: the words rise, then the orb comes up and starts to breathe. */
  /* An element with a blurred backdrop fades by itself: under a fading parent the blur would be absent until the end. */
  .hero-copy > :not(.hero-actions), .hero-actions > *, .dry-sample, .orb-note { animation: arrive .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-actions > * { animation-delay: .32s; }
  .orb-note { animation-delay: .5s; }
  .dry-sample { animation-delay: .6s; }
  .orb-glass, .orb-glow { animation: orb-breathe 10s infinite, appear 1.2s .3s both; }
  .orb-orbit { animation: orb-drift 10s infinite, appear 1.2s .5s both; }
  .orb-text { animation: appear 1.2s .5s both; }
  .orb-in { animation: orb-in 10s infinite; }
  .orb-out { animation: orb-out 10s infinite; }
  .orb-count { animation: orb-count 10s step-end infinite; }
  .cup svg { animation: cup-ring 17s 2.5s infinite; }
  .coffee-dialog[open] { animation: coffee-in .28s cubic-bezier(.2, .7, .2, 1); }
  .coffee-dialog[open]::backdrop { animation: appear .28s ease-out; }
  .coffee-thanks .cup svg { animation: cup-ring 17s .3s infinite; }
}
@keyframes sheen { from { translate: 0 0; opacity: 1; } to { translate: 440% 0; opacity: 1; } }
@keyframes arrive { from { opacity: 0; translate: 0 1.1rem; } }
@keyframes appear { from { opacity: 0; } }
@keyframes coffee-in { from { opacity: 0; translate: 0 1.2rem; } }
@keyframes orb-breathe {
  0%, 100% { scale: .84; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  40% { scale: 1; animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
}
@keyframes orb-drift {
  0%, 100% { rotate: -14deg; scale: .86; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  40% { rotate: 8deg; scale: 1; animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
}
@keyframes orb-in { 0%, 37% { opacity: 1; } 41%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes orb-out { 0%, 37% { opacity: 0; } 41%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes orb-count {
  0% { --orb-seconds: 4; } 10% { --orb-seconds: 3; } 20% { --orb-seconds: 2; } 30% { --orb-seconds: 1; }
  40% { --orb-seconds: 6; } 50% { --orb-seconds: 5; } 60% { --orb-seconds: 4; } 70% { --orb-seconds: 3; } 80% { --orb-seconds: 2; } 90% { --orb-seconds: 1; }
}
/* A ring of about one second in seventeen: a small lift, then four quick, shrinking turns. */
@keyframes cup-ring {
  0%, 6.4%, 100% { transform: none; }
  .8% { transform: scale(1.18) rotate(-10deg); }
  1.9% { transform: scale(1.2) rotate(9deg); }
  3% { transform: scale(1.17) rotate(-7deg); }
  4.1% { transform: scale(1.12) rotate(5deg); }
  5.2% { transform: scale(1.05) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .skip, header, footer, .hero-ocean picture, .hero-actions, .hero-side, .dry-sample, .dry-actions, .contents, .cup { display:none; }
  .document-grid, .hero-content { display:block; }
  .document article { max-width: none; }
  body, .paper { background: white; color: black; }
}
