/* usespaces.app: black and white, with the greys between them. The window and the dashboards beside it are drawn at
   a fixed design size (the stage, 1600 by 900, or the window alone, 1100, on a phone) and scaled to the screen by
   --s; everything else is fluid. The first page's parts come first, then what the other pages add. */
:root {
  /* --muted and --faint are the two greys of text: both read at 4.5 to 1 or better on every ground they stand on. */
  --hi: #111113; --hi-soft: #a6a6ad;
  --paper: #fff; --ink: #111113; --muted: #4f4f56; --faint: #6b6b73; --line: #00000012; --panel: #f6f6f5;
  --card: #f4f4f3; --card-line: #0000000f; --ok: #1f9d55; --bad: #d93b3b; --accent: var(--hi);
  --c1: #111113; --c2: #6b6b73; --c3: #a6a6ad; --c4: #cfcfd4; --c5: #e4e4e8;
  --lift: 0 0 0 .5px #0000001a, 0 1px 2px #0000000d, 0 12px 32px -16px #0000002e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font: 15px/1.5 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.ic { flex: none; }
.faint { color: var(--faint); }

/* ---------------------------------------------------------------- nav */
.nav { position: absolute; z-index: 20; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 24px;
  padding: 20px clamp(16px, 3vw, 36px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.appicon { display: block; flex: none; }
.links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 32px; font-size: 14px; }
.nav { color: #fff; }
.links a { color: #ffffffb3; transition: color .2s; } .links a:hover, .links a[aria-current] { color: #fff; }
.nav .btn { margin-left: auto; }
/* On a small screen the links are behind a button; it needs no script. */
.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; list-style: none;
  box-shadow: inset 0 0 0 1.5px #ffffff59; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: #ffffff1f; }
.menu nav { position: absolute; top: 46px; right: 0; display: flex; flex-direction: column; min-width: 220px; padding: 8px; border-radius: 18px;
  background: #1c1c1f; box-shadow: inset 0 0 0 1px #ffffff1f, 0 24px 48px -16px #000; }
.menu nav a { padding: 11px 14px; border-radius: 11px; font-size: 16px; color: #ffffffd9; }
.menu nav a:hover, .menu nav a[aria-current] { background: #ffffff14; color: #fff; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px #00000026, 0 8px 20px -10px #00000066; }
.btn.primary:hover, .btn.light:hover { transform: translateY(-1px); }
.btn.quiet { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.quiet:hover { background: #fafafa; }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff73; }
.btn.ghost:hover { background: #ffffff14; }
.btn.hot { background: var(--ink); color: #fff; box-shadow: 0 1px 2px #00000026, 0 10px 24px -10px #00000080; }
.btn.hot:hover { transform: translateY(-1px); }

/* ---------------------------------------------------------------- hero */
/* The hero is the icon at the size of the page: the pavement and the painted circle, in a dark tile. The tile has no
   lit edge as the icon has: on a white page a bright rim is a grey line round it. */
.hero { position: relative; overflow: hidden; margin: 10px; padding-top: clamp(84px, 10vh, 108px); border-radius: clamp(22px, 2.6vw, 36px);
  background: #0f0f11; color: #fff; isolation: isolate; }
.ground { position: absolute; display: block; pointer-events: none; }
.stage-in > .ground { left: -1600px; top: -1765px; }
.hero-copy { position: relative; z-index: 5; text-align: center; padding: 0 24px; }
.hero h1 { font-size: clamp(48px, min(6.4vw, 9vh), 84px); line-height: .95; font-weight: 700; letter-spacing: -.05em; }
.hero p { max-width: 720px; margin: 16px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: #ffffffbf; }
.hero p.fine { margin-top: 12px; font-size: 13px; color: #ffffff80; }
.hero p.fine a { color: #ffffffcc; text-decoration: underline; text-underline-offset: 2px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* --s is the room there is over the width the stage is drawn at: (100vw - 40px) / 1600px, which a script in the head
   works out as --fit (build.py). The steps below are for a page without it: never trig in CSS, which some iPhones'
   WebKit gets wrong (it drew the stage upside down). */
.stage { --s: var(--fit, 1); position: relative; height: calc(1000px * var(--s)); margin-top: calc(20px * var(--s)); }
.stage-in { position: absolute; z-index: 2; top: 0; left: 50%; width: 1600px; height: 900px; margin-left: -800px;
  transform: scale(var(--s)); transform-origin: 50% 0; }
.win-wrap { position: absolute; left: 250px; top: 84px; width: 1100px; height: 760px; }

/* ---------------------------------------------------------------- the window, as the app draws it */
.window { position: relative; display: flex; height: 100%; border-radius: 16px; background: #f1f1ef; color: var(--ink);
  box-shadow: 0 0 0 .5px #00000026, 0 50px 100px -40px #0000008c, 0 12px 30px -14px #00000040; overflow: hidden; font-size: 14px; line-height: 1.45; }
.window .side { width: 236px; flex: none; padding: 0 8px 10px; display: flex; flex-direction: column; overflow: hidden; }
.window .lights { display: flex; align-items: center; gap: 8px; height: 44px; padding-left: 8px; }
.window .lights i { width: 12px; height: 12px; border-radius: 50%; display: block; background: #ff5f57; }
.window .lights i:nth-child(2) { background: #febc2e; } .window .lights i:nth-child(3) { background: #28c840; }
.window .plt { margin-left: 12px; color: var(--muted); }
.window .row { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; white-space: nowrap; }
.window .row .ic { color: var(--muted); }
.window .row .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.window .row.sel { background: #ffffffd9; box-shadow: 0 0 0 .5px #0000001a, 0 1px 2px #00000014; }
.window .row.sel .ic { color: var(--ink); }
.window .newchat { background: #ffffffb3; box-shadow: 0 0 0 .5px #0000001a; }
.window .kbd { color: var(--faint); font-size: 12px; }
.window .label { padding: 18px 12px 6px; font-size: 12px; color: var(--faint); }
.window .tree { display: flex; flex-direction: column; gap: 2px; }
.window .tr { position: relative; }
.window .dot, .widget .dot, .mini .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.window .dot.ask, .widget .dot.ask { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.window .vline, .window .elbow, .window .down { position: absolute; pointer-events: none; }
.window .vline { top: -2px; bottom: -2px; border-left: 1.5px solid #c9c9cc; }
.window .elbow { top: -2px; height: 18px; width: 12px; border-left: 1.5px solid #c9c9cc; border-bottom: 1.5px solid #c9c9cc; border-bottom-left-radius: 5px; }
.window .down { top: 24px; bottom: -2px; border-left: 1.5px solid #c9c9cc; }
.window .grow { flex: 1; }
.window .sheet { position: relative; flex: 1; min-width: 0; margin: 8px 8px 8px 0; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 .5px #0000001a, 0 2px 10px #0000000f; padding: 46px 40px 0; overflow: hidden; }
.window .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 0 0 .5px #0000001a, 0 4px 12px #00000012; font-size: 13px; white-space: nowrap; }
.window .okc { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.window .okc .ic { stroke-width: 3; }
.window .wtitle { font-size: 22px; font-weight: 700; margin: 4px 0 20px; letter-spacing: -.01em; }
.window .card { background: var(--panel); border-radius: 18px; padding: 14px 16px; overflow: hidden; }
.window .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.window .kpi-label { color: var(--muted); }
.window .kpi-val { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 500; margin-top: 2px; letter-spacing: -.01em; }
.chip { font-size: 12px; font-weight: 500; padding: 2px 6px; border-radius: 6px; letter-spacing: 0; line-height: 1.4; }
.chip.good { background: #dff5c9; color: #2c6a12; } .chip.bad { background: #fde0e3; color: #b4233a; } .chip.plain { background: #0000000a; color: var(--muted); }
.window .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.window .stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.window .head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); margin-bottom: 6px; }
.window .pill { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); background: #0000000a; padding: 4px 10px; border-radius: 8px; }
.window table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.window th { text-align: left; font-weight: 400; color: var(--muted); padding: 7px 8px; border-bottom: 1px solid var(--line); }
.window td { padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--muted); }
.window tr:last-child td { border-bottom: 0; }
.window td.trunc { max-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.window .r { text-align: right; }
.window .st { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; }
.window .st.bad { background: #a3263b; } .window .st.warn { background: #b9561c; } .window .st.ok { background: #3e7d1c; } .window .st.faint { background: #b0b0b6; }
.window .legend { display: flex; gap: 6px; font-size: 13px; color: var(--ink); }
.window .legend > span { background: #fff; border-radius: 6px; padding: 2px 8px; }
.window .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.window .sw.ed, .window .b.ed { background: var(--ink); } .window .sw.web, .window .b.web { background: #b4b4ba; }
.window .bars { display: flex; gap: 5px; height: 92px; align-items: flex-end; }
.window .col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.window .track { position: absolute; inset: 0; background: #0000000a; border-radius: 3px; }
.window .b { position: relative; border-radius: 3px; }
.window .axis, .widget .axis { display: flex; justify-content: space-between; color: var(--faint); font-size: 11.5px; margin-top: 6px; }
.window .idea { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.window .ib { width: 30px; height: 30px; border-radius: 8px; background: #0000000a; display: grid; place-items: center; color: var(--muted); flex: none; }
.window .it { flex: 1; min-width: 0; }
.window .trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window .strong { color: var(--ink); } .window .small { font-size: 12px; }
.window .chev { color: var(--faint); }

/* ---------------------------------------------------------------- widgets beside the window */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 8px; text-align: center; font-size: 12px; color: var(--muted); }
.days span { display: flex; flex-direction: column; padding: 4px 0; border-radius: 8px; }
.days b { font-weight: 400; font-size: 10.5px; color: var(--faint); }
.days .on { background: var(--ink); color: #fff; font-weight: 600; } .days .on b { color: #ffffffa6; }
.ev, .mail { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.ev .t { width: 40px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev::before { content: ""; width: 3px; align-self: stretch; border-radius: 2px; background: var(--c1); order: 1; }
.ev .t { order: 0; } .ev .what { order: 2; }
.ev::before { background: #6b6b73; } .ev.run::before { background: var(--ink); } .ev.life::before { background: var(--hi-soft); }
.what { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.what b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.what i { font-style: normal; color: var(--faint); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.habit { margin-top: 8px; }
.hn { display: flex; justify-content: space-between; margin-bottom: 5px; }
.hd { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.hd i { aspect-ratio: 1; border-radius: 4px; background: #0000000d; }
.hd i.on { background: var(--hi); }
.big { display: flex; align-items: baseline; gap: 6px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 10px; }
.big small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.big .chip { align-self: center; margin-left: auto; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.cbar { fill: #1111131a; } .cbar.hot { fill: var(--hi); }
.widget .axis { display: flex; justify-content: space-between; color: var(--faint); font-size: 11.5px; margin-top: 6px; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600;
  background: var(--ink); color: #fff; }
.mail:nth-of-type(3) .av { background: #e6e6e9; color: var(--ink); } .mail:nth-of-type(4) .av { background: #e6e6e9; color: var(--ink); }

/* ---------------------------------------------------------------- providers */
.ai { position: relative; padding: 56px 0 72px; text-align: center; }
.ai p { color: var(--muted); font-size: 14px; margin-bottom: 24px; padding: 0 24px; }
.providers { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; max-width: 1240px; margin: 0 auto;
  padding: 0 24px; list-style: none; }
.providers li { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.logo { flex: none; }

/* ---------------------------------------------------------------- sections */
.band { padding: 104px 0 40px; }
.band.black { background: var(--ink); color: #fff; padding-bottom: 112px; }
.band.black .sub { color: #ffffff99; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 16px; max-width: 520px; }
.sub.center { margin: 18px auto 0; }
/* what it does: a list that picks and a stage that shows (draw.showcase, site.js) */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.sc-tabs { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sc-tab { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 0;
  border-radius: 18px; background: transparent; color: #ffffff8c; font: inherit; text-align: left; cursor: pointer;
  transition: background .3s, color .3s; }
.sc-tab:hover { color: #fff; background: #ffffff08; }
.sc-tab.on { background: #1c1c1f; color: #fff; box-shadow: inset 0 0 0 1px #ffffff12; }
.sc-tab .f-ic { width: 38px; height: 38px; flex: none; background: #ffffff14; color: #fff; transition: background .3s, color .3s; }
.sc-tab.on .f-ic { background: #fff; color: var(--ink); }
.sc-words { display: flex; flex-direction: column; min-width: 0; padding-top: 8px; }
.sc-words b { font-size: 16px; font-weight: 600; }
/* The text of a card opens only on the one shown: a row of the grid that grows from 0fr. */
.sc-text { display: grid; grid-template-rows: 0fr; opacity: 0; color: #ffffff99; font-size: 14px; line-height: 1.5;
  transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), opacity .3s, margin .45s; }
.sc-text > span { overflow: hidden; min-height: 0; }
.f-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--ink); }
.sc-tab.on .sc-text { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
.sc-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px; background: #fff;
  transform: scaleX(0); transform-origin: left; opacity: 0; }
.showcase.auto .sc-tab.on .sc-bar { opacity: .5; animation: sc-fill var(--sc-time, 6s) linear forwards; }
.showcase.auto.held .sc-tab.on .sc-bar { animation-play-state: paused; }
@keyframes sc-fill { to { transform: scaleX(1); } }
.sc-stage { position: relative; min-height: 440px; border-radius: 24px; overflow: hidden; background: #1c1c1f;
  box-shadow: inset 0 0 0 1px #ffffff12; }
.sc-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff1f 1.2px, transparent 1.4px);
  background-size: 18px 18px; }
.sc-art { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility 0s .4s; }
.sc-art.on { opacity: 1; visibility: visible; transition: opacity .4s; }
.sc-mini { width: min(400px, 100%); font-size: 14px; }
.sc-mini .mini { width: 100%; font-size: 13.5px; }
.sc-mini .build { margin-top: 14px; }
/* What is in the picture comes in row by row when it is shown. */
.sc-art .bubble, .sc-art .composer, .sc-art .bline, .sc-art .urow, .sc-art .ctitle, .sc-art .cfield, .sc-art .crun,
.sc-art .cout, .sc-art .hrow, .sc-art .look { opacity: 0; transform: translateY(10px); }
.sc-art.on .bubble, .sc-art.on .composer, .sc-art.on .bline, .sc-art.on .urow, .sc-art.on .ctitle, .sc-art.on .cfield,
.sc-art.on .crun, .sc-art.on .cout, .sc-art.on .hrow, .sc-art.on .look { animation: sc-in .5s cubic-bezier(.2, .7, .2, 1) forwards; }
.sc-art.on :is(.bline, .urow, .hrow, .cfield):nth-child(2), .sc-art.on .composer { animation-delay: .12s; }
.sc-art.on :is(.bline, .urow, .hrow):nth-child(3), .sc-art.on .crun { animation-delay: .24s; }
.sc-art.on :is(.bline, .urow, .hrow):nth-child(4) { animation-delay: .36s; }
.sc-art.on .cout { animation-delay: .9s; } .sc-art.on .look.night { animation-delay: .15s; }
.sc-art.on .build .bline:nth-child(1) { animation-delay: .4s; } .sc-art.on .build .bline:nth-child(2) { animation-delay: .7s; }
.sc-art.on .build .bline:nth-child(3) { animation-delay: 1s; } .sc-art.on .build .bline:nth-child(4) { animation-delay: 1.3s; }
@keyframes sc-in { to { opacity: 1; transform: none; } }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.split-head .title { flex: 1 1 auto; max-width: 720px; }
.split-head .sub { max-width: 400px; flex: none; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: 22px; background: var(--card); min-width: 0; }
.tile .t-top .ic { color: var(--hi); }
.tile.wide { grid-column: span 2; }
.t-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.t-body { flex: 1; }
.said { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 1.45; }
.said span { display: block; margin-bottom: 2px; font-size: 12px; color: var(--faint); }
.tile .axis { display: flex; justify-content: space-between; color: var(--faint); font-size: 11.5px; margin-top: 6px; }
.cline { fill: none; stroke: var(--hi); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.cline-area { fill: #1111130f; } .cline-dot { fill: var(--hi); }
.trip { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.trip .chart { width: 64px; flex: none; }
.ring { stroke: var(--hi); } .ring-track { stroke: #00000012; }
.trip .big { margin-bottom: 2px; }
.todo { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.todo.done { color: var(--faint); text-decoration: line-through; text-decoration-color: #00000033; }
.box { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #00000026; display: grid; place-items: center; flex: none; }
.todo.done .box { background: var(--ink); box-shadow: none; color: #fff; }
.box .ic { stroke-width: 3; }
.tile .hn { font-size: 13px; }

/* Each example tile wears a look of its own, as the space someone made would. */
.tile .what { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }

/* Money: a ledger. Figures in tabular mono, a budget bar with today on it, rows with dotted leaders. */
.t-money { background: #f3f1ea; }
.t-money .said { border-top-color: #0000001a; }
.mn-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.mn-big { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.mn-big sup { font-size: 18px; letter-spacing: 0; color: var(--faint); vertical-align: 18px; margin-left: 2px; }
.mn-sub { margin-top: 8px; color: var(--muted); font-size: 13px; }
.mn-left { text-align: right; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.mn-left b { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; color: #2c6a12; letter-spacing: -.02em; }
.mn-bar { position: relative; display: flex; gap: 2px; height: 14px; margin-top: 26px; border-radius: 4px; background: repeating-linear-gradient(-45deg, #0000000d 0 4px, transparent 4px 8px); box-shadow: inset 0 0 0 1px #00000014; }
.mn-bar > i { height: 100%; }
.mn-bar > i:first-child { border-radius: 4px 0 0 4px; }
.mn-today { position: absolute; top: -8px; bottom: -8px; width: 0; border-left: 1.5px solid var(--ink); }
.mn-today span { position: absolute; top: -18px; left: -1px; transform: translateX(-50%); font-size: 11px; color: var(--ink); white-space: nowrap; }
.mn-scale { display: flex; justify-content: space-between; margin-top: 8px; font: 11px "SF Mono", Menlo, monospace; color: var(--faint); }
.mn-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); column-gap: 28px; margin-top: 14px; }
.mn-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 13.5px; border-top: 1px solid #0000000f; }
.mn-row > i { width: 8px; height: 8px; border-radius: 2px; align-self: center; flex: none; }
.mn-row em { flex: 1; border-bottom: 1.5px dotted #00000030; transform: translateY(-3px); }
.mn-row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mn-row small { width: 30px; text-align: right; color: var(--faint); font-size: 11.5px; }
.mn-c1 { background: #1d1d1f; } .mn-c2 { background: #5c5c62; } .mn-c3 { background: #8e8e94; } .mn-c4 { background: #b8b8bd; } .mn-c5 { background: #d6d6da; }

/* Sleep: the night. Each night a capsule from bedtime to waking on a clock, last night lit. */
.t-sleep { background: #14151c; color: #e9e9f0; }
.t-sleep .t-top { color: #9a9aab; } .t-sleep .t-top .ic { color: #c9c4ff; }
.t-sleep .said { color: #e9e9f0; border-top-color: #ffffff1a; } .t-sleep .said span { color: #8b8b9c; }
.sl-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sl-big { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.sl-big small { font-size: 15px; font-weight: 500; color: #9a9aab; margin: 0 4px 0 1px; letter-spacing: 0; }
.sl-head > span { color: #9a9aab; font-size: 12.5px; }
.sl-chart { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.sl-grid { stroke: #ffffff12; stroke-width: 1; stroke-dasharray: 2 3; }
.sl-hr { fill: #8b8b9c; font: 10px "SF Mono", Menlo, monospace; text-anchor: end; }
.sl-cap { fill: #3b3a5c; }
.sl-cap.last { fill: #c9c4ff; filter: drop-shadow(0 0 6px #c9c4ff80); }
.sl-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11.5px; color: #8b8b9c; }
.sl-foot span:nth-child(2) { color: #c9c4ff; }

/* Diet: a plate. Calories as a ring split by macro, the day's meals as a small log. */
.t-diet { background: #f4f2ee; }
.dt-top { display: flex; align-items: center; gap: 18px; }
.dt-plate { position: relative; width: 112px; flex: none; }
.dt-ring { display: block; width: 100%; height: auto; }
.dt-track { stroke: #00000010; }
.dt-pr { stroke: #2f6b4f; background: #2f6b4f; } .dt-cb { stroke: #d39a3a; background: #d39a3a; } .dt-ft { stroke: #b85a3c; background: #b85a3c; }
.dt-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.dt-mid b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; } .dt-mid span { font-size: 10.5px; color: var(--muted); }
.dt-macros { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dt-macros > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.dt-macros span { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.dt-macros span i { width: 8px; height: 8px; border-radius: 50%; }
.dt-macros b { font-weight: 600; font-variant-numeric: tabular-nums; } .dt-macros small { font-weight: 400; color: var(--faint); }
.dt-meals { margin-top: 16px; }
.dt-meals > div { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px dashed #00000018; font-size: 12.5px; }
.dt-meals time { width: 38px; flex: none; color: var(--faint); font: 11px "SF Mono", Menlo, monospace; }
.dt-meals span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-meals b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Reading: a shelf of spines with a bookmark in each, then the book open now. */
.t-reading { background: #f1eee8; }
.rd-shelf { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 176px; padding: 0 8px; overflow: hidden; }
.rd-spine { position: relative; border-radius: 3px 3px 1px 1px; display: flex; align-items: center; justify-content: center;
  box-shadow: inset -3px 0 0 #00000022, inset 2px 0 0 #ffffff1f; }
.rd-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 11.5px/1 Georgia, serif; letter-spacing: .02em; white-space: nowrap; }
.rd-ov { background: #2f4a3a; color: #e8e2c9; } .rd-ts { background: #c8b98f; color: #3a3226; }
.rd-pi { background: #1f2a44; color: #d8c690; } .rd-mm { background: #8a3b2e; color: #f1e3cf; }
.rd-st { background: #e6dfcf; color: #5a4a36; } .rd-di { background: #4b5d6b; color: #eef0f0; } .rd-kl { background: #d9a441; color: #3a2a12; }
.rd-mark { position: absolute; right: -4px; width: 9px; height: 18px; margin-bottom: -9px; background: #d93b3b;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }
.rd-plank { height: 8px; margin: 0 -4px; border-radius: 2px; background: #c9b896; box-shadow: 0 6px 10px -6px #0000004d; }
.rd-now { margin-top: 18px; }
.rd-now > span, .rd-next > span { display: block; font-size: 11.5px; color: var(--faint); }
.rd-now b { font: 400 19px/1.3 Georgia, serif; }
.rd-line { height: 3px; margin-top: 10px; border-radius: 2px; background: #0000001a; }
.rd-line i { display: block; height: 100%; border-radius: 2px; background: #2f4a3a; }
.rd-meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.rd-next { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* Lisbon: a band of azulejo, a count of days, and the list with what each item is. */
.t-trip { background: #f7f8fb; overflow: hidden; }
.tr-band { height: 56px; margin: -4px -22px 16px; }
.tr-tiles { display: block; width: 100%; height: 100%; }
.tr-count { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.tr-count b { font: 400 54px/1 Georgia, serif; color: #1f4fa1; letter-spacing: -.03em; }
.tr-count span { display: block; font-size: 14px; font-weight: 500; } .tr-count i { font-style: normal; font-size: 12px; color: var(--muted); }
.tr-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #1f4fa114; font-size: 13.5px; }
.tr-item .what b { font-weight: 500; } .tr-item .what i { font-style: normal; font-size: 11.5px; color: var(--faint); }
.tr-box { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #1f4fa166; display: grid; place-items: center; flex: none; color: #fff; }
.tr-box .ic { stroke-width: 3; }
.tr-item.done .tr-box { background: #1f4fa1; box-shadow: none; }
.tr-item.done .what b { color: var(--faint); text-decoration: line-through; text-decoration-color: #00000040; }

/* Focus: a week of hours as a heat grid with labelled hours, a row of totals, and a key. */
.t-focus { background: #f2f3f1; }
.fc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.fc-big { display: flex; align-items: baseline; gap: 8px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.fc-big small { font-size: 18px; letter-spacing: 0; margin-left: -6px; }
.fc-big span { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.fc-big em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0; color: #2c6a12; background: #dff5c9; padding: 2px 6px; border-radius: 6px; align-self: center; }
.fc-best { text-align: right; } .fc-best span { display: block; font-size: 11.5px; color: var(--faint); } .fc-best b { font-size: 13.5px; font-weight: 600; }
.fc-grid { display: grid; grid-template-columns: 34px repeat(10, minmax(0, 1fr)); gap: 4px; font-size: 11px; color: var(--faint); }
.fc-h { font: 10.5px "SF Mono", Menlo, monospace; padding-bottom: 2px; }
.fc-d { align-self: center; }
.fc-grid > i { height: 20px; border-radius: 5px; }
.fc-0 { background: #0000000a; } .fc-1 { background: #1d4a3b2e; } .fc-2 { background: #1d4a3b66; } .fc-3 { background: #1d4a3baa; } .fc-4 { background: #1d4a3b; }
.fc-t { height: 26px; display: flex; align-items: flex-end; margin-top: 4px; }
.fc-t i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: #1d4a3b; opacity: .55; }
.fc-key { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 10px; font-size: 11px; color: var(--faint); }
.fc-key i { width: 12px; height: 12px; border-radius: 3px; } .fc-key span { margin: 0 4px; }

/* Habits: a chain for each, with the streak counted in days. */
.t-habits { background: #f6f3ee; }
.hb-row + .hb-row { margin-top: 14px; }
.hb-name { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 6px; }
.hb-name b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: #c2410c; }
.hb-name b small { font-size: 11.5px; font-weight: 400; color: var(--faint); }
.hb-chain { display: block; width: 100%; height: auto; overflow: visible; }
.hb-links line { stroke: #c2410c; stroke-width: 3; stroke-linecap: round; }
.hb-chain .on { fill: #c2410c; } .hb-chain .off { fill: none; stroke: #00000026; stroke-width: 1.5; }
.hb-chain .today { stroke: #f6f3ee; stroke-width: 2; filter: drop-shadow(0 0 0 #c2410c); }
.hb-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--faint); }


/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { padding: 10px 10px 22px; border-radius: 24px; background: var(--card); }
.step .num { display: block; margin: 20px 12px 6px; font-size: 13px; font-weight: 700; color: var(--hi); font-variant-numeric: tabular-nums; }
.step h3, .step p { margin-left: 12px; margin-right: 12px; }
.art { position: relative; height: 230px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--hi); }
.art::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(#ffffff2e 1.2px, transparent 1.4px); background-size: 16px 16px; }
.mini { position: relative; width: 78%; color: var(--ink); font-size: 12.5px; }
.chat .bubble { margin-left: auto; width: fit-content; max-width: 88%; padding: 9px 13px; border-radius: 16px 16px 4px 16px;
  background: #fff; box-shadow: var(--lift); }
.composer { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 8px 8px 12px; border-radius: 14px;
  background: #fff; color: var(--faint); box-shadow: var(--lift); }
.send { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.build { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--lift); }
.bline { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.bline.ok .ic { color: var(--ok); stroke-width: 3; } .bline.run { color: var(--muted); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #0000001f; border-top-color: var(--hi); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sbar { padding: 8px; border-radius: 14px; background: #f6f6f4; box-shadow: var(--lift); }
.srow { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 7px; }
.srow .ic { color: var(--muted); } .srow.sub { margin-left: 18px; }
.srow.new { background: #fff; box-shadow: 0 0 0 .5px #0000001a, 0 1px 2px #00000014; }
.srow .dot { margin-left: auto; }
.mini .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.undo { position: absolute; right: -10px; bottom: -14px; display: flex; align-items: center; gap: 6px; padding: 5px 10px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; box-shadow: 0 6px 16px -6px #00000080; }

/* questions */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.qa details { border-top: 1px solid #00000014; }
.qa details:last-child { border-bottom: 1px solid #00000014; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer;
  list-style: none; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--faint); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.qa details[open] summary .ic { transform: rotate(45deg); }
.qa summary:focus-visible, .btn:focus-visible, .links a:focus-visible, .more:focus-visible, .foot a:focus-visible, .menu summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.qa p a, .answers p a, .text a { text-decoration: underline; text-decoration-color: #00000040; text-underline-offset: 3px; color: var(--ink); }
.qa p { max-width: 620px; padding: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* closing */
.get { padding: 96px clamp(16px, 4vw, 40px) 24px; }
.get-in { position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center; min-height: 640px;
  max-width: 1240px; margin: 0 auto; padding: 48px 24px; border-radius: clamp(20px, 3vw, 40px); text-align: center; color: #fff;
  background: var(--hi); }
.get-in > .ground { z-index: -1; inset: 0; width: 100%; height: 100%; }
.get-copy { position: relative; max-width: 560px; }
.get .title { font-size: clamp(38px, 5.2vw, 70px); }
.get .sub { margin-top: 14px; font-size: 15px; } .get .cta { margin-top: 22px; }
.get .sub { color: #ffffffb3; } .get .fine { margin-top: 16px; font-size: 13px; color: #ffffff80; }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 1180px; margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 40px) 40px; font-size: 14px; color: var(--muted); }
.foot .brand { color: var(--ink); font-size: 17px; }
.f-brand p { margin-top: 10px; max-width: 280px; }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-col b { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.f-col a:hover { color: var(--ink); }
.f-note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------------------------------------------------------------- the other pages */
/* A page opens with the same dark tile, shorter: its heading on the pavement and the circle's far side under it. */
.hero.page { padding: 150px 24px 0; }
/* The ground keeps its own height at the foot of the tile, so the circle's edge is as far under the words on a phone
   as on a wide screen: three tenths of that height up, and the words stop a little above it. */
.hero.page > .ground { z-index: -1; left: 0; bottom: 0; width: 100%; height: clamp(420px, 44vw, 700px); }
.page-head { position: relative; max-width: 820px; margin: 0 auto; text-align: center;
  padding-bottom: max(clamp(150px, 13.2vw + 24px, 234px), 7.6vw); }
.hero.page h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: 1; text-wrap: balance; }
.hero.page p, .chapter h2 { text-wrap: balance; }
.hero.page p { max-width: 640px; }
.btn.off { color: #ffffffb3; box-shadow: inset 0 0 0 1.5px #ffffff40; cursor: default; }

.band.tight { padding-top: 40px; }
.title.small { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.06; letter-spacing: -.035em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink);
  padding-bottom: 2px; box-shadow: inset 0 -1.5px 0 #00000026; transition: box-shadow .2s, gap .2s; }
.more:hover { box-shadow: inset 0 -1.5px 0 var(--ink); gap: 9px; }
.after { margin-top: 32px; text-align: center; } .after.left { text-align: left; margin-top: 24px; }

/* how it works: a chapter is its text and a picture of what the text says */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; }
.chapter:nth-child(even) .art { order: -1; }
.chapter .num, .numbered .num { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chapter h2 { margin: 8px 0 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
.chapter p, .text p { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.chapter p + p, .text p + p { margin-top: 12px; }
.chapter .art { height: 340px; border-radius: 24px; }
.mini code, .facts code, .text code, .leaves code { font: 12.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
.facts code, .text code, .leaves code { padding: 2px 6px; border-radius: 6px; background: #0000000a; color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.files, .sched, .cmd, .hist { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--lift); }
.fpath { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: var(--muted); font: 12.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
.frow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.frow span, .when, .cad { color: var(--faint); }
.urow, .hrow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.urow:first-child, .hrow:first-child { border-top: 0; }
.urow .ic { color: var(--muted); } .urow b { font-weight: 500; }
.urow .cad { flex: 1; } .when.bad { color: var(--bad); }
.fix, .tbtn { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--ink);
  color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; }
.urow .fix { margin-left: 0; }
.ctitle { display: flex; align-items: center; gap: 7px; font-weight: 600; margin-bottom: 10px; } .ctitle .ic { color: var(--muted); }
.cfield { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #0000001a; }
.cfield span { color: var(--faint); } .cfield b { font-weight: 500; }
.crun { display: flex; margin: 10px 0; } .crun .tbtn { margin-left: 0; padding: 6px 14px; }
.cout { display: flex; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); }
.cout .ic { color: var(--ok); stroke-width: 3; }
.hdot { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #00000040; flex: none; }
.hrow.first .hdot { background: var(--ink); box-shadow: none; } .hrow.first .hwhat { font-weight: 500; }
.hwhat { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .hrow .when { margin-left: auto; }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.look { padding: 12px 14px 14px; border-radius: 14px; background: #fff; box-shadow: var(--lift); }
.look.night { background: #1c1c1f; color: #fff; box-shadow: inset 0 0 0 1px #ffffff26, 0 12px 32px -16px #000; }
.lk-top { display: flex; align-items: center; gap: 6px; font-size: 12px; } .lk-top span { margin-left: auto; color: var(--faint); }
.lk-big { margin: 8px 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.lk-big small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.look.night .cbar { fill: #ffffff26; } .look.night .cbar.hot { fill: #fff; }

.glance > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid #00000014; }
.glance > div:last-child { border-bottom: 1px solid #00000014; }
.glance dt { color: var(--faint); font-size: 14px; padding-top: 2px; }
.glance dd { margin: 0; font-size: 16px; line-height: 1.5; }

/* examples: what the work tiles add to the tiles of the first page */
.prow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; white-space: nowrap; }
.prow b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.prow i { font-style: normal; color: var(--muted); } .prow .pst { width: 62px; color: var(--muted); flex: none; }
.sd { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #b0b0b6; }
.sd.bad { background: #a3263b; } .sd.warn { background: #b9561c; } .sd.ok { background: #3e7d1c; }
.cline.before { stroke: #1111134d; stroke-width: 1.5; stroke-dasharray: 4 4; }
.tlegend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.tlegend span { display: flex; align-items: center; gap: 6px; }
.ln { width: 16px; border-top: 2.5px solid var(--ink); } .ln.before { border-top: 1.5px dashed #11111380; }
.todos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.todos .todo span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av.alt { background: #e6e6e9; color: var(--ink); }
.tile .mail:first-of-type, .tile .ev:first-of-type { border-top: 0; }
.tile .ev, .tile .mail { font-size: 13.5px; }
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tip { padding: 24px; border-radius: 22px; background: var(--card); }
.tip h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.tip p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tip .eg { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); }
.tip .eg span { display: block; margin-bottom: 2px; font-size: 12px; color: var(--faint); }

/* your data, questions, download: a heading on the left and what it heads on the right, row after row */
.rows > .two { padding: 56px 0; border-top: 1px solid var(--line); }
.rows > .two:first-child { border-top: 0; }
.facts { list-style: none; padding: 0; }
.facts li, .facts a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; }
.facts li { padding: 16px 0; border-top: 1px solid #00000014; font-size: 16px; line-height: 1.5; }
.facts li:last-child { border-bottom: 1px solid #00000014; }
.facts b { font-weight: 600; } .facts span { color: var(--muted); }
.facts.numbered li { grid-template-columns: 36px minmax(0, 1fr); }
.facts.numbered .num { padding-top: 3px; } .facts.numbered div { display: grid; gap: 4px; }
.links-list { max-width: 820px; margin: 0 auto; } .facts.links-list li { display: block; } .links-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.leaves { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.leaves th { text-align: left; font-weight: 400; font-size: 13px; color: var(--faint); padding: 0 16px 10px 0; }
.leaves td { vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid #00000014; color: var(--muted); }
.leaves td:first-child { width: 42%; color: var(--ink); } .leaves td:last-child { padding-right: 0; }
.leaves + .text { padding-top: 24px; border-top: 1px solid #00000014; }
.leaves + .text p:first-child { color: var(--ink); font-weight: 500; }
.answers article { padding: 22px 0; border-top: 1px solid #00000014; scroll-margin-top: 24px; }
.answers article:first-child { padding-top: 0; border-top: 0; }
.answers h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.answers p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.early { padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

/* ---------------------------------------------------------------- motion */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy .rise:nth-child(2) { animation-delay: .08s; } .hero-copy .rise:nth-child(3) { animation-delay: .16s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.stage:not(.turned) .stage-in > .persona.on { opacity: 0; animation: enter 1.2s cubic-bezier(.2, .7, .2, 1) .2s forwards; }
.stage-in > .persona { --from: 0px 90px; }
@keyframes enter { from { opacity: 0; translate: var(--from); } to { opacity: 1; translate: 0 0; } }
/* The circle is painted when the page opens: its mask is a line along the ring, drawn from the left over the far side. */
#hero-ground .paint { animation: paint 1.9s .1s cubic-bezier(.35, .1, .2, 1) both; }
@keyframes paint { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .stage-in > .persona { animation: none; opacity: 1; transform: none; }
  .spin { animation: none; }
  .sc-art .bubble, .sc-art .composer, .sc-art .bline, .sc-art .urow, .sc-art .ctitle, .sc-art .cfield, .sc-art .crun,
  .sc-art .cout, .sc-art .hrow, .sc-art .look { opacity: 1; transform: none; animation: none !important; }
  .sc-text { transition: none; }
  .stage-in > .widget, #hero-ground .paint { animation: none; }
}

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 980px) {
  .links { display: none; }
  .menu { display: block; }
  .nav { gap: 10px; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .sc-stage { order: -1; min-height: 360px; }
  .providers { max-width: 560px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .chapter { grid-template-columns: minmax(0, 1fr); padding: 40px 0; }
  .chapter:nth-child(even) .art { order: 0; }
  .tips { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .rows > .two { padding: 40px 0; }
}
/* Without the head's script: the scale at the narrow end of each band, so the stage always fits. */
@media (max-width: 1640px) { .stage { --s: var(--fit, .875); } }
@media (max-width: 1440px) { .stage { --s: var(--fit, .75); } }
@media (max-width: 1240px) { .stage { --s: var(--fit, .625); } }
@media (max-width: 1040px) { .stage { --s: var(--fit, .5); } }
@media (max-width: 840px) { .stage { --s: var(--fit, .45); } }
@media (max-width: 760px) {
  .stage { --s: var(--fit, .53); }
  .stage-in { width: 1100px; margin-left: -550px; }
  .stage-in >   .win-wrap { left: 0; }
  .stage-in > .ground { left: -1850px; }
@media (max-width: 600px) { .stage { --s: var(--fit, .42); } }
@media (max-width: 480px) { .stage { --s: var(--fit, .34); } }
@media (max-width: 400px) { .stage { --s: var(--fit, .3); } }
  .get-in { min-height: 520px; padding: 72px 20px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  br.wide { display: none; }
  .band { padding-top: 64px; }
  .ai { padding-bottom: 40px; }
  .providers { gap: 14px 28px; } .providers li { font-size: 15px; }
  .qa summary { font-size: 16px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .fc-head { flex-wrap: wrap; } .fc-big { flex-wrap: wrap; } .fc-best { text-align: left; }
  .fc-big em { white-space: nowrap; } .mn-head { flex-wrap: wrap; } .mn-left { text-align: left; }
  .tile.wide { grid-column: auto; }
  .sc-stage { min-height: 320px; } .sc-art { padding: 20px; } .sc-tab { padding: 14px 16px; }
  .hero { padding-top: 96px; margin: 6px; } .nav { top: 6px; left: 6px; right: 6px; }
  .hero.page { padding: 112px 20px 0; }
  .chapter .art { height: 280px; }
  .glance > div, .facts li, .facts a { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts.numbered li { grid-template-columns: 32px minmax(0, 1fr); }
  .todos { grid-template-columns: minmax(0, 1fr); }
  .prow .pst, .prow i { display: none; }
  /* The table of what leaves the Mac becomes one block a row, each cell under the name of its column. */
  .leaves thead { display: none; }
  .leaves tr { display: block; padding: 16px 0; border-top: 1px solid #00000014; }
  .leaves td { display: block; width: auto !important; padding: 0 0 10px; border: 0; }
  .leaves td::before { content: attr(data-th); display: block; font-size: 12px; color: var(--faint); }
  .stage { margin-top: 44px; }
}
.dt-note { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: #2f6b4f14; color: #2f6b4f; font-size: 12.5px; line-height: 1.45; }
.dt-note b { font-weight: 600; }
.mn-days { display: flex; align-items: flex-end; gap: 14px; margin-top: 18px; font-size: 11.5px; color: var(--faint); }
.mn-days > span { flex: none; padding-bottom: 1px; } .mn-days .chart { flex: 1; min-width: 0; height: 34px; }
.mn-col { fill: #00000026; } .mn-col.hot { fill: var(--ink); }
@media (max-width: 620px) { .mn-days { flex-wrap: wrap; justify-content: space-between; } .mn-days .chart { flex: 0 0 100%; order: 2; } }
