/* assa — getassa.com
   Mist-style stacked layout: text-only hero with App Store CTA, then
   2×2 feature grid where each card is a phone screenshot + caption,
   then a closing CTA + footer. Always white — opts out of OS dark
   mode. */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;       /* Apple section grey */
  --ink:       #1d1d1f;
  --ink-soft:  #6e6e73;
  --ink-fade:  #86868b;
  --rule:      #e8e8e8;

  color-scheme: light only;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", system-ui, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── nav ─────────────────────────────────────────────────────────── */

.nav {
  padding: clamp(20px, 3vw, 28px) clamp(20px, 5vw, 40px);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ── hero ────────────────────────────────────────────────────────── */
/*
   Minimalist stack: smaller headline, body-weight tag in black
   underneath, thin grey fineprint, App Store CTA, then the full
   iPhone screenshot uncropped. No peek, no fade — the screen reads
   as one composed object that lives inside the text flow.
*/

.hero {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 40px) clamp(40px, 6vw, 72px);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0 0 clamp(10px, 1.4vw, 14px);
  color: var(--ink);
}

/* Second sentence of the hero — same ink as the headline but at
   body weight + size. Reads as one continued thought. */
.tag {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 540px;
  margin: 0 auto clamp(8px, 1vw, 12px);
  font-weight: 400;
}

/* Fineprint — smaller, soft grey. The "free / no ads / no subs" line. */
.hero-fineprint {
  margin: 0 auto clamp(24px, 3vw, 32px);
  color: var(--ink-fade);
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 1.45;
}

/* Full iPhone screenshot — uncropped, sized to feel like part of
   the text flow rather than a hero piece. Lives between the
   fineprint and the App Store CTA, so we keep equal breathing room
   above and below. */
.hero-shot {
  width: 100%;
  max-width: 280px;
  margin: clamp(36px, 5vw, 56px) auto clamp(36px, 5vw, 56px);
}

.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(34px, 3.4vw, 44px);
  box-shadow:
    0 40px 80px -34px rgba(0, 0, 0, .28),
    0 14px 32px -14px rgba(0, 0, 0, .12),
    0 0 0 1px rgba(0, 0, 0, .04);
  background: #fff;
}

/* App Store button — Apple's standard black pill. */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  text-align: left;
  transition: transform .12s ease, opacity .12s ease;
}

.btn-store:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.btn-store svg {
  width: 26px;
  height: 32px;
  flex-shrink: 0;
}

.btn-store small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .02em;
  opacity: .8;
  margin-bottom: 1px;
}

.btn-store span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.05;
}

/* ── features (2×2 grid of phone-in-card) ────────────────────────── */

.features {
  background: var(--bg-alt);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 40px);
}

.feat-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.feat {
  background: #fff;
  border-radius: clamp(20px, 2vw, 28px);
  padding: clamp(28px, 3.6vw, 44px) clamp(28px, 3.6vw, 44px) clamp(32px, 3.6vw, 44px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Phone-in-card — capped width keeps the four cards visually balanced.
   Full-image render (no crops); the screenshot reads as a complete
   screen, which is what the user pushed back about earlier. */
.feat-shot {
  width: 100%;
  max-width: 220px;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.feat-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(28px, 3vw, 36px);
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, .28),
    0 8px 24px -8px rgba(0, 0, 0, .12),
    0 0 0 1px rgba(0, 0, 0, .04);
  background: #fff;
}

.feat h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.15;
}

.feat p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 36ch;
}

.feat em {
  font-style: normal;
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .94em;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .feat-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ── closing CTA ─────────────────────────────────────────────────── */

.cta {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 40px);
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0 0 clamp(28px, 3.6vw, 40px);
  color: var(--ink);
  line-height: 1.1;
}

/* ── footer ──────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--rule);
  padding: 28px clamp(20px, 5vw, 40px);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  color: var(--ink-fade);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

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

footer p { margin: 0; }

@media (max-width: 480px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── legal pages (privacy / terms) ───────────────────────────────── */

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 40px);
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}

.doc h1 {
  font-size: clamp(34px, 5vw, 44px);
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 8px;
  text-align: left;
}

.doc .meta {
  color: var(--ink-fade);
  margin: 0 0 32px;
  font-size: 14px;
}

.doc h2 {
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 32px 0 10px;
}

.doc p, .doc li { font-size: 16px; }
.doc ul { padding-left: 20px; }

.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-fade);
}
