:root {
  --bg: #f9f9f9;
  --text: #000;
  --muted: rgba(60, 60, 67, 0.6);
  --line: rgba(60, 60, 67, 0.18);
  --frame: #0a0a0b;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "liga" off, "clig" off;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 90px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* ── Hero ── */

.hero {
  text-align: center;
}

.wordmark {
  margin: 0;
}

.wordmark img {
  display: block;
  width: 100px;
  height: 135px;
  margin: 0 auto;
}

.subtitle {
  margin: 15px 0 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.43px;
}

.description {
  width: min(372px, 100%);
  margin: 5px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: 274;
  letter-spacing: -0.43px;
}

.app-store {
  display: inline-block;
  margin-top: 24px;
  line-height: 0;
}

.app-store img {
  display: block;
  width: 120px;
  height: 40px;
}

/* ── Screenshots ── */

.shots {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 215px));
  gap: 38px;
  justify-content: center;
  align-items: start;
}

.shot {
  margin: 0;
}

.shot h2,
.tablet-section h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.1px;
  text-align: center;
}

.shot h2 {
  margin-bottom: 16px;
}

/* ── Screenshots ── */

.shot-img {
  display: block;
  width: 215px;
  height: auto;
  margin: 0 auto;
}

.tablet-img {
  display: block;
  width: 599px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.tablet-section {
  margin-top: 65px;
}

.tablet-section h2 {
  margin-bottom: 15px;
}

/* ── Footer ── */

.footer {
  margin-top: 234px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
}

.footer a,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.home-link {
  display: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 780px) {
  .page {
    padding-top: 72px;
  }

  .shots {
    margin-top: 56px;
    grid-template-columns: minmax(0, 215px);
    gap: 40px;
  }

  .tablet-section {
    margin-top: 64px;
  }

  .footer {
    margin-top: 120px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 102px 20px 20px;
  }

  .description {
    width: 100%;
    margin-top: 5px;
  }

  .app-store {
    margin-top: 26px;
  }

  .shots {
    margin-top: 59px;
    gap: 34px;
  }

  .shot h2 {
    margin-bottom: 14px;
  }

  .tablet-section h2 {
    margin-bottom: 6px;
  }

  .tablet-img {
    width: 94%;
  }

  .footer {
    margin-top: 96px;
    padding-top: 18px;
    flex-direction: column;
    gap: 10px;
  }

  .footer nav {
    justify-content: center;
    gap: 14px;
  }

  .home-link {
    display: inline;
  }

  .footer p {
    text-align: center;
  }
}

/* ── Legal Pages ── */

.legal-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 32px 56px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.legal-top {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legal-brand {
  display: block;
  line-height: 0;
}

.legal-brand img {
  display: block;
  width: 64px;
  height: 20px;
}

.legal-divider {
  border: none;
  border-top: 1px solid rgba(118, 118, 128, 0.12);
  margin: 16px 0 0;
}

.legal-divider-breadcrumb {
  display: none;
  border: none;
  border-top: 1px solid rgba(118, 118, 128, 0.12);
  margin: 2px 0 0;
}

.legal-body {
  display: flex;
  gap: 32px;
  margin-top: 14px;
  flex: 1;
}

.legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 104px;
}

.legal-sidebar a {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.15px;
  color: var(--muted);
  text-decoration: none;
}

.legal-sidebar a:hover {
  text-decoration: underline;
}

.legal-sidebar a.active {
  font-weight: 700;
  color: var(--text);
}

.legal-main {
  flex: 1;
  max-width: 600px;
}

.legal-main h1 {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.15px;
  margin: 0 0 8px;
  color: var(--text);
}

.legal-main h2 {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.08px;
  margin: 16px 0 4px;
  color: var(--text);
}

.legal-main p {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.08px;
  color: var(--text);
  margin: 0 0 8px;
}

.legal-main ul {
  padding-left: 16px;
  margin: 0 0 8px;
  list-style: none;
}

.legal-main li {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.08px;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}

.legal-main li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.legal-footer {
  margin-top: 48px;
  border-top: 0.5px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.legal-footer nav {
  display: flex;
  gap: 16px;
}

.legal-footer a,
.legal-footer p {
  margin: 0;
  color: var(--muted);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: -0.15px;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-page {
    padding: 60px 24px 24px;
  }

  .legal-divider-breadcrumb {
    display: block;
  }

  .legal-body {
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
  }

  .legal-sidebar {
    flex-direction: row;
    gap: 12px;
  }

  .legal-main {
    max-width: none;
    margin-top: 10px;
  }

  .legal-footer {
    margin-top: 64px;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 60px 16px 20px;
  }

  .legal-main h1 {
    margin-bottom: 8px;
  }

  .legal-footer {
    margin-top: 48px;
    gap: 8px;
  }

  .legal-footer p {
    text-align: center;
  }
}
