@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Lilita One";
  src: url("/assets/fonts/lilita-one.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --coral: #ff4052;
  --coral-dark: #c72f61;
  --ink: #1f1f24;
  --sea: #65c6d8;
  --sky: #b9eff5;
  --sand: #ffd094;
  --lime: #a3c233;
  --paper: #ffffff;
  --white: #ffffff;
  --muted: #60646f;
  --line: rgba(31, 31, 36, 0.12);
  --shadow: 0 16px 36px rgba(40, 68, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.site-header.solid {
  background: rgba(255, 255, 255, 0.96);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img {
  display: block;
  width: clamp(120px, 12vw, 154px);
  height: auto;
}

.site-header nav,
.site-footer {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 26px);
}

.site-header nav a,
.site-footer a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-header nav a {
  color: var(--ink);
}

.site-header nav a[aria-current="page"] {
  color: var(--coral);
}

.home-hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
    url("/assets/images/app-background.png") center bottom / cover no-repeat;
}

.home-copy {
  width: min(680px, 100%);
}

.home-logo {
  display: block;
  width: min(420px, 86vw);
  height: auto;
  filter: drop-shadow(0 10px 0 rgba(255, 255, 255, 0.56)) drop-shadow(0 18px 28px rgba(89, 53, 46, 0.12));
}

.home-copy p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.6;
  font-weight: 820;
  text-wrap: balance;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.store-badge img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
}

.store-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--coral);
  text-decoration: none;
  font-weight: 850;
}

.social-link img {
  width: auto;
  height: 48px;
  border-radius: 6px;
}

.plain-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(52px, 8vw, 86px) clamp(20px, 7vw, 96px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--lime);
  font-family: "Lilita One", "Inter", sans-serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

p {
  font-size: 1.04rem;
  line-height: 1.7;
}

.quiet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quiet-grid article {
  background: var(--white);
  padding: clamp(28px, 5vw, 42px);
}

.quiet-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.page-body {
  background: var(--white);
}

.document {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0;
}

.document section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(23, 59, 67, 0.12);
}

.document h2 {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.document h3 {
  margin: 30px 0 0;
  font-size: 1.12rem;
  line-height: 1.4;
}

.document a {
  color: var(--coral);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.document ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.document li {
  margin: 8px 0;
  line-height: 1.6;
}

.document p {
  overflow-wrap: anywhere;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.16rem;
}

.updated {
  margin-top: 14px;
  font-weight: 850;
}

.site-footer {
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px 20px;
  background: var(--coral);
  color: var(--white);
}

.site-footer span,
.site-footer a {
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 16px;
  }

  .brand-link {
    display: none;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    font-size: 0.84rem;
  }

  .plain-section {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 76vh;
    padding-top: 44px;
  }

  .home-copy {
    margin: 0 auto;
    text-align: center;
  }

  .store-row {
    justify-content: center;
  }

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

  .document {
    width: min(100% - 28px, 820px);
  }
}
