:root {
  --bg: #f6f8fc;
  --ink: #0b1c30;
  --muted: #667085;
  --subtle: #d7deea;
  --line: rgba(11, 28, 48, 0.12);
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --dark: #11131c;
  --dark-2: #191d29;
  --blue: #0052e9;
  --blue-soft: #dce8ff;
  --cyan: #00a7c7;
  --green: #45a067;
  --red: #bf4343;
  --shadow: 0 26px 80px rgba(25, 31, 45, 0.12);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  color: var(--ink);
  background: var(--bg);
  font-family: "Geist", "Avenir Next", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(0, 82, 233, 0.1), transparent 30%),
    linear-gradient(250deg, rgba(0, 167, 199, 0.12), transparent 26%),
    var(--bg);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.028;
  background-image:
    repeating-radial-gradient(circle at 18% 22%, rgba(11, 28, 48, 0.6) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(11, 28, 48, 0.16) 7px 8px);
  mix-blend-mode: multiply;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(215, 222, 234, 0.84);
  border-radius: 999px;
  background: rgba(246, 248, 252, 0.82);
  box-shadow: 0 18px 58px rgba(25, 31, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand,
.footer-brand,
.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(11, 28, 48, 0.66);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 260ms var(--ease), transform 260ms var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 260ms var(--ease), background 260ms var(--ease), border-color 260ms var(--ease);
}

.nav-cta,
.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 18px 38px rgba(0, 82, 233, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-cta {
  padding: 8px 16px;
}

.button {
  padding: 8px 18px;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--subtle);
}

.nav-cta svg,
.button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  position: relative;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: top 260ms var(--ease), transform 260ms var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-open .menu-toggle span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(128px, 13vw, 172px) clamp(18px, 4vw, 64px) clamp(56px, 8vw, 96px);
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid var(--subtle);
  border-radius: 999px;
  color: rgba(11, 28, 48, 0.68);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2.7rem, 5.4vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p:not(.eyebrow),
.demo-summary p,
.proof-card p,
.auth-card p,
.platform-card p,
.trust-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.download-panel {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.store-button {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(215, 222, 234, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(25, 31, 45, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 233, 0.34);
  background: #ffffff;
}

.store-button:active {
  transform: translateY(0) scale(0.99);
}

.store-button svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-button.apple svg {
  fill: currentColor;
  stroke: none;
}

.store-button .play-store-icon,
.store-button .play-store-icon path {
  fill: initial;
  stroke: none;
}

.store-button small,
.store-button strong {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.store-button small {
  color: rgba(11, 28, 48, 0.6);
  font-size: 0.75rem;
  font-weight: 800;
}

.store-button strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.device-note {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(11, 28, 48, 0.66);
  line-height: 1.55;
  font-size: 0.95rem;
  font-weight: 700;
}

.release-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.release-strip span {
  padding: 9px 12px;
  border: 1px solid var(--subtle);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(11, 28, 48, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
}

.desktop-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 222, 234, 0.92);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hero-product {
  min-width: 0;
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: center;
  padding-left: 0;
}

.hero-window {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
}

.phone-cluster {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2;
  width: min(100%, 520px);
  min-height: clamp(520px, 44vw, 680px);
  transform: none;
  pointer-events: none;
}

.phone-shot {
  position: absolute;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(215, 222, 234, 0.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 72px rgba(25, 31, 45, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.phone-shot img {
  width: 100%;
  border-radius: 26px;
  background: #ffffff;
}

.primary-phone {
  width: clamp(230px, 22vw, 310px);
  left: 5%;
  top: 0;
  transform: rotate(-4deg);
}

.secondary-phone {
  width: clamp(178px, 16vw, 238px);
  right: 6%;
  bottom: 26px;
  transform: rotate(6deg);
}

.desktop-login-card {
  width: min(100%, 460px);
  padding: 22px;
  border: 1px solid rgba(215, 222, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 58px rgba(25, 31, 45, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.desktop-login-card span {
  color: var(--blue);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.desktop-login-card h2 {
  margin: 10px 0 0;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1;
}

.desktop-login-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.window-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 252, 0.86);
}

.window-bar strong {
  font-size: 0.9rem;
}

.window-bar small {
  justify-self: end;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b61;
}

.traffic span:nth-child(2) {
  background: #f6bf49;
}

.traffic span:nth-child(3) {
  background: #45a067;
}

.app-shell {
  min-height: 620px;
  display: grid;
  grid-template-columns: 198px minmax(0, 1fr);
  background: var(--surface-soft);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 14px;
  background: var(--dark);
  color: #ffffff;
}

.sidebar-brand {
  margin: 0 6px 18px;
  font-size: 1.08rem;
}

.sidebar-brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.side-item {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
}

.side-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.side-item.active {
  color: #ffffff;
  background: rgba(0, 82, 233, 0.72);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.sidebar-user strong,
.sidebar-user small {
  display: block;
}

.sidebar-user small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
}

.app-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  padding: 24px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.app-header span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.app-header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--subtle);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
}

.metric-card,
.panel,
.demo-frame,
.proof-card,
.auth-card,
.platform-card,
.screen-card,
.trust-card {
  border: 1px solid rgba(215, 222, 234, 0.92);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 58px rgba(25, 31, 45, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.metric-card {
  min-width: 0;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 20px;
}

.metric-card.dark {
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(0, 82, 233, 0.32), transparent 58%),
    var(--dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.metric-card span,
.metric-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.metric-card.dark span,
.metric-card.dark small {
  color: rgba(255, 255, 255, 0.66);
}

.metric-card strong {
  margin-top: 12px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(1.24rem, 1.56vw, 1.72rem);
  line-height: 1;
  white-space: nowrap;
}

.work-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr);
  gap: 12px;
}

.panel {
  min-width: 0;
  border-radius: 22px;
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.panel h3 {
  margin: 0;
  font-size: 1.05rem;
}

.panel-head span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.rows {
  display: grid;
  gap: 10px;
}

.money-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(246, 248, 252, 0.82);
}

.money-row .dot {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.money-row strong,
.money-row small {
  display: block;
}

.money-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.money-row em {
  color: var(--ink);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-style: normal;
  font-weight: 800;
}

.money-row.income em {
  color: var(--green);
}

.ai-panel {
  color: #ffffff;
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.ai-orb {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue);
}

.ai-orb img {
  width: 30px;
  height: 30px;
}

.ai-panel h3 {
  margin: 20px 0 0;
}

.ai-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.prompt-pill {
  white-space: normal;
  overflow-wrap: anywhere;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.84rem;
  font-weight: 800;
}

.section {
  padding: clamp(80px, 11vw, 150px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 920px;
}

.section-heading h2 {
  font-size: clamp(2.35rem, 4.8vw, 5rem);
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.proof-grid,
.auth-grid,
.platform-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 52px;
}

.proof-card,
.auth-card,
.platform-card,
.trust-card {
  min-height: 260px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
}

.auth-card {
  grid-column: span 4;
}

.proof-card.wide {
  grid-column: span 4;
}

.proof-card span,
.auth-card span,
.platform-card span {
  color: var(--blue);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.proof-card h3,
.auth-card h3,
.platform-card h3,
.trust-card h3,
.demo-summary h3 {
  margin: 16px 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  line-height: 1.03;
}

.auth-section {
  background: #ffffff;
}

.auth-card {
  min-height: 260px;
  grid-column: span 3;
  background:
    linear-gradient(150deg, rgba(0, 82, 233, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.9);
}

.auth-card p {
  margin: 16px 0 0;
}

.auth-card code,
.platform-card code {
  color: var(--ink);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.86em;
  font-weight: 700;
}

.google-card {
  border-top-color: rgba(66, 133, 244, 0.5);
}

.apple-card {
  border-top-color: rgba(17, 19, 28, 0.38);
}

.email-card {
  border-top-color: rgba(69, 160, 103, 0.46);
}

.route-card {
  border-top-color: rgba(0, 167, 199, 0.5);
}

.platforms {
  background: #ffffff;
}

.platform-card strong,
.platform-link {
  margin-top: 18px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.platform-link {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 82, 233, 0.34);
  color: var(--blue);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}

.platform-link:hover {
  border-color: currentColor;
  transform: translateY(-1px);
}

.platform-card.ready {
  background:
    linear-gradient(150deg, rgba(0, 82, 233, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.9);
}

.live-demo {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(220, 232, 255, 0.42)),
    var(--bg);
}

.demo-frame {
  max-width: 1180px;
  margin-top: 52px;
  border-radius: 28px;
  overflow: hidden;
}

.demo-tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 252, 0.86);
}

.demo-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--subtle);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.demo-tab.active {
  color: #ffffff;
  background: var(--dark);
  border-color: var(--dark);
}

.demo-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.demo-summary span {
  color: var(--blue);
  font-weight: 800;
}

.demo-chart {
  height: 290px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    var(--dark);
}

.demo-chart i {
  height: var(--h);
  min-height: 36px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #55d3e8, var(--blue));
  animation: barFloat 2600ms var(--ease) infinite alternate;
}

.demo-chart i:nth-child(2n) {
  background: linear-gradient(180deg, #8fd7a8, #45a067);
  animation-delay: 160ms;
}

.demo-chart i:nth-child(3n) {
  animation-delay: 300ms;
}

.screens {
  background: var(--bg);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 52px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.screen-card {
  margin: 0;
  padding: 10px;
  border-radius: 24px;
}

.screen-card img {
  width: 100%;
  border-radius: 18px;
  background: #ffffff;
}

.screen-card figcaption {
  display: grid;
  gap: 5px;
  padding: 14px 8px 6px;
}

.screen-card figcaption strong {
  font-size: 0.98rem;
}

.screen-card figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.trust {
  color: #ffffff;
  background: var(--dark);
}

.trust .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.trust .section-heading p:not(.eyebrow),
.trust-card p {
  color: rgba(255, 255, 255, 0.68);
}

.trust-card {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(150deg, rgba(0, 82, 233, 0.22), transparent 48%),
    var(--dark-2);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 4vw, 64px);
  background: #ffffff;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes barFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-window {
    transform: none;
  }

  .proof-card,
  .auth-card,
  .platform-card,
  .trust-card {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--subtle);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }

  .menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 14px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .hero-product {
    display: grid;
    gap: 18px;
    padding-left: 0;
  }

  .phone-cluster {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 500px;
    transform: none;
  }

  .primary-phone {
    left: 12%;
    width: min(230px, 58vw);
  }

  .secondary-phone {
    right: 12%;
    bottom: 0;
    width: min(176px, 44vw);
  }

  .hero-window {
    display: none;
  }

  .app-sidebar {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow-x: auto;
  }

  .sidebar-brand,
  .sidebar-user {
    display: none;
  }

  .metric-grid,
  .work-grid,
  .demo-content {
    grid-template-columns: 1fr;
  }

  .demo-chart {
    height: 220px;
  }
}

@media (max-width: 680px) {
  .topbar {
    top: 12px;
    justify-content: flex-start;
    padding-left: 10px;
  }

  .nav {
    width: min(100% - 20px, 370px);
    min-height: 58px;
    padding-left: 14px;
  }

  .hero {
    padding: 104px 14px 46px;
  }

  .hero-product {
    order: 0;
    max-width: min(100%, 360px);
    margin-top: 8px;
    margin-bottom: 18px;
  }

  .phone-cluster {
    width: min(100%, 360px);
    min-height: 410px;
  }

  .primary-phone {
    left: 0;
    width: min(188px, 50vw);
  }

  .secondary-phone {
    right: 0;
    width: min(148px, 39vw);
  }

  .hero h1,
  .section-heading h2 {
    max-width: min(100%, 360px);
    overflow-wrap: normal;
    font-size: clamp(2.1rem, 10.4vw, 2.9rem);
    line-height: 1.03;
  }

  .hero-lede {
    max-width: min(100%, 360px);
    font-size: 1rem;
  }

  .device-note {
    max-width: min(100%, 360px);
  }

  .hero-actions {
    max-width: min(100%, 360px);
  }

  .download-panel {
    max-width: min(100%, 360px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-button {
    min-height: 58px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 11px;
    border-radius: 17px;
  }

  .store-button svg {
    width: 26px;
    height: 26px;
  }

  .store-button small {
    font-size: 0.68rem;
  }

  .store-button strong {
    font-size: 0.9rem;
  }

  .release-strip {
    max-width: min(100%, 360px);
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .release-strip::-webkit-scrollbar {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .desktop-window {
    border-radius: 20px;
  }

  .window-bar {
    grid-template-columns: auto 1fr;
  }

  .window-bar small {
    display: none;
  }

  .app-main {
    padding: 16px;
  }

  .app-sidebar {
    grid-template-columns: repeat(5, minmax(126px, 1fr));
    padding: 12px;
  }

  .proof-card,
  .auth-card,
  .platform-card,
  .trust-card {
    min-height: 220px;
    grid-column: span 12;
  }

  .section {
    padding: 72px 14px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer div {
    justify-content: flex-start;
  }
}
