:root {
  --bg: #0a0b0f; --surface: #14161d; --surface2: #1c1f29; --line: rgba(255,255,255,.08);
  --text: #f3f4f7; --muted: #9aa0ae; --accent: #7480ff; --accent-ink: #aab2ff;
  --tint: rgba(116,128,255,.14); --good: #3ecf8e; --good-tint: rgba(62,207,142,.14);
  --warn: #f5b454; --warn-tint: rgba(245,180,84,.14);
  --glow1: rgba(110,123,255,.30); --glow2: rgba(167,139,250,.18);
  --shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f3; --surface: #ffffff; --surface2: #efefea; --line: rgba(15,17,26,.09);
    --text: #14151a; --muted: #6b7080; --accent: #4f5bd5; --accent-ink: #4350c4;
    --tint: rgba(79,91,213,.10); --good: #1f9d68; --good-tint: rgba(31,157,104,.12);
    --warn: #b7791f; --warn-tint: rgba(183,121,31,.12);
    --glow1: rgba(110,123,255,.20); --glow2: rgba(167,139,250,.14);
    --shadow: 0 24px 60px -34px rgba(20,21,26,.35);
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; min-height: 100dvh; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: -10% -30% auto -30%; height: 70vh; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 60% at 50% 0%, var(--glow1), transparent 70%),
    radial-gradient(35% 40% at 88% 12%, var(--glow2), transparent 70%);
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: var(--accent-ink); text-decoration: none; }
svg { display: block; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* The small viewport height: the page is laid out for the screen with the browser's bars showing, so what sits at the
   bottom (buttons, small links, the card line) is never under Safari's toolbar. The extra room at the bottom is for
   bars drawn over the page (iPhone Safari's tab bar), which the safe area does not count. */
.app {
  position: relative; z-index: 1; max-width: 460px; margin: 0 auto; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 14px) 22px calc(env(safe-area-inset-bottom) + 18px);
}
@media (pointer: coarse) { .app { padding-bottom: calc(env(safe-area-inset-bottom) + 44px); } }
header { display: flex; align-items: center; gap: 10px; height: 36px; }
.back {
  width: 36px; height: 36px; margin: 0 -4px 0 -10px; border-radius: 12px; display: none; place-items: center; color: var(--muted);
}
.back.on { display: grid; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; letter-spacing: -.01em; font-size: 15px; }
.mark {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #8b95ff, #5b67f0 60%, #8a6cf5);
}
.mark .logo { width: 18px; height: 18px; }
.progress { display: flex; gap: 6px; margin: 14px 0 0; }
.progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress i::after { content: ""; display: block; height: 100%; width: 0; background: var(--accent); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.progress i.on::after { width: 100%; }

main { flex: 1; display: flex; flex-direction: column; }
section { display: none; flex: 1; flex-direction: column; padding-top: 30px; }
#card-done.hide { display: none !important; }
section.active { display: flex; animation: enter .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { section.active, .sheet, .hero { animation: none !important; transition: none !important; } }

h1 { font-size: 32px; line-height: 1.1; letter-spacing: -.025em; font-weight: 680; margin: 0 0 12px; text-wrap: balance; }
.lead { color: var(--muted); margin: 0 0 26px; font-size: 16.5px; text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent-ink); margin: 0 0 12px; letter-spacing: .01em; }
.grow { flex: 1; min-height: 20px; }
.fine { color: var(--muted); font-size: 13px; text-align: center; margin: 12px 0 0; }

.hero {
  width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; color: #fff; margin: 10px 0 28px;
  background: linear-gradient(140deg, #8b95ff, #5b67f0 55%, #8a6cf5);
  box-shadow: 0 18px 40px -14px rgba(94,106,255,.75), inset 0 1px 0 rgba(255,255,255,.35);
  animation: float 6s ease-in-out infinite;
}
.hero .logo { width: 62px; height: 62px; }
@keyframes float { 50% { transform: translateY(-5px); } }

.rows { display: grid; gap: 16px; }
.row { display: flex; gap: 14px; align-items: flex-start; }
.chip {
  flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--tint); color: var(--accent-ink);
}
.row b { display: block; font-weight: 620; letter-spacing: -.005em; }
.row span { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: block; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.stack { display: grid; gap: 10px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; border-radius: 16px;
  font-weight: 620; font-size: 16.5px; letter-spacing: -.005em; transition: transform .12s, opacity .2s, filter .2s;
}
.btn:active { transform: scale(.985); }
.btn.primary {
  color: #fff; background: linear-gradient(180deg, #7f8bff, #5b67f0);
  box-shadow: 0 10px 26px -10px rgba(94,106,255,.75), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn.ghost { background: var(--surface); border: 1px solid var(--line); }
.btn[disabled] { opacity: .38; pointer-events: none; box-shadow: none; }
.btn + .btn { margin-top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.agree { display: flex; gap: 12px; align-items: center; padding: 14px 4px 18px; cursor: pointer; user-select: none; font-size: 15px; }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.box {
  flex: none; width: 26px; height: 26px; border-radius: 9px; border: 1.5px solid var(--muted); display: grid; place-items: center;
  color: transparent; transition: all .18s;
}
.agree input:checked + .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.box .icon { width: 15px; height: 15px; stroke-width: 2.6; }

.steps { list-style: none; margin: 0; padding: 6px 4px; display: grid; gap: 4px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 12px; color: var(--muted); transition: color .3s; }
.steps li.run, .steps li.done { color: var(--text); }
.dot { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; }
.run .dot { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.done .dot { background: var(--good); border-color: var(--good); color: #fff; animation: pop .3s cubic-bezier(.3,1.6,.5,1); }
.dot .icon { width: 14px; height: 14px; stroke-width: 2.6; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.6); } }

.status { display: flex; align-items: center; gap: 12px; }
.status .chip.good { background: var(--good-tint); color: var(--good); }
.status .chip.warn { background: var(--warn-tint); color: var(--warn); }
.status b { display: block; font-weight: 620; }
.status span { display: block; color: var(--muted); font-size: 14px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.hide { display: none !important; }

.ring { width: 76px; height: 76px; margin: 10px 0 26px; }
.ring circle { fill: var(--good-tint); stroke: var(--good); stroke-width: 2.5; stroke-dasharray: 230; stroke-dashoffset: 230; }
.ring path { fill: none; stroke: var(--good); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.active .ring circle { animation: draw .7s .1s cubic-bezier(.6,0,.2,1) forwards; }
.active .ring path { animation: draw .4s .65s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.how { counter-reset: n; display: grid; gap: 2px; padding: 6px 16px; }
.how div { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.how div:last-child { border: 0; }
.how div::before {
  counter-increment: n; content: counter(n); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 650; background: var(--tint); color: var(--accent-ink);
}
.label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 26px 4px 10px; letter-spacing: .01em; }
.list { padding: 4px 0; }
.item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.item:last-child { border: 0; }
.item b { display: block; font-weight: 600; }
.item span.sub { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.item .txt { flex: 1; min-width: 0; }
.tag { flex: none; font-size: 12px; font-weight: 620; padding: 4px 9px; border-radius: 999px; background: var(--surface2); color: var(--muted); }
.tag.good { background: var(--good-tint); color: var(--good); }
.tag.warn { background: var(--warn-tint); color: var(--warn); }

.field {
  width: 100%; height: 54px; padding: 0 15px; border-radius: 14px; font: inherit; font-size: 16.5px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: var(--muted); }
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
/* A select looks like the other fields, with its own small arrow: Safari's own is grey and short. */
select.field {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 18px;
}
.note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin: 14px 2px 0; }
.note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.err { color: var(--warn); font-size: 13.5px; margin: 10px 2px 0; min-height: 20px; }

span.n, b.n { display: inline !important; color: inherit; font-size: inherit; }
.namer { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 14px; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 38px; font-weight: 680;
  background: linear-gradient(140deg, #8b95ff, #5b67f0 55%, #8a6cf5);
  box-shadow: 0 18px 40px -14px rgba(94,106,255,.75), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.avatar.bump { transform: scale(1.08) rotate(-4deg); }
.name-field { text-align: center; font-size: 24px; font-weight: 640; letter-spacing: -.015em; height: 62px; }
.shuffle { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 12px; }
.shuffle .icon { width: 18px; height: 18px; }

.backdrop { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .25s; }
.backdrop.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; max-width: 460px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 26px 26px 0 0;
  padding: 10px 22px calc(env(safe-area-inset-bottom) + 22px); transform: translateY(105%);
  visibility: hidden; transition: transform .34s cubic-bezier(.2,.9,.2,1), visibility 0s .34s;
}
.sheet.on { transform: none; visibility: visible; transition-delay: 0s; }
.grab { width: 38px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 18px; }
.sheet h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 660; }
.sheet p { color: var(--muted); margin: 0 0 20px; font-size: 15.5px; }

/* Added for the real site. The page allows no inline styles, so the prototype's are classes here. */
.sprite { position: absolute; }
.card.flush { padding: 4px; }
.lead.tight { margin-bottom: 18px; }
.tagline { font-size: 15px; font-weight: 620; color: var(--accent-ink); margin: -4px 0 14px; letter-spacing: -.005em; }
.row .chip.warn { background: var(--warn-tint); color: var(--warn); }
.col { display: flex; flex-direction: column; flex: 1; }
.mt14 { margin-top: 14px; }
/* Two fields side by side (a card's expiry and security code). */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.code-field { margin-top: 12px; }
.field.checking { opacity: .55; background: var(--surface); }
.btn.busy[disabled] { opacity: 1; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn.busy .spinner { width: 16px; height: 16px; flex: none; }
.err.center { text-align: center; }
.link { color: var(--accent-ink); font-weight: 600; font-size: 15px; padding: 10px; display: block; width: 100%; text-align: center; }
.what { padding: 18px; }
.what .kind { font-size: 13px; font-weight: 600; color: var(--accent-ink); margin: 0 0 6px; }
.what h2 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 8px; font-weight: 650; }
.what .details { color: var(--muted); font-size: 15px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.what .amount { font-size: 30px; font-weight: 680; letter-spacing: -.02em; margin: 14px 0 0; }
.need { margin: 20px 0 0; font-size: 15.5px; text-wrap: pretty; }
.need a { font-weight: 600; }
.quiet { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 0 0 10px; text-wrap: pretty; }
.legal { color: var(--muted); font-size: 11.5px; text-align: center; margin: 18px 0 0; opacity: .8; }
.door header { justify-content: flex-end; }
.door-signin { color: var(--muted); font-size: 14px; font-weight: 600; padding: 8px 2px; }
.door main { align-items: center; justify-content: center; text-align: center; padding-bottom: 8vh; }
.door .hero { margin: 0 0 26px; }
.door h1 { margin: 0 0 10px; }
.door .tagline { margin: 0; }
.door-only { color: var(--muted); font-size: 14px; letter-spacing: .02em; margin: 26px 0 0; }

/* Privacy and terms: plain reading pages. */
.prose main { flex: none; }
.prose header a { color: var(--text); font-weight: 650; }
.prose h1 { margin-top: 8px; }
.prose h2 { font-size: 18px; letter-spacing: -.01em; margin: 28px 0 8px; }
.prose p, .prose li { line-height: 1.55; font-size: 15.5px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose .fine-date { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
/* The passwords page: how to export from each manager, one opening at a time. */
.guides { padding: 2px 0; }
.guides details { border-bottom: 1px solid var(--line); }
.guides details:last-child { border: 0; }
.guides summary { list-style: none; cursor: pointer; padding: 13px 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.guides summary::-webkit-details-marker { display: none; }
.guides summary::after { content: '+'; color: var(--muted); font-weight: 500; }
.guides details[open] summary::after { content: '–'; }
.guides ol { margin: 0; padding: 0 16px 14px 34px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.guides ol li + li { margin-top: 4px; }
.guides p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pick { position: relative; overflow: hidden; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fine.left { text-align: left; }
summary.more { cursor: pointer; list-style: none; }
summary.more::-webkit-details-marker { display: none; }
/* A link for a password (link.html). */
.note.warn-note { color: var(--warn); margin: 0 2px 2px; }
.end-chip { width: 52px; height: 52px; border-radius: 16px; margin: 6px 0 22px; }
.end-chip .icon { width: 24px; height: 24px; }
.end-chip.good, .status .chip.good { background: var(--good-tint); color: var(--good); }
.end-chip.warn { background: var(--warn-tint); color: var(--warn); }

/* Card step: the one line that says setup goes on in the background */
.note.going { margin: 2px 2px 14px; align-items: center; }
.spinner.small { width: 14px; height: 14px; border-width: 2px; flex: none; }

/* Ready: the path in the Claude app, drawn after the real iPhone screens. Each scene is laid out in the phone's own
   points (440 by 956) and scaled down with --s, so the numbers below read straight off a screenshot. The app's own
   light colours, whatever this page's theme: it is a picture of their app. app.js runs the loop and the tap ring. */
.rr { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 16px 0 4px; --s: .4; }
@media (min-width: 420px) { .rr { --s: .44; } }
@media (max-width: 379px) { .rr { --s: .36; gap: 12px; } .rr .how-steps li { padding: 6px; } }
@media (max-width: 349px) { .rr { grid-template-columns: 1fr; justify-items: center; } }
.rr-phone { padding: 5px; border-radius: calc(55px * var(--s) + 5px); background: #0c0c0c; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08); }
.rr-fit { width: calc(440px * var(--s)); height: calc(956px * var(--s)); border-radius: calc(55px * var(--s)); overflow: hidden; }
.rr-screen {
  --rr-bg: #f9f9f7; --rr-ink: #1f1f1d; --rr-soft: #7b7b77; --rr-btn: #fdfdfb; --rr-pill: #efefec; --rr-dark: #131313; --rr-blank: #e5e5e0;
  position: relative; width: 440px; height: 956px; transform: scale(var(--s)); transform-origin: 0 0; overflow: hidden;
  background: var(--rr-bg); color: var(--rr-ink); font: 17.5px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, Roboto, sans-serif;
  letter-spacing: -.2px; text-align: left; user-select: none;
}
.rr-screen p { margin: 0; }
.rr-screen svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rr-defs { position: absolute; }
.rr-status { position: absolute; inset: 0 0 auto; height: 54px; z-index: 5; }
.rr-status b { position: absolute; left: 37px; top: 20px; font-size: 17px; font-weight: 600; }
.rr-island { position: absolute; left: 129px; top: 14px; width: 175px; height: 37px; border-radius: 19px; background: #000; }
.rr-sig { position: absolute; left: 332px; top: 26px; display: flex; gap: 1.6px; align-items: flex-end; height: 12px; }
.rr-sig i { width: 3.4px; border-radius: 1px; background: #000; }
.rr-sig i:nth-child(1) { height: 4.5px; } .rr-sig i:nth-child(2) { height: 7px; } .rr-sig i:nth-child(3) { height: 9.5px; } .rr-sig i:nth-child(4) { height: 12px; opacity: .3; }
.rr-bat { position: absolute; left: 383px; top: 24px; width: 27px; height: 13px; border-radius: 4px; background: rgba(0,0,0,.35); }
.rr-bat i { position: absolute; left: 0; top: 0; bottom: 0; width: 45%; border-radius: 4px 0 0 4px; background: #000; }

.rr-scene { position: absolute; inset: 0; visibility: hidden; background: var(--rr-bg); }
.rr-scene[data-s="4"] { background: none; }
.rr-scene.was { visibility: visible; z-index: 1; }
.rr-scene.base { visibility: visible; z-index: 2; }
.rr-scene.on { visibility: visible; z-index: 3; }
.rr-scene[data-s="4"].on { z-index: 6; }
.rr-scene[data-s="1"].on, .rr-scene[data-s="3"].on, .rr-scene[data-s="4"].on .rr-dim { animation: rr-fade .32s ease-out both; }
.rr-scene[data-s="2"].on .rr-drawer { animation: rr-drawer .45s cubic-bezier(.2,.8,.2,1) both; }
.rr-scene[data-s="2"].on .rr-peek { animation: rr-peek .45s cubic-bezier(.2,.8,.2,1) both; }
.rr-scene[data-s="4"].on .rr-sheet { animation: rr-sheet .45s cubic-bezier(.2,.8,.2,1) both; }
.rr-scene[data-s="5"].on { animation: rr-push .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rr-fade { from { opacity: 0; } }
@keyframes rr-drawer { from { transform: translateX(-100%); } }
@keyframes rr-peek { from { transform: translateX(-321px); border-radius: 0; } }
@keyframes rr-sheet { from { transform: translateY(105%); } }
@keyframes rr-push { from { transform: translateX(60px); opacity: 0; } }

.rr-btn { position: absolute; top: 62px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rr-btn); box-shadow: 0 3px 14px rgba(0,0,0,.06); }
.rr-mark { position: absolute; left: 205px; width: 30px; height: 30px; border-radius: 50%; background: #cfc8bc; }
.rr-mark.rr-sq { left: 192px; width: 56px; height: 36px; border-radius: 9px; }
.rr-hello { position: absolute; left: 0; right: 0; text-align: center; font: 400 24.5px/1.2 ui-serif, "New York", Georgia, serif; letter-spacing: -.4px; color: #3a3936; }
.rr-box { position: absolute; left: 9px; top: 505px; width: 423px; height: 97px; border-radius: 22px; background: #f9f9f8;
  border: 1px solid #e7e7e3; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.rr-ph { position: absolute; left: 12px; top: 16px; font-size: 17.5px; color: #85857f; white-space: nowrap; }
.rr-ph.typed { color: var(--rr-ink); }
.rr-ph.typed::after { content: ""; display: inline-block; width: 2px; height: 21px; margin: 0 0 -4px 1px; background: #d87757; animation: rr-caret 1s steps(1) infinite; }
@keyframes rr-caret { 50% { opacity: 0; } }
.rr-tools { position: absolute; left: 7px; right: 7px; top: 54px; display: flex; gap: 8px; }
.rr-c { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--rr-pill); }
.rr-c svg { width: 20px; height: 20px; }
.rr-model { width: 140px; height: 36px; border-radius: 18px; background: var(--rr-pill); display: flex; align-items: center; padding: 0 17px; }
.rr-model u { display: block; width: 100%; height: 9px; border-radius: 5px; background: #dcdcd7; }
.rr-dark { background: var(--rr-dark); color: #fff; }
.rr-send { background: #efd6ce; color: #fff; transition: background .3s; }
.rr-send.go { background: #d87757; }
.rr-kb { position: absolute; left: 0; right: 0; top: 611px; bottom: 0; border-radius: 28px 28px 0 0; background: #e0e1e3; }
.rr-kb i { position: absolute; height: 44px; border-radius: 8.5px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.28);
  display: grid; place-items: center; font: 400 22.5px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, sans-serif; color: #000; font-style: normal; }
.rr-kb i.fn { font-size: 17px; }
.rr-kb s { position: absolute; top: 12px; width: 146px; text-align: center; text-decoration: none; font-size: 17px; color: #000; }
.rr-kb s + s { border-left: 1px solid #c4c5c9; }
.rr-kb svg { position: absolute; top: 291px; width: 28px; height: 28px; stroke-width: 1.5; }
.rr-kb .rr-globe { left: 28px; } .rr-kb .rr-kmic { left: 383px; }

.rr-drawer { position: absolute; left: 0; top: 0; width: 320px; height: 100%; background: #f3f3f0; }
.rr-peek { position: absolute; left: 321px; top: 0; width: 440px; height: 100%; background: var(--rr-bg); border-radius: 44px 0 0 44px; box-shadow: -2px 0 14px rgba(0,0,0,.04); }
.rr-peekbox { position: absolute; left: 16px; top: 871px; width: 300px; height: 50px; border-radius: 25px; background: #f5f5f2; border: 1px solid #ececE8;
  display: flex; align-items: center; gap: 14px; padding-left: 6px; color: #9b9b96; }
.rr-peekbox .rr-c { background: none; color: #9b9b96; }
.rr-brand { position: absolute; left: 24px; top: 68px; font: 500 25px/1.2 ui-serif, "New York", Georgia, serif; letter-spacing: -.3px; }
.rr-drawer .rr-btn { background: #fbfbf8; }
.rr-nav { position: absolute; left: 25px; height: 34px; padding-right: 10px; display: flex; align-items: center; gap: 14px; font-size: 17.5px; }
.rr-nav svg { width: 23px; height: 23px; }
.rr-nav.rr-blank svg { color: #c4c4be; }
.rr-nav u, .rr-srow u { display: block; height: 11px; border-radius: 6px; background: var(--rr-blank); }
.rr-label { position: absolute; font-size: 15.5px; line-height: 22px; color: var(--rr-soft); }
.rr-avatar { position: absolute; left: 28px; top: 880px; width: 48px; height: 48px; border-radius: 50%; background: #fbfbf8; box-shadow: 0 3px 14px rgba(0,0,0,.08); }
.rr-new { position: absolute; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px;
  background: #2a2a27; color: #fff; font-size: 17.5px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.rr-new svg { width: 20px; height: 20px; }

.rr-title { position: absolute; left: 0; right: 0; top: 73px; text-align: center; font-size: 17.5px; font-weight: 600; line-height: 22px; }
.rr-pair { position: absolute; left: 310px; top: 62px; width: 109px; height: 44px; border-radius: 22px; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 12px; }
.rr-ico { position: absolute; }
.rr-device { position: absolute; left: 29px; top: 178px; height: 43px; border-radius: 22px; border: 1.5px solid #dcdcd8;
  display: flex; align-items: center; gap: 10px; padding: 0 19px 0 13px; font-size: 17.5px; white-space: nowrap; }
.rr-lap { position: relative; display: block; }
.rr-lap i { position: absolute; right: 0; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: #1d9a2b; }
.rr-srow { position: absolute; left: 0; right: 0; height: 50px; }
.rr-srow i { position: absolute; left: 35px; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #b9b9b4; }
.rr-srow u { position: absolute; left: 68px; top: 3px; }
.rr-srow u + u { top: 29px; height: 9px; background: #ececE8; }

.rr-dim { position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.rr-sheet { position: absolute; left: 9px; top: 451px; width: 423px; height: 497px; border-radius: 34px; background: var(--rr-bg); }
.rr-grab { position: absolute; left: 193px; top: 5px; width: 36px; height: 4px; border-radius: 2px; background: #bfbfbf; }
.rr-sheet .rr-btn { box-shadow: 0 3px 14px rgba(0,0,0,.08); }
.rr-small { position: absolute; left: 15px; font-size: 14px; line-height: 22px; color: #5d5d59; }
.rr-dir { position: absolute; left: 15px; top: 95px; width: 392px; height: 49px; border-radius: 25px; background: var(--rr-pill);
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 15px; font-size: 16px; }
.rr-dir svg { width: 18px; height: 18px; color: #77776f; }
.rr-card { position: absolute; left: 15px; top: 184px; width: 392px; height: 67px; border-radius: 22px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.rr-card > i { position: absolute; left: 18px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: #a9a9a9; }
.rr-card b { position: absolute; left: 34px; top: 14px; font-weight: 400; font-size: 15.5px; }
.rr-card em { position: absolute; right: 16px; top: 14px; font-style: normal; font-size: 14px; }
.rr-card span { position: absolute; left: 15px; top: 37px; display: flex; align-items: center; gap: 6px; font-size: 14px; color: #555551; }
.rr-card span svg { width: 14px; height: 14px; color: #2e7d32; }
.rr-new.rr-wide { left: 15px; top: 417px; width: 392px; height: 46px; background: var(--rr-dark); font-weight: 600; font-size: 16.5px; }
.rr-home { position: absolute; left: 142px; top: 941px; width: 156px; height: 5px; border-radius: 3px; background: var(--rr-dark); }

.rr-meter { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#1461be 0 50%, #d6d6d3 0);
  -webkit-mask: radial-gradient(circle, transparent 12px, #000 12.5px); mask: radial-gradient(circle, transparent 12px, #000 12.5px); }
.rr-chip { position: absolute; left: 9px; top: 455px; height: 39px; border-radius: 20px; background: #f9f9f8; border: 1px solid #e7e7e3; box-shadow: 0 3px 12px rgba(0,0,0,.05);
  display: flex; align-items: center; gap: 6px; padding: 0 14px 0 9px; font-size: 16px; white-space: nowrap; }

.rr-btn { left: 20px; } .rr-btn.rr-r { left: 376px; } .rr-gift { left: 200px; } .rr-find { left: 256px; }
.rr-btn.rr-sb { left: 24px; top: 879px; } .rr-btn.rr-close { left: 17px; top: 18px; } .rr-peek .rr-btn { opacity: .45; }
[data-s="1"] .rr-mark { top: 268px; } [data-s="1"] .rr-hello { top: 318px; }
[data-s="5"] .rr-mark { top: 250px; } [data-s="5"] .rr-hello { top: 303px; }
.rr-tools .rr-mic { margin-left: auto; }
.rr-n1 { top: 126px; } .rr-n2 { top: 176px; } .rr-n3 { top: 226px; } .rr-n4 { top: 276px; }
.rr-n5 { top: 370px; } .rr-n6 { top: 420px; } .rr-n7 { top: 470px; } .rr-n8 { top: 520px; }
.rr-n5 u { width: 150px; } .rr-n6 u { width: 110px; } .rr-n7 u { width: 170px; } .rr-n8 u { width: 90px; }
.rr-recents { top: 331px; left: 24px; } .rr-devl { top: 139px; left: 29px; } .rr-sesl { top: 249px; left: 29px; }
.rr-dn { left: 152px; top: 880px; width: 139px; height: 47px; } .rr-cn { left: 272px; top: 880px; width: 143px; height: 41px; }
.rr-ico { left: 390px; top: 138px; }
.rr-s1 { top: 292px; } .rr-s2 { top: 363px; }
.rr-s1 u { width: 220px; } .rr-s1 u + u { width: 150px; } .rr-s2 u { width: 180px; } .rr-s2 u + u { width: 200px; }
.rr-sheet .rr-title { top: 30px; } .rr-dl { top: 72px; } .rr-sl { top: 157px; }

/* The tap: a soft ring on what to tap, which presses in just before the next screen. In Steward's colour, so it reads
   as ours on top of their app. */
.rr-ring { position: absolute; z-index: 7; border-radius: 26px; border: 4px solid #5b67f0; box-shadow: 0 0 0 8px rgba(91,103,240,.22);
  opacity: 0; transition: opacity .25s, transform .2s, background .2s; pointer-events: none; }
.rr-ring.on { opacity: 1; animation: rr-pulse 1.3s ease-in-out infinite; }
.rr-ring.tap { background: rgba(91,103,240,.22); transform: scale(.94); animation: none; }
@keyframes rr-pulse { 50% { box-shadow: 0 0 0 16px rgba(91,103,240,0); } }

.rr .how-steps { margin: 0; gap: 2px; }
.how-steps { list-style: none; counter-reset: n; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.how-steps li { counter-increment: n; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; color: var(--muted);
  transition: color .25s, background .25s; cursor: pointer; }
.how-steps li::before { content: counter(n); width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--tint); color: var(--accent-ink); font-weight: 700; font-size: 13px; transition: background .25s, color .25s; }
.how-steps li button { padding: 0; text-align: left; font-size: 15px; line-height: 1.3; color: inherit; }
.how-steps li b { font-weight: 650; }
.how-steps li.on { color: var(--text); background: var(--surface); }
.how-steps li.on::before { background: var(--accent); color: #fff; }
.rr-note { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--muted); text-wrap: balance; }
.small-links { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
/* On a phone the browser's bar can sit over the page's foot (iPhone Safari's tab bar, which the safe area does not count):
   room under the small links so they scroll clear of it. */
@media (pointer: coarse) { section[data-step="6"] { padding-bottom: calc(env(safe-area-inset-bottom) + 40px); } }
.link.small { width: auto; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 6px 10px; }

/* No motion: the phone goes and the five steps stay, numbered, all at full strength. */
@media (prefers-reduced-motion: reduce) {
  .rr { display: block; }
  .rr-phone { display: none; }
  .how-steps li { color: var(--text); cursor: default; }
}

/* The month's charges beyond the $50 (account page). */
.muted-line { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin: 4px 0 10px; }
.charges .charge { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 6px 0; border-top: 1px solid var(--line); }
.charges .charge span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.charges .charge.total { font-weight: 620; }

/* The Claude step: a link to Anthropic's page that is still being fetched, and the two buttons that change places. */
.btn.loading, .btn[aria-disabled="true"] { pointer-events: none; }
.btn.loading { opacity: .8; gap: 10px; }
.btn.loading .spinner { width: 16px; height: 16px; flex: none; border-color: rgba(255,255,255,.35); border-top-color: #fff; }
#c-actions-wait:not(.hide) { display: flex; flex-direction: column; gap: 10px; }
#c-actions-wait .btn + .btn { margin-top: 0; }
#c-actions-wait.typed #c-send { order: -1; }
#c-actions-wait .link.small { width: 100%; }
.fine.more { margin-top: 0; margin-bottom: 8px; }
