/* Josi — heyjosi.com
   Identity: the white J and Josi wordmark on deep navy. No mascot. */

:root {
  --navy-950: #030c18;
  --navy-900: #061528;
  --navy-850: #081c33;
  --navy-800: #0b233f;
  --navy-700: #103157;

  --orange: #ff7a00;
  --orange-soft: #ff9433;
  --gold: #f5aa3d;
  --cream: #fff8ed;
  --muted: #a3b8d0;
  --muted-dim: #7c93ae;

  --line: #143156;
  --line-soft: #0f2745;

  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand",
    "Segoe UI Variable Display", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --wrap: 1120px;
  --radius: 20px;
  --pad: clamp(18px, 4vw, 28px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Warm overhead light + fine grid, both very restrained. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(255, 122, 0, .16), transparent 62%),
    radial-gradient(760px 620px at 88% 4%, rgba(16, 49, 87, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 46%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .5;
  background-image:
    linear-gradient(to right, rgba(163, 184, 208, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(163, 184, 208, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(720px 460px at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(720px 460px at 50% 0%, #000 0%, transparent 78%);
}

a { color: var(--gold); }
a:hover { color: var(--orange-soft); }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #21160a;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 0; color: #21160a; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 15, 29, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(20, 49, 86, .8);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--cream);
  flex: 0 0 auto;
}
.brand img.mark,
.lettermark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.lettermark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  color: var(--cream);
  background: var(--navy-900);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.brand img.wordmark {
  width: auto;
  height: 22px;
  display: block;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 10px;
}
.site-nav a:hover {
  color: var(--cream);
  background: rgba(163, 184, 208, .08);
}
.site-nav a.cta {
  color: #21160a;
  background: var(--orange);
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 6px 20px rgba(255, 122, 0, .28);
}
.site-nav a.cta:hover { background: var(--orange-soft); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 18px;
    background: #040f1d;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; font-size: 16px; }
  .site-nav a.cta { margin: 8px 0 0; text-align: center; }
}

/* ------------------------------------------------------------------ bits */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow .ball { flex: 0 0 auto; }

.h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0 0 20px;
}
.h1 .accent { color: var(--gold); }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 800;
  margin: 0 0 14px;
}

.section-lede {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 62ch;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  background: var(--orange);
  color: #21160a;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(255, 122, 0, .26);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { background: var(--orange-soft); color: #21160a; transform: translateY(-1px); }
.button.ghost {
  background: rgba(163, 184, 208, .06);
  color: var(--cream);
  border-color: var(--line);
  box-shadow: none;
}
.button.ghost:hover { background: rgba(163, 184, 208, .12); color: var(--cream); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.section { padding: clamp(60px, 8vw, 96px) 0; }
section[id] { scroll-margin-top: 84px; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(44px, 7vw, 86px) 0 clamp(52px, 7vw, 92px);
}

.hero p.lede {
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}
.hero p.lede strong { color: var(--cream); font-weight: 600; }

.hero-note {
  margin: 26px 0 0;
  font-size: 14.5px;
  color: var(--muted-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { flex: 0 0 auto; color: var(--gold); }

/* device continuity stage — original CSS/SVG artwork */

.stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1 / .96;
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, .2), transparent 64%);
  filter: blur(18px);
  z-index: -1;
}

.desk {
  position: absolute;
  top: 0;
  right: 0;
  width: 76%;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.desk__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .02);
}
.desk__bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #24456d;
  display: block;
}
.desk__bar span {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--muted-dim);
  letter-spacing: .04em;
}
.desk__body { padding: 14px 14px 18px; display: grid; gap: 8px; justify-items: end; }
.desk__msg {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 7px 10px;
  border-radius: 11px;
  max-width: 82%;
}
.desk__msg.me {
  background: rgba(255, 122, 0, .9);
  color: #21160a;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.desk__msg.them {
  justify-self: start;
  background: rgba(163, 184, 208, .1);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  border-bottom-left-radius: 4px;
}
.desk__msg.them b { color: var(--gold); }
.desk__line {
  height: 8px;
  width: 54%;
  justify-self: start;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(163, 184, 208, .2), rgba(163, 184, 208, .05));
}

.phone {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 54%;
  background: linear-gradient(180deg, #0a1e37, #061528);
  border: 1px solid #1b3f6b;
  border-radius: 34px;
  padding: 10px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.phone__screen {
  background: var(--navy-950);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(27, 63, 107, .7);
}
.phone__top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.phone__top img {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
}
.phone__who { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
.phone__status {
  margin-left: auto;
  font-size: 11px;
  color: #7fd4a3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phone__status i {
  width: 7px; height: 7px; border-radius: 50%; background: #58c98c;
  box-shadow: 0 0 0 3px rgba(88, 201, 140, .16);
}

.thread { padding: 14px; display: grid; gap: 10px; }
.bubble {
  font-size: 13.5px;
  line-height: 1.45;
  padding: 10px 13px;
  border-radius: 15px;
  max-width: 88%;
}
.bubble.them {
  background: rgba(163, 184, 208, .09);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 5px;
  color: var(--cream);
}
.bubble.me {
  margin-left: auto;
  background: linear-gradient(180deg, var(--orange), #e96e00);
  color: #21160a;
  font-weight: 600;
  border-bottom-right-radius: 5px;
}
.bubble.them b { color: var(--gold); font-weight: 700; }

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 15px;
  border-bottom-left-radius: 5px;
  background: rgba(163, 184, 208, .09);
  border: 1px solid var(--line-soft);
  width: fit-content;
}
.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: blink 1.4s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.composer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 12px 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-dim);
  font-size: 12.5px;
  background: rgba(163, 184, 208, .04);
}
.composer .mic { margin-left: auto; color: var(--gold); display: flex; }

.sync-chip {
  position: absolute;
  right: 0;
  bottom: 4%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cream);
  background: rgba(6, 21, 40, .88);
  border: 1px solid rgba(245, 170, 61, .32);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sync-chip svg { color: var(--gold); flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i { animation: none; }
  .button:hover { transform: none; }
}

/* -------------------------------------------------------------- platforms */

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: 20px clamp(16px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(8, 28, 51, .5);
}
.platforms .label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  font-weight: 700;
}
.platforms ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
}
.platforms li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
}
.platforms svg { color: var(--gold); flex: 0 0 auto; }

/* --------------------------------------------------------------- features */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tile {
  grid-column: span 2;
  position: relative;
  padding: var(--pad);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(168deg, rgba(16, 49, 87, .48), rgba(6, 21, 40, .78));
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: rgba(245, 170, 61, .38); transform: translateY(-2px); }
.tile.wide { grid-column: span 3; }
.tile.lead { grid-column: span 6; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: center; }

.tile h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -.012em;
  margin: 16px 0 8px;
  font-weight: 800;
}
.tile.lead h3 { font-size: clamp(24px, 2.6vw, 32px); }
.tile p { color: var(--muted); margin: 0; font-size: 15.5px; }
.tile .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 170, 61, .12);
  border: 1px solid rgba(245, 170, 61, .26);
  color: var(--gold);
}

.mini-thread {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(3, 12, 24, .6);
}
.mini-thread .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.mini-thread .row svg { color: var(--gold); flex: 0 0 auto; }
.mini-thread .row b { color: var(--cream); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .tile:hover { transform: none; }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.lead { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.wide, .tile.lead { grid-column: span 1; }
}

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--pad);
  padding-top: 26px;
  border-top: 2px solid rgba(245, 170, 61, .35);
  background: linear-gradient(180deg, rgba(245, 170, 61, .06), transparent 55%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--gold);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 10px 0 8px;
  font-weight: 800;
}
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- doc panels */

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 28, 51, .55);
  padding: clamp(22px, 4vw, 40px);
}
.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.02em;
  margin: 0 0 8px;
  font-weight: 800;
}
.panel > p { color: var(--muted); }
.panel > p strong, .panel li strong { color: var(--cream); }

.scopes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 20px;
}
.scope {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(3, 12, 24, .5);
}
.scope .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8ee0b1;
  background: rgba(88, 201, 140, .12);
  border: 1px solid rgba(88, 201, 140, .28);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.scope h3 { margin: 0 0 6px; font-size: 17px; font-family: var(--font-display); }
.scope p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .scopes { grid-template-columns: 1fr; } }

.not-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.not-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15.5px;
}
.not-list svg { flex: 0 0 auto; margin-top: 4px; color: #e08a6f; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.trust-item {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(3, 12, 24, .45);
}
.trust-item h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  margin: 0 0 6px;
}
.trust-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- final cta */

.cta-band {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(245, 170, 61, .28);
  background:
    radial-gradient(560px 220px at 12% 0%, rgba(255, 122, 0, .2), transparent 68%),
    linear-gradient(150deg, rgba(16, 49, 87, .6), rgba(6, 21, 40, .85));
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.025em;
  margin: 0 0 10px;
  font-weight: 800;
}
.cta-band p { margin: 0; color: var(--muted); max-width: 52ch; }
.cta-band .actions { margin: 0; }
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(56px, 8vw, 96px);
  padding: 44px 0 52px;
  color: var(--muted-dim);
  font-size: 14.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 30px;
}
.footer-top p { margin: 14px 0 0; max-width: 40ch; }
.footer-col h3 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted-dim); text-decoration: none; }
.footer-col a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* ------------------------------------------------------------ legal pages */

.doc {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(36px, 6vw, 68px) 0 clamp(40px, 6vw, 72px);
}
.doc .eyebrow { margin-bottom: 12px; color: var(--gold); }
.doc h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 22px;
  font-weight: 800;
}
.doc h2 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -.012em;
  margin: 40px 0 10px;
  font-weight: 800;
  scroll-margin-top: 90px;
}
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--cream); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 9px; }
.doc .lede-block {
  border-left: 2px solid rgba(245, 170, 61, .45);
  padding: 2px 0 2px 18px;
  margin: 0 0 8px;
}
.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

/* legacy class kept so older markup keeps its shape */
.brand img { display: block; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: clamp(32px, 6vw, 56px); }
  .stage { max-width: 480px; margin-top: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stage { max-width: 400px; aspect-ratio: 1 / 1.08; }
  .phone { width: 58%; bottom: 46px; }
  .desk { width: 74%; }
  .sync-chip {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    font-size: 11.5px;
    padding: 7px 12px;
    white-space: nowrap;
  }
  .bubble { font-size: 12px; padding: 8px 11px; }
  .phone__top { padding: 11px 11px 10px; }
  .phone__top img { width: 26px; height: 26px; }
  .thread { padding: 11px; gap: 8px; }
  .composer { font-size: 11px; margin: 2px 10px 11px; }
  .actions .button { flex: 1 1 100%; }
  .brand img.wordmark { height: 20px; }
}

/* ------------------------------------------------------------- two doors */

.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.door {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(16, 49, 87, .5), rgba(6, 21, 40, .8));
  text-decoration: none;
  color: var(--cream);
  transition: border-color .2s ease, transform .2s ease;
}
.door:hover { border-color: rgba(255, 122, 0, .5); transform: translateY(-2px); color: var(--cream); }
.door h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0;
}
.door p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 44ch; }
.door p code {
  font-size: .88em;
  color: var(--gold);
  background: rgba(245, 170, 61, .1);
  border: 1px solid rgba(245, 170, 61, .22);
  border-radius: 6px;
  padding: 1px 6px;
}
.door__tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
}
.door__tag.free {
  color: #8ee0b1;
  background: rgba(88, 201, 140, .12);
  border: 1px solid rgba(88, 201, 140, .28);
}
.door__tag.soon {
  color: var(--gold);
  background: rgba(245, 170, 61, .1);
  border: 1px solid rgba(245, 170, 61, .3);
}
.door__go {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
}
.door:hover .door__go { color: var(--orange-soft); }
@media (max-width: 720px) { .doors { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- CE grid */

.ce-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(26px, 4vw, 38px);
}
.ce-grid .tile.wide { grid-column: auto; }
.ce-grid .tile p code {
  font-size: .88em;
  color: var(--gold);
  background: rgba(245, 170, 61, .1);
  border: 1px solid rgba(245, 170, 61, .22);
  border-radius: 6px;
  padding: 1px 6px;
}
@media (max-width: 720px) { .ce-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- platform status */

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.status-item {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(3, 12, 24, .45);
}
.status-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 12px 0 6px;
  font-weight: 800;
}
.status-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.status-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
}
.status-badge.review {
  color: #8ee0b1;
  background: rgba(88, 201, 140, .12);
  border: 1px solid rgba(88, 201, 140, .28);
}
.status-badge.soon {
  color: var(--muted);
  background: rgba(163, 184, 208, .08);
  border: 1px solid var(--line);
}
@media (max-width: 820px) { .status-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- early-access form */

.form-panel form { margin-top: 24px; }
.form-panel .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.form-panel label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
}
.form-panel label .opt { font-weight: 500; color: var(--muted-dim); }
.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(3, 12, 24, .6);
  color: var(--cream);
  font: inherit;
  font-size: 15.5px;
}
.form-panel input::placeholder,
.form-panel textarea::placeholder { color: var(--muted-dim); }
.form-panel input:focus-visible,
.form-panel textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: transparent;
}
.form-panel textarea { resize: vertical; min-height: 84px; }
.form-panel .hp { position: absolute; left: -9999px; top: -9999px; }
.form-panel button.button { cursor: pointer; font: inherit; font-weight: 700; }
.form-panel .form-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted-dim); }
@media (max-width: 620px) { .form-panel .form-row { grid-template-columns: 1fr; } }

/* -------------------------------------- mobile hero: stack, don't float */

@media (max-width: 560px) {
  .stage {
    max-width: none;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .stage::before { top: 40%; width: 110%; }
  .desk { display: none; }
  .phone {
    position: static;
    width: min(300px, 88%);
    margin: 6px auto 0;
    order: 1;
  }
  .sync-chip {
    position: static;
    transform: none;
    margin: 16px auto 0;
    display: inline-flex;
    width: fit-content;
    order: 2;
  }
}
