/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --color-bg:       #F8F5EF;
  --color-amber:    #C68A15;
  --color-text:     #1A1A1A;
  --color-divider:  #E8DFC8;
  --color-muted:    #6B6050;

  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Jost', system-ui, sans-serif;
}

/* ─── Base ───────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── Layout ─────────────────────────────────────────────── */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 2rem;
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  max-width: 360px;
  width: 100%;
}

/* ─── App Icon ───────────────────────────────────────────── */
.icon-wrap {
  margin-bottom: 2rem;
}

.app-icon {
  width: 180px;
  height: 180px;
  border-radius: 40px;          /* iOS-style squircle approximation */
  display: block;
}

/* ─── Typography ─────────────────────────────────────────── */
.app-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 10vw, 3.5rem);
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 4vw, 1.125rem);
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.one-liner {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 2.25rem;
}

/* ─── CTA Button ─────────────────────────────────────────── */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-amber);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  transition: opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-button:hover,
.cta-button:active {
  opacity: 0.85;
}

.store-badge {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  text-align: center;
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--color-divider);
  margin-top: auto;
}

.site-footer p {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}

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

/* ─── Large screens — keep it compact ───────────────────── */
@media (min-width: 600px) {
  .page {
    padding: 6rem 2rem 3rem;
  }

  .app-icon {
    width: 200px;
    height: 200px;
    border-radius: 44px;
  }
}
