:root {
  --bg: #16130b;
  --bg-card: #1f1b12;
  --fg: #f4f0e6;
  --fg-muted: #a89e87;
  --accent: #f5b41f;
  --accent-strong: #ffc107;
  --green: #4cc38a;
  --border: #2d271b;
  --max-w: 1080px;
  --content-w: 760px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background:
    radial-gradient(circle at top right, rgba(245, 180, 31, 0.12), transparent 34rem),
    linear-gradient(180deg, #171309 0%, var(--bg) 44%, #100e08 100%);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

header.site-header a.brand {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent-strong);
  text-decoration: none;
  letter-spacing: 0.02em;
}

header.site-header nav a {
  color: var(--fg-muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

header.site-header nav a:hover { color: var(--fg); }

h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: 0;
}

h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--fg);
  font-weight: 600;
}

p { margin: 12px 0; }

a { color: var(--accent); }

.muted { color: var(--fg-muted); font-size: 14px; }

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

ul { padding-left: 22px; }

li { margin: 6px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-card);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
  min-height: min(680px, calc(100vh - 82px));
  padding: 48px 0 64px;
}

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

.hero-icon {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 0 24px;
}

.hero h1 {
  font-size: 96px;
  line-height: 0.92;
  margin: 0 0 20px;
  color: var(--accent-strong);
}

.eyebrow {
  color: var(--fg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero p.tagline {
  font-size: 22px;
  color: var(--fg-muted);
  margin: 0 0 32px;
  max-width: 600px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-actions-centered {
  justify-content: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-width: 178px;
  min-height: 58px;
  padding: 10px 18px;
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: var(--radius);
  color: var(--bg);
  background: var(--accent-strong);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  transition: transform 0.15s ease;
}

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

.store-copy {
  display: flex;
  flex-direction: column;
}

.store-copy span {
  font-size: 12px;
  line-height: 1.1;
}

.store-copy strong {
  font-size: 20px;
  line-height: 1.15;
}

.store-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.store-icon-apple::before {
  display: block;
  width: 24px;
  height: 24px;
  content: "";
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.46 12.86c-.03-3.01 2.46-4.46 2.57-4.53-1.4-2.05-3.58-2.33-4.35-2.36-1.85-.19-3.61 1.09-4.55 1.09-.94 0-2.4-1.06-3.95-1.03-2.03.03-3.9 1.18-4.95 3-2.11 3.66-.54 9.08 1.52 12.04 1 1.45 2.2 3.08 3.77 3.02 1.51-.06 2.08-.98 3.91-.98 1.82 0 2.34.98 3.94.95 1.63-.03 2.66-1.48 3.65-2.94 1.15-1.68 1.63-3.31 1.66-3.39-.04-.02-3.18-1.22-3.22-4.87ZM13.48 4.02c.83-1.01 1.39-2.41 1.24-3.8-1.2.05-2.65.8-3.51 1.8-.77.89-1.44 2.32-1.26 3.68 1.34.1 2.7-.68 3.53-1.68Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.46 12.86c-.03-3.01 2.46-4.46 2.57-4.53-1.4-2.05-3.58-2.33-4.35-2.36-1.85-.19-3.61 1.09-4.55 1.09-.94 0-2.4-1.06-3.95-1.03-2.03.03-3.9 1.18-4.95 3-2.11 3.66-.54 9.08 1.52 12.04 1 1.45 2.2 3.08 3.77 3.02 1.51-.06 2.08-.98 3.91-.98 1.82 0 2.34.98 3.94.95 1.63-.03 2.66-1.48 3.65-2.94 1.15-1.68 1.63-3.31 1.66-3.39-.04-.02-3.18-1.22-3.22-4.87ZM13.48 4.02c.83-1.01 1.39-2.41 1.24-3.8-1.2.05-2.65.8-3.51 1.8-.77.89-1.44 2.32-1.26 3.68 1.34.1 2.7-.68 3.53-1.68Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.store-button-alt {
  color: var(--fg);
  background: #252017;
}

.app-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 296px);
  padding: 10px;
  border: 1px solid rgba(244, 240, 230, 0.14);
  border-radius: 38px;
  background: #0c0b08;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.intro {
  max-width: var(--content-w);
  padding: 20px 0 32px;
}

.intro h2 {
  margin-top: 0;
}

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

.feature-grid article {
  min-height: 182px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(31, 27, 18, 0.72);
}

.card-frame {
  margin: 0 0 18px;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #0c0b08;
}

.card-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.card-frame-bottom img {
  object-position: bottom;
}

.feature-grid h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.feature-grid p {
  color: var(--fg-muted);
  font-size: 15px;
  margin: 0;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-muted);
}

.faq {
  max-width: var(--content-w);
  margin-top: 56px;
}

.faq-item h3 {
  margin: 24px 0 6px;
}

.faq-item p {
  color: var(--fg-muted);
  margin: 0;
}

.download-section {
  max-width: var(--content-w);
  margin: 56px auto 0;
  padding: 38px 0 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.download-section h2 {
  margin-top: 0;
}

.download-section p {
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.open-app-note {
  margin-top: 32px;
  opacity: 0.72;
  font-size: 0.9em;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 64px;
}

footer.site-footer a {
  color: var(--fg-muted);
  margin: 0 8px;
}

@media (max-width: 720px) {
  .container {
    padding: 36px 20px 72px;
  }

  header.site-header {
    padding: 18px 20px;
  }

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

  .hero-icon {
    width: 156px;
  }

  .hero p.tagline {
    font-size: 19px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .store-actions {
    align-items: stretch;
  }

  .store-button {
    flex: 1 1 100%;
  }

  .phone-frame {
    width: min(100%, 310px);
  }

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