/* The homepage (#7516 and on): a team's home in Torch. The hero sits on the site's blue desktop (/site.css) with the Mac
   app's window drawn as the app draws a team home now, in its default Light look (desktop/src/theme/look.ts LIGHT,
   ui/rail.css, ui/corner.css, channels/channels.css); the rest is one sheet of the Warm paper that slides up over the
   desktop, each part beside a pane of the app rebuilt in the same look. Made-up people and work throughout. */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.i { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ the bar: frosted once the hero's asks scroll by */
.home .bar { padding-bottom: 12px; transition: background .25s, box-shadow .25s; }
.home .bar.solid { background: rgb(246 243 236/.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(28 29 26/.08); padding-top: 12px; }
.home .bar.solid .get { background: transparent; border-color: rgb(28 29 26/.16); }
.home .bar.solid .get.get-mac { background: var(--site-ink); color: #fff; border-color: var(--site-ink); }
.bar-go { display: flex; gap: 8px; }

/* ------------------------------------------------------------------ the asks */
.asks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ask { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font: 500 16px/1 var(--site); text-decoration: none; color: var(--site-ink); white-space: nowrap;
  border: 1px solid rgb(255 255 255/.7); background: rgb(251 250 247/.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgb(10 30 80/.12), 0 8px 20px -10px rgb(10 35 100/.35); transition: transform .15s var(--ease-arrive), background .2s, box-shadow .2s; }
.ask svg.i { width: 18px; height: 18px; margin-left: -3px; }
.ask:hover { background: #fff; transform: translateY(-1px); }
.ask:active { transform: none; }
.ask:focus-visible { outline: 2px solid var(--site-ink); outline-offset: 3px; }
.ask-mac { background: var(--site-ink); color: #fbfaf7; border-color: var(--site-ink); }
.ask-mac:hover { background: #2c2d29; }
.ask-send { display: none; font-family: var(--site); }
.fine { margin: 14px 0 0; font: 13px/1.5 var(--site); color: var(--site-dim); }
/* Where Torch is, under the hero's asks: each place, and that it runs in the cloud. */
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; font-size: 14px; }
.places span { display: inline-flex; align-items: center; gap: 6px; }
.places svg.i { width: 16px; height: 16px; stroke-width: 1.75; }
.places em { font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 999px; background: rgb(255 255 255/.5); }
.places span:last-child { padding-left: 18px; border-left: 1px solid rgb(28 29 26/.18); }

/* ------------------------------------------------------------------ the hero */
.hero { position: relative; z-index: 2; padding: calc(max(18px, env(safe-area-inset-top)) + 92px) var(--gutter) 0; text-align: center; }
.hero h1 { max-width: 15em; margin: 0 auto; font: 600 clamp(40px, 5.6vw, 70px)/1.02 var(--site); letter-spacing: -.035em; color: var(--site-ink);
  text-wrap: balance; }
/* The hero's words on the blue are in full ink: anything lighter falls under 4.5:1 on its lighter folds (#7519). */
.lede { max-width: 36em; margin: 22px auto 30px; font: 400 clamp(17px, 1.6vw, 20px)/1.5 var(--site); color: var(--site-ink); text-wrap: pretty; }
.hero .fine { color: var(--site-ink); }
.stage { margin: 44px auto -220px; width: min(1180px, 100%); }

/* ------------------------------------------------------------------ the window, in the app's Light look */
.win { --bg: #fcfcfb; --frame: #f6f6f5; --ink: #1c1d1a; --raised: #fff;
  --t1: rgb(28 29 26/.94); --t2: rgb(28 29 26/.72); --t3: rgb(28 29 26/.6); --t4: rgb(28 29 26/.42);
  --s1: rgb(28 29 26/.24); --s2: rgb(28 29 26/.14); --s3: rgb(28 29 26/.09); --wash: rgb(28 29 26/.06);
  --ember: #e2550b; --ember-ink: #c24a0b; --green: #3fb950;
  position: relative; height: 700px; border-radius: 12px; overflow: hidden; text-align: left; isolation: isolate;
  background: var(--frame); color: var(--t1); font: 14px/1.45 var(--sans); box-shadow: var(--win-shadow); user-select: none; }
.win::before { content: ''; position: absolute; left: 16px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #ff5f57;
  box-shadow: 20px 0 #febc2e, 40px 0 #28c840; }
.app { position: absolute; inset: 40px 0 0; display: flex; }
.grow { flex: 1; }
.win svg.i, .pane svg.i { stroke-width: 1.75; color: var(--t2); }

.rail { flex: none; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 4px; }
.tile { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px;
  font: 650 15px/1 var(--sans); color: #fff; background: #8b8b87; }
.tile svg.i { width: 18px; height: 18px; color: #fff; stroke-width: 2; }
.tile.here { border-radius: 10px; }
/* A home's icon fills its tile, as a home's photo does in the app (ui/rail.css, .rail-photo). */
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.tile.here::before, .tile .unread { content: ''; position: absolute; left: -12px; top: 4px; width: 4px; height: 32px; border-radius: 0 4px 4px 0; background: var(--ink); }
.tile .unread { top: 16px; height: 8px; }
.tile.add { background: transparent; border: 1.5px dashed var(--s1); }
.tile.add svg.i { color: var(--t2); }
.rail-rule { width: 24px; height: 2px; border-radius: 1px; background: var(--s2); }
.rail-me { position: relative; margin-top: auto; margin-bottom: 14px; }
.rail-me canvas { display: block; width: 32px; height: 32px; border-radius: 50%; }
.rail-me .on { position: absolute; right: -1px; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--frame); }

.panes { flex: 1; min-width: 0; display: flex; background: var(--bg); border-top: 1px solid var(--s3); border-left: 1px solid var(--s3); border-top-left-radius: 12px; }
.side { flex: none; width: 240px; padding: 8px 8px 0; border-right: 1px solid var(--s3); overflow: hidden; }
/* The home's banner (ui/corner.css, .corner-home[data-banner]; ui/rail.css, .home-banner): the picture in a rounded box 120px
   tall, under a scrim dark over its lower 60%, with the name and a frosted Invite people over its foot. */
.side-home { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-bottom: 6px; padding: 0 6px 6px 10px;
  border-radius: 10px; overflow: hidden; color: #fff; font-size: 14px; text-shadow: 0 1px 2px rgb(0 0 0/.4); }
.side-home::after, .mini-home::after, .chan-home::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to bottom, transparent 40%, rgb(0 0 0/.55)); box-shadow: inset 0 0 0 1px var(--s2); }
.side-home > :not(.banner) { position: relative; z-index: 1; }
img.banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side-home b { height: 26px; line-height: 26px; font-weight: 600; }
.side-home svg.i { width: 14px; height: 14px; margin-bottom: 6px; color: #fff; opacity: .9; }
.side-home .invite { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgb(255 255 255/.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.side-home .invite svg.i { width: 16px; height: 16px; margin: 0; opacity: 1; }
/* On a phone the window is the channel alone, so the home shows as the app's short strip of its banner, with its icon. */
.chan-home { display: none; }
.side-torch { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 8px 0 6px; }
.side-torch span { display: grid; line-height: 1.2; }
.side-torch b { font-size: 15px; font-weight: 600; }
.side-torch small { font-size: 12px; color: var(--t3); }
canvas.light { display: block; flex: none; width: 18px; height: 18px; image-rendering: pixelated; }
canvas.light[data-box="26"] { width: 26px; height: 26px; }
.row { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 12px; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.row small { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--t3); }
.row.s { gap: 6px; padding-left: 5px; }
.row.s img { width: 16px; height: 16px; border-radius: 4px; margin-right: 3px; }
.row.on { background: var(--wash); }
.row.c svg.i { color: var(--t3); }
.row.p { gap: 8px; }
.row.p canvas { width: 16px; height: 16px; border-radius: 5px; }
.row.off { color: var(--t3); }
.dot { width: 6px; height: 6px; margin: 0 3px; border-radius: 50%; border: 1.25px solid var(--s1); }
.dot.on { background: var(--green); border-color: var(--green); }
.sect { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-top: 10px; padding: 0 10px 0 12px;
  font-size: 13px; font-weight: 500; color: var(--t3); }
.sect svg.i { width: 15px; height: 15px; color: var(--t3); }
.who { height: 24px; padding: 4px 12px 0; font-size: 13px; color: var(--t3); }

.chan { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chan-head { flex: none; display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--s3); white-space: nowrap; }
.chan-head > svg.i:first-child { width: 18px; height: 18px; color: var(--t3); }
.chan-head b { font-size: 15px; font-weight: 600; }
.chan-head svg.dim { width: 14px; height: 14px; color: var(--t3); }
.topic { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--s2); color: var(--t2); overflow: hidden; text-overflow: ellipsis; }
.stack { display: flex; margin-right: 2px; }
.stack canvas { width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 0 2px var(--bg); }
.stack canvas + canvas { margin-left: -4px; }
.count { margin-right: 14px; font-size: 13px; color: var(--t2); }
.chan-head > svg.i:not(:first-child):not(.dim) { width: 18px; height: 18px; margin-left: 10px; }
.chan-scroll { flex: 1; min-height: 0; overflow: hidden; }
.chan-col { padding: 0 8px 4px; }
.day { display: flex; align-items: center; gap: 12px; margin: 14px 12px 2px; font-size: 12px; font-weight: 500; color: var(--t2); }
.day::before, .day::after { content: ''; flex: 1; height: 1px; background: var(--s3); }
.day span { padding: 2px 10px; border: 1px solid var(--s2); border-radius: 999px; }
.m { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin-top: 14px; padding: 2px 12px; border-radius: 12px; }
.m-face { width: 28px; height: 28px; border-radius: 8px; margin-top: 2px; box-shadow: 0 0 0 .5px var(--s2); }
.m-who { display: flex; align-items: baseline; gap: 8px; }
.m-who b { font-size: 14px; font-weight: 600; }
.m-who time { font-size: 12px; color: var(--t3); }
.m p { margin: 1px 0 0; line-height: 1.55; color: var(--t1); }
.m ul { margin: 4px 0 0; padding-left: 18px; line-height: 1.55; }
.m li { margin: 3px 0; }
.m li::marker { color: var(--t3); }
.at { padding: 0 3px; border-radius: 4px; color: var(--ember-ink); background: color-mix(in srgb, var(--ember) 10%, transparent); font-weight: 500; }
.tcard { max-width: 440px; margin-top: 8px; padding: 10px 14px 11px; border: 1px solid var(--s3); border-left: 3px solid var(--s1); border-radius: 8px; background: var(--raised); }
.tc-top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t3); }
.tc-top svg.i { width: 14px; height: 14px; color: var(--t3); }
.tcard > b { display: block; margin: 4px 0 8px; font-size: 15px; font-weight: 600; }
.tc-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t2); }
.tc-meta .col { padding: 2px 8px; border-radius: 6px; background: var(--wash); margin-right: 6px; }
.tc-meta canvas { width: 18px; height: 18px; border-radius: 5px; }
.tc-meta svg.i { width: 13px; height: 13px; color: var(--t3); }
.pri.urgent { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 3px; background: #d13438; color: #fff; font: 700 10px/1 var(--sans); }
.lab::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 6px; border-radius: 50%; background: currentColor; }
.lab { color: var(--t2); }
.lab.bug::before { background: #e5484d; } .lab.feature::before { background: #2f6fdf; } .lab.docs::before { background: #2f9e44; }
.lab.design::before { background: #8e5bd6; } .lab.infra::before { background: #0c8599; } .lab.research::before { background: #d29922; }
.bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }
.bars i { width: 3px; border-radius: 1px; background: var(--s1); }
.bars i:nth-child(1) { height: 5px; } .bars i:nth-child(2) { height: 8px; } .bars i:nth-child(3) { height: 11px; }
.bars.b2 i:nth-child(-n+2) { background: var(--t2); }
.chan-compose { flex: none; padding: 10px 20px 18px; }
.box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--s2); border-radius: 12px;
  background: var(--raised); box-shadow: 0 1px 2px rgb(0 0 0/.04), 0 4px 12px -4px rgb(0 0 0/.06); }
.box svg.i { width: 18px; height: 18px; }
.ph { color: var(--t4); }

/* The channel's last messages and Sam's new session play in once, while the window is on screen (landing/home.js). */
.play [data-step]:not(.shown) { display: none; }
.play [data-step].shown { animation: arrive .42s var(--ease-arrive) both; }
.play .row.new.shown { animation: grow-in .5s var(--ease-arrive) both, lit 3s .3s var(--ease-sine) both; overflow: hidden; }
@keyframes lit { from { background: color-mix(in srgb, var(--ember) 0%, transparent); } 20% { background: color-mix(in srgb, var(--ember) 11%, transparent); } }
@keyframes grow-in { from { height: 0; opacity: 0; } 40% { opacity: 0; } }

/* ------------------------------------------------------------------ the paper */
.paper { position: relative; z-index: 1; padding: 300px var(--gutter) 40px; background: var(--room); border-radius: 32px;
  box-shadow: 0 -1px 0 rgb(255 255 255/.4), 0 -30px 80px -30px rgb(10 35 100/.35); color: var(--site-ink); font-family: var(--site); }
.paper h2 { margin: 0; font: 600 clamp(28px, 3.4vw, 42px)/1.08 var(--site); letter-spacing: -.025em; text-wrap: balance; }
.paper p { font-size: 17px; line-height: 1.6; color: rgb(28 29 26/.72); text-wrap: pretty; }
.intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.intro p { margin: 18px auto 0; font-size: 19px; }
.beta { display: inline-block; vertical-align: .55em; margin-left: 4px; padding: 4px 9px 3px; border-radius: 999px;
  font: 600 11px/1 var(--site); letter-spacing: .06em; text-transform: uppercase; color: #a8420b; background: rgb(226 85 11/.11); }

.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 6vw, 88px);
  max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0; }
.feat + .feat { border-top: 1px solid rgb(28 29 26/.07); }
.feat.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat.flip .words { order: 2; }
.words p { margin: 18px 0 0; }

.pane { --bg: #fcfcfb; --ink: #1c1d1a; --raised: #fff; --t1: rgb(28 29 26/.94); --t2: rgb(28 29 26/.72); --t3: rgb(28 29 26/.6); --t4: rgb(28 29 26/.42);
  --s1: rgb(28 29 26/.24); --s2: rgb(28 29 26/.14); --s3: rgb(28 29 26/.09); --wash: rgb(28 29 26/.06); --ember: #e2550b; --ember-ink: #c24a0b; --green: #3fb950;
  position: relative; overflow: hidden; border-radius: 14px; background: var(--bg); color: var(--t1); font: 14px/1.45 var(--sans); user-select: none;
  box-shadow: 0 0 0 1px rgb(28 29 26/.07), 0 2px 4px rgb(28 29 26/.04), 0 24px 48px -24px rgb(28 29 26/.28); }
.pane p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--t1); }

.agents { max-width: 420px; justify-self: center; width: 100%; padding: 10px 10px 12px; }
.agents .sect { margin-top: 2px; }
.arow { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 12px; border-radius: 10px; }
.arow img, .arow .plus { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 .5px var(--s2); }
.arow b { font-weight: 500; font-size: 15px; }
.arow small { margin-left: auto; font-size: 13px; color: var(--t3); }
.arow:nth-child(2) { background: var(--wash); }
.arow .plus { display: grid; place-items: center; box-shadow: none; border: 1.5px dashed var(--s1); }
.arow.add b { color: var(--t2); }

.session { display: flex; min-height: 340px; }
.ses-side { flex: none; width: 210px; padding: 8px; border-right: 1px solid var(--s3); background: var(--bg); }
.ses-side .sect { margin-top: 4px; }
.ses-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ses-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--s3); }
.ses-head img { width: 24px; height: 24px; border-radius: 6px; }
.ses-head span { display: grid; min-width: 0; line-height: 1.3; }
.ses-head small { font-size: 12px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ses-col, .chat-col { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 22px; }
.bub { align-self: flex-end; max-width: 85%; padding: 9px 14px; border-radius: 16px; background: #f2f2f2; line-height: 1.5; }
.working { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--t3); }

.chat { max-width: 560px; width: 100%; justify-self: center; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--s3); }
.chat-head canvas { width: 20px; height: 20px; border-radius: 6px; }
.chat-head small { margin-left: 4px; font-size: 12px; color: var(--t3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 6px; border: 1px solid var(--s2); border-radius: 999px;
  background: var(--raised); font-size: 13px; color: var(--t2); white-space: nowrap; }
.chip img { width: 18px; height: 18px; border-radius: 5px; }
.chip b { font-weight: 600; color: var(--t1); }
.chip em { font-style: normal; color: var(--t3); }
.chip svg.ok { width: 14px; height: 14px; color: #2f9e44; stroke-width: 2.25; }

.mini { padding: 4px 8px 20px; }
.mini .m { margin-top: 16px; }

.board { padding-bottom: 14px; }
.board-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--s3); }
.board-head b { font-size: 15px; font-weight: 600; }
.board-head small { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--s2); color: var(--t2); font-size: 13px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcol { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px 0; }
.bcol + .bcol { border-left: 1px solid var(--s3); }
.bcol-h { padding: 0 4px 2px; font-size: 13px; font-weight: 600; }
.bcol-h i { font-style: normal; font-weight: 400; color: var(--t3); margin-left: 3px; }
.card { padding: 10px 12px; border: 1px solid var(--s2); border-radius: 8px; background: var(--raised); }
.card > b { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.card .tc-meta { flex-wrap: wrap; gap: 4px; color: var(--t3); white-space: nowrap; }
.card .lab { color: var(--t2); }
.card.done > b { color: var(--t2); }

.memory { max-width: 560px; width: 100%; justify-self: center; }
.mem-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--s3); }
.mem-head b { font-weight: 600; font-size: 15px; }
.mem-head small { color: var(--t3); font-size: 13px; }
.mem-body { padding: 6px 22px 22px; }
.mem-body h4 { margin: 16px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--t3); }
.mem-body p { position: relative; padding: 5px 0 5px 16px; }
.mem-body p::before { content: ''; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 1px; background: #f1a960; }

/* ------------------------------------------------------------------ the cloud: one session on a Mac, in a browser and on an iPhone */
.cloud { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid rgb(28 29 26/.07); }
.cloud-words { max-width: 720px; margin: 0 auto; text-align: center; }
.cloud-words p { margin: 18px 0 0; font-size: 19px; }
/* The three screens on a piece of the hero's blue desktop, under the one session they all show. */
.devices { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 220px; align-items: end; gap: 22px; margin-top: 48px;
  padding: 28px clamp(16px, 3vw, 40px) 26px; border-radius: 28px; background: var(--wallpaper); }
.running { grid-column: 1 / -1; justify-self: center; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: rgb(251 250 247/.9); box-shadow: 0 1px 2px rgb(10 30 80/.12), 0 8px 20px -10px rgb(10 35 100/.35);
  font: 14px/1 var(--site); color: rgb(28 29 26/.72); }
.running b { font-weight: 600; color: var(--site-ink); }
.dev figcaption { color: var(--site-ink); }
.dev { margin: 0; min-width: 0; }
.dev figcaption { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font: 500 15px/1 var(--site); }
.dev figcaption svg.i { width: 17px; height: 17px; stroke-width: 1.75; }
.dev figcaption em { margin-left: 2px; padding: 3px 8px; border-radius: 999px; background: rgb(251 250 247/.75); font: 500 11px/1 var(--site); font-style: normal; }
.dev-win { --bg: #fcfcfb; --ink: #1c1d1a; --raised: #fff; --t1: rgb(28 29 26/.94); --t2: rgb(28 29 26/.72); --t3: rgb(28 29 26/.6); --t4: rgb(28 29 26/.42);
  --s1: rgb(28 29 26/.24); --s2: rgb(28 29 26/.14); --s3: rgb(28 29 26/.09); --wash: rgb(28 29 26/.06); --ember: #e2550b; --green: #3fb950;
  position: relative; overflow: hidden; background: var(--bg); color: var(--t1); font: 13px/1.45 var(--sans); user-select: none; text-align: left;
  box-shadow: 0 0 0 1px rgb(28 29 26/.08), 0 2px 4px rgb(28 29 26/.04), 0 24px 48px -24px rgb(28 29 26/.32); }
.dev-win svg.i { stroke-width: 1.75; color: var(--t2); }
.dev .ses-col { gap: 11px; padding: 14px 16px 16px; }
.dev .ses-col p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--t1); }
.dev .bub { max-width: 90%; padding: 7px 12px; }
.dev .ses-head { padding: 10px 14px; }
.dev .ses-head img { width: 20px; height: 20px; }
.d-mac .dev-win { display: flex; height: 350px; padding-top: 30px; border-radius: 12px; background: #f6f6f5; }
.d-mac .dev-win::before { content: ''; position: absolute; left: 12px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57;
  box-shadow: 16px 0 #febc2e, 32px 0 #28c840; }
.mini-side { flex: none; width: 190px; padding: 0 6px; }
.mini-side .sect { margin-top: 4px; }
.mini-side .row { height: 28px; font-size: 13px; }
.mini-home { position: relative; display: flex; align-items: flex-end; height: 56px; padding: 0 8px 6px; border-radius: 9px; overflow: hidden; color: #fff;
  font-weight: 600; text-shadow: 0 1px 2px rgb(0 0 0/.4); }
.mini-home b { position: relative; z-index: 1; }
.d-mac .ses-main { background: var(--bg); border-top: 1px solid var(--s3); border-left: 1px solid var(--s3); border-top-left-radius: 10px; }
.d-web .dev-win { height: 350px; border-radius: 10px; background: #f6f6f5; }
.tabs { display: flex; height: 34px; padding: 6px 10px 0; background: #e9e9e7; }
.tab { display: flex; align-items: center; gap: 7px; max-width: 220px; padding: 0 14px; border-radius: 8px 8px 0 0; background: #f6f6f5; font-size: 12px;
  color: var(--t2); white-space: nowrap; overflow: hidden; }
.tab img { width: 14px; height: 14px; }
.url { display: flex; align-items: center; gap: 6px; height: 28px; margin: 6px 10px; padding: 0 12px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px var(--s3); font-size: 12px; color: var(--t2); }
.url svg.i { width: 12px; height: 12px; }
.d-web .ses-main { height: calc(100% - 74px); background: var(--bg); border-top: 1px solid var(--s3); }
.d-phone .dev-win { display: flex; flex-direction: column; height: 440px; border-radius: 36px; border: 7px solid #1c1d1a;
  box-shadow: 0 0 0 1px rgb(28 29 26/.3), 0 30px 60px -24px rgb(28 29 26/.45); }
.status { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 22px 0 26px; font-size: 13px; }
.island { width: 70px; height: 20px; border-radius: 999px; background: #1c1d1a; }
.status i { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid var(--t2); }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px; border-bottom: 1px solid var(--s3); }
.ph-head svg.i { width: 18px; height: 18px; flex: none; }
.ph-head img { width: 20px; height: 20px; border-radius: 6px; }
.ph-head span { display: grid; min-width: 0; line-height: 1.25; }
.ph-head small { font-size: 11px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-phone .ses-col { flex: 1; padding: 12px 12px; }
.d-phone .ses-col p { font-size: 12.5px; }
.d-phone .bub { font-size: 12.5px; }
.ph-compose { display: flex; align-items: center; justify-content: space-between; height: 36px; margin: 0 10px 14px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--s2); font-size: 12px; color: var(--t4); }
.ph-compose svg.i { width: 15px; height: 15px; }
.cloud-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.cloud-points li { position: relative; padding: 22px 24px 22px 62px; border-radius: 14px; background: rgb(255 255 255/.55); box-shadow: 0 0 0 1px rgb(28 29 26/.06);
  font-size: 16px; line-height: 1.55; color: rgb(28 29 26/.72); }
.cloud-points li b { display: block; margin-bottom: 4px; font-weight: 600; font-size: 17px; color: var(--site-ink); }
.cloud-points li svg.i { position: absolute; left: 24px; top: 25px; width: 22px; height: 22px; color: #c24a0b; stroke-width: 1.75; }

/* ------------------------------------------------------------------ the wall, where and start */
.wall, .where { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid rgb(28 29 26/.07); }
.start { padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(72px, 10vw, 120px); color: var(--site-ink); font-family: var(--site); text-align: center; }
.start h2 { margin: 0; font: 600 clamp(32px, 4.4vw, 54px)/1.05 var(--site); letter-spacing: -.03em; }
.wall h2, .where h2, .start h2, .cloud h2 { text-align: center; }
.sub { margin: 14px auto 0; text-align: center; }
.wall ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; }
.wall li { position: relative; padding: 22px 24px 22px 66px; border-radius: 14px; background: rgb(255 255 255/.55); box-shadow: 0 0 0 1px rgb(28 29 26/.06);
  font-size: 16px; line-height: 1.55; color: rgb(28 29 26/.72); }
.wall li b { display: block; margin-bottom: 4px; font-weight: 600; font-size: 17px; color: var(--site-ink); }
.wall li a { color: inherit; text-decoration: underline; text-decoration-color: rgb(28 29 26/.3); text-underline-offset: 3px; }
.wall li svg.i, .card-w > svg.i { position: absolute; left: 24px; top: 25px; width: 22px; height: 22px; color: #c24a0b; stroke-width: 1.75; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.card-w { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 70px 26px 26px; border-radius: 16px;
  background: rgb(255 255 255/.6); box-shadow: 0 0 0 1px rgb(28 29 26/.06); }
.card-w > svg.i { left: 26px; top: 28px; width: 26px; height: 26px; color: var(--site-ink); }
.card-w h3 { margin: 0; font: 600 21px/1.2 var(--site); letter-spacing: -.01em; }
.card-w p { flex: 1; margin: 10px 0 22px; font-size: 16px; }
.card-w .ask { height: 42px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.card-w .ask-web { border-color: rgb(28 29 26/.16); background: transparent; }
.card-w .ask-web:hover { background: rgb(28 29 26/.04); }
.ask-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card-w .ask-off { cursor: default; color: rgb(28 29 26/.55); background: transparent; border: 1px solid rgb(28 29 26/.16); }
.card-w .ask-off:hover { transform: none; background: transparent; }
.soon { padding: 4px 10px; border-radius: 999px; font: 600 11px/1 var(--site); letter-spacing: .06em; text-transform: uppercase; color: #a8420b; background: rgb(226 85 11/.11); }
.start ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 40px auto 40px; padding: 0; list-style: none; counter-reset: step; }
.start li { counter-increment: step; font-size: 16px; line-height: 1.5; color: rgb(28 29 26/.72); }
.start li { padding: 22px 22px 24px; border-radius: 16px; background: rgb(251 250 247/.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgb(10 30 80/.1), 0 12px 30px -14px rgb(10 35 100/.4); text-align: left; }
.start li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 9px;
  background: #fff; box-shadow: 0 0 0 1px rgb(28 29 26/.1); font-weight: 600; color: #c24a0b; }
.start li b { color: var(--site-ink); font-weight: 600; }
/* The wallpaper is deepest at the foot of the screen, where this rests: only black keeps 4.5:1 there at every width (#7519). */
.start .fine { max-width: 40em; margin: 22px auto 0; color: #000; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 20; translate: -50% 12px; padding: 10px 16px; border-radius: 999px;
  background: var(--site-ink); color: #fff; font: 500 14px/1 var(--site); opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.toast.on { opacity: 1; translate: -50% 0; }

/* ------------------------------------------------------------------ narrower */
@media (max-width: 1100px) {
  .side { width: 216px; }
  .topic { display: none; }
  .devices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px; }
  .mini-side { display: none; }
  .d-mac .ses-main { border-left: 0; border-top-left-radius: 0; }
}
@media (max-width: 900px) {
  .feat, .feat.flip { grid-template-columns: minmax(0, 1fr); }
  .feat.flip .words { order: 0; }
  .words { max-width: 620px; }
  .pane { max-width: 620px; width: 100%; justify-self: start; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .devices { grid-template-columns: minmax(0, 1fr) 200px; }
  .d-mac { grid-column: 1 / -1; }
  .d-mac .dev-win { height: 260px; }
  .d-web .dev-win { height: 300px; }
  .mini-side { display: block; }
  .d-mac .ses-main { border-left: 1px solid var(--s3); border-top-left-radius: 10px; }
  .cloud-points { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-left: auto; margin-right: auto; }
}

/* A phone: the web app is its Torch, and the Mac link goes to a Mac by the share sheet or a copy. */
@media (max-width: 640px) {
  /* Only once the page can send the Mac link on (landing/home.js shows the button); without it, the download stays. */
  .home .bar .get-mac, :is(.asks, .card-w):has(.ask-send:not([hidden])) .ask-mac { display: none; }
  .ask-send:not([hidden]) { display: inline-flex; }
  .hero { padding-top: calc(max(18px, env(safe-area-inset-top)) + 84px); }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); letter-spacing: -.03em; }
  .lede { margin: 18px auto 28px; font-size: 17px; }
  .asks { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .ask { justify-content: center; }
  .ask-web, .card-w .ask-web { background: var(--site-ink); color: #fbfaf7; border-color: var(--site-ink); }
  .card-w .ask-web:hover { background: #2c2d29; }
  .places { gap: 6px 14px; font-size: 13px; }
  .places span:last-child { flex-basis: 100%; justify-content: center; padding-left: 0; border-left: 0; }
  .stage { margin: 40px auto -160px; }
  .win { height: 560px; border-radius: 14px; }
  .win::before { display: none; }
  .app { inset: 0; }
  .side, .rail { display: none; }
  .panes { border-left: 0; border-top-left-radius: 0; }
  .chan-home { position: relative; flex: none; display: flex; align-items: center; gap: 8px; height: 48px; margin: 8px 8px 0; padding: 0 12px 0 8px;
    border-radius: 10px; overflow: hidden; color: #fff; font-size: 15px; text-shadow: 0 1px 2px rgb(0 0 0/.4); }
  .chan-home::after { background: rgb(0 0 0/.3); }
  .chan-home > :not(.banner) { position: relative; z-index: 1; }
  .chan-home .icon { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1.5px rgb(255 255 255/.5); }
  .chan-home svg.i { width: 14px; height: 14px; color: #fff; }
  .chan-head { padding: 0 12px 0 14px; }
  .stack, .count, .chan-head > svg.i:last-child { display: none; }
  .chan-col { padding: 0 2px 4px; }
  .m { gap: 10px; padding: 2px 10px; }
  .tcard { padding: 9px 11px 10px; }
  .chan-compose { padding: 8px 12px 12px; }
  .paper { padding-top: 220px; border-radius: 24px; }
  .intro p { font-size: 17px; }
  .session { min-height: 0; }
  .ses-side { display: none; }
  .ses-head small { white-space: normal; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcol:last-child { display: none; }
  .wall ul, .start ol { grid-template-columns: minmax(0, 1fr); }
  .wall li { padding: 20px 20px 20px 58px; }
  .wall li svg.i { left: 20px; top: 23px; }
  .card-w .ask-send { height: 42px; padding: 0 18px; font-size: 15px; box-shadow: none; border-color: rgb(28 29 26/.16); background: transparent; }
  .chip { font-size: 12.5px; }
  .cloud-words p { font-size: 17px; }
  .devices { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mini-side { display: none; }
  .d-mac .ses-main { border-left: 0; border-top-left-radius: 0; }
  .d-mac .dev-win, .d-web .dev-win { height: auto; }
  .d-web .ses-main { height: auto; }
  .d-phone { justify-self: center; width: 250px; }
  .d-phone .dev-win { height: 400px; }
  .running { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (max-width: 380px) {
  .bar-go .get-web { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ask, .home .bar, .toast { transition: none; }
}
