:root {
  --ink: #07090f;
  --ink-soft: #202534;
  --muted: #687083;
  --line: #e7eaf0;
  --surface: #ffffff;
  --surface-soft: #f1f5fa;
  --page-bg: #eef3f8;
  --blue: #156cff;
  --cyan: #16c5ff;
  --green: #12b981;
  --pink: #ff4f93;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(7, 9, 15, 0.10);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(21, 108, 255, 0.10), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(255, 79, 147, 0.08), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, var(--page-bg) 44%, #f7f9fc 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(231, 234, 240, 0.76);
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(22px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  color: var(--ink);
}

.brand {
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  letter-spacing: 0;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: min(760px, calc(100vh - 76px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 82px) 0 clamp(34px, 5vw, 66px);
}

.hero-content {
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 6.2vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 5.2vw, 4.9rem);
}

.hero-copy,
.page-hero p,
.section-heading p,
.highlight-copy p {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.app-store-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.app-store-button {
  gap: 10px;
  padding: 0 22px;
  color: #fff;
  background: #000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.app-store-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.secondary-button {
  padding: 0 20px;
  color: var(--ink);
  background: var(--surface-soft);
}

.secondary-button:hover {
  background: #eceff5;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 12%;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(21, 108, 255, 0.24), rgba(22, 197, 255, 0.18) 38%, rgba(255, 79, 147, 0.20)),
    radial-gradient(circle at 74% 26%, rgba(18, 185, 129, 0.22), transparent 30%);
  filter: blur(4px);
}

.device-stack {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: min(238px, 54vw);
  aspect-ratio: 9 / 19.5;
  border: 10px solid #10131a;
  border-radius: 34px;
  background: #10131a;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #10131a;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.phone-back {
  top: 72px;
  left: 4%;
  transform: rotate(-8deg);
}

.phone-front {
  top: 10px;
  right: 6%;
  transform: rotate(6deg);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.highlight-copy h2,
.contact-panel h2,
.faq-list h2,
.legal-page h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.feature-card,
.app-card,
.contact-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(7, 9, 15, 0.04);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card h3,
.app-info h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-card p,
.app-info p,
.legal-page p,
.faq-list p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
}

.app-highlight {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 780;
}

.mini-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-app {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.mini-app img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(7, 9, 15, 0.12);
}

.mini-app h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.mini-app p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 132px) 0 clamp(22px, 4vw, 48px);
  text-align: center;
}

.page-hero.compact {
  max-width: 820px;
}

.apps-grid {
  display: grid;
  gap: 26px;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(456px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 3.4vw, 40px);
  align-items: center;
  padding: clamp(20px, 4vw, 42px);
}

.screenshots {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: visible;
}

.screenshot-phone {
  overflow: hidden;
  width: clamp(122px, 11.8vw, 142px);
  flex: 0 0 auto;
  aspect-ratio: 9 / 19.5;
  border: 7px solid #11141b;
  border-radius: 24px;
  background: #11141b;
  box-shadow: 0 18px 34px rgba(7, 9, 15, 0.14);
}

.screenshot-phone:nth-child(2) {
  transform: translateY(-16px);
}

.screenshot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.app-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(7, 9, 15, 0.16);
}

.app-info p {
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.support-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-panel,
.faq-list details {
  padding: 28px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 760;
}

.faq-list h2 {
  margin-bottom: 18px;
}

.faq-list details {
  margin-bottom: 12px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.faq-list p {
  margin: 14px 0 0;
}

.legal-page {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 96px;
}

.legal-page section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 440px;
  margin: 8px 0 0;
}

.footer-contact span {
  display: block;
  color: var(--ink);
  font-weight: 760;
}

.footer-contact a {
  color: var(--blue);
  font-weight: 720;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .hero,
  .app-highlight,
  .app-card,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .device-stack {
    min-height: 430px;
  }

  .phone {
    width: min(190px, 42vw);
  }

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

  .screenshots {
    min-height: 300px;
    justify-content: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 0 16px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero,
  .section,
  .page-hero,
  .legal-page,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  h1 {
    font-size: clamp(2.35rem, 13.5vw, 3.75rem);
    line-height: 1.02;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .hero-actions,
  .app-store-button,
  .secondary-button {
    width: 100%;
  }

  .hero {
    padding-bottom: 22px;
  }

  .hero-visual,
  .device-stack {
    min-height: 340px;
  }

  .device-stack {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .phone {
    width: min(148px, 38vw);
    max-width: 148px;
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-back {
    top: 34px;
    left: 7%;
  }

  .phone-front {
    top: 0;
    right: 7%;
  }

  .mini-apps {
    grid-template-columns: 1fr;
  }

  .app-card {
    padding: 18px;
  }

  .screenshots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-height: auto;
    overflow: visible;
    padding: 14px 0 8px;
  }

  .screenshot-phone {
    width: 100%;
    max-width: none;
    border-width: 5px;
    border-radius: 18px;
  }

  .screenshot-phone:nth-child(2) {
    transform: none;
  }

  .app-meta {
    align-items: flex-start;
  }
}
