/* Pals website. One stylesheet: the fonts, the tokens, the base, the nav, the hero, every section of the home
   page, the long-form pages, then motion. The design is the Orbai template the founder bought (soft grey
   canvas #f5f5f5, cards of the same grey lifted by a layered shadow, Satoshi for headings and Inter for text,
   gradient-faded section titles, black and pillow buttons, the ripple behind the hero and the footer with its
   sphere masked away, a progressive blur along the bottom of the screen; no kicker pills, the founder wants it
   Scandinavian and minimal), carried with our own content,
   Microsoft's Fluent 3D emoji as the marks, and the hero sentence with its chips kept from the earlier site. */

@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;

  --bg: #f5f5f5;
  --white: #fff;
  --ink: #000;
  --ink-2: rgba(0, 0, 0, 0.8);
  --ink-3: rgba(0, 0, 0, 0.55);
  --line: rgba(0, 0, 0, 0.08);
  --chip: #ebebeb;
  --attn: #9e5604;
  --attn-tint: #fff0e6;
  --good: #02765d;
  --dv1: #2a78d6; --dv2: #eb6834; --dv3: #4a3aa7;

  /* the template's shadows: six soft layers for a card, a little more for a pill, a dark pillow under the
     black button and a grey pillow under the light one */
  --sh-card: 0 0.7px 0.7px -0.67px rgba(0, 0, 0, 0.08), 0 1.8px 1.8px -1.33px rgba(0, 0, 0, 0.08), 0 3.6px 3.6px -2px rgba(0, 0, 0, 0.07), 0 6.9px 6.9px -2.67px rgba(0, 0, 0, 0.07), 0 13.6px 13.6px -3.33px rgba(0, 0, 0, 0.05), 0 30px 30px -4px rgba(0, 0, 0, 0.02);
  --sh-pill: 0 0.7px 0.7px -0.54px rgba(0, 0, 0, 0.1), 0 1.8px 1.8px -1.08px rgba(0, 0, 0, 0.09), 0 3.6px 3.6px -1.63px rgba(0, 0, 0, 0.09), 0 6.9px 6.9px -2.17px rgba(0, 0, 0, 0.09), 0 13.6px 13.6px -2.71px rgba(0, 0, 0, 0.07), 0 30px 30px -3.25px rgba(0, 0, 0, 0.03);
  --sh-ink: 0 0.6px 1.1px -1.25px rgba(61, 61, 61, 0.72), 0 2.3px 4.1px -2.5px rgba(61, 61, 61, 0.64), 0 10px 18px -3.75px rgba(61, 61, 61, 0.25), 0 0.7px 0.7px -0.58px rgba(0, 0, 0, 0.35);
  --sh-light: 0 0.7px 0.7px -0.58px rgba(158, 158, 158, 0.69), 0 1.8px 1.8px -1.17px rgba(158, 158, 158, 0.68), 0 3.6px 3.6px -1.75px rgba(158, 158, 158, 0.65), 0 6.9px 6.9px -2.33px rgba(158, 158, 158, 0.61), 0 13.6px 13.6px -2.92px rgba(158, 158, 158, 0.5), 0 30px 30px -3.5px rgba(158, 158, 158, 0.25);
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --wrap: 1200px;
  --gutter: 20px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 99;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 15px;
}
.skip:focus { top: 12px; }

/* ---------- buttons, pills, tiles ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 500 14px/1 var(--font); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: var(--sh-ink); }
.btn-ink:hover { background: #151515; transform: translateY(-1px); }
.btn-light { background: var(--bg); color: var(--ink); box-shadow: var(--sh-light); }
.btn-light:hover { transform: translateY(-1px); }
.btn-sm { height: 44px; padding: 0 20px; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* a small picture on a white tile */
.etile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-pill); }
.etile img { width: 28px; height: 28px; }

/* a card: the page's own grey, lifted by the shadow */
.card { position: relative; padding: 30px; border-radius: 24px; background: var(--bg); box-shadow: var(--sh-card), var(--lift); }
.ct { margin-top: 14px; font: 500 20px/24px var(--head); letter-spacing: -0.01em; text-wrap: balance; }
.cp { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 24px; text-wrap: pretty; }
.etile + .ct { margin-top: 20px; }
.panel { background: var(--white); border-radius: 18px; box-shadow: var(--sh-card); }

/* ---------- the nav ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); background: rgba(245, 245, 245, 0.2); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; width: min(100% - 2 * var(--gutter), 1350px); height: 100%; margin-inline: auto; }
.nav-logo { display: block; color: var(--ink); }
.nav-logo .logo { height: 34px; width: auto; }
.nav-links { position: absolute; left: 50%; top: 50%; display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); box-shadow: var(--sh-card); transform: translate(-50%, -50%); }
.nav-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color 0.2s, box-shadow 0.2s; }
.nav-links a:hover { background: var(--white); box-shadow: var(--sh-pill); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .ic-close, .nav.open .nav-toggle .ic-menu { display: none; }
.nav.open .nav-toggle .ic-close { display: block; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(var(--nav-h) - 8px); z-index: 61;
    display: none; flex-direction: column; gap: 2px; padding: 8px; border-radius: 24px; transform: none;
    background: rgba(245, 245, 245, 0.98); box-shadow: var(--sh-card);
  }
  .nav-links a { height: 44px; }
  .nav.open .nav-links { display: flex; animation: drop 0.25s var(--ease); }
  html:not(.js) .nav-links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; box-shadow: none; }
  html:not(.js) .nav-in { flex-wrap: wrap; height: auto; padding: 10px 0; }
  html:not(.js) .nav { height: auto; }
  html:not(.js) .nav-toggle { display: none; }
}
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .nav-logo .logo { height: 30px; }
  .nav-right .btn { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

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

.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100svh; padding: calc(var(--nav-h) + 40px) var(--gutter) 64px; overflow: hidden; }
/* behind the hero and the footer: the template's ripple, inverted the way the template does it, with its
   sphere hidden under a pool of the canvas colour so only the rings around it remain. The video is drawn
   16:9 and cover-fitted, so the pool is sized with room to spare; on phones the rings would not fit, so the
   video stays off and only the pool of light shows. */
.hero-bg, .foot-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 52%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%); }
.bg-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.69) grayscale(1) invert(1); }
.hero-bg::after, .foot-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 24% 36% at 50% 58%, var(--bg) 58%, rgba(245, 245, 245, 0) 100%),
    linear-gradient(180deg, rgba(245, 245, 245, 0.35) 0%, rgba(245, 245, 245, 0) 26%, rgba(245, 245, 245, 0) 64%, var(--bg) 100%);
}
.foot-bg::after {
  background:
    radial-gradient(ellipse 24% 36% at 50% 58%, var(--bg) 58%, rgba(245, 245, 245, 0) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(245, 245, 245, 0) 34%, rgba(245, 245, 245, 0) 70%, rgba(245, 245, 245, 0.7) 100%);
}
@media (max-width: 700px) { .bg-video { display: none; } }
.hero-in { width: min(100%, 980px); text-align: center; }
.hero-logo { display: flex; justify-content: center; margin-top: 28px; color: var(--ink); }
.hero-logo .logo { width: clamp(150px, 18vw, 220px); height: auto; }
.hero-title {
  max-width: 19em; margin: 32px auto 0;
  font: 500 clamp(1.9rem, 1rem + 3.1vw, 3.4rem)/1.42 var(--head); letter-spacing: -0.02em; text-wrap: balance;
}
.chip {
  display: inline; padding: 0.02em 0.34em 0.1em 0.16em; margin-inline: 0.04em;
  border-radius: 999px; background: var(--white); box-shadow: var(--sh-pill); white-space: nowrap;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ce { display: inline-block; width: auto; height: 0.9em; margin-right: 0.1em; vertical-align: -0.12em; transform: rotate(-6deg); transition: transform 0.4s var(--ease); }
.chip:nth-of-type(2) .ce { transform: rotate(5deg); }
.chip:hover .ce { transform: rotate(0) scale(1.08); }
.hero-sub { margin-top: 24px; color: var(--ink-2); font-size: 16px; }

/* the launch form: a field and the black button, two pills on one line; the answer takes their place */
.notify { width: min(100%, 560px); margin: 28px auto 0; }
.notify-row { display: flex; gap: 10px; }
.notify-in { flex: 1; min-width: 0; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--white); box-shadow: var(--sh-pill); color: var(--ink); font: 400 16px var(--font); -webkit-appearance: none; appearance: none; }
.notify-in::placeholder { color: var(--ink-3); }
.notify-in:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.notify .btn { flex: none; }
.notify .btn[disabled] { opacity: 0.6; cursor: default; }
.notify-note { margin-top: 14px; color: var(--ink-3); font-size: 13.5px; text-align: center; }
.notify-say { display: none; margin-top: 4px; font-size: 16px; font-weight: 500; text-align: center; }
.notify-say:not(:empty) { display: block; }
.notify.done .notify-row, .notify.done .notify-note { display: none; }
.notify-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .notify-row { flex-direction: column; }
  .notify .btn { width: 100%; }
}

/* ---------- sections ---------- */

.sec { padding-top: clamp(96px, 9vw, 132px); }
.sec-head { display: grid; justify-items: center; gap: 14px; width: min(100% - 2 * var(--gutter), 700px); margin: 0 auto clamp(36px, 4vw, 52px); text-align: center; }
.h2 {
  font: 500 clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem)/1.2 var(--head); letter-spacing: -0.01em; text-wrap: balance;
  background: linear-gradient(0deg, #000 34%, #fff 124%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.sub { max-width: 500px; color: var(--ink-2); font-size: 16px; line-height: 24px; text-wrap: balance; }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: min(100% - 2 * var(--gutter), 700px); margin: 32px auto 0; color: var(--ink-2); font-size: 14px; text-align: center; text-wrap: balance; }
.note img { width: 18px; height: 18px; }
.btns.center { margin-top: 40px; }

/* grids: twelve columns, and the spans the cards take */
.feat-grid, .svc-grid, .tr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; }
@media (max-width: 900px) {
  .c4, .c5, .c7, .c8 { grid-column: span 12; }
}

/* ---------- 01 · the quote ---------- */

.quote-sec .narrow { text-align: center; }
.quote { font: 500 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.4 var(--head); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.quote-by { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; color: var(--ink-2); font-size: 15px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-pill); color: var(--ink); }
.avatar .logo { width: 26px; height: auto; }
/* the words: the ones that have come wear ink; the ones ahead wait soft and dim */
.rv .w { display: inline-block; color: rgba(0, 0, 0, 0.22); filter: blur(3px); transition: color 0.5s var(--ease), filter 0.5s var(--ease); }
.rv .w.on { color: var(--ink); filter: blur(0); }

/* ---------- 02 · why: three cards and the ticker ---------- */

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.viz { position: relative; display: grid; place-items: center; height: 230px; margin-bottom: 6px; }
.viz-top { align-items: start; height: auto; min-height: 230px; margin: 0 0 14px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* an approval card */
.okm { width: min(100%, 300px); padding: 16px 18px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--sh-card); text-align: left; }
.okm-k { color: var(--attn); font-size: 12px; font-weight: 600; }
.okm-q { margin-top: 4px; font: 500 16px/1.3 var(--head); }
.okm-s { margin-top: 3px; color: var(--ink-3); font-size: 13px; }
.okm-b { display: flex; gap: 8px; margin-top: 14px; }
.okm-b span { display: inline-flex; flex: 1; align-items: center; justify-content: center; height: 36px; border-radius: 999px; background: var(--bg); box-shadow: var(--sh-pill); font-size: 13px; font-weight: 600; }
.okm-b .ink { flex: 1.3; background: var(--ink); color: var(--white); box-shadow: var(--sh-ink); }

/* a week as bars */
.viz-bars { align-items: end; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-bottom: 8px; }
.bars li { display: grid; justify-items: center; align-content: end; gap: 10px; height: 100%; }
.bars i { display: block; width: 28px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-pill); }
.bars .lv1 i { height: 36px; } .bars .lv2 i { height: 64px; } .bars .lv3 i { height: 96px; } .bars .lv4 i { height: 128px; }
.bars span { color: var(--ink-3); font-size: 11px; }
.tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--sh-pill); font-size: 12px; font-weight: 500; }
.tag-l { left: 8px; } .tag-r { right: 8px; }

/* the hub: the mark with the apps around it */
.hub { position: relative; width: 100%; height: 100%; }
.hub-c { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-card); color: var(--ink); transform: translate(-50%, -50%); }
.hub-c .logo { width: 60px; height: auto; }
.hub-i { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-pill); }
.hub-i svg { width: 22px; height: 22px; fill: currentColor; }
.hi1 { left: 16%; top: 10%; } .hi2 { right: 16%; top: 16%; } .hi3 { left: 20%; bottom: 10%; } .hi4 { right: 18%; bottom: 14%; }
.lg-gmail { color: #ea4335; } .lg-gcal { color: #4285f4; } .lg-notion { color: #111; } .lg-todoist { color: #e44332; }

/* the ticker: every verb, as pills that drift by */
.ticker { margin-top: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; padding: 10px 0 36px; animation: ticker 42s linear infinite; }
.tk { display: inline-flex; align-items: center; gap: 10px; height: 48px; margin-right: 16px; padding: 0 24px 0 20px; border-radius: 228px; background: var(--bg); box-shadow: var(--sh-card); font-size: 16px; white-space: nowrap; }
.tk img { width: 22px; height: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- 03 · features ---------- */

.card-photo { display: grid; grid-template-columns: minmax(0, 336px) minmax(0, 1fr); gap: 24px; align-items: center; }
.card-photo .ph { width: 100%; height: 228px; object-fit: cover; border-radius: 16px; box-shadow: var(--sh-pill); }
@media (max-width: 900px) {
  .card-photo { grid-template-columns: minmax(0, 1fr); }
  .card-photo .ph { height: 220px; }
}

/* ---------- 04 · a sample week ---------- */

/* a day, small */
.agm { width: 100%; padding: 6px 14px; }
.agm li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.agm li:first-child { border-top: 0; }
.agm-t { color: var(--ink-3); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.agm-w b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.agm-w small { display: block; color: var(--ink-3); font-size: 12px; }
.agm .x b, .agm .x .agm-t { color: var(--ink-3); font-weight: 500; }
.mini-tag { padding: 3px 7px; border-radius: 999px; background: #dcf5ec; color: #04664d; font-size: 11px; font-weight: 600; }

/* the expense sheet */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; width: 100%; padding: 18px 20px; }
.sheet-k { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.sheet-n { margin-top: 2px; font: 500 34px/1.1 var(--head); letter-spacing: -0.02em; }
.bar { display: flex; gap: 2px; height: 10px; margin-top: 12px; }
.bar i:first-child { border-radius: 5px 1px 1px 5px; }
.bar i:last-child { border-radius: 1px 5px 5px 1px; }
.b1 { flex: 55.55; background: var(--dv1); } .b2 { flex: 23.4; background: var(--dv2); } .b3 { flex: 18.2; background: var(--dv3); }
.keys { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; color: var(--ink-2); font-size: 12px; }
.keys i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; }
.k1 { background: var(--dv1); } .k2 { background: var(--dv2); } .k3 { background: var(--dv3); }
.sheet-r li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet-r li:first-child { border-top: 0; padding-top: 2px; }
.sheet-r b { display: block; font-weight: 600; }
.sheet-r small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
@media (max-width: 560px) { .sheet { grid-template-columns: minmax(0, 1fr); } }

/* the thread: you, your Pal, the field */
.thread { display: grid; gap: 12px; width: 100%; }
.msg { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: var(--sh-card); font-size: 15px; line-height: 1.45; }
.msg.you { margin-right: clamp(0px, 10%, 80px); }
.msg.pal { margin-left: clamp(0px, 10%, 80px); }
.av { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 11px; font-weight: 600; }
.av-you { background: var(--ink); color: var(--white); }
.av-pal { background: var(--bg); box-shadow: var(--sh-pill); color: var(--ink); }
.av-pal .logo { width: 20px; height: auto; }
.field { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--white); box-shadow: var(--sh-card); color: var(--ink-3); font-size: 15px; }
.field i { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); box-shadow: var(--sh-ink); }

/* the leases, small */
.cmpm { width: 100%; padding: 6px 12px; }
.cmpm p { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 4px; border-top: 1px solid var(--line); font-size: 13px; }
.cmpm p:first-child { border-top: 0; }
.cmpm p span:first-child { color: var(--ink-3); }
.cmpm p span + span { font-weight: 600; }
.cmpm .cm-h span { color: var(--ink-3); font-size: 11.5px; font-weight: 600; }
.cmpm .hi { border-radius: 8px; background: var(--attn-tint); }
.cmpm .ns { color: var(--attn); font-weight: 500; }

/* ---------- 05 · how it works ---------- */

.proc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.proc { display: flex; flex-direction: column; }
.proc.tall { grid-row: span 2; }
.num { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.num b { font: 500 44px/1 var(--head); letter-spacing: -0.01em; }
.dots i { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.18); }
.dots .on { background: var(--ink); }
.proc .ph { width: 100%; height: 260px; margin-top: 20px; object-fit: cover; border-radius: 16px; box-shadow: var(--sh-pill); }
.proc.tall .ph { flex: 1; min-height: 420px; }
@media (max-width: 900px) {
  .proc-grid { grid-template-columns: minmax(0, 1fr); }
  .proc.tall { grid-row: auto; }
  .proc.tall .ph { min-height: 0; height: 320px; }
}

/* ---------- 06 · examples ---------- */

.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 24px; padding: 4px; border-radius: 999px; background: var(--bg); box-shadow: var(--sh-card); overflow-x: auto; }
.tabs button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font: 500 14px var(--font); white-space: nowrap; cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.tabs button:hover { color: var(--ink); }
.tabs [aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--sh-pill); }
html:not(.js) .tabs { display: none; }
html:not(.js) .ex[hidden] { display: grid; margin-top: 24px; }
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.ex[hidden] { display: none; }
.ex.swap { animation: swap 0.35s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.ex-ph { width: 100%; height: 440px; object-fit: cover; border-radius: 16px; box-shadow: var(--sh-pill); }
.ex-n { color: var(--ink-3); font-size: 14px; }
.ex .ct { margin-top: 10px; font-size: 24px; line-height: 32px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.stat { padding: 22px 16px; border-radius: 18px; background: var(--bg); box-shadow: var(--sh-card), var(--lift); text-align: center; }
.stat b { display: block; font: 500 36px/1 var(--head); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 14px; }
@media (max-width: 900px) {
  .ex { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ex-ph { height: 260px; }
}

/* ---------- 07 · trust ---------- */

.tr-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote2 { font: 500 clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem)/1.5 var(--head); letter-spacing: -0.01em; text-wrap: pretty; }
.qmark { align-self: flex-end; width: 44px; height: 44px; fill: none; stroke: rgba(0, 0, 0, 0.3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tr-photo { padding: 0; overflow: hidden; }
.tr-photo img { width: 100%; height: 100%; min-height: 420px; max-height: 480px; object-fit: cover; }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: min(100% - 2 * var(--gutter), 960px); margin: 56px auto 0; text-align: center; }
.counters b { display: block; font: 500 44px/1 var(--head); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.counters span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 900px) {
  .tr-photo img { height: 320px; }
}
@media (max-width: 560px) {
  .counters { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 08 · pricing ---------- */

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 24px; }
.price { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-items: start; }
.price.hot { box-shadow: var(--sh-card), var(--lift), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.pr-name { display: flex; align-items: center; gap: 10px; font: 500 16px/1 var(--head); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 22px; background: var(--ink); color: var(--white); box-shadow: var(--sh-ink); font: 500 12px/1 var(--font); }
.badge img { width: 14px; height: 14px; }
.badge.soft { background: var(--white); color: var(--ink); box-shadow: var(--sh-pill); }
.pr-n { margin-top: 20px; font: 500 44px/1.2 var(--head); letter-spacing: -0.01em; }
.pr-n span { margin-left: 6px; color: var(--ink-2); font: 400 16px var(--font); letter-spacing: 0; }
.pr-soon { font-size: 32px; line-height: 1.65; }
.price .cp { margin-top: 12px; }
.price .btn { width: 100%; margin-top: 22px; align-self: end; }
.checks { display: grid; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.checks li::before { content: "✓"; flex: none; color: var(--ink-3); font-weight: 600; }
.checks.muted li::before { content: "✕"; }
@media (max-width: 860px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 09 · comparison: one table, what you hand it beside what each one does ---------- */

.cmpt { padding: 12px 32px 16px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.cmp-row:first-child { border-top: 0; }
.cmp-f { color: var(--ink); font-weight: 500; }
.cmp-head { padding: 22px 0; }
.cmp-head span { font: 500 20px/1.2 var(--head); letter-spacing: -0.01em; }
.cmp-head .cmp-f { font: 500 14px/1.3 var(--font); color: var(--ink-3); }
.cmp-pals { display: inline-flex; align-items: center; gap: 12px; }
.cmp-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-pill); color: var(--ink); }
.cmp-logo .logo { width: 30px; height: auto; }
.yes, .no, .dash { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.yes::before, .no::before { content: "✓"; display: grid; flex: none; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.no::before { content: "✕"; background: var(--white); color: var(--ink-3); box-shadow: var(--sh-pill); }
.no, .dash { color: var(--ink-3); }
.dash::before { content: ""; width: 22px; flex: none; }
@media (max-width: 760px) {
  .cmpt { padding: 8px 20px 12px; }
  .cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px 0; font-size: 14.5px; }
  .cmp-f { grid-column: 1 / -1; }
  .cmp-head .cmp-f { display: none; }
}

/* ---------- 10 · models ---------- */

.models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.md-n { display: flex; align-items: baseline; gap: 8px; font: 500 24px/1.2 var(--head); letter-spacing: -0.01em; }
.md-n small { color: var(--ink-3); font: 400 14px var(--font); }
.md-r { margin-top: 12px; font: 500 16px/1.3 var(--head); }
.md-viz { display: grid; place-items: center; height: 220px; margin-top: 24px; border-radius: 16px; background: var(--white); box-shadow: var(--sh-pill); }
.md-viz img { width: 112px; height: 112px; }
@media (max-width: 900px) { .models-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 11 · questions ---------- */

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px 24px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq details { padding: 0 24px; border-radius: 22px; background: var(--bg); box-shadow: var(--sh-card), var(--lift); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; line-height: 24px; text-wrap: pretty; }
.faq details p a { color: var(--ink); }

/* ---------- the footer: the hero again, quieter ---------- */

.foot { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 640px; margin-top: clamp(96px, 9vw, 132px); padding: 96px var(--gutter) 72px; overflow: hidden; text-align: center; }
.foot-in { width: min(100%, 760px); }
.foot-logo { display: flex; justify-content: center; color: var(--ink); }
.foot-logo .logo { width: clamp(150px, 18vw, 220px); height: auto; }
.foot-line { max-width: 30em; margin: 22px auto 0; color: var(--ink-2); text-wrap: balance; }
.foot .notify { margin-top: 28px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin-top: 48px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-underline-offset: 4px; }
.foot-copy { margin-top: 40px; color: var(--ink-2); font-size: 14px; }

/* ---------- the blur along the bottom of the screen: eight layers, each twice as soft, each masked to its band ---------- */

.blur-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: 100px; pointer-events: none; }
.blur-bottom i { position: absolute; inset: 0; }
.blur-bottom i:nth-child(1) { z-index: 1; -webkit-backdrop-filter: blur(0.055px); backdrop-filter: blur(0.055px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 0%, #000 12.5%, #000 25%, rgba(0, 0, 0, 0) 37.5%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 0%, #000 12.5%, #000 25%, rgba(0, 0, 0, 0) 37.5%); }
.blur-bottom i:nth-child(2) { z-index: 2; -webkit-backdrop-filter: blur(0.11px); backdrop-filter: blur(0.11px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 12.5%, #000 25%, #000 37.5%, rgba(0, 0, 0, 0) 50%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 12.5%, #000 25%, #000 37.5%, rgba(0, 0, 0, 0) 50%); }
.blur-bottom i:nth-child(3) { z-index: 3; -webkit-backdrop-filter: blur(0.22px); backdrop-filter: blur(0.22px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 25%, #000 37.5%, #000 50%, rgba(0, 0, 0, 0) 62.5%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 25%, #000 37.5%, #000 50%, rgba(0, 0, 0, 0) 62.5%); }
.blur-bottom i:nth-child(4) { z-index: 4; -webkit-backdrop-filter: blur(0.44px); backdrop-filter: blur(0.44px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 37.5%, #000 50%, #000 62.5%, rgba(0, 0, 0, 0) 75%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 37.5%, #000 50%, #000 62.5%, rgba(0, 0, 0, 0) 75%); }
.blur-bottom i:nth-child(5) { z-index: 5; -webkit-backdrop-filter: blur(0.875px); backdrop-filter: blur(0.875px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 50%, #000 62.5%, #000 75%, rgba(0, 0, 0, 0) 87.5%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 50%, #000 62.5%, #000 75%, rgba(0, 0, 0, 0) 87.5%); }
.blur-bottom i:nth-child(6) { z-index: 6; -webkit-backdrop-filter: blur(1.75px); backdrop-filter: blur(1.75px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 62.5%, #000 75%, #000 87.5%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 62.5%, #000 75%, #000 87.5%, rgba(0, 0, 0, 0) 100%); }
.blur-bottom i:nth-child(7) { z-index: 7; -webkit-backdrop-filter: blur(3.5px); backdrop-filter: blur(3.5px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 75%, #000 87.5%, #000 100%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 75%, #000 87.5%, #000 100%); }
.blur-bottom i:nth-child(8) { z-index: 8; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 87.5%, #000 100%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 87.5%, #000 100%); }

/* ---------- motion: things come in as they scroll into view ---------- */

.js [data-ap] { opacity: 0; transition: opacity 0.8s var(--ease), transform 1s var(--ease); will-change: transform, opacity; }
.js [data-ap="up"] { transform: translateY(70px); }
.js [data-ap="left"] { transform: translateX(-70px); }
.js [data-ap="right"] { transform: translateX(70px); }
.js [data-ap].in { opacity: 1; transform: none; }
.stagger > :nth-child(2) { transition-delay: 0.1s; }
.stagger > :nth-child(3) { transition-delay: 0.2s; }
.stagger > :nth-child(4) { transition-delay: 0.3s; }
.stagger > :nth-child(5) { transition-delay: 0.4s; }
.stagger > :nth-child(6) { transition-delay: 0.5s; }

/* ---------- the long-form pages: Support, Privacy, Terms, 404 ---------- */

body:not(.home) main { padding-top: calc(var(--nav-h) + 40px); }
.page-head { padding-top: clamp(24px, 5vw, 56px); }
.page-title { font: 500 clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem)/1.1 var(--head); letter-spacing: -0.01em; text-wrap: balance; }
.page-meta { margin-top: 14px; color: var(--ink-3); font-size: 15px; }
.lede { max-width: 34em; margin: 20px auto 0; color: var(--ink-2); text-wrap: balance; }
.kicker { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; color: var(--ink-3); font-size: 15px; }
.h2.center { text-align: center; }
.section { padding-top: clamp(80px, 10vw, 128px); }
.section-sm { padding-top: clamp(64px, 8vw, 104px); }
.h2-sm { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); }

/* a link drawn as the light button */
.pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--ink); box-shadow: var(--sh-light); text-decoration: none; font: 500 14px var(--font); transition: transform 0.25s var(--ease); }
.pill:hover { transform: translateY(-1px); }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* lists of short texts (the Support page): cards in two columns */
.grid { display: grid; gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 720px) { .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.s-card { min-width: 0; padding: 28px; border-radius: 24px; background: var(--bg); box-shadow: var(--sh-card), var(--lift); }
.s-card h2 { font: 500 18px/1.3 var(--head); letter-spacing: -0.01em; }
.s-card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.s-card p + p { margin-top: 10px; }
.s-card a, .prose a { overflow-wrap: anywhere; }
.features p { color: var(--ink-2); }
.path { display: inline; padding: 1px 6px; border-radius: 7px; background: var(--chip); color: var(--ink); font-size: 0.94em; white-space: nowrap; }
.support .page-head { text-align: center; }
.support .lede { margin-top: 20px; }
.support .pill { margin-top: 28px; }
.support .faq { margin-top: clamp(28px, 4vw, 40px); grid-template-columns: minmax(0, 1fr); }

/* the legal pages: the contents beside the text on wide screens, a card above it otherwise */
.doc { --doc: 47rem; padding-bottom: 32px; }
@media (max-width: 1179px) { .doc { width: min(100% - 2 * var(--gutter), var(--doc)); } }
.doc-layout { display: grid; gap: 40px; margin-top: 40px; }
.toc { border-radius: 20px; background: var(--bg); box-shadow: var(--sh-card), var(--lift); font-size: 15px; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease); }
.toc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.toc ol { display: grid; gap: 2px; padding: 0 22px 18px; }
.toc a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 760px) { .toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 1180px) {
  .doc-layout { grid-template-columns: 240px minmax(0, var(--doc)); justify-content: center; gap: 72px; }
  .toc-nav { position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; max-height: calc(100vh - var(--nav-h) - 32px); overflow: auto; }
  .toc { background: none; box-shadow: none; }
  .toc summary { min-height: 0; padding: 4px 0 10px; font-size: 13px; color: var(--ink-3); }
  .toc ol { grid-template-columns: 1fr; padding: 0; }
  .doc .page-head { padding-left: calc(240px + 72px); }
}
.prose { max-width: var(--doc); font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.6em; font: 500 1.6rem/1.2 var(--head); letter-spacing: -0.01em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h3 { margin-top: 2em; font: 600 1.2rem/1.3 var(--font); letter-spacing: -0.01em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose ul ul { margin-top: 0.4em; list-style: circle; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; }

.lost { padding: clamp(64px, 12vw, 160px) 0 40px; text-align: center; }
.lost .page-title { margin-top: 8px; }
.lost p { margin-top: 14px; color: var(--ink-2); }
.lost .pill { margin-top: 36px; }

/* ---------- print and motion preferences ---------- */

@media print {
  .js [data-ap] { opacity: 1; transform: none; }
  .rv .w { color: var(--ink); filter: none; }
  .nav, .blur-bottom, .bg-video, .ticker, .tabs { display: none; }
  .ex[hidden] { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-ap] { opacity: 1; transform: none; }
  .rv .w { color: var(--ink); filter: none; }
  .ticker-track { animation: none; }
}
