:root {
  color-scheme: light;
  --ink: #211b24;
  --muted: #6d6370;
  --line: #e3dbe4;
  --paper: #fffaf7;
  --surface: #ffffff;
  --surface-strong: #f6eef4;
  --plum: #60415f;
  --plum-dark: #2d1d32;
  --sage: #6f7e66;
  --gold: #b98945;
  --rose: #d9b8bf;
  --shadow: 0 24px 70px rgba(45, 29, 50, 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 {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 184, 191, 0.58), transparent 38rem),
    linear-gradient(180deg, #fffaf7 0%, #f7f1ef 52%, #fff 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(45, 29, 50, 0.14);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(96, 65, 95, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 247, 0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(45, 29, 50, 0.05);
}

nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(96, 65, 95, 0.1);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(50px, 8vw, 92px);
  max-width: 760px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
}

.button.primary {
  color: #fff;
  background: var(--plum-dark);
  box-shadow: 0 14px 30px rgba(45, 29, 50, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.app-store-badge {
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 20px 10px;
  border-radius: 14px;
  color: #fff;
  background: #09070a;
  box-shadow: 0 16px 34px rgba(45, 29, 50, 0.24);
  text-decoration: none;
}

.app-store-badge span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.app-store-badge strong {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1;
}

.availability {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.screenshot-stage {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot {
  display: block;
  width: min(58vw, 296px);
  border-radius: 32px;
  background: #18121c;
  box-shadow: var(--shadow);
}

.shot-primary {
  position: relative;
  z-index: 2;
  transform: rotate(-2deg) translateX(24px);
}

.shot-secondary {
  position: absolute;
  z-index: 1;
  right: 10px;
  width: min(52vw, 260px);
  opacity: 0.9;
  transform: rotate(5deg) translateY(36px);
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 374px);
  aspect-ratio: 9 / 18.8;
  padding: 18px;
  border: 10px solid #201824;
  border-radius: 44px;
  background: linear-gradient(180deg, #18121c 0%, #241827 45%, #120f13 100%);
  box-shadow: var(--shadow);
  color: #fef7fb;
  overflow: hidden;
}

.phone-status {
  width: 88px;
  height: 24px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #080608;
}

.app-top,
.bottom-tabs,
.stat-card,
.memory-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(16px);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px;
  border-radius: 22px;
}

.small-label,
.stat-card span,
.tag {
  display: block;
  color: rgba(254, 247, 251, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.settings-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.stat-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.memory-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
}

.memory-card h2 {
  margin: 10px 0 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.1;
}

.memory-card p {
  margin: 0;
  color: rgba(254, 247, 251, 0.68);
  line-height: 1.45;
}

.memory-card.sealed {
  background: linear-gradient(135deg, rgba(185, 137, 69, 0.2), rgba(111, 126, 102, 0.14));
}

.tag {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.tag.open {
  color: #f6e8ce;
}

.bottom-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 18px;
  padding: 6px;
  border-radius: 20px;
}

.bottom-tabs span {
  padding: 12px 0;
  border-radius: 15px;
  color: rgba(254, 247, 251, 0.58);
  text-align: center;
  font-size: 13px;
  font-weight: 760;
}

.bottom-tabs .active {
  color: #211b24;
  background: #f7edf4;
}

.section {
  padding: 88px 0;
  border-top: 1px solid rgba(96, 65, 95, 0.14);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.screenshot-row img {
  width: 100%;
  border-radius: 22px;
  background: #18121c;
  box-shadow: 0 18px 44px rgba(45, 29, 50, 0.16);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.content-grid article,
.link-panel,
.trust-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(45, 29, 50, 0.06);
}

.feature-grid article {
  min-height: 180px;
  padding: 24px;
}

.feature-grid p,
.trust p,
.appstore p,
.content-grid p,
.content-grid li,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.68;
}

.trust,
.appstore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 56px;
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  padding: 22px;
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.link-panel {
  display: grid;
  padding: 12px;
}

.link-panel a {
  padding: 18px;
  border-radius: 6px;
  color: var(--plum-dark);
  text-decoration: none;
  font-weight: 780;
}

.link-panel a:hover {
  background: var(--surface-strong);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 42px;
  border-top: 1px solid rgba(96, 65, 95, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.page,
.legal {
  padding: 64px 0 96px;
}

.page-hero {
  max-width: 760px;
  padding-bottom: 52px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.content-grid article {
  padding: 26px;
}

.content-grid ul,
.legal ul {
  padding-left: 20px;
}

.legal {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.legal section {
  padding: 30px 0;
  border-top: 1px solid rgba(96, 65, 95, 0.14);
}

.updated {
  margin-bottom: 42px;
  color: var(--muted);
}

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

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .gallery,
  .trust,
  .appstore,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 34px;
  }

  .screenshot-stage {
    min-height: auto;
    justify-content: flex-start;
    padding: 8px 0 24px;
  }

  .shot {
    width: min(72vw, 290px);
    border-radius: 28px;
  }

  .shot-primary {
    transform: none;
  }

  .shot-secondary {
    right: 0;
    width: min(62vw, 250px);
    transform: rotate(4deg) translate(72px, 32px);
  }

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

  .screenshot-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 62px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-store-badge {
    width: 100%;
    align-items: center;
  }

  .shot-secondary {
    display: none;
  }

  .screenshot-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-row img {
    width: 72vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}
