:root {
  --bg: #090807;
  --panel: #15110e;
  --panel-2: #211a14;
  --text: #f3ead7;
  --muted: #c7bca8;
  --line: rgba(229, 195, 131, .18);
  --accent: #d6aa56;
  --accent-2: #8f5132;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143,81,50,.24), transparent 38rem),
    radial-gradient(circle at 80% 18%, rgba(214,170,86,.12), transparent 32rem),
    linear-gradient(180deg, #0d0a08 0%, var(--bg) 55%, #050504 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.top-nav { display: flex; gap: clamp(.75rem, 2vw, 1.5rem); color: var(--muted); font-size: .95rem; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { color: var(--text); }

.section-pad { padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 5rem); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--accent);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
}
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 6.7rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4.3vw, 4.2rem); }
h3 { font-size: 1.25rem; }
.lead { margin: 1.5rem 0 0; max-width: 46rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }

.app-store-badge, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-store-badge {
  width: min(215px, 100%);
  text-decoration: none;
  border-radius: 13px;
}
.app-store-badge img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.secondary-button {
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-decoration: none;
}
.secondary-button:hover { border-color: rgba(214,170,86,.55); background: rgba(214,170,86,.08); }

.hero-art {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.logo-title { width: min(520px, 100%); margin: 0 auto 1.2rem; opacity: .94; }
.device-stack { position: relative; min-height: 32rem; }
.tablet-shot { border-radius: 1.4rem; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.phone-shot { position: absolute; width: 34%; min-width: 150px; right: 4%; bottom: -2%; border-radius: 1.5rem; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.1); aspect-ratio: 1320 / 2868; object-fit: cover; }

.feature-band, .screenshots { max-width: 1440px; margin: 0 auto; }
.section-heading { max-width: 850px; margin-bottom: 2rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-heading.compact { max-width: 760px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.feature-card p { color: var(--muted); margin-bottom: 0; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
figure {
  margin: 0;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}
figure.phone { grid-column: span 2; }
figure.wide { grid-column: span 3; }
figure img {
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: cover;
  border-radius: 1rem;
  background: #0d0b09;
  border: 1px solid rgba(255,255,255,.06);
}
figure.phone img {
  aspect-ratio: 1320 / 2868;
  object-position: top center;
}
figure.wide img {
  aspect-ratio: 16 / 10;
  object-position: top center;
}
figcaption { padding: .8rem .35rem .2rem; color: var(--muted); font-size: .95rem; }

.platform-section, .final-cta {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.platform-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}
.platform-section p { color: var(--muted); }
.platform-list {
  margin: 0;
  padding: 1.4rem 1.4rem 1.4rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--panel);
  color: var(--muted);
}
.platform-list li + li { margin-top: .8rem; }
.platform-list strong { color: var(--text); }

.final-cta {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.cta-emblem { width: 88px; height: 88px; object-fit: contain; }
.final-cta p:not(.eyebrow) { color: var(--muted); margin: .8rem 0 0; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer a { color: var(--accent); text-decoration: none; }

@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  h1 { max-width: 14ch; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  figure.phone, figure.wide { grid-column: auto; }
  .platform-section, .final-cta { grid-template-columns: 1fr; }
  .final-cta .app-store-badge { width: min(215px, 100%); }
}

@media (max-width: 620px) {
  .section-pad { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions, .final-cta { align-items: stretch; }
  .app-store-badge, .secondary-button { width: 100%; }
  .app-store-badge img { max-width: 215px; margin: 0 auto; }
  .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .device-stack { min-height: 24rem; }
  .phone-shot { width: 42%; }
  .site-footer { flex-direction: column; }
}
