/* Postreed home page: one water column. Sky above the waterline, then water that darkens all the way
   down. Page text sits on teal; the app's own panes stay white. Sub-pages use style.css. */
:root {
  --teal: #003F47;
  --deep: #002F36;
  --bed: #001A1F;
  --teal-up: #0A5560;
  --on-teal: #F1F7F7;
  --on-teal-2: #B5D0D2;
  --rule: rgba(241, 247, 247, 0.16);
  --tint: #E8F1F1;
  --gold: #C9A24B;
  --gold-up: #D8B565;
  --accent: #003F47;
  --bg: #FFFFFF;
  --text: #1D1D1F;
  --text-2: #48484A;
  --text-3: #636366;
  --line: #DCE5E5;
  --pane: #FFFFFF;
  --pane-2: #F3F6F6;
  --pane-sel: #E8F1F1;
  --shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7), 0 12px 28px -14px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 24px 48px -28px rgba(0, 0, 0, 0.6), 0 4px 12px -6px rgba(0, 0, 0, 0.3);
  --serif: "Newsreader", "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bed); scrollbar-color: #5E8C8F var(--bed); scroll-padding-top: 88px; scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--on-teal); font: 17px/1.6 var(--sans); }
::selection { background: var(--gold); color: #002A30; }
h1, h2, h3, p, ul, ol, dl, dd, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--on-teal); text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.win :focus-visible, .pane :focus-visible { outline-color: var(--accent); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #002A30; padding: 10px 14px; border-radius: 8px; font-weight: 600; z-index: 20; }
.skip:focus { top: 12px; }

/* header: stays with the reader */
.top { position: sticky; top: 0; z-index: 10; background: var(--teal); color: var(--on-teal); box-shadow: 0 1px 0 rgba(241, 247, 247, 0.12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-teal); text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.brand span { font: 500 26px/1 var(--serif); letter-spacing: -0.01em; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--on-teal-2); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--on-teal); }
.top .nav-cta { background: var(--gold); color: #002A30; font-weight: 600; padding: 8px 16px; border-radius: 6px; transition: background-color 0.2s; }
.top .nav-cta:hover { background: var(--gold-up); color: #002A30; }
.top { background: rgba(0, 63, 71, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* the surface: sky, the waterline, reeds */
.column { position: relative; overflow: hidden; overflow: clip; background: linear-gradient(var(--deep), #00262C 45%, var(--bed)); }
.surface { --wl: 60%; position: relative; height: calc(100vh - 68px); height: calc(100svh - 68px); min-height: 620px; max-height: 1000px; }
.sky { position: absolute; inset: 0 0 calc(100% - var(--wl)) 0; background: var(--teal); box-shadow: 0 1px 0 rgba(201, 162, 75, 0.8); }
.reeds { position: absolute; right: max(3vw, calc(50% - 640px)); top: calc(var(--wl) - 60%); height: 100%; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.reeds .leaf { fill: var(--gold); stroke: none; }
.reeds text { font: 600 15px var(--sans); letter-spacing: 0.04em; fill: var(--on-teal-2); stroke: none; }
.reeds .base { stroke: none; }
.reed { animation: sway 7s ease-in-out infinite alternate; }
.reeds > g:nth-of-type(2) .reed { animation-duration: 9s; animation-delay: -3s; }
.reeds > g:nth-of-type(3) .reed { animation-duration: 8s; animation-delay: -5s; }
.reeds > g:nth-of-type(4) .reed { animation-duration: 10s; animation-delay: -1s; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2.2deg); } }
.surface .wrap { position: relative; height: 100%; z-index: 2; }
h1 { font: 500 clamp(2.9rem, 11.4vw, 11.5rem)/0.8 var(--serif); }
h1 { font: 500 clamp(2.9rem, min(11.4vw, 20svh), 11.5rem)/0.8 var(--serif); letter-spacing: -0.045em; }
h1 span, h1 em { position: absolute; left: 28px; white-space: nowrap; }
h1 span { bottom: calc(100% - var(--wl)); padding-bottom: 0.06em; }
h1 em { top: var(--wl); line-height: 0.92; font-weight: 400; color: var(--gold); filter: url(#ripple); }
.hero-foot { position: absolute; left: 28px; right: 28px; bottom: clamp(20px, 5svh, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.lede { font-size: 18px; line-height: 1.5; color: var(--on-teal-2); max-width: 25em; }
.hero-foot .actions { margin-top: 0; }
.hero-foot .meta { text-align: right; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 7px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color 0.2s, box-shadow 0.2s, transform 0.3s var(--ease); }
.btn.gold { background: var(--gold); color: #002A30; }
.btn.gold:hover { background: var(--gold-up); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.6); }
.btn.line { color: var(--on-teal); box-shadow: inset 0 0 0 1.5px rgba(241, 247, 247, 0.55); }
.btn.line:hover { background: rgba(241, 247, 247, 0.1); box-shadow: inset 0 0 0 1.5px var(--on-teal); }
.btn:active { transform: none; }
.meta { font-size: 13.5px; color: var(--on-teal-2); margin-top: 16px; }

/* the stems carry on below the waterline, join, and run down the page as one line */
.roots { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; fill: none; stroke: var(--gold); stroke-linecap: round; }
.roots .root { stroke-width: 1.5; opacity: 0.55; }
.roots .spine { stroke-width: 2; }
.water, .bed { position: relative; z-index: 2; }
.depth { padding: 144px 0 0; }
.depth.first { padding-top: clamp(200px, 30vh, 300px); }
.surface .btn.line { background: var(--deep); }
.surface .btn.line:hover { background: var(--teal); }
.depth .wrap, .bed .wrap { --node: 39px; --node-y: 26px; --ring: 22px; position: relative; padding-left: 96px; }
.depth .wrap::before { content: ""; position: absolute; left: calc(var(--node) - var(--ring) / 2); top: calc(var(--node-y) - var(--ring) / 2); width: var(--ring); height: var(--ring); border-radius: 50%; border: 3px solid var(--gold); background: #00292F; transition: background-color 0.6s 0.4s; }
.depth .wrap:not(.wait)::before { background: var(--gold); }
.intro > h2, .two > h2, .two > div > h2, .depth .wrap > h2, .bed h2 { font: 500 clamp(2.2rem, 4.6vw, 3.9rem)/1.04 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.depth h2 em { display: block; font-weight: 400; color: var(--gold); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px 80px; align-items: center; }
.two.flip > :first-child { order: 2; }
.body { font-size: 19px; line-height: 1.55; color: var(--on-teal-2); margin-top: 20px; max-width: 30em; }
.body.small { font-size: 15px; }
.rv { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.wait { opacity: 0; transform: translateY(22px); }
.intro { margin-bottom: 52px; }
.intro .body { max-width: 34em; }

/* the app window */
.win { display: grid; grid-template-columns: 212px minmax(0, 340px) minmax(0, 1fr); min-height: 620px; background: var(--pane); color: var(--text); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); font-size: 14px; line-height: 1.4; }
.side { background: var(--pane-2); padding: 16px 12px; border-right: 1px solid var(--line); overflow: hidden; }
.lights { display: flex; gap: 8px; padding: 2px 4px 18px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.approve { background: var(--pane-sel); border-radius: 6px; padding: 10px 12px; font-size: 12.5px; color: var(--text-2); margin-bottom: 18px; }
.approve b { display: block; color: var(--accent); font-weight: 600; font-size: 13px; }
.side-h { font: 600 12px/1 var(--sans); color: var(--text-3); padding: 0 8px 8px; }
.accts button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; font-size: 14px; }
.accts button:hover { background: var(--pane-sel); }
.accts button[aria-pressed="true"] { background: #003F47; color: var(--on-teal); font-weight: 600; }
.accts span { font-size: 12px; font-weight: 600; min-width: 20px; text-align: center; padding: 1px 6px; border-radius: 6px; background: var(--pane-sel); color: var(--accent); }
.accts [aria-pressed="true"] span { background: rgba(241, 247, 247, 0.2); color: var(--on-teal); }
.side-nav { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-2); }
.side-nav li { padding: 7px 10px; }

.list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.list-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.list-title { font: 700 19px/1.2 var(--sans); margin-bottom: 12px; }
.chips, .views { display: flex; gap: 6px; }
.chips button, .views button { min-height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 13px; font-weight: 500; }
.chips button:hover, .views button:hover { border-color: var(--text-3); }
.chips button[aria-pressed="true"], .views button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.rows { padding: 6px; }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; }
.row:hover { background: var(--pane-2); }
.row[aria-current="true"] { background: var(--pane-sel); }
.av { grid-row: 1 / 4; width: 34px; height: 34px; border-radius: 50%; background: var(--pane-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.from { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row time { font-size: 12.5px; color: var(--text-3); }
.subj, .prev, .acct { grid-column: 2 / 4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prev { color: var(--text-2); font-size: 13px; }
.acct { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.row.unread .from { font-weight: 700; }
.row.unread .from::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.row.unread time { color: var(--text); font-weight: 600; }
.row.starred .subj::after { content: ""; display: inline-block; width: 13px; height: 13px; margin-left: 6px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9A24B' d='M12 2.6l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.5l-5.9 3.1 1.2-6.5L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.none { padding: 28px 18px; color: var(--text-3); }
.win[data-acct="Personal"] .row:not([data-acct="Personal"]),
.win[data-acct="Work"] .row:not([data-acct="Work"]),
.win[data-acct="Studio"] .row:not([data-acct="Studio"]),
.win[data-filter="unread"] .row:not(.unread),
.win[data-filter="starred"] .row:not(.starred) { display: none; }
.win[data-acct="Club"] .row { display: none; }

.reader { padding: 0 32px 28px; }
.tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--pane); padding: 14px 0 12px; border-bottom: 1px solid var(--line); z-index: 1; }
.sum-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px 0 11px; border-radius: 17px; border: 1px solid var(--line); background: var(--pane); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent); transition: background-color 0.2s; }
.sum-btn svg { width: 16px; height: 16px; }
.sum-btn:hover, .sum-btn[aria-expanded="true"] { background: var(--pane-sel); }
.sum-btn.busy svg { animation: turn 0.9s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.msg h3 { font: 700 23px/1.25 var(--sans); letter-spacing: -0.01em; margin: 22px 0 4px; }
.msg p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; max-width: 62ch; }
.msg .who { color: var(--text-3); font-size: 13px; margin-bottom: 16px; }
.msg .sum { background: var(--pane-sel); border-radius: 6px; padding: 13px 16px; margin-bottom: 16px; }
.msg .sum b { display: block; color: var(--accent); font-size: 13px; margin-bottom: 2px; }
.turn { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.turn .by { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.turn .by b { color: var(--text); font-weight: 600; font-size: 14px; }
.turn.old { padding-bottom: 12px; }
.turn.old .by { margin-bottom: 2px; }
.turn.old p:not(.by) { margin: 0; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat .turn { border: 0; padding: 4px 0 6px; display: grid; justify-items: start; }
.chat .turn .by { justify-content: flex-start; margin-bottom: 4px; }
.chat .turn > p:not(.by) { background: var(--pane-2); border-radius: 17px; padding: 9px 15px; margin: 0 0 4px; max-width: 80%; white-space: normal; color: var(--text); }
.chat .turn.me { justify-items: end; }
.chat .turn.me > p:not(.by) { background: #003F47; color: var(--on-teal); }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.files li { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px 8px 8px; font-weight: 600; font-size: 13.5px; }
.files b { grid-row: 1 / 3; background: var(--pane-2); border-radius: 6px; padding: 9px 7px; font-size: 10.5px; color: var(--text-2); }
.files span { font-weight: 400; font-size: 12px; color: var(--text-3); }
.codechip { display: inline-flex; align-items: center; gap: 12px; background: var(--pane-sel); border-radius: 6px; padding: 8px 8px 8px 16px; font-size: 13.5px; color: var(--text-2); }
.codechip b { font-size: 20px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--text); }
.codechip button { min-height: 34px; min-width: 76px; padding: 0 14px; border: 0; border-radius: 6px; background: #003F47; color: var(--on-teal); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.codechip button:hover { background: var(--teal-up); }
/* a ticket: a stub with the time, a perforation with a notch at each end, then the details */
.ticket { --tear: 128px; display: grid; grid-template-columns: calc(var(--tear) - 18px) minmax(0, 1fr); column-gap: 18px; align-content: center; min-height: 84px; border-radius: 6px; padding: 14px 18px; margin-bottom: 12px; max-width: 420px; background: var(--pane-sel);
  -webkit-mask: radial-gradient(circle 8px at var(--tear) 0, #0000 97%, #000), radial-gradient(circle 8px at var(--tear) 100%, #0000 97%, #000); -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 8px at var(--tear) 0, #0000 97%, #000), radial-gradient(circle 8px at var(--tear) 100%, #0000 97%, #000); mask-composite: intersect; }
.ticket b { grid-row: 1 / 3; align-self: stretch; display: grid; align-content: center; padding-right: 12px; border-right: 1.5px dashed rgba(0, 63, 71, 0.35); font: 500 20px/1.15 var(--serif); letter-spacing: -0.01em; color: var(--accent); }
.ticket span { color: var(--text-2); font-size: 13.5px; }
.ticket span { align-self: end; }
.ticket em { align-self: start; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-top: 3px; }
.stage-note { font-size: 14px; color: var(--on-teal-2); margin-top: 18px; max-width: 76ch; }
.works { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule); font: 400 clamp(1.15rem, 2vw, 1.5rem)/1.4 var(--serif); }
.works .star { color: var(--gold); text-decoration: none; padding: 0 2px; }
.works-note { font-size: 14px; color: var(--on-teal-2); margin-top: 12px; max-width: 60ch; }
.works span { font: 600 13px/1 var(--sans); color: var(--on-teal-2); margin-right: 14px; vertical-align: 3px; }
.works i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 10px; vertical-align: 5px; }

/* panes: pieces of the app, floating */
.pane { background: var(--pane); color: var(--text); border-radius: 8px; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); padding: 22px 24px; font-size: 15px; line-height: 1.5; }
.pane-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.pane-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.mini-btn { min-height: 36px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--pane); font-weight: 600; font-size: 14px; cursor: pointer; }
.mini-btn:hover { border-color: var(--text-3); }
.mini-btn.solid { background: #003F47; color: var(--on-teal); border-color: #003F47; }
.mini-btn.solid:hover { background: var(--teal-up); }
.prompt { background: var(--pane-2); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; color: var(--text-2); }
.out { margin-top: 18px; }
.out p { margin-bottom: 10px; }
.out .caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--accent); margin-left: 2px; vertical-align: -3px; animation: blink 0.9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lifted { display: grid; gap: 18px; justify-items: start; }
.lifted .codechip { box-shadow: 0 0 0 1px var(--line), var(--shadow-2); background: var(--pane); padding: 12px 12px 12px 20px; }
.tickets { width: 100%; }
.tickets .ticket { max-width: none; }
.tickets .ticket:last-child { margin-bottom: 0; }
.flow dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; }
.flow dt { font-weight: 600; color: var(--text-3); font-size: 13.5px; padding-top: 2px; }
.state { font-weight: 600; font-size: 12.5px; padding: 4px 10px; border-radius: 6px; background: var(--pane-sel); color: var(--accent); }
.flow[data-state="on"] .state { background: #003F47; color: var(--on-teal); }
.flow[data-state="off"] .state { background: var(--pane-2); color: var(--text-3); }
.lifted > * { animation: bob 7s ease-in-out infinite alternate; }
.lifted > :last-child { animation-duration: 9s; animation-delay: -4s; }
@keyframes bob { from { transform: translateY(7px); } to { transform: translateY(-7px); } }

.kit { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.kit > li { grid-column: span 2; display: flex; flex-direction: column; background: rgba(241, 247, 247, 0.06); box-shadow: inset 0 0 0 1px var(--rule); border-radius: 10px; padding: 26px 26px 24px; }
.kit > li.wide { grid-column: span 3; }
.kit h3 { font: 500 24px/1.2 var(--serif); letter-spacing: -0.01em; }
.kit li > p:first-of-type { color: var(--on-teal-2); font-size: 15.5px; margin: 6px 0 22px; max-width: 34em; }
.kit li > :last-child { margin-top: auto; }
.menubar, .bounce, .bubbles p, .imgrow, .phone, .qr { color: var(--text); }
.menubar { background: var(--pane); border-radius: 6px; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; overflow: hidden; }
.menubar p { display: flex; justify-content: flex-end; align-items: center; gap: 5px; padding: 6px 14px; background: var(--pane-2); border-bottom: 1px solid var(--line); font-weight: 600; }
.menubar svg { width: 17px; height: 17px; color: var(--accent); }
.menubar li { padding: 9px 14px; border-top: 1px solid var(--line); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menubar li:first-child { border-top: 0; }
.menubar li b { color: var(--text); font-weight: 600; margin-right: 8px; }
.calls { background: #002A30; color: #B5D0D2; border-radius: 6px; padding: 16px 18px; font: 13px/1.7 var(--mono); white-space: pre-wrap; }
.calls b { color: #F1F7F7; font-weight: 600; }
.bounce { display: grid; gap: 1px; background: var(--pane); border-radius: 6px; box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; font-size: 13.5px; color: var(--text-2); }
.bounce b { color: #B3261E; }
.bounce span { color: var(--accent); font-weight: 600; margin-top: 6px; }
.bubbles { display: grid; gap: 6px; font-size: 13.5px; }
.bubbles p { justify-self: start; background: var(--pane); border-radius: 16px; padding: 8px 14px; max-width: 88%; }
.bubbles .me { justify-self: end; background: #003F47; color: var(--on-teal); }
.imgrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; background: var(--pane); border-radius: 6px; box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; font-size: 13.5px; color: var(--text-2); }
.imgrow b { color: var(--accent); font-weight: 600; }
.calls { box-shadow: inset 0 0 0 1px var(--rule); }

#privacy .two { align-items: start; }
/* the route mail takes: provider and device joined by one line, our servers set apart from it */
.route { margin: 36px 0 28px; max-width: 31em; }
.route-cap { font-weight: 600; font-size: 13.5px; color: var(--on-teal-2); margin-bottom: 12px; }
.route-main { display: flex; align-items: center; }
.end { flex: none; padding: 8px 14px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--gold); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.run { position: relative; flex: 1; min-width: 28px; height: 2px; background: var(--gold); }
.run i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--on-teal); animation: travel 3.2s linear infinite; }
@keyframes travel { from { left: 0; } to { left: 100%; } }
.route-off { width: max-content; max-width: 100%; margin: 16px auto 0; padding: 7px 14px; border-radius: 6px; border: 1.5px dashed rgba(181, 208, 210, 0.6); font-size: 13.5px; color: var(--on-teal-2); }
.route-off b { color: var(--on-teal); font-weight: 600; }
.settings li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.settings li:first-child { border-top: 0; padding-top: 0; }
.settings li span { display: grid; color: var(--text-3); font-size: 13.5px; }
.settings li b { color: var(--text); font-size: 15px; font-weight: 600; }
.settings em { font-style: normal; }
.sw { flex: none; position: relative; width: 46px; height: 28px; border-radius: 14px; border: 0; background: #98A6A8; cursor: pointer; transition: background-color 0.25s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.sw.on { background: var(--accent); }
.sw.on::after { transform: translateX(18px); }
.sw.lock { opacity: 0.5; cursor: default; }

.steps { counter-reset: s; margin-top: 30px; max-width: 31em; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; color: var(--on-teal-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 500 19px/1 var(--serif); color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
.steps b { color: var(--on-teal); font-weight: 600; }
.pair { display: flex; align-items: center; justify-content: center; gap: 28px; }
.qr { display: grid; gap: 10px; justify-items: center; background: var(--pane); border-radius: 8px; padding: 18px 18px 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); font-size: 12.5px; color: var(--text-3); }
.qr svg { width: 124px; height: 124px; fill: var(--accent); }
.phone { flex: none; width: min(100%, 320px); background: var(--pane); border-radius: 14px; padding: 22px 16px 26px; box-shadow: var(--shadow), 0 0 0 1px var(--line); font-size: 14px; line-height: 1.35; }
.note-card { display: grid; gap: 1px; background: var(--pane-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.note-app { font-size: 12px; color: var(--text-3); }
.note-card em { justify-self: start; font-style: normal; font-weight: 600; font-size: 13px; color: var(--on-teal); background: #003F47; border-radius: 8px; padding: 6px 12px; margin-top: 8px; }
.mini li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 11px 6px; border-top: 1px solid var(--line); }
.mini b { font-weight: 600; }
.mini span { grid-column: 1; color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 12px; color: var(--text-3); }

#questions .two, #runs .two { align-items: start; }
.faq, .runs { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 17.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--gold-up); }
.faq p { color: var(--on-teal-2); padding: 0 40px 20px 0; max-width: 38em; }
.runs li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.runs li > :last-child { text-align: right; }
.runs li > span:last-child { color: var(--on-teal-2); }
.runs li > span:first-child { font-weight: 600; }

/* the bed: the line grows back into the mark */
.bed { padding: 300px 0 120px; }
.bed .mark { display: block; width: 104px; height: 104px; color: var(--gold); margin-bottom: 24px; }
.bed h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.bed .actions { margin-top: 30px; }
.foot { background: var(--bed); border-top: 1px solid var(--rule); color: var(--on-teal-2); font-size: 14.5px; }
.foot .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 52px; }
.foot .brand { margin-bottom: 10px; }
.foot h2 { font: 600 13px/1 var(--sans); color: var(--on-teal); letter-spacing: 0; margin-bottom: 12px; }
.foot nav a { display: block; width: max-content; max-width: 100%; color: var(--on-teal-2); text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; }
.foot nav a:hover { color: var(--on-teal); }

@media (max-width: 960px) {
  .top .opt { display: none; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-foot .meta { text-align: left; }
  .win { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .lights, .approve, .side-h, .side-nav { display: none; }
  .accts { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .accts::-webkit-scrollbar { display: none; }
  .accts button { width: auto; white-space: nowrap; gap: 8px; }
  .list { border-right: 0; border-bottom: 1px solid var(--line); }
  .reader { padding: 0 18px 24px; }
  .two { grid-template-columns: 1fr; gap: 36px; }
  .two.flip > :first-child { order: 0; }
  .depth { padding-top: 104px; }
  .kit { grid-template-columns: minmax(0, 1fr); }
  .kit > li, .kit > li.wide { grid-column: auto; }
  .bed { padding: 220px 0 88px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .surface { --wl: 44%; min-height: 660px; }
  .depth.first { padding-top: 170px; }
  .roots .root { opacity: 0.3; }
  .reeds { height: 74%; top: 0.4%; right: -64px; }
  .depth .wrap, .bed .wrap { --node: 13px; --node-y: 20px; --ring: 14px; padding-left: 40px; }
  .depth .wrap::before { border-width: 2px; }
}
@media (max-width: 540px) {
  .wrap { padding: 0 18px; }
  .depth .wrap, .bed .wrap { padding-left: 36px; }
  h1 span, h1 em { left: 18px; }
  .hero-foot { left: 18px; right: 18px; }
  .lede { font-size: 16.5px; }
  .end { padding: 7px 10px; font-size: 13px; }
  .top .wrap { height: 60px; }
  .surface { height: calc(100svh - 60px); }
  .top nav { gap: 16px; }
  .brand span { font-size: 23px; }
  .btn { flex: 1 1 100%; justify-content: center; }
  .works i { margin: 0 6px; }
  .pair { flex-direction: column; }
  .runs li { flex-direction: column; gap: 2px; }
  .runs li > :last-child { text-align: left; }
  .faq p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sum-btn, .rv, .sw, .sw::after, .faq summary::after, .depth .wrap::before { transition: none; }
  .btn.gold:hover { transform: none; }
  .sum-btn.busy svg, .out .caret::after, .reed, .lifted > *, .run i { animation: none; }
  .run i { display: none; }
  h1 em { filter: none; }
}
