:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0f0f10;
  --raised: #17171a;
  --line: rgba(255, 255, 255, 0.09);
  --fg: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --radius: 22px;
  --max: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6, 8, 12, 0.5);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup svg { width: 36px; height: 24px; }
.lockup span { font-weight: 700; letter-spacing: 0.28em; font-size: 17px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero { padding: 72px 0 40px; overflow-x: clip; position: relative; z-index: 2; } /* clips the phones sideways only, so the Android steps can open below */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin: 0 0 22px;
}
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 30ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.pill.primary { background: var(--fg); color: #000; }
.pill.ghost { background: var(--glass-surface); box-shadow: var(--glass-edge); color: var(--fg); }
.pill svg { width: 18px; height: 18px; }
.note { margin-top: 16px; font-size: 14px; color: var(--faint); }
.note a { color: var(--muted); }
h1.long { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; max-width: 22ch; }

/* Join the beta on Android: two steps that open under the button */
.android { position: relative; }
.android summary { list-style: none; cursor: pointer; user-select: none; }
.android summary::-webkit-details-marker { display: none; }
.android summary::after { content: ""; display: inline-block; flex: none; width: 7px; height: 7px; margin: -6px 0 0 2px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform .3s; }
.android[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.android ol {
  position: absolute; z-index: 5; top: calc(100% + 10px); left: 0; width: 300px;
  list-style: none; margin: 0; padding: 8px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(40, 46, 56, 0.55), rgba(22, 26, 32, 0.6));
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 24px 60px rgba(0,0,0,.6);
}
.android li a {
  display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center;
  padding: 12px; border-radius: 14px; text-decoration: none; transition: background .2s;
}
.android li a:hover { background: rgba(255,255,255,.06); }
.android li span { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--fg); color: #000; }
.android li b { font-size: 15px; font-weight: 600; color: var(--fg); }
.android li small { font-size: 13px; color: var(--faint); }

.phones { position: relative; height: 640px; }
/* Steel light behind the phones */
.phones::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 760px; height: 760px; max-width: 160vw;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--steel-1), .32), rgba(var(--steel-2), .1) 60%, transparent);
}
.phone {
  position: absolute; width: 290px;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #2c2c2e, #0d0d0f 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px -20px rgba(0,0,0,0.9), 0 0 120px rgba(255,255,255,0.05);
}
.phone img { border-radius: 38px; width: 100%; height: auto; }
.phones .front { right: 10%; top: 0; z-index: 2; }
.phones .back { right: 48%; top: 70px; transform: scale(0.88); transform-origin: top right; opacity: 0.75; }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 800;
  margin: 0 0 16px;
}
.section-lede { color: var(--muted); font-size: 19px; max-width: 46ch; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature .shot { display: flex; justify-content: center; }
.feature .phone { position: relative; width: 300px; }
.reel { width: 300px; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08); }
.reel video { display: block; width: 100%; height: auto; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.points li strong { color: var(--fg); font-weight: 600; }
.points svg { width: 20px; height: 20px; margin-top: 3px; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px;
}
.card {
  background: var(--glass-surface); box-shadow: var(--glass-edge), var(--glass-shadow);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: #aeb3bc; font-size: 15.5px; }
.card .ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); box-shadow: var(--glass-edge);
}
.card .ico svg { width: 20px; height: 20px; }

.promise { text-align: center; }
.promise h2 { max-width: 18ch; margin: 0 auto 16px; }
.promise .section-lede { margin: 0 auto; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.badges span {
  padding: 9px 16px; border-radius: 999px; background: var(--glass-surface); box-shadow: var(--glass-edge);
  font-size: 15px; color: #c3c7ce;
}

/* Theme preview */
.theme-lab {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: center;
  grid-template-areas: "copy shot" "picker shot";
}
.theme-lab .copy { grid-area: copy; align-self: end; }
.theme-lab .picker { grid-area: picker; align-self: start; }
.theme-lab .shot { grid-area: shot; display: flex; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  border: 0; background: var(--glass-surface); box-shadow: var(--glass-edge); color: var(--muted);
  font: 500 14.5px/1 var(--sans); cursor: pointer;
}
.chips button:hover { color: var(--fg); }
.chips button[aria-pressed="true"] { color: var(--fg); background: rgba(255,255,255,0.13); box-shadow: inset 0 1px 0 var(--glass-highlight), inset 0 0 0 1px rgba(255,255,255,0.45); }
.chips button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.chips .sw {
  position: relative; width: 22px; height: 22px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.chips .sw span {
  position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px #1a1d23;
}
.theme-desc { margin: 18px 0 0; color: var(--muted); font-size: 15px; min-height: 1.5em; }

.theme-phone { position: relative; width: 300px; }
.theme-shot { transition: opacity 0.2s; }
.theme-shot.loading { opacity: 0.6; }

/* Glass where blur isn't available, or the visitor asks for less transparency */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(0, 0, 0, 0.94); }
  .android ol { background: var(--glass-solid); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .android ol { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { background: #000; }
  .android ol, .card, .pill.ghost, .badges span, .chips button, .doc .summary { background: var(--glass-solid); }
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--fg); }

/* Document pages */
.doc { padding: 64px 0 24px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(38px, 5vw, 52px); margin-bottom: 10px; }
.doc .updated { color: var(--faint); font-size: 15px; margin: 0 0 40px; }
.doc .summary {
  background: var(--glass-surface); box-shadow: var(--glass-edge); border-radius: var(--radius);
  padding: 22px 24px; margin: 0 0 40px; color: #b4b9c2;
}
.doc .summary strong { color: var(--fg); }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 8px; }
.doc p { color: #d2d2d7; margin: 0 0 14px; }
.doc ul { color: #d2d2d7; margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 10px; }
.doc li strong { color: var(--fg); }

@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .copy { order: 0; }
  .theme-lab { grid-template-columns: 1fr; grid-template-areas: "copy" "shot" "picker"; row-gap: 32px; }
  .theme-lab .chips { margin-top: 0; }
  .phones { height: 560px; }
  .phones .front { right: auto; left: 50%; transform: translateX(-20%); }
  .phones .back { right: auto; left: 50%; transform: translateX(-85%) scale(0.86); transform-origin: top left; top: 60px; }
  .grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .phone { width: 240px; border-radius: 40px; }
  .phone img { border-radius: 32px; }
  .phones { height: 520px; }
  .phones .back { display: none; }
  .phones .front { left: 50%; transform: translateX(-50%); }
  .feature .phone, .theme-phone, .reel { width: 260px; }
  .grid { grid-template-columns: 1fr; }
}

/* AbeUS wordmark in the top-left of every page */
.lockup.abeus span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
