:root {
  color-scheme: light;
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #f1f6ff;
  --ink: #10172a;
  --muted: #626b7d;
  --line: rgba(29, 45, 78, 0.12);
  --accent: #2f7df4;
  --accent-strong: #0f2553;
  --blue-soft: #6db2ff;
  --blue-pale: #edf6ff;
  --orange-soft: #ffb354;
  --pink-soft: #f06bb2;
  --shadow: 0 26px 70px rgba(26, 50, 91, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(61, 137, 255, 0.16), transparent 28%),
    radial-gradient(circle at 28% 34%, rgba(255, 177, 80, 0.16), transparent 30%),
    radial-gradient(circle at 70% 52%, rgba(232, 85, 169, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 54%, #ffffff 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1506px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 700;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(39, 121, 248, 0.18);
}

.brand span {
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.top-nav a {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: rgba(16, 23, 42, 0.08);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.44fr) minmax(0, 0.56fr);
  align-items: center;
  gap: 24px;
  width: min(1506px, calc(100% - 32px));
  min-height: min(626px, calc(100vh - 106px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 70% 62%, rgba(255, 172, 82, 0.34), transparent 25%),
    radial-gradient(circle at 92% 62%, rgba(33, 117, 241, 0.28), transparent 29%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.9) 52%, rgba(238, 244, 255, 0.98) 100%);
  box-shadow: 0 18px 52px rgba(33, 59, 101, 0.08);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-app-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1;
}

.hero-app-mark img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(34, 107, 232, 0.2);
}

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

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

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.1vw, 5.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 510px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(1.28rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

.hero-detail {
  max-width: 500px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.store-button {
  display: inline-grid;
  min-width: 196px;
  min-height: 60px;
  padding: 10px 20px 11px;
  border-radius: 16px;
  background: #050505;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.store-button:hover {
  background: #000000;
  transform: translateY(-1px);
}

.store-small {
  font-size: 0.78rem;
  line-height: 1.1;
}

.store-large {
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.1;
}

.secondary-link {
  color: var(--accent-strong);
  font-weight: 750;
}

.secondary-link:hover {
  color: #263765;
}

.hero-stage {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: 460px;
  min-width: 0;
  margin: -48px -64px -64px 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 52px rgba(27, 45, 84, 0.18));
}

.section {
  width: min(1506px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 78px;
  border-top: 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.feature-grid article {
  display: flex;
  min-height: 368px;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(33, 59, 101, 0.05);
  text-align: center;
}

.feature-grid h3 {
  margin-bottom: 6px;
  font-size: 1.34rem;
  line-height: 1.12;
}

.feature-grid p,
.legal-document p {
  color: var(--muted);
}

.feature-grid p {
  max-width: 260px;
  margin-bottom: 24px;
  line-height: 1.35;
}

.feature-image {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 560;
  margin-top: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 10px 16px rgba(27, 45, 84, 0.12));
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  font-weight: 650;
}

.site-footer a:hover {
  color: var(--accent-strong);
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 90px;
}

.legal-document {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.legal-document h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.legal-document h2 {
  margin: 32px 0 10px;
  font-size: 1.3rem;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.contact-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 90px;
}

.contact-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-heading h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.contact-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(36, 63, 118, 0.08);
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(70, 92, 128, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input {
  min-height: 54px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(82, 111, 168, 0.14);
}

.contact-submit {
  justify-self: start;
  min-height: 58px;
  min-width: 220px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.18rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(36, 63, 118, 0.22);
}

.contact-submit:hover {
  background: #18315f;
}

.contact-note {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.contact-note a,
.legal-document a {
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px 28px 0;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-stage {
    min-height: 420px;
    margin: -8px -28px 0;
  }

  .hero-art {
    object-position: center;
  }

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

@media (max-width: 640px) {
  .brand span {
    white-space: normal;
  }

  .top-nav a {
    padding-inline: 12px;
  }

  .hero {
    gap: 12px;
    padding: 28px 20px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
    margin-bottom: 14px;
  }

  .lead {
    margin-bottom: 18px;
    font-size: 1.08rem;
  }

  .hero-app-mark {
    gap: 12px;
    margin-bottom: 28px;
    font-size: 2rem;
  }

  .hero-app-mark img {
    width: 50px;
    height: 50px;
  }

  .hero-detail {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button,
  .secondary-link {
    width: 100%;
  }

  .secondary-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .hero-stage {
    min-height: 320px;
    margin: 2px -20px 0;
  }

  .hero-art {
    object-position: center;
  }

  .section {
    padding: 16px 0 54px;
  }

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

  .feature-grid article {
    min-height: auto;
  }

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

  .legal-page {
    padding-top: 44px;
  }

  .legal-document {
    padding: 28px 22px;
  }

  .contact-page {
    padding-top: 44px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-submit {
    width: 100%;
  }
}
