:root {
  --bg: #f7f4ed;
  --surface: #fffaf1;
  --ink: #1b1b1f;
  --muted: #68615a;
  --line: #ded4c2;
  --orange: #ed7a32;
  --teal: #177e75;
  --plum: #52315f;
  --gold: #d89b22;
  --shadow: 0 24px 70px rgba(47, 35, 21, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(237, 122, 50, 0.14), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(23, 126, 117, 0.14), transparent 28%),
    var(--bg);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 212, 194, 0.8);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}
.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(82, 49, 95, 0.18);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--orange); }
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: none;
}
.download-button:hover { background: #242424; }
.menu-button { display: none; }

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 1.18rem; }
p { color: var(--muted); line-height: 1.68; }
.hero-text { max-width: 620px; font-size: 1.16rem; }

.hero-actions, .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}
.primary { background: var(--ink); color: white; }
.secondary { border: 1px solid var(--line); background: rgba(255, 250, 241, 0.7); }
.hero-stats { gap: 28px; margin-top: 34px; }
.hero-stats div { min-width: 92px; }
.hero-stats dt { font-size: 1.42rem; font-weight: 900; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); }

.section-heading { max-width: 690px; margin-bottom: 30px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
}
.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border-radius: 8px;
  background: var(--plum);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.phone-stack { display: flex; justify-content: center; }
.iphone {
  position: relative;
  width: 278px;
  height: 574px;
  padding: 14px;
  border-radius: 44px;
  background: #15151a;
  box-shadow: var(--shadow);
}
.hero-phone { transform: rotate(2deg); }
.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
}
.speaker {
  position: absolute;
  left: 50%;
  top: 21px;
  z-index: 2;
  width: 88px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0b0d;
}
.screen {
  height: 100%;
  overflow: hidden;
  padding: 28px 18px 18px;
  border-radius: 34px;
  background: #fbf7ef;
}
.status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #4b4640;
}
.screen h2 { font-size: 1.75rem; margin-bottom: 4px; }
.screen p { font-size: 0.82rem; line-height: 1.35; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.metrics span, .answer, .search, .read-box {
  border: 1px solid rgba(27, 27, 31, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}
.metrics span {
  padding: 11px 6px;
  text-align: center;
  color: var(--muted);
  font-size: 0.64rem;
}
.metrics b { display: block; color: var(--ink); font-size: 1rem; }
.feature-card {
  min-height: 160px;
  padding: 16px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--plum));
}
.feature-card small, .screen small {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature-card h3 { font-size: 1.25rem; }
.large-symbol {
  display: block;
  margin-top: 26px;
  opacity: 0.72;
  font-size: 2rem;
  font-weight: 900;
}
.story-tile {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
}
.story-tile img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 13px;
}
.story-tile strong { display: block; margin-bottom: 4px; }
.story-tile small { margin-bottom: 3px; color: var(--orange); }
.story-tile p { margin: 0; font-size: 0.72rem; }

.screenshots-section { width: min(1280px, calc(100% - 36px)); }
.screenshots {
  display: grid;
  grid-template-columns: repeat(5, 278px);
  gap: 22px;
  overflow-x: auto;
  padding: 12px 4px 36px;
}
.screen-story img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 16px;
}
.screen-story small { color: var(--teal); }
.read-box {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  margin: 18px 0 12px;
  font-weight: 850;
}
.screen button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}
.screen-quiz { background: #f5f1ff; }
.screen-quiz h2 { font-size: 1.58rem; margin-bottom: 22px; }
.answer { padding: 14px; margin-bottom: 10px; font-weight: 800; }
.answer.correct { background: #dff4e9; border-color: #7fc99f; }
.explain {
  margin-top: 22px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(82, 49, 95, 0.1);
  color: #47334d;
  font-size: 0.8rem;
  line-height: 1.45;
}
.screen-curiosity { background: #eef8f6; }
.search { padding: 13px 14px; color: var(--muted); font-size: 0.8rem; }
.pill-row { display: flex; gap: 6px; margin: 14px 0; }
.pill-row span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
}
.curiosity-card {
  margin-top: 10px;
  padding: 15px;
  border-radius: 18px;
  background: #fff;
}
.curiosity-card small { color: var(--teal); }

.support-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 8px;
  background: var(--plum);
  color: #fff;
}
.support-panel p, .support-panel .eyebrow { color: rgba(255,255,255,0.78); }
.support-panel h2 { color: #fff; }
.support-panel .primary { background: #fff; color: var(--plum); }
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
}
summary { cursor: pointer; font-weight: 850; }
details p { margin: 12px 0 0; }

.legal-section {
  max-width: 880px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}
.legal-section h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.legal-section h3 { margin-top: 30px; }
.legal-section a { color: var(--teal); font-weight: 850; }
.updated { color: var(--orange); font-weight: 850; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}
.site-footer p { margin: 0; font-size: 0.9rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .menu-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 0 12px;
    font-weight: 850;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0 4px;
  }
  .site-nav.open { display: flex; }
  .download-button {
    margin-left: auto;
    min-height: 38px;
    padding: 0 14px;
  }
  .section { padding: 56px 0; }
  .hero { gap: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-panel { grid-template-columns: 1fr; }
  .support-panel .button { width: 100%; }
  .hero-stats { gap: 18px; }
}
