/* Inbox — every identity has an inbox.
   A light, card-stacked product page: cool paper, one blue, an italic serif
   accent, and a real inbox surface in the hero instead of an illustration. */

/* ---------------------------------------------------------------- tokens -- */
:root {
  --page: #05101f;
  --sheet: rgba(255, 255, 255, 0.045);
  --sheet-2: rgba(255, 255, 255, 0.06);
  --sheet-3: rgba(255, 255, 255, 0.08);

  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);

  --blue: #1a88f8;
  --blue-deep: #0a6fdd;
  --blue-ink: #0b4f9e;
  --tint: rgba(26, 136, 248, 0.16);
  --tint-2: rgba(26, 136, 248, 0.26);
  --ghost: rgba(26, 136, 248, 0.12);

  --dark: #0a1020;
  --dark-2: #131c2f;
  --dark-line: rgba(255, 255, 255, 0.11);
  --dark-muted: #9aa6b8;

  --green: #0f9d58;
  --green-tint: rgba(15, 157, 88, 0.11);

  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --pad: clamp(20px, 4.5vw, 48px);
  --maxw: 1180px;
  --gutter: clamp(8px, 1.2vw, 16px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1s var(--ease);

  --lift: 0 1px 2px rgba(0, 0, 0, 0.25), 0 14px 30px -18px rgba(0, 0, 0, 0.6);
  --lift-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 44px 90px -40px rgba(0, 0, 0, 0.75);
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, #0b2c55 0%, transparent 55%),
    radial-gradient(90% 50% at 90% 30%, rgba(26, 136, 248, 0.10) 0%, transparent 60%),
    var(--page);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.5;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.042em; line-height: 1.02; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); letter-spacing: -0.01em; font-feature-settings: 'zero' 1; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.it { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--blue); letter-spacing: -0.015em; }

/* -------------------------------------------------------------- sections -- */
.band {
  margin: 0;
  padding: clamp(80px, 9vw, 148px) 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--line-soft);
}
.band--tight { padding: clamp(48px, 6vw, 84px) 0; }
.band--soft { background: rgba(255, 255, 255, 0.028); }
.band--dark { background: transparent; color: #fff; }
.band--dark .step { background: var(--dark-2); }
.band--dark .step__no { background: rgba(255,255,255,0.08); color: #7cc0ff; }
.band--dark .step__txt h3 { color: #fff; }
.band--dark .panel { background: var(--dark-2); }
.band--dark .panel h3 { color: #fff; }
.band--dark .muted { color: var(--dark-muted); }
.band--dark .faint { color: #6d788b; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #6cb4fb;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.band--dark .eyebrow { color: #6cb4fb; }

.head {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; max-width: 900px; margin: 0 auto; text-align: center;
}
.head h2 { font-size: clamp(36px, 5.6vw, 68px); }
.head p { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 52ch; }
.head--left { align-items: flex-start; text-align: left; margin: 0; }
.head__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  --bg: rgba(255, 255, 255, 0.08); --fg: #fff; --bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  height: 48px;
  border: 1px solid var(--bd);
  border-radius: 99px;
  background: var(--bg);
  color: var(--fg);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.018em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.14); box-shadow: var(--lift); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { --bg: var(--blue); --fg: #fff; --bd: transparent; box-shadow: 0 10px 22px -12px rgba(26, 136, 248, 0.9); }
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 14px 28px -12px rgba(26, 136, 248, 0.95); }
.btn--soft { --bg: var(--tint); --fg: #bcdcff; --bd: rgba(26,136,248,0.3); }
.btn--soft:hover { background: var(--tint-2); }
.btn--dark { --bg: #fff; --fg: #05101f; --bd: transparent; }
.btn--dark:hover { background: #dfeaff; }
.btn--ghost { --bg: transparent; --bd: var(--line); }
.btn--sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16.5px; }
.btn--wide { width: 100%; }
.band--dark .btn { --bg: rgba(255,255,255,0.07); --fg: #fff; --bd: var(--dark-line); box-shadow: none; }
.band--dark .btn:hover { background: rgba(255,255,255,0.13); }
.band--dark .btn--primary { --bg: var(--blue); --bd: transparent; }

/* ------------------------------------------------------------------- nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(234, 237, 242, 0);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.is-stuck:not(.nav--over) {
  background: rgba(5, 16, 31, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 -1px 0 var(--line-soft);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 74px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17.5px; letter-spacing: -0.045em; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(26, 136, 248, 0.55); }
.brand span.dim { color: var(--faint); font-weight: 500; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a { padding: 9px 13px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--muted); transition: 0.18s; }
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav__cta { display: flex; align-items: center; gap: 9px; }
@media (max-width: 980px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 430px) { .nav__cta .btn--ghost { display: none; } }

/* ------------------------------------------------------------------ orbs -- */
/* air.inc's trick: soft colour that moves slowly enough to feel like light. */
.orbs {
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; overflow: hidden; pointer-events: none;
}
.orbs__spin { position: absolute; inset: -25%; animation: orb-turn 26s linear infinite; }
.orbs { opacity: 0.55; }
.orbs i {
  position: absolute;
  width: clamp(300px, 40vw, 640px); aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  will-change: transform;
  animation: orb-breathe 6s var(--ease) infinite alternate-reverse;
}
.orbs i:nth-child(1) { background: #4aa3ff; top: -34%; right: -12%; animation-delay: 0s; }
.orbs i:nth-child(2) { background: #7cc0ff; bottom: -38%; right: 22%; animation-delay: 2s; opacity: 0.32; }
.orbs i:nth-child(3) { background: #a9d6ff; top: -18%; left: -22%; animation-delay: 4s; opacity: 0.3; }
/* the closing panel is the one place they are allowed to be loud */
.cta .orbs { opacity: 0.85; }
.cta .orbs i:nth-child(1) { background: #4aa3ff; top: -30%; right: -8%; }
.cta .orbs i:nth-child(2) { background: #8fc9ff; bottom: -34%; left: 6%; }
@keyframes orb-breathe { from { scale: 0.5; } to { scale: 1.5; } }
@keyframes orb-turn { from { rotate: 0deg; } to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) { .orbs i, .orbs__spin { animation: none; } }
.hero > .wrap, .claim-hero > .wrap, .cta > *:not(.orbs) { position: relative; z-index: 1; }

/* ------------------------------------------------------------ full hero -- */
/* A single sheet of moving colour with grain over it — no boxes, no chrome. */
.hero {
  position: relative;
  margin: 0;
  border-radius: 0;
  min-height: min(94vh, 900px);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #0b4f9e;
  isolation: isolate;
}
.hero__mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.hero__mesh i {
  position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform;
  animation: mesh 18s var(--ease) infinite alternate;
}
.hero__mesh i:nth-child(1) { width: 62%; aspect-ratio: 1; background: #4aa3ff; top: -18%; left: -8%; animation-delay: 0s; }
.hero__mesh i:nth-child(2) { width: 55%; aspect-ratio: 1; background: #7fd0ff; top: 6%; right: -10%; animation-delay: -4s; }
.hero__mesh i:nth-child(3) { width: 70%; aspect-ratio: 1; background: #0a5fc4; bottom: -28%; left: 12%; animation-delay: -8s; }
.hero__mesh i:nth-child(4) { width: 42%; aspect-ratio: 1; background: #b9e2ff; bottom: 4%; right: 16%; opacity: .8; animation-delay: -12s; }
@keyframes mesh {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4%, -6%, 0) scale(1.25); }
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__in {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(110px, 12vw, 150px) var(--pad) clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px);
}
.hero h1 {
  font-size: clamp(44px, 8.4vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  max-width: 16ch;
}
.hero h1 .it { color: #fff; opacity: 0.95; }
.hero__sub { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, 0.68); max-width: 46ch; }

/* the lookup, as glass on the gradient */
.hero .lookup { max-width: 560px; margin: 0; }
.hero .lookup__form {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.5);
}
.hero .lookup__form input { color: #fff; }
.hero .lookup__form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.hero .lookup__form:focus-within { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16); }
.hero .lookup__form .btn--primary { --bg: #fff; --fg: var(--blue-ink); box-shadow: none; }
.hero .lookup__form .btn--primary:hover { background: #eaf3ff; }
.hero .lookup__hint { justify-content: flex-start; color: rgba(255, 255, 255, 0.6); }
.hero .chip { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.85); }
.hero .chip:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; color: #fff; }

/* the row of things it works with, along the bottom edge */
.hero__rail {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: 20px var(--pad) 26px;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  overflow-x: auto; scrollbar-width: none;
}
.hero__rail::-webkit-scrollbar { display: none; }
.hero__rail b { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.hero__rail span {
  font-size: clamp(18px, 2.1vw, 27px); font-weight: 600; letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.42); white-space: nowrap; transition: color 0.3s var(--ease);
}
.hero__rail span:hover { color: #fff; }

/* the navigation floats on the gradient */
.nav--over { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav--over .brand { color: #fff; }
.nav--over .brand span.dim { color: rgba(255, 255, 255, 0.6); }
.nav--over .nav__links a { color: rgba(255, 255, 255, 0.72); }
.nav--over .nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav--over .btn--ghost { --bd: rgba(255, 255, 255, 0.3); --fg: #fff; }
.nav--over .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.nav--over .btn--primary { --bg: #fff; --fg: var(--blue-ink); box-shadow: none; }
.nav--over .btn--primary:hover { background: #eaf3ff; }
.nav--over.is-stuck { background: rgba(11, 79, 158, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .hero__mesh i { animation: none; } }
@media (max-width: 700px) {
  .hero { min-height: min(88vh, 760px); }
  .hero__rail { gap: 22px; }
}

/* ---------------------------------------------------------------- lookup -- */
.lookup { width: 100%; max-width: 560px; margin: 0 auto; }
.lookup__form {
  display: flex; gap: 8px; padding: 7px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--lift);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lookup__form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--ghost), var(--lift); }
.lookup__form input { flex: 1; min-width: 0; height: 46px; padding: 0 6px 0 18px; border: 0; background: none; font-size: 16px; letter-spacing: -0.02em; }
.lookup__form input::placeholder { color: var(--faint); }
.lookup__form input:focus { outline: none; }
.lookup__hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 13px; color: var(--faint); }
.chip {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,0.06);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); cursor: pointer; transition: 0.18s;
}
.chip:hover { border-color: var(--blue); color: #fff; background: var(--tint); transform: translateY(-1px); }

/* -------------------------------------------------------------- mailcard -- */
.mailcard {
  /* a light island in the dark page: it has to carry its own palette */
  --ink: #0b1220; --muted: #5c6674; --faint: #8b95a4;
  --line: rgba(11, 18, 32, 0.09); --line-soft: rgba(11, 18, 32, 0.06);
  --sheet-2: #f4f6f9;
  color: #0b1220;
  position: relative;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--lift-lg);
  overflow: hidden;
  isolation: isolate;
  backface-visibility: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  cursor: pointer;
}
.mailcard:hover { transform: translateY(-6px); box-shadow: 0 3px 6px rgba(11,18,32,.06), 0 46px 90px -34px rgba(11,18,32,.42); }
@media (prefers-reduced-motion: no-preference) {
  .hero__side { animation: float 9s var(--ease) infinite alternate; }
}
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(10px); } }
@media (max-width: 980px) { .mailcard, .mailcard:hover { transform: none; } }

.mailcard__bar {
  display: flex; align-items: center; gap: 10px;
  border-radius: 28px 28px 0 0;
  padding: 15px 20px;
  background: linear-gradient(120deg, #2f9bff, #0a6fdd 70%);
  color: #fff;
}
.mailcard__bar b { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.mailcard__bar .mono { margin-left: auto; font-family: var(--sans); font-size: 12.5px; font-weight: 600; opacity: 0.85; }
.mailcard__body { padding: 26px 24px 22px; }
.mailcard__label { font-size: 13px; font-weight: 600; color: var(--faint); }
.mailcard__to {
  display: flex; align-items: baseline; gap: 4px; min-height: 44px;
  margin: 8px 0 20px;
  font-size: clamp(21px, 2.3vw, 29px); font-weight: 700; letter-spacing: -0.04em;
  overflow: hidden; white-space: nowrap;
}
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue); transform: translateY(0.12em); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.mailcard__addr {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 13px 15px;
  border-radius: 13px;
  background: #f4f6f9;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mailcard__addr.is-in { opacity: 1; transform: none; }
.mailcard__addr span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailcard__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mailcard__stat { min-width: 0; }
.mailcard__stat dd { overflow-wrap: anywhere; }
.mailcard__stat { padding: 12px 14px; border-radius: 13px; background: #f4f6f9; }
.mailcard__stat dt { font-size: 12.5px; color: var(--faint); }
.mailcard__stat dd { margin: 5px 0 0; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.mailcard__foot {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 24px;
  border-top: 1px solid rgba(11, 18, 32, 0.06);
  background: #f4f6f9;
  font-size: 12.5px; color: #5c6674;
}

/* ----------------------------------------------------------------- specs -- */
.specs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(40px, 5vw, 64px);
  border-radius: var(--r-lg); overflow: hidden; background: var(--line-soft);
  text-align: center;
}
@media (max-width: 760px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spec { padding: 22px; background: rgba(255, 255, 255, 0.045); }
.spec dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); }
.spec dt { font-family: var(--sans); font-size: 13px; letter-spacing: -0.01em; text-transform: none; color: var(--faint); }
.spec dd { margin: 6px 0 0; font-size: 17.5px; font-weight: 700; letter-spacing: -0.03em; }

/* ------------------------------------------------------------ inbox card -- */
.card {
  --ink: #0b1220; --muted: #5c6674; --faint: #8b95a4;
  --line: rgba(11,18,32,0.09); --line-soft: rgba(11,18,32,0.06); --sheet-2: #f4f6f9;
  border: 1px solid rgba(11,18,32,0.08); border-radius: var(--r-lg); background: #fff;
  color: var(--ink); overflow: hidden; text-align: left; box-shadow: var(--lift-lg);
}
.card .pill { background: #fff; color: #5c6674; border-color: rgba(11,18,32,0.1); }
.card .pill--live { color: #0f9d58; border-color: rgba(15,157,88,0.28); background: rgba(15,157,88,0.1); }
.card .pill--soon { color: #0b4f9e; border-color: rgba(26,136,248,0.28); background: #e9f3ff; }
.card .btn { --bg: #fff; --fg: #0b1220; --bd: rgba(11,18,32,0.12); }
.card .btn:hover { background: #f4f6f9; }
.card .btn--primary { --bg: var(--blue); --fg: #fff; --bd: transparent; }
.card .icon-btn { background: #fff; border-color: rgba(11,18,32,0.12); color: #5c6674; }
.card .empty-state { background: #eaf3ff; color: #0b4f9e; }
.card .deposit__amt { color: #0f9d58; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; padding: 16px 22px; border-bottom: 1px solid rgba(11,18,32,0.06); background: #f4f6f9; }
.card__body { padding: 26px 22px; }
.card__foot { display: flex; flex-wrap: wrap; gap: 9px; padding: 16px 22px; border-top: 1px solid rgba(11,18,32,0.06); background: #f4f6f9; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,0.06);
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; color: var(--muted);
}
.pill--live { color: #5ee8a5; border-color: rgba(94, 232, 165, 0.3); background: rgba(94, 232, 165, 0.12); }
.pill--soon { color: #9dcdff; border-color: rgba(26, 136, 248, 0.3); background: var(--tint); }

.result { margin-top: 26px; width: 100%; }
.result[hidden] { display: none; }
.amount { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; }
.amount strong { font-size: clamp(36px, 4.6vw, 50px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.amount .unit { font-size: 19px; color: var(--muted); font-weight: 600; }
.amount .usd { font-family: var(--mono); font-size: 13.5px; color: var(--faint); }

.kv { display: grid; gap: 13px; margin: 24px 0 0; }
.kv__row { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 6px 16px; align-items: center; font-size: 14.5px; }
.kv__row dt { color: var(--faint); font-size: 13.5px; }
.kv__row dd { margin: 0; min-width: 0; }
@media (max-width: 640px) { .kv__row { grid-template-columns: 1fr; } }

.addr { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-family: var(--mono); font-size: 13px; overflow: hidden; }
.addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn {
  display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px;
  border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,0.06); color: var(--muted); cursor: pointer; transition: 0.16s;
}
.icon-btn:hover { color: var(--blue-deep); border-color: var(--blue); background: var(--tint); }
.icon-btn.is-done { color: var(--green); border-color: rgba(15, 157, 88, 0.4); }

.deposits { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.deposit { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.deposit__amt { font-family: var(--mono); font-weight: 500; color: #5ee8a5; }
.deposit__amt.is-out { color: var(--muted); }
.deposit__from { color: var(--muted); font-family: var(--mono); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deposit__time { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.deposit__time:hover { color: #fff; }

.empty-state {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; margin-top: 22px; border-radius: var(--r);
  background: var(--tint); font-size: 14px; color: #cfe6ff;
}
.empty-state b { font-weight: 700; }

/* ----------------------------------------------------------------- split -- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 5vw, 64px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel {
  display: flex; flex-direction: column; min-width: 0; gap: 20px;
  padding: 32px; border-radius: var(--r-lg);
  background: var(--sheet); border: 1px solid var(--line-soft);
}
.panel--good { background: linear-gradient(180deg, rgba(26,136,248,0.16), rgba(26,136,248,0.05)); border-color: rgba(26,136,248,0.28); }
.panel h3 { font-size: 21px; letter-spacing: -0.035em; }
.panel ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--muted); }
.panel li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.panel li i { font-style: normal; color: var(--faint); font-weight: 700; }
.panel--good li i { color: var(--blue); }
.panel--good li span { color: rgba(255, 255, 255, 0.78); }

/* ------------------------------------------------------------- terminals -- */
.snippet {
  min-width: 0; max-width: 100%;
  border-radius: var(--r);
  background: #060b16;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: #aab6cb;
  overflow: hidden;
}
.snippet__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.snippet__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.snippet__bar span { margin-left: 6px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #5b667c; }
.snippet pre { margin: 0; padding: 16px 18px; overflow-x: auto; white-space: pre; }
.snippet .k { color: #6fb4ff; }
.snippet .g { color: #4fd08a; }
.snippet .c { color: #4d5871; }

/* ----------------------------------------------------------------- steps -- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 5vw, 64px); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 40px 32px 38px; border-radius: var(--r-lg);
  background: var(--sheet); border: 1px solid var(--line-soft);
}
.step__no {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: var(--tint); color: #7cc0ff; font-size: 17px; font-weight: 700;
}
.step__txt { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 10px; }
.step__txt h3 { font-size: 21px; letter-spacing: -0.035em; }
.step__txt p { font-size: 15.5px; color: var(--muted); }

/* --------------------------------------------------------- identity band -- */
.rails { margin-top: 44px; border-top: 1px solid var(--line); }
.rail {
  display: grid; grid-template-columns: 172px minmax(0, 1fr) 150px 152px;
  gap: 18px; align-items: center; padding: 17px 6px; border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.rail:hover { background: rgba(255, 255, 255, 0.04); }
.rail__name { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; letter-spacing: -0.025em; }
.rail__name svg { width: 18px; height: 18px; flex: 0 0 18px; opacity: 0.8; }
.rail__ex { font-family: var(--mono); font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail__ex:hover { color: #fff; }
.rail__addr { color: var(--faint); font-size: 12px; }
.rail__how { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .rail { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 16px 2px; }
  .rail__name { grid-column: 1; grid-row: 1; }
  .rail .pill { grid-column: 2; grid-row: 1; justify-self: end; }
  .rail__ex { grid-column: 1 / -1; grid-row: 2; }
  .rail__how { grid-column: 1 / -1; grid-row: 3; }
}

/* ------------------------------------------------------------------ send -- */
.sender { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 16px; margin-top: 48px; align-items: start; }
@media (max-width: 940px) { .sender { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--faint); }
.input {
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05); transition: 0.18s;
}
.input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--ghost); }
.input input { flex: 1; min-width: 0; border: 0; background: none; font-size: 16px; }
.input input:focus { outline: none; }
.input input::placeholder { color: var(--faint); }
.input .suffix { font-family: var(--mono); font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.input--mono input { font-family: var(--mono); font-size: 14px; }

.presets { display: flex; gap: 7px; flex-wrap: wrap; }
.preset {
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,0.05);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); cursor: pointer; transition: 0.16s;
}
.preset:hover, .preset.is-on { border-color: var(--blue); color: #fff; background: var(--tint); }

.status {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r);
  font-size: 14px; line-height: 1.5; color: var(--muted);
  background: var(--sheet); border: 1px solid var(--line-soft);
}
.status[hidden] { display: none; }
.status b { color: var(--ink); font-weight: 700; }
.status--ok { background: rgba(94, 232, 165, 0.12); color: #b6f4d5; }
.status--ok b { color: #5ee8a5; }
.status--err { background: rgba(255, 122, 104, 0.12); color: #ffc6bd; }
.status--err b { color: #ff9d8c; }
.status--work { background: var(--tint); color: #cfe6ff; }
.status--work b { color: #fff; }
.status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.spinner { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 4px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- send box -- */
/* The one bright surface in the section: a compact form, like a payment slip. */
.sendbox {
  --ink: #0b1220; --muted: #5c6674; --faint: #8b95a4;
  --line: rgba(11, 18, 32, 0.09); --line-soft: rgba(11, 18, 32, 0.06); --sheet-2: #f4f6f9;
  color: #0b1220; background: #fff;
  border-radius: 26px; box-shadow: var(--lift-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.sendbox__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px; border-bottom: 1px solid rgba(11, 18, 32, 0.07);
}
.sendbox__bar b { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.sendbox__net {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 99px; background: #eaf3ff; color: #0b4f9e;
  font-size: 12.5px; font-weight: 600;
}
.sendbox__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(11, 18, 32, 0.1);
  background: #fff; color: #5c6674; font-size: 14px; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: 0.16s;
}
.tab:hover { border-color: rgba(11, 18, 32, 0.22); color: #0b1220; }
.tab.is-on { background: #0b1220; border-color: #0b1220; color: #fff; }

.sendbox .field label { color: #8b95a4; }
.sendbox .input {
  background: #f7f9fc; border-color: rgba(11, 18, 32, 0.1);
}
.sendbox .input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 136, 248, 0.12); }
.sendbox .input .prefix { font-size: 15px; color: #8b95a4; white-space: nowrap; }
.sendbox .input input { color: #0b1220; }
.sendbox .input .suffix { color: #8b95a4; }
.sendbox .preset { background: #fff; border-color: rgba(11, 18, 32, 0.1); color: #5c6674; }
.sendbox .preset:hover, .sendbox .preset.is-on { border-color: var(--blue); color: var(--blue-deep); background: #eaf3ff; }
.sendbox .status { background: #f4f6f9; border-color: rgba(11,18,32,0.06); color: #5c6674; }
.sendbox .status--ok { background: rgba(15, 157, 88, 0.1); color: #0c6b3d; }
.sendbox .status--ok b { color: #0a5c34; }
.sendbox .status--err { background: rgba(214, 60, 40, 0.09); color: #8d2b1c; }
.sendbox .status--err b { color: #8d2b1c; }
.sendbox .status--work { background: #eaf3ff; color: #0b4f9e; }
.sendbox .status--work b { color: #0b4f9e; }
.sendbox .btn--ghost { --bd: rgba(11,18,32,0.14); --fg: #0b1220; }
.sendbox .btn--ghost:hover { background: #f4f6f9; }

/* -------------------------------------------------------------- registry -- */
.feed { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--sheet); overflow: hidden; }
.feed__bar { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.04); font-size: 14px; font-weight: 600; color: var(--muted); }
.feed__rows { padding: 4px 20px 14px; }
.feed__rows .deposit:last-child { border-bottom: 0; }

/* ------------------------------------------------------------------- faq -- */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 16px; padding: 24px 0;
  font-size: clamp(17px, 1.9vw, 20px); font-weight: 700; letter-spacing: -0.03em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #9dcdff; }
.faq summary::after {
  content: ''; width: 11px; height: 11px; margin-left: auto; flex: 0 0 11px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq p { padding: 0 40px 26px 0; font-size: 15.5px; color: var(--muted); max-width: 74ch; }

/* ------------------------------------------------------------------- cta -- */
.cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #1668c9, #0a3d7d 70%);
}
.cta h2 { font-size: clamp(34px, 5.4vw, 64px); max-width: 20ch; letter-spacing: -0.05em; }
.cta p { color: var(--muted); max-width: 48ch; font-size: clamp(16px, 1.5vw, 18.5px); }

/* ---------------------------------------------------------------- footer -- */
.footer { margin: 0; padding: 64px 0 48px; border-radius: 0; background: transparent; border-top: 1px solid var(--line-soft); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 13.5px; letter-spacing: -0.01em; color: var(--faint); font-weight: 600; }
.footer ul { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 11px; }
.footer li a { font-size: 15px; color: var(--muted); transition: color 0.16s; }
.footer li a:hover { color: #fff; }
.footer__note { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--faint); }

/* ---------------------------------------------------------------- reveal -- */
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .steps .rv:nth-child(2).is-in, .js .split .rv:nth-child(2).is-in { transition-delay: 0.09s; }
.js .steps .rv:nth-child(3).is-in { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- claim flow -- */
.claim-hero {
  position: relative; overflow: hidden;
  margin: 0; padding: clamp(130px, 13vw, 170px) 0 clamp(40px, 5vw, 64px);
  border-radius: 0;
  background: transparent;
}
.claim-hero .head { max-width: 680px; }
.claim-hero h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -0.05em; }

.flow { display: grid; gap: 12px; margin: clamp(28px, 4vw, 44px) 0 clamp(40px, 6vw, 64px); }
.stage {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px;
  padding: 30px; border-radius: var(--r-lg);
  background: var(--sheet); border: 1px solid var(--line-soft);
  transition: opacity 0.3s var(--ease), border-color 0.3s;
}
.stage.is-locked { opacity: 0.4; pointer-events: none; box-shadow: none; }
.stage.is-done .stage__no { color: #05101f; border-color: transparent; background: #5ee8a5; }
.stage__no {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,0.06);
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.stage__body { display: flex; flex-direction: column; min-width: 0; gap: 16px; align-items: flex-start; }
.stage__body > * { max-width: 100%; }
.stage__body form, .stage__body .card, .stage__body .status, .stage__body .publish,
.stage__body #c-proof, .stage__body #c-done, .stage__body #c-inbox, .stage__body .howto { width: 100%; }
.stage__body h3 { font-size: 22px; letter-spacing: -0.035em; }
.stage__body > p { font-size: 15.5px; color: var(--muted); max-width: 62ch; }
@media (max-width: 740px) { .stage { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; } .stage__body .row .btn { flex: 1 1 auto; } }

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .field { flex: 1 1 260px; }

.publish {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r);
  background: #060b16; color: #9fd0ff; font-family: var(--mono); font-size: 13.5px; overflow-x: auto;
}
.publish span { white-space: nowrap; }

.howto { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: h; }
.howto li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--muted); counter-increment: h; }
.howto li::before { content: counter(h); font-family: var(--mono); font-size: 11px; color: var(--faint); padding-top: 4px; }
.howto a { color: #9dcdff; text-decoration: underline; text-underline-offset: 3px; }

.done { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--r-lg); background: rgba(94, 232, 165, 0.12); border: 1px solid rgba(94,232,165,0.28); }
.done h3 { font-size: 27px; letter-spacing: -0.04em; }

/* ----------------------------------------------------------------- paths -- */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(28px, 4vw, 44px) 0 8px; }
@media (max-width: 1040px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .paths { grid-template-columns: 1fr; } }
.path {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px 22px; border-radius: var(--r-lg);
  background: var(--sheet); border: 1px solid var(--line);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
  cursor: pointer;
}
.path:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: rgba(26, 136, 248, 0.4); }
.path__no {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tint); color: #9dcdff;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
}
.path h3 { font-size: 18.5px; letter-spacing: -0.03em; }
.path p { font-size: 14.5px; color: var(--muted); }
.path__need { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--faint); }
.path__need b { color: var(--blue-deep); font-weight: 500; }

/* ---------------------------------------------------------------- recall -- */
.recall {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 30px; border-radius: var(--r-lg);
  background: var(--tint); border: 1px solid rgba(26, 136, 248, 0.28);
}
.recall[hidden] { display: none; }
.recall h3 { font-size: 19px; letter-spacing: -0.03em; }
.recall p { margin-top: 7px; font-size: 14.5px; color: rgba(255,255,255,0.72); max-width: 62ch; }
.recall__amount { font-family: var(--mono); font-size: 13px; color: #9dcdff; margin-top: 10px; }
@media (max-width: 740px) { .recall { grid-template-columns: 1fr; padding: 22px 20px; } .recall .btn { width: 100%; } }

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 600px) {
  .lookup__form { flex-direction: column; border-radius: var(--r-lg); padding: 10px; }
  .lookup__form input { height: 46px; padding-left: 12px; }
  .lookup__form .btn { width: 100%; }
  .deposit { flex-wrap: wrap; gap: 6px 12px; }
  .deposit__time { margin-left: 0; }
  .card__body, .card__head, .card__foot { padding-left: 18px; padding-right: 18px; }
  .panel { padding: 26px 22px; }
  .mailcard__stats { grid-template-columns: 1fr; }
  .feed__rows { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================== mailbox == */
/* The narrative, taken literally: deposits are messages, claiming is opening
   one. Three panes on a desktop, a list that swaps to the reader on a phone. */
.mail {
  display: grid;
  grid-template-columns: 250px minmax(300px, 380px) minmax(0, 1fr);
  height: calc(100vh - 74px);
  margin: 74px 0 0;   /* the bar is fixed; leave it its own room */
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 1080px) { .mail { grid-template-columns: 220px minmax(0, 1fr); } .mail__read { display: none; } .mail.is-reading .mail__list { display: none; } .mail.is-reading .mail__read { display: flex; } }
@media (max-width: 720px) { .mail { grid-template-columns: 1fr; } .mail__side { display: none; } }

.mail__side { display: flex; flex-direction: column; gap: 6px; padding: 22px 14px; border-right: 1px solid var(--line-soft); overflow-y: auto; }
.mail__side h4 { margin: 16px 0 4px 10px; font-size: 12px; font-weight: 600; color: var(--faint); }
.mail__folder {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; border: 0; background: none; width: 100%; text-align: left;
}
.mail__folder:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mail__folder.is-on { background: var(--tint); color: #fff; }
.mail__folder .count { margin-left: auto; font-size: 12.5px; color: var(--faint); }
.mail__folder svg { width: 17px; height: 17px; flex: 0 0 17px; opacity: 0.85; }

.mail__list { display: flex; flex-direction: column; border-right: 1px solid var(--line-soft); overflow: hidden; }
.mail__head {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line-soft);
}
.mail__head h2 { font-size: 20px; letter-spacing: -0.03em; }
.mail__head p { font-size: 13px; color: var(--faint); }
.mail__rows { overflow-y: auto; flex: 1; }
.mail__row {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 15px 20px; border-bottom: 1px solid var(--line-soft); cursor: pointer; transition: background 0.15s;
}
.mail__row:hover { background: rgba(255, 255, 255, 0.04); }
.mail__row.is-on { background: var(--tint); }
.mail__row .unread { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); margin-top: 5px; }
.mail__row .unread.is-read { background: transparent; }
.mail__from { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.mail__subject { font-size: 14px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail__when { font-size: 12.5px; color: var(--faint); white-space: nowrap; }

.mail__read { display: flex; flex-direction: column; overflow-y: auto; }
.mail__read-in { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; max-width: 720px; }
.mail__amount { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.mail__meta { display: grid; gap: 12px; }
.mail__meta div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; font-size: 14.5px; }
.mail__meta dt { color: var(--faint); font-size: 13.5px; }
.mail__meta dd { margin: 0; min-width: 0; }
.mail__empty { display: grid; place-items: center; height: 100%; padding: 40px; text-align: center; color: var(--faint); }
.mail__empty div { max-width: 42ch; display: flex; flex-direction: column; gap: 12px; align-items: center; }

.mail__id {
  display: flex; gap: 8px; padding: 6px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
}
.mail__id input { flex: 1; min-width: 0; height: 36px; padding: 0 6px 0 14px; border: 0; background: none; font-size: 14.5px; color: #fff; }
.mail__id input::placeholder { color: var(--faint); }
.mail__id input:focus { outline: none; }

/* compose, as a sheet over the mailbox */
.compose {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 20px;
  background: rgba(3, 10, 20, 0.6); backdrop-filter: blur(6px);
}
.compose[hidden] { display: none; }
.compose__box { width: min(560px, 100%); max-height: 92vh; overflow-y: auto; }

/* ==================================================== the sky, in the app ==
   The marketing pages and the mailbox are the same product, so the mailbox
   sits on the same weather. Everything below re-lights the dark app for it. */
body.theme-sky {
  background: transparent;
  color: #14161a;
}
.theme-sky .sky { position: fixed; inset: 0; z-index: -1; }

.theme-sky .nav {
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 -1px 0 rgba(11, 18, 32, 0.08);
}
.theme-sky .nav .brand { color: #14161a; }
.theme-sky .nav .brand span.dim { color: #6b7280; }
.theme-sky .nav__links a { color: #4b5563; }
.theme-sky .nav__links a:hover { color: #14161a; background: rgba(11, 18, 32, 0.05); }

/* the mail app becomes a single white sheet floating on the sky */
.theme-sky .mail {
  padding: 0;                 /* the marketing stylesheet pads <main>; this is one */
  margin: 92px auto 26px;
  width: min(1280px, calc(100% - 32px));
  height: calc(100vh - 130px);
  border: 1px solid rgba(11, 18, 32, 0.10);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(6, 30, 70, 0.55);
}
.theme-sky .mail__side { background: #f7f9fc; border-right: 1px solid rgba(11, 18, 32, 0.08); }
.theme-sky .mail__side h4 { color: #8b95a4; }
.theme-sky .mail__folder { color: #4b5563; }
.theme-sky .mail__folder:hover { background: rgba(11, 18, 32, 0.05); color: #14161a; }
.theme-sky .mail__folder.is-on { background: #e8f1ff; color: #0b4f9e; }
.theme-sky .mail__folder .count { color: #8b95a4; }

.theme-sky .mail__list { border-right: 1px solid rgba(11, 18, 32, 0.08); }
.theme-sky .mail__head { border-bottom: 1px solid rgba(11, 18, 32, 0.08); }
.theme-sky .mail__head h2 { color: #14161a; }
.theme-sky .mail__head p { color: #6b7280; }
.theme-sky .mail__row { border-bottom: 1px solid rgba(11, 18, 32, 0.07); }
.theme-sky .mail__row:hover { background: #f5f8ff; }
.theme-sky .mail__row.is-on { background: #e8f1ff; }
.theme-sky .mail__from { color: #14161a; }
.theme-sky .mail__subject { color: #5c6674; }
.theme-sky .mail__when { color: #8b95a4; }
.theme-sky .mail__empty { color: #6b7280; }
.theme-sky .mail__read-in { color: #14161a; }
.theme-sky .mail__amount { color: #14161a; }
.theme-sky .mail__meta dt { color: #8b95a4; }
.theme-sky .mail__meta a { color: #0a6fdd; }

.theme-sky .mail__id { background: #fff; border: 1px solid rgba(11, 18, 32, 0.12); }
.theme-sky .mail__id input { color: #14161a; }
.theme-sky .mail__id input::placeholder { color: #9aa3af; }

/* controls */
.theme-sky .btn { --bg: #fff; --fg: #14161a; --bd: rgba(11, 18, 32, 0.12); }
.theme-sky .btn:hover { background: #f3f6fb; }
.theme-sky .btn--primary { --bg: var(--blue); --fg: #fff; --bd: transparent; }
.theme-sky .btn--primary:hover { background: var(--blue-deep); }
.theme-sky .btn--soft { --bg: #e8f1ff; --fg: #0b4f9e; --bd: transparent; }
.theme-sky .icon-btn { background: #fff; border-color: rgba(11, 18, 32, 0.12); color: #5c6674; }
.theme-sky .fld, .theme-sky .input { background: #fff; border-color: rgba(11, 18, 32, 0.12); }
.theme-sky .input input { color: #14161a; }
.theme-sky .preset { background: #fff; border-color: rgba(11, 18, 32, 0.12); color: #5c6674; }
.theme-sky .preset:hover, .theme-sky .preset.is-on { background: #e8f1ff; color: #0b4f9e; border-color: var(--blue); }

/* messages */
.theme-sky .status { background: #f4f6f9; border: 1px solid rgba(11, 18, 32, 0.07); color: #4b5563; }
.theme-sky .status b { color: #14161a; }
.theme-sky .status--ok { background: #e9f8ef; border-color: #bfe6cc; color: #0c6b3d; }
.theme-sky .status--ok b { color: #0a5c34; }
.theme-sky .status--err { background: #fdf1ee; border-color: #f3cfc8; color: #8d2b1c; }
.theme-sky .status--err b { color: #8d2b1c; }
.theme-sky .status--work { background: #e8f1ff; border-color: #cfe2ff; color: #0b4f9e; }
.theme-sky .status--work b { color: #0b4f9e; }

.theme-sky .compose { background: rgba(10, 40, 90, 0.35); }
.theme-sky .publish { background: #0b1220; color: #cfe6ff; }

.nav__x{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:99px;color:inherit;opacity:.7;transition:opacity .18s,background .18s}
.nav__x:hover{opacity:1;background:rgba(11,18,32,.07)}
