:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #a8b0bd;
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #54d7e5;
  --gold: #f1b84b;
  --rose: #e87593;
  --green: #73d08f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(84, 215, 229, 0.14), transparent 34%),
    linear-gradient(250deg, rgba(241, 184, 75, 0.12), transparent 38%),
    linear-gradient(180deg, #090b10 0%, #0e1219 48%, #111015 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 16, 0.76);
  backdrop-filter: blur(20px);
}

.brand,
nav,
.hero-actions,
.segmented,
.toggle,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand img {
  border-radius: 8px;
}

nav {
  gap: clamp(12px, 3vw, 28px);
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px) 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 800px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.16rem;
}

.lede,
.panel-copy p,
.trust p,
.support p,
article p {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  max-width: 620px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.app-store-button,
.secondary-action {
  min-height: 52px;
  border-radius: 8px;
  text-decoration: none;
}

.app-store-button {
  display: grid;
  gap: 2px;
  min-width: 184px;
  padding: 10px 18px;
  background: #f7f8fb;
  color: #0b0d12;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.app-store-button .small {
  font-size: 0.72rem;
  color: #424a55;
}

.app-store-button span:last-child {
  font-size: 1.15rem;
  font-weight: 780;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--panel);
}

.device-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(340px, 78vw);
  aspect-ratio: 9 / 18.5;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.phone-toolbar {
  height: 42px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.phone-toolbar span {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.phone-screen {
  min-height: calc(100% - 42px);
  padding: 18px;
  border-radius: 32px;
  background: rgba(10, 12, 18, 0.86);
}

.screen-title {
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 780;
}

.artifact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.artifact-row span {
  color: var(--cyan);
}

.active {
  border-color: rgba(84, 215, 229, 0.5);
}

.mini-preview {
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-card {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.mini-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-icon {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: clamp(150px, 24vw, 260px);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.showcase,
.interactive,
.trust,
.support {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

article,
.interactive,
.trust,
.support {
  border-top: 1px solid var(--line);
}

article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.interactive {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.segmented {
  width: fit-content;
  gap: 4px;
  padding: 4px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.segmented button {
  min-width: 88px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.segmented .selected {
  color: #0b0d12;
  background: var(--text);
}

.toggle {
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
}

.toggle input {
  accent-color: var(--cyan);
}

.preview-frame {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #f7f8fb;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
  transition: max-width 220ms ease;
}

.preview-frame.mobile {
  max-width: 390px;
  justify-self: center;
}

.preview-frame.desktop {
  width: 100%;
  max-width: 860px;
}

.preview-topbar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  color: #3c4654;
  border-bottom: 1px solid #dce2ea;
  background: #ffffff;
  font-size: 0.86rem;
}

.preview-content {
  display: grid;
  min-height: 380px;
  place-items: center;
  padding: 30px;
}

.sample-card {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 8px;
  color: #10141b;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(32, 40, 52, 0.14);
}

.sample-card.accent {
  background: linear-gradient(135deg, #fff, #eafcff);
}

.metric {
  margin: 12px 0 22px;
  font-size: 3.4rem;
  font-weight: 800;
  color: #117987;
}

.sample-card button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #10141b;
  color: white;
  font: inherit;
}

.prose ul {
  margin-bottom: 0;
  padding-left: 20px;
  line-height: 1.9;
}

.svg-demo {
  text-align: center;
}

.svg-mark {
  font-size: 4rem;
  font-weight: 820;
  color: #b27012;
}

.trust,
.support {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 90px);
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  nav {
    display: none;
  }

  .hero,
  .interactive,
  .trust,
  .support {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .device-stage {
    min-height: 480px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-icon {
    right: 10px;
    bottom: 4px;
  }

  .preview-frame.mobile,
  .preview-frame.desktop {
    width: 100%;
    max-width: 100%;
  }

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