:root {
  color-scheme: dark;
  --ink: #090806;
  --surface: #14110e;
  --panel: #1d1914;
  --border: #3a3024;
  --gold: #d6aa57;
  --gold-soft: #ffdfa3;
  --ivory: #f4ebdd;
  --muted: #b9aa99;
  --sage: #7aa49a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(9, 8, 6, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

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

.brand {
  gap: 10px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
}

nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a,
footer a {
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.98) 0%, rgba(9, 8, 6, 0.78) 44%, rgba(9, 8, 6, 0.28) 100%),
    url("/assets/hikayece-app-preview.png") right center / contain no-repeat,
    var(--ink);
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 36px));
  padding: clamp(58px, 10vw, 110px) 0 80px clamp(18px, 4vw, 54px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 108px);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 22px;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ivory);
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.5;
}

.hero-actions,
.store-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button,
.store-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary,
.store-actions span {
  border: 1px solid var(--border);
  color: var(--gold-soft);
  background: rgba(29, 25, 20, 0.75);
}

.section {
  padding: clamp(54px, 8vw, 94px) clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 850px;
}

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

article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
}

article p,
.split-band p,
.legal-content p {
  color: var(--muted);
  line-height: 1.65;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 28px;
  background: var(--surface);
}

.store-band {
  min-height: 330px;
}

.legal-page {
  background: var(--surface);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(40px, 7vw, 76px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 4vw, 34px);
}

.legal-content a {
  color: var(--gold-soft);
}

footer {
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 22px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(9, 8, 6, 0.97) 0%, rgba(9, 8, 6, 0.84) 50%, rgba(9, 8, 6, 0.98) 100%),
      url("/assets/hikayece-app-preview.png") center 210px / 82% auto no-repeat,
      var(--ink);
  }

  .hero-content {
    padding-top: 46px;
    padding-bottom: 170px;
  }

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