@font-face {
  font-family: "Alga";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Alga-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Alga Fallback";
  src: local("Georgia");
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Geist-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
}

:root {
  --paper: #efebe3;
  --ink: #1a1815;
  --ink-2: #57534c;
  --ink-3: #8a857c;
  --line: rgba(26, 24, 21, 0.12);
  --nav-h: 64px;
  --font-display: "Alga", "Alga Fallback", ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-button: 10px;
  --send: #2f6b45;
  --send-bg: rgba(47, 107, 69, 0.14);
  --fix: #a67c2a;
  --fix-bg: rgba(166, 124, 42, 0.16);
  --dont: #8b3a3a;
  --dont-bg: rgba(139, 58, 58, 0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background-color: #1a2430;
  background-image:
    linear-gradient(105deg, rgba(18, 28, 40, 0.55) 0%, rgba(18, 28, 40, 0.28) 42%, rgba(12, 20, 32, 0.18) 100%),
    url("bg-flowers.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

.grain svg {
  width: 100%;
  height: 100%;
  display: block;
}

body > *:not(.grain) {
  position: relative;
  z-index: 1;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-full {
  display: none;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-mark {
  display: block;
  height: 32px;
  width: 32px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.35);
}

@media (min-width: 881px) {
  .brand-full { display: block; }
  .brand-mark { display: none; }
}

.burger {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: var(--paper);
  padding: 8px 20px 32px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}

.nav-panel.open { display: flex; }

.nav-links {
  display: flex;
  flex-direction: column;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 8px;
}

.btn-chrome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.chrome-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-button);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (min-width: 881px) {
  .nav-inner { padding: 0 32px; }
  .burger { display: none; }

  .nav-panel {
    display: flex;
    position: static;
    inset: auto;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav-link {
    width: auto;
    padding: 8px 14px;
    font-size: 14.5px;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
  }

  .nav-link:hover { color: #fff; }

  .nav-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 12px;
    padding: 0;
  }

  .nav-actions .btn-outline {
    min-height: 36px;
    padding: 0 16px;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-actions .btn-chrome-cta .chrome-mark {
    width: 16px;
    height: 16px;
  }

  .nav-actions .btn-outline:hover {
    background: #fff;
    color: #1a1815;
  }

  .btn-outline {
    min-height: 36px;
    padding: 0 16px;
  }
}

.shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 881px) {
  .shell { padding: 0 48px; }
}

.hero {
  padding: 48px 0 72px;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}

.hero > .shell {
  width: 100%;
  max-width: 1280px;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 28rem;
  align-self: center;
  padding-top: 8px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 22, 28, 0.42);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-pill:hover {
  background: rgba(18, 22, 28, 0.58);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero h1 {
  margin: 0;
  max-width: 10em;
  font-family: var(--font-sans);
  font-size: clamp(44px, 6.4vw, 68px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 1px 18px rgba(10, 18, 28, 0.28);
}

.hero h1 em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-copy .lede {
  margin: 24px 0 0;
  max-width: 36ch;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 12px rgba(10, 18, 28, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.hero-actions .btn-chrome,
.hero-actions .btn-hero {
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #4aa3f0 0%, #1d9bf0 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(29, 155, 240, 0.35);
}

.hero-actions .btn-chrome:hover,
.hero-actions .btn-hero:hover {
  background: linear-gradient(180deg, #5aadf5 0%, #1a8cd8 100%);
}

.hero-actions .btn-outline,
.hero-actions .hero-secondary {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: none;
}

.hero-actions .btn-outline:hover,
.hero-actions .hero-secondary:hover {
  background: transparent;
  color: #fff;
}

.hero-note {
  margin: 22px 0 0;
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
}

.hero-media .product-cap {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-align: right;
  max-width: 36ch;
  margin-left: auto;
}

.hero-media {
  --demo-scale: 0.75;
  --compose-scale: 0.81; /* 10% smaller than prior 0.9 */
  --demo-w: 880px;
  --demo-h: min(640px, calc(100vh - var(--nav-h) - 96px));
  --demo-visual-w: calc(var(--demo-w) * var(--demo-scale));
  min-width: 0;
  width: var(--demo-visual-w);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  justify-self: end;
  flex-shrink: 0;
}

/* Layout box = visual footprint of the scaled X window */
.hero-demo {
  position: relative;
  width: var(--demo-visual-w);
  height: calc(var(--demo-h) * var(--demo-scale));
  overflow: visible;
  flex-shrink: 0;
}

/* Real X desktop shell → Post → camera zoom into compose */
.x-shell {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--demo-w);
  height: var(--demo-h);
  max-height: none;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #2f3336;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  color: #e7e9ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  transform: scale(var(--demo-scale));
  transform-origin: top left;
}

.x-shell-viewport {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 0fr;
  transform-origin: 46% 36%;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.demo-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  --cx: 120px;
  --cy: 180px;
  --cscale: 1;
  transform: translate3d(var(--cx), var(--cy), 0) scale(var(--cscale));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.x-shell.is-cursor-on .demo-cursor { opacity: 1; }
.demo-cursor.is-click {
  --cscale: 0.82;
  transition-duration: 0.12s;
}

.x-shell-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 10px 8px 14px;
  border-right: 1px solid #2f3336;
  background: #000;
  z-index: 2;
  overflow: hidden;
  transition: opacity 0.55s ease;
}

.x-shell-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  color: #e7e9ea;
  border-radius: 999px;
}

.x-shell-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.x-shell-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 999px;
  color: #e7e9ea;
  font-size: 19px;
  font-weight: 500;
}

.x-shell-item svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.x-shell-item span { display: none; }
.x-shell-item.is-active { font-weight: 700; }

.x-shell-post {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 8px auto 0;
  border: 0;
  border-radius: 999px;
  background: #eff3f4;
  color: #0f1419;
  cursor: default;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.x-shell-post-label { display: none; }
.x-shell-post-icon { display: block; }
.x-shell-post.is-pulse {
  transform: scale(0.92);
  box-shadow: 0 0 0 10px rgba(239, 243, 244, 0);
}

.x-shell-feed {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #000;
  border-right: 1px solid #2f3336;
}

.x-feed-top {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 53px;
  padding: 0 14px;
  border-bottom: 1px solid #2f3336;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1;
}

.x-feed-home {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 10px 0 0;
  min-height: 0;
}

.x-feed-home .x-feed-name {
  padding: 0 14px 8px;
  font-size: 19px;
}

.x-feed-home-tabs {
  display: flex;
  border-top: 0;
}

.x-feed-home-tabs span {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #71767b;
}

.x-feed-home-tabs .is-on {
  color: #e7e9ea;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #1d9bf0;
}

.x-compose-inline {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #2f3336;
}

.x-compose-inline-ph {
  margin: 8px 0 12px;
  font-size: 19px;
  color: #71767b;
}

.x-compose-inline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.x-compose-inline-bar .x-tools {
  color: #1d9bf0;
}

.x-compose-inline-bar .x-post {
  opacity: 0.5;
}

.x-av {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--av, #536471);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.x-feed-back {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #eff3f4;
}

.x-feed-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.x-feed-meta {
  font-size: 13px;
  color: #71767b;
}

.x-feed-banner {
  height: 110px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(29, 155, 240, 0.35), transparent 55%),
    linear-gradient(120deg, #152033 0%, #0b1018 50%, #1a2740 100%);
}

.x-feed-profile { padding: 0 14px 12px; }

.x-feed-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -38px;
  margin-bottom: 10px;
}

.x-feed-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 4px solid #000;
  background: #0a0a0a;
  object-fit: contain;
}

.x-feed-edit {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #536471;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #eff3f4;
}

.x-feed-displayname {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 800;
}

.x-feed-handle {
  margin-top: 2px;
  font-size: 14px;
  color: #71767b;
}

.x-feed-bio {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #e7e9ea;
}

.x-feed-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  font-size: 13px;
  color: #71767b;
}

.x-feed-facts a { color: #1d9bf0; text-decoration: none; }

.x-feed-counts {
  margin-top: 10px;
  font-size: 13px;
  color: #71767b;
}

.x-feed-counts strong {
  color: #e7e9ea;
  font-weight: 700;
}

.x-feed-tabs {
  display: flex;
  margin-top: 12px;
  border-bottom: 1px solid #2f3336;
}

.x-feed-tabs span {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #71767b;
}

.x-feed-tabs .is-on {
  color: #e7e9ea;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #1d9bf0;
}

.x-tweet {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #2f3336;
}

.x-tweet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #16181c;
}

.x-tweet-avatar.is-mark {
  object-fit: contain;
  padding: 7px;
  box-sizing: border-box;
  background: #0a0a0a;
}

.x-tweet-head {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 14px;
}

.x-tweet-head strong { font-weight: 700; }
.x-tweet-head span { color: #71767b; font-weight: 400; }

.x-tweet-body p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #e7e9ea;
}

.x-tweet-photo {
  display: grid;
  place-items: center;
  margin-top: 10px;
  height: 120px;
  border: 1px solid #2f3336;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(29, 155, 240, 0.12), transparent 60%),
    #0f1419;
  color: #8b98a5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.x-tweet-stats {
  display: flex;
  gap: 28px;
  margin-top: 10px;
  font-size: 12px;
  color: #71767b;
}

.x-shell-rail {
  display: none;
  padding: 8px 14px 16px;
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition: opacity 0.55s ease;
  min-width: 0;
}

.x-rail-search {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 0 16px;
  border-radius: 999px;
  background: #202327;
  color: #71767b;
  font-size: 14px;
}

.x-rail-card {
  margin-bottom: 14px;
  padding: 12px 12px 12px 12px;
  border: 1px solid #2f3336;
  border-radius: 16px;
  background: #16181c;
  overflow: visible;
  min-width: 0;
}

.x-rail-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.x-rail-user {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  min-width: 0;
}

.x-rail-user:last-child { margin-bottom: 0; }

.x-rail-user img,
.x-rail-av {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #16181c;
  flex-shrink: 0;
}

.x-rail-legal {
  margin: 8px 4px 0;
  font-size: 11px;
  line-height: 1.45;
  color: #71767b;
}

.x-rail-user strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.x-rail-user span {
  display: block;
  font-size: 13px;
  color: #71767b;
}

.x-rail-follow {
  display: inline-flex !important;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eff3f4;
  color: #0f1419 !important;
  font-size: 13px;
  font-weight: 700;
}

.x-rail-trend {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.x-rail-trend:last-child { margin-bottom: 0; }

.x-rail-trend span {
  font-size: 12px;
  color: #71767b;
}

.x-rail-trend strong {
  font-size: 14px;
  font-weight: 700;
}

.x-shell-scrim {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.45s ease;
}

.x-shell-compose {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  width: min(468px, calc(100% - 56px));
  max-height: min(560px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Shell is --demo-scale; compose uses --compose-scale so it stays under the window */
  transform: translate(-50%, calc(-50% + 16px)) scale(calc(0.96 * var(--compose-scale, 0.81) / var(--demo-scale, 0.75)));
  transform-origin: center center;
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.35s;
}

.x-shell.is-compose-open {
  overflow: visible;
}

.x-shell.is-compose-open .x-shell-compose {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(calc(var(--compose-scale, 0.81) / var(--demo-scale, 0.75)));
  transition-delay: 0s;
}

.x-shell.is-compose-open .x-shell-scrim {
  background: rgba(91, 112, 131, 0.45);
}

.x-shell.is-zoom .x-shell-viewport {
  transform: none;
  transform-origin: 50% 42%;
}

.x-shell.is-zoom .x-shell-rail,
.x-shell.is-zoom .x-shell-nav {
  opacity: 0.4;
}

.x-shell.is-zoom .x-shell-compose {
  width: min(468px, calc(100% - 56px));
  max-height: min(560px, calc(100% - 48px));
  transform: translate(-50%, -50%) scale(calc(var(--compose-scale, 0.81) / var(--demo-scale, 0.75)));
}

.x-shell-compose .x-modal {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #536471 transparent;
  border-radius: 16px;
  box-shadow: 0 0 0 1px #2f3336, 0 20px 50px rgba(0, 0, 0, 0.55);
}

.x-shell-compose .x-modal::-webkit-scrollbar { width: 6px; }
.x-shell-compose .x-modal::-webkit-scrollbar-thumb {
  background: #536471;
  border-radius: 99px;
}

.x-stage {
  width: 100%;
  padding: 22px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 22px 56px rgba(12, 20, 32, 0.24);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  backdrop-filter: blur(28px) saturate(1.35);
}

.hero-media .x-modal {
  background: #000;
}

.x-modal {
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.x-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  padding: 0 12px;
}

.x-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #eff3f4;
}

.x-drafts {
  color: #1d9bf0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding-right: 4px;
}

.x-compose {
  padding: 0 16px 4px;
}

.x-compose-top {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.x-avatar {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.x-compose-main {
  min-width: 0;
  padding-top: 2px;
}

.x-draft-wrap {
  position: relative;
  min-height: 96px;
}

.x-placeholder {
  position: absolute;
  inset: 0 auto auto 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: #71767b;
  pointer-events: none;
}

.x-draft-wrap.has-text .x-placeholder {
  display: none;
}

.x-draft {
  position: relative;
  margin: 0;
  min-height: 96px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: #e7e9ea;
  white-space: pre-wrap;
  word-break: break-word;
}

.x-reply {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #1d9bf0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.x-reply svg {
  flex: 0 0 auto;
}

.x-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 0 8px;
  border-top: 1px solid #2f3336;
}

.x-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  color: #eff3f4;
}

.x-tools svg {
  width: 20px;
  height: 20px;
  padding: 7px;
  flex: 0 0 auto;
  box-sizing: content-box;
}

.x-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eff3f4;
  color: #0f1419;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  opacity: 0.5;
  flex: 0 0 auto;
}

.x-post:not(.is-disabled) {
  opacity: 1;
  background: #eff3f4;
  color: #0f1419;
}

.x-shell-compose .x-draft-wrap,
.x-shell-compose .x-draft {
  min-height: 72px;
}

.x-shell-compose .x-draft,
.x-shell-compose .x-placeholder {
  font-size: 18px;
  line-height: 1.4;
}

.x-stage .dc-panel,
.x-shell-compose .dc-panel {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.x-stage .dc-btn.is-lit,
.x-shell-compose .dc-btn.is-lit {
  outline: 1px solid #efebe3;
}

.product-cap {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

@media (min-width: 980px) {
  .x-shell-viewport {
    grid-template-columns: 220px minmax(0, 1.35fr) minmax(250px, 0.9fr);
  }

  .x-shell-item span { display: inline; }
  .x-shell-item { padding: 0 14px; }

  .x-shell-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding-left: 10px;
  }

  .x-shell-post {
    width: auto;
    height: 48px;
    margin: 10px 8px 0;
    padding: 0 28px;
  }

  .x-shell-post-label { display: inline; }
  .x-shell-post-icon { display: none; }

  .x-shell-rail { display: block; }

  .x-shell.is-zoom .x-shell-viewport {
    transform: none;
    transform-origin: 50% 40%;
  }
}

@media (min-width: 881px) {
  .hero-media {
    --demo-w: 920px;
    --demo-h: min(680px, calc(100vh - var(--nav-h) - 80px));
  }

  .hero > .shell {
    max-width: 1320px;
    padding-inline: 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(280px, 26rem) max-content;
    justify-content: space-between;
    gap: 48px;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .x-shell-viewport {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .x-shell-item {
    justify-content: center;
    padding: 0;
  }

  .x-shell-post {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 0;
    align-items: stretch;
  }

  .hero-media {
    --demo-w: 720px;
    --demo-h: 480px;
  }

  .x-shell.is-zoom .x-shell-viewport {
    transform: none;
    transform-origin: 50% 36%;
  }

  .demo-cursor {
    display: none;
  }

  .x-tools svg:nth-child(n + 6) {
    display: none;
  }

  .x-draft,
  .x-placeholder,
  .x-draft-wrap {
    font-size: 17px;
    min-height: 72px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--r-button);
  border: 1.5px solid var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  transition: background 0.15s ease;
}

.btn:hover { background: #2e2b26; }

.btn[hidden],
.btn-outline[hidden] {
  display: none !important;
}

.section {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  scroll-margin-top: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.section h1,
.section h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 1px 16px rgba(10, 18, 28, 0.25);
}

.section-lede {
  margin: 16px 0 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  gap: 40px;
}

@media (min-width: 881px) {
  .hero { padding: 36px 0 72px; }
  .hero-copy {
    max-width: 26rem;
  }
  .hero h1 {
    font-size: clamp(46px, 4.6vw, 64px);
    line-height: 1.04;
    max-width: 9.2em;
  }
  .hero-copy .lede {
    margin-top: 22px;
    font-size: 17.5px;
    max-width: 34ch;
  }
  .hero-actions { margin-top: 32px; }
  .section { padding: 88px 0; }
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-first {
  border-top: 0;
  padding-top: 48px;
}

.section-try {
  padding-top: 24px;
}

.try-shell {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}

.try-head {
  margin: 0;
  width: 100%;
  text-align: center;
}

.try-head h2 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.try-head .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.judge-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.judge-pick {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 148px;
  padding: 18px 18px 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.42);
  color: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.judge-pick:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(12, 18, 26, 0.55);
}

.judge-pick.is-active {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(16, 22, 32, 0.72);
  color: #fff;
  transform: translateY(-2px);
}

.judge-pick-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.judge-pick.is-active .judge-pick-label {
  color: rgba(255, 255, 255, 0.72);
}

.judge-pick-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 450;
  color: inherit;
}

.judge-pick-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  background: #fff;
  opacity: 0.85;
  pointer-events: none;
}

.judge-pick-bar.is-running {
  animation: try-chip-fill 5.2s linear forwards;
}

@keyframes try-chip-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .judge-pick-bar.is-running { animation: none; transform: scaleX(1); }
  .judge-pick.is-active { transform: none; }
}

.judge-reveal {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.judge-reveal.is-swap .judge-draft-block,
.judge-reveal.is-swap .judge-answer {
  animation: try-swap 0.35s ease;
}

@keyframes try-swap {
  from { opacity: 0.45; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .judge-reveal.is-swap .judge-draft-block,
  .judge-reveal.is-swap .judge-answer { animation: none; }
}

.judge-draft-block,
.judge-answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 16, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.judge-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.judge-draft {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #fff;
}

.judge-panel {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 880px) {
  .judge-picks {
    grid-template-columns: 1fr;
  }

  .judge-pick {
    min-height: 0;
  }

  .judge-reveal {
    grid-template-columns: 1fr;
  }
}

.next-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vw, 44px);
}

.next-head {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.next-head h2 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.next-head .section-lede {
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.rooms-row {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .rooms-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

.rooms-item {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 22, 28, 0.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}

.rooms-item.is-live {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(252, 250, 246, 0.12);
}

.rooms-name {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}

.rooms-state {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.rooms-item.is-live .rooms-state {
  color: rgba(210, 240, 200, 0.92);
}

.rooms-item p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .next-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }
}

.next-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 18px 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 22, 28, 0.48);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 36px rgba(12, 20, 32, 0.18);
}

.next-item-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
  padding-top: 2px;
}

.next-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}

.next-item p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.next-closer {
  margin: 0;
  max-width: 36ch;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.next-closer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.next-closer a:hover {
  color: #4aa3f0;
}

.proof-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vw, 44px);
}

.proof-head {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.proof-head h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.proof-head .section-lede {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.proof-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .proof-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }
}

.proof-rule {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 18px 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 22, 28, 0.48);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 36px rgba(12, 20, 32, 0.18);
}

.proof-rule-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
  padding-top: 2px;
}

.proof-rule h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}

.proof-rule p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.proof-pair {
  width: 100%;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .proof-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }
}

.proof-side {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 18, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.proof-side-after {
  border-color: rgba(125, 206, 160, 0.28);
  background: rgba(20, 28, 24, 0.52);
}

.proof-side figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.proof-side-after figcaption {
  color: rgba(125, 206, 160, 0.85);
}

.proof-side p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(239, 235, 227, 0.78);
}

.proof-side-after p {
  color: #efebe3;
}

.install-shell {
  max-width: 520px;
  margin: 0 auto;
}

.install-shell .section-lede {
  max-width: 40ch;
}

.install-shell h2 {
  max-width: 16ch;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.waitlist-form input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-button);
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font: inherit;
}

.waitlist-form input:focus {
  outline: 2px solid rgba(26, 24, 21, 0.22);
  outline-offset: 1px;
}

.waitlist-form .btn {
  min-height: 44px;
}

.sticky-install {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, #fff);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(26, 24, 21, 0.08);
}

.sticky-install .btn {
  width: 100%;
}

@media (min-width: 881px) {
  .sticky-install { display: none !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.list li {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.list h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.steps h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.list p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

.list code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--ink);
}

/* Why scene removed — proof section replaces it */

.api-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vw, 44px);
}

.api-head {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.api-head h1,
.api-head h2 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.api-head .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.api-endpoints {
  width: 100%;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 800px) {
  .api-endpoints {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .api-card-note {
    grid-column: 1 / -1;
  }
}

.api-card {
  margin: 0;
  padding: 20px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 22, 28, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 36px rgba(12, 20, 32, 0.2);
  color: #efebe3;
}

.api-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.api-method {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(47, 107, 69, 0.35);
  color: #b8e0c4;
}

.api-method-muted {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(239, 235, 227, 0.7);
}

.api-path {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

.api-card > p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(239, 235, 227, 0.68);
}

.api-bullets {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.api-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(239, 235, 227, 0.78);
}

.api-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(125, 206, 160, 0.85);
}

.api-bullets a {
  color: rgba(239, 235, 227, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.api-bullets a:hover {
  color: #fff;
}

.api-bullets code,
.api-card code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

.api-code {
  margin: 16px 0 0;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 14, 0.55);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.api-code code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(239, 235, 227, 0.88);
  background: none;
  padding: 0;
  white-space: pre;
}

.price-grid-1 {
  max-width: 420px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 881px) {
  .price-grid.price-grid-1 {
    max-width: 420px;
  }
}

.page-developers .request-layout {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.page-developers .request-form {
  width: 100%;
  max-width: 440px;
  padding: 22px 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 22, 28, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 36px rgba(12, 20, 32, 0.2);
}

.page-developers .request-form label {
  color: rgba(255, 255, 255, 0.55);
}

.page-developers .request-form .optional {
  color: rgba(255, 255, 255, 0.38);
}

.page-developers .request-form input,
.page-developers .request-form select,
.page-developers .request-form textarea {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 14, 0.45);
  color: #efebe3;
}

.page-developers .request-form input::placeholder,
.page-developers .request-form textarea::placeholder {
  color: rgba(239, 235, 227, 0.35);
}

.page-developers .request-form input:focus,
.page-developers .request-form select:focus,
.page-developers .request-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 1px;
}

.page-developers .request-form select {
  color-scheme: dark;
}

.page-developers .request-form .btn {
  background: #efebe3;
  color: #1a1815;
  border-color: #efebe3;
}

.page-developers .request-form .btn:hover {
  background: #e8e4db;
}

.page-developers .request-status {
  color: rgba(255, 255, 255, 0.55);
}

.page-developers .request-status.ok { color: #7dcea0; }
.page-developers .request-status.err { color: #e8a0a0; }

.section-pricing {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(64px, 9vw, 96px);
}

.section-pricing .pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vw, 48px);
}

.pricing-head {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-head h1,
.pricing-head h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.pricing-head .section-lede {
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.billing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  gap: 2px;
}

.billing-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.billing-btn span {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.billing-btn.is-active {
  background: #fff;
  color: #1a1815;
}

.billing-btn.is-active span { color: #6b6660; }

.price-grid {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.price-grid-2 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 800px) {
  .price-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
}

@media (min-width: 881px) {
  .price-grid {
    max-width: 880px;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: clamp(22px, 4vw, 28px) clamp(18px, 3.5vw, 24px) clamp(22px, 3.5vw, 26px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 22, 26, 0.55);
  color: #efebe3;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 18px 48px rgba(12, 20, 32, 0.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

.price-card::before {
  content: none;
}

.price-card > * { position: relative; z-index: 1; }

.price-card-pro {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(12, 14, 18, 0.62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 22px 56px rgba(12, 20, 32, 0.28);
}

.price-card-top {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
}

.price-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: #efebe3;
}

.price-card h3 {
  margin: 0;
  font-size: clamp(20px, 4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-desc {
  margin: 10px 0 0;
  min-height: 2.9em;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(239, 235, 227, 0.62);
}

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-amount b { font-weight: 400; }

.price-save {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  background: #2f6a48;
  color: #efebe3;
}

.price-period {
  margin: 8px 0 0;
  min-height: 1.3em;
  font-size: 13px;
  color: rgba(239, 235, 227, 0.5);
}

.price-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.price-card .btn {
  background: #efebe3;
  color: #1a1815;
  border-color: #efebe3;
}

.price-card .btn:hover { background: #e8e4db; }

.price-card .btn-outline {
  color: #efebe3;
  border-color: rgba(239, 235, 227, 0.35);
  background: transparent;
}

.price-card .btn-outline:hover {
  background: rgba(239, 235, 227, 0.08);
  color: #efebe3;
}

.price-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(239, 235, 227, 0.12);
}

@media (max-width: 419px) {
  .billing-btn {
    padding: 0 12px;
    font-size: 12.5px;
  }

  .price-desc { min-height: 0; }
}

.price-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.4;
  color: #c9c3b8;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 6px;
  border-left: 1.5px solid #7dcea0;
  border-bottom: 1.5px solid #7dcea0;
  transform: rotate(-45deg);
}

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(8, 14, 22, 0.35) 0%, rgba(8, 14, 22, 0.72) 100%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  gap: 36px 40px;
  align-items: start;
}

.footer-brand {
  max-width: 28ch;
  display: grid;
  gap: 12px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-tag {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.footer-promise {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-x {
  margin: 12px 0 0;
  font-size: 14px;
}

.footer-x a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-x a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h2 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  width: fit-content;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom p { margin: 0; }

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(120px, 0.7fr));
  }
}

@media (max-width: 719px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

.request-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 881px) {
  .request-layout {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

.request-form {
  max-width: 440px;
}

.request-form label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin: 14px 0 6px;
}

.request-form .optional {
  color: var(--ink-3);
  font-weight: 400;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-button);
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  font: inherit;
}

.request-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.45;
}

.request-message-wrap {
  position: relative;
}

.request-message-wrap textarea {
  padding-right: 46px;
}

.request-dictate {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-2);
  cursor: pointer;
}

.request-dictate:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

.request-dictate.is-listening {
  color: #8b3a3a;
  border-color: rgba(139, 58, 58, 0.35);
  background: rgba(139, 58, 58, 0.08);
  box-shadow: 0 0 0 2px rgba(139, 58, 58, 0.12);
}

.request-dictate-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-3);
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(26, 24, 21, 0.25);
  outline-offset: 1px;
}

.request-form .btn {
  margin-top: 22px;
}

.request-status {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--ink-3);
}

.request-status.ok { color: #2f6b45; }
.request-status.err { color: #8b3a3a; }

html { scroll-behavior: smooth; }

/* Account */
.account-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 24px 100px;
  min-height: calc(100vh - var(--nav-h));
  box-sizing: border-box;
  overflow-x: clip;
  width: 100%;
}

.account-layout {
  width: 100%;
  max-width: 440px;
}

.account-layout.is-signed-in {
  max-width: 680px;
}

.account-shell {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-width: 0;
  padding: 32px 32px 36px;
  border-radius: 18px;
  background: #fcfaf6;
  border: 1px solid rgba(26, 24, 21, 0.12);
  box-shadow: 0 18px 50px rgba(12, 18, 28, 0.2);
  box-sizing: border-box;
}

.account-layout.is-signed-in .account-shell {
  max-width: none;
  padding: 36px 40px 40px;
}

.account-shell .eyebrow {
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.account-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.account-layout.is-signed-in .account-title {
  font-size: clamp(1.7rem, 2.8vw, 2.1rem);
  margin-bottom: 10px;
}

.account-lede {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
  max-width: 42rem;
}

.account-shell.is-signed-in .account-lede {
  margin-bottom: 28px;
}

.account-panel { margin-top: 4px; }

.account-oauth {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.btn-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-button);
  border: 1px solid rgba(26, 24, 21, 0.18);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-oauth:hover {
  background: #f7f4ef;
}

.btn-oauth-google .oauth-icon {
  flex: 0 0 auto;
}

.btn-oauth-x {
  background: #0f1419;
  border-color: #0f1419;
  color: #fff;
}

.btn-oauth-x:hover {
  background: #1a222c;
  border-color: #1a222c;
  color: #fff;
}

.account-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-or::before,
.account-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(26, 24, 21, 0.14);
}

.account-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(26, 24, 21, 0.14);
}

.account-tab {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.account-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.account-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 14px 0 6px;
}

.account-form input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(26, 24, 21, 0.22);
  border-radius: var(--r-button);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.account-form input::placeholder {
  color: var(--ink-3);
}

.account-form input:focus {
  outline: 2px solid rgba(26, 24, 21, 0.35);
  outline-offset: 1px;
}

.account-form .btn { margin-top: 22px; width: 100%; }

.account-verify-lede {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
}

.account-resend {
  margin-top: 10px;
  width: 100%;
}

.account-home {
  margin-top: 0;
}

.account-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-layout.is-signed-in .account-board {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.account-home-tabs {
  margin: 6px 0 22px;
  flex-wrap: wrap;
}

.account-pane {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-pane[hidden] {
  display: none;
}

.account-board-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-board-side {
  min-width: 0;
  padding: 22px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 24, 21, 0.12);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 24, 21, 0.1);
  box-sizing: border-box;
}

.account-identity-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.account-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fcfaf6;
  border: 1px solid rgba(26, 24, 21, 0.12);
  display: grid;
  place-items: center;
}

.account-avatar img {
  display: block;
  width: 26px;
  height: 26px;
}

.account-hello {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.account-who {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-meta {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.account-plan-card {
  margin: 0;
  padding: 16px 18px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 24, 21, 0.12);
  box-sizing: border-box;
}

.account-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.account-plan-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1815;
  background: rgba(26, 24, 21, 0.08);
}

.account-plan-badge.is-pro {
  background: #1a1815;
  color: #fcfaf6;
}

.account-plan-badge.is-ended {
  background: rgba(139, 58, 58, 0.12);
  color: #8b3a3a;
}

.account-plan-end {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  white-space: nowrap;
}

.account-plan {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
}

.account-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-meter {
  padding: 12px 14px 11px;
  border-radius: 12px;
  background: #fcfaf6;
  border: 1px solid rgba(26, 24, 21, 0.08);
}

.account-meter-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.account-meter-value {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.account-section-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.account-manage {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 24, 21, 0.12);
}

.account-manage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px 24px;
  align-items: start;
}

.account-manage-block {
  min-width: 0;
}

.account-manage-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.account-manage-value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-manage-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}

.account-manage-block-full {
  grid-column: 1 / -1;
}

.account-surf {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.account-surf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.account-surf-row input {
  margin: 0;
}

.account-surf .account-manage-btn {
  align-self: flex-start;
  margin-top: 6px;
}

.account-manage-pass {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.account-manage-pass input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(26, 24, 21, 0.22);
  border-radius: var(--r-button);
  background: #fcfaf6;
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}

.account-manage-pass input:focus {
  outline: 2px solid rgba(26, 24, 21, 0.35);
  outline-offset: 1px;
}

.account-manage-btn {
  flex: 0 0 auto;
  justify-content: center;
  white-space: nowrap;
  min-width: 92px;
}

.account-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f5c36;
  background: rgba(31, 92, 54, 0.1);
  white-space: nowrap;
}

.account-chip.is-warn {
  color: #8b3a3a;
  background: rgba(139, 58, 58, 0.12);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.account-billing-toggle {
  margin: 0;
  width: 100%;
  justify-content: flex-start;
  border: 1px solid rgba(26, 24, 21, 0.14);
  background: rgba(26, 24, 21, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.account-billing-toggle .billing-btn {
  color: var(--ink-2);
}

.account-billing-toggle .billing-btn span {
  color: var(--ink-3);
}

.account-billing-toggle .billing-btn.is-active {
  background: var(--ink);
  color: #fcfaf6;
}

.account-billing-toggle .billing-btn.is-active span {
  color: rgba(252, 250, 246, 0.72);
}

.account-actions .btn,
.account-actions .btn-outline {
  flex: 0 1 auto;
  min-width: 140px;
  justify-content: center;
  text-align: center;
}

.account-pro-soon {
  flex: 1 1 220px;
  margin: 0;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  background: rgba(26, 24, 21, 0.05);
  border: 1px dashed rgba(26, 24, 21, 0.14);
}

.account-home-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
}

.account-side-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.account-side-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.account-side-lede {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.account-conn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.account-conn {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 12px;
  background: #fcfaf6;
  border: 1px solid rgba(26, 24, 21, 0.1);
}

.account-conn.is-connected {
  border-color: rgba(31, 92, 54, 0.28);
  background: rgba(31, 92, 54, 0.04);
}

.account-conn.is-soon {
  opacity: 0.72;
}

.account-conn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(26, 24, 21, 0.1);
  color: #1a1815;
}

.account-conn-icon-x {
  background: #1a1815;
  border-color: #1a1815;
  color: #fcfaf6;
}

.account-conn-icon-muted {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.account-conn-copy {
  min-width: 0;
}

.account-conn-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.account-conn-detail {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-conn-action {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(26, 24, 21, 0.14);
  background: #fff;
  white-space: nowrap;
}

.account-conn-action:hover {
  border-color: rgba(26, 24, 21, 0.28);
}

.account-conn-action.is-static,
.account-conn-action[aria-disabled="true"] {
  pointer-events: none;
  color: #1f5c36;
  border-color: rgba(31, 92, 54, 0.25);
  background: rgba(31, 92, 54, 0.08);
}

.account-conn-soon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.account-status {
  margin: 18px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--ink-2);
}

.account-status.ok { color: #1f5c36; }
.account-status.err { color: #8b3a3a; }

.account-device {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .account-layout.is-signed-in .account-board {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .account-layout.is-signed-in .account-shell {
    padding: 28px 24px 32px;
  }

  .account-manage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .account-page {
    padding: 24px 14px 72px;
  }

  .account-shell {
    padding: 22px 18px 26px;
    border-radius: 14px;
  }

  .account-layout.is-signed-in .account-shell {
    padding: 22px 16px 26px;
  }

  .account-board-side {
    padding: 18px 16px;
  }

  .account-identity {
    gap: 12px;
    padding: 14px;
  }

  .account-who {
    font-size: 14px;
  }

  .account-manage-pass {
    flex-direction: column;
  }

  .account-manage-btn {
    width: 100%;
  }

  .account-conn {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .account-conn-icon {
    width: 32px;
    height: 32px;
  }

  .account-conn-detail {
    white-space: normal;
  }

  .account-actions .btn,
  .account-actions .btn-outline {
    flex: 1 1 100%;
  }
}

/* Legal pages (privacy, etc.) */
.page-legal .legal-page {
  display: flex;
  justify-content: center;
  padding: 40px 20px 96px;
  min-height: calc(100vh - var(--nav-h));
  box-sizing: border-box;
}

.page-legal .legal-shell {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 36px 36px 40px;
  border-radius: 18px;
  background: #fcfaf6;
  border: 1px solid rgba(26, 24, 21, 0.12);
  box-shadow: 0 18px 50px rgba(12, 18, 28, 0.22);
  box-sizing: border-box;
}

.page-legal .legal-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.page-legal .legal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-legal .legal-lede {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.page-legal .legal-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(26, 24, 21, 0.12);
}

.page-legal .legal-list li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 24, 21, 0.1);
}

.page-legal .legal-list h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.page-legal .legal-list p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.page-legal .legal-list code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(26, 24, 21, 0.06);
  color: var(--ink);
}

.page-legal .legal-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 560px) {
  .page-legal .legal-page {
    padding: 24px 14px 72px;
  }

  .page-legal .legal-shell {
    padding: 24px 20px 28px;
    border-radius: 14px;
  }
}

/* Developers page — readable panels on photo background */
.page-developers main .section {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.page-developers main .eyebrow {
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

.page-developers main h1,
.page-developers main h2,
.page-developers main h3 {
  color: var(--ink);
  text-shadow: none;
}

.page-developers main .section-lede {
  color: var(--ink-2);
}

.page-developers .api-shell,
.page-developers .section-pricing .pricing,
.page-developers .request-layout {
  padding: 32px 28px 36px;
  border-radius: 18px;
  background: #fcfaf6;
  border: 1px solid rgba(26, 24, 21, 0.12);
  box-shadow: 0 18px 50px rgba(12, 18, 28, 0.22);
  box-sizing: border-box;
}

.page-developers .api-head h1,
.page-developers .api-head h2,
.page-developers .pricing-head h1,
.page-developers .pricing-head h2,
.page-developers .request-copy h1,
.page-developers .request-copy h2 {
  max-width: none;
}

.page-developers .api-card {
  border: 1px solid rgba(26, 24, 21, 0.12);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(12, 18, 28, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-developers .api-method {
  background: rgba(31, 92, 54, 0.12);
  color: #1f5c36;
}

.page-developers .api-method-muted {
  background: rgba(26, 24, 21, 0.08);
  color: var(--ink-2);
}

.page-developers .api-path {
  color: var(--ink);
}

.page-developers .api-card > p {
  color: var(--ink-2);
}

.page-developers .api-bullets li {
  color: var(--ink-2);
}

.page-developers .api-bullets li::before {
  background: rgba(31, 92, 54, 0.55);
}

.page-developers .api-bullets a {
  color: var(--ink);
}

.page-developers .api-bullets a:hover {
  color: #1f5c36;
}

.page-developers .api-bullets code,
.page-developers .api-card code {
  color: var(--ink);
  background: rgba(26, 24, 21, 0.06);
}

.page-developers .api-code {
  border: 1px solid rgba(26, 24, 21, 0.12);
  background: #f3f0ea;
}

.page-developers .api-code code {
  color: var(--ink);
}

.page-developers .billing-toggle {
  border: 1px solid rgba(26, 24, 21, 0.14);
  background: rgba(26, 24, 21, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-developers .billing-btn {
  color: var(--ink-2);
}

.page-developers .billing-btn span {
  color: var(--ink-3);
}

.page-developers .billing-btn.is-active {
  background: var(--ink);
  color: #fcfaf6;
}

.page-developers .billing-btn.is-active span {
  color: rgba(252, 250, 246, 0.72);
}

.page-developers .price-card,
.page-developers .price-card-pro {
  border: 1px solid rgba(26, 24, 21, 0.12);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(12, 18, 28, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-developers .price-badge {
  background: rgba(26, 24, 21, 0.08);
  color: var(--ink-2);
}

.page-developers .price-desc,
.page-developers .price-period {
  color: var(--ink-2);
}

.page-developers .price-amount {
  color: var(--ink);
}

.page-developers .price-features {
  color: var(--ink-2);
}

.page-developers .price-card .btn {
  background: var(--ink);
  color: #fcfaf6;
  border-color: var(--ink);
}

.page-developers .price-card .btn:hover {
  background: #2e2b26;
}

.page-developers .request-form {
  border: 1px solid rgba(26, 24, 21, 0.12);
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 18, 28, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-developers .request-form label {
  color: var(--ink);
}

.page-developers .request-form .optional {
  color: var(--ink-3);
}

.page-developers .request-form input,
.page-developers .request-form select,
.page-developers .request-form textarea {
  border: 1px solid rgba(26, 24, 21, 0.22);
  background: #fcfaf6;
  color: var(--ink);
}

.page-developers .request-form input::placeholder,
.page-developers .request-form textarea::placeholder {
  color: var(--ink-3);
}

.page-developers .request-form input:focus,
.page-developers .request-form select:focus,
.page-developers .request-form textarea:focus {
  outline: 2px solid rgba(26, 24, 21, 0.35);
  outline-offset: 1px;
}

.page-developers .request-form .btn {
  background: var(--ink);
  color: #fcfaf6;
  border-color: var(--ink);
}

.page-developers .request-form .btn:hover {
  background: #2e2b26;
}

.page-developers .request-status {
  color: var(--ink-2);
}

.page-developers .request-status.ok {
  color: #1f5c36;
}

.page-developers .request-status.err {
  color: #8b3a3a;
}

.page-developers .request-dictate {
  border: 1px solid rgba(26, 24, 21, 0.18);
  background: #fcfaf6;
  color: var(--ink-2);
}

.page-developers .request-dictate:hover {
  color: var(--ink);
  background: #fff;
}

.page-developers .request-dictate.is-listening {
  color: #8b3a3a;
  border-color: rgba(139, 58, 58, 0.35);
  background: rgba(139, 58, 58, 0.06);
}

.page-developers .request-dictate-hint {
  color: var(--ink-3);
}

@media (max-width: 560px) {
  .page-developers .api-shell,
  .page-developers .section-pricing .pricing,
  .page-developers .request-layout {
    padding: 24px 18px 28px;
    border-radius: 14px;
  }
}
