:root {
  --paper: #f7f3ea;
  --ink: #111111;
  --muted: #5d5a54;
  --line: #ddd5c7;
  --panel: #fffaf0;
  --accent: #ffd43b;
  --blue: #1f8cff;
  --dark: #222222;
  --shadow: 0 20px 60px rgba(28, 26, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration-color: rgba(17, 17, 17, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--ink);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.site-header.compact {
  max-width: 940px;
}

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

.brand img,
.large-icon {
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.14);
}

nav,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.site-footer a {
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: 54px 24px 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 740;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.55);
}

.phone-preview {
  width: min(100%, 360px);
  margin-left: auto;
  padding: 22px;
  border: 10px solid #1b1b1b;
  border-radius: 38px;
  background: #101010;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 86px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: #303030;
}

.preview-card {
  display: flex;
  justify-content: space-between;
  min-height: 92px;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 18px;
  color: #ffffff;
}

.preview-card span {
  align-self: end;
  font-weight: 700;
}

.preview-card strong {
  font-size: 2.2rem;
  line-height: 1;
}

.preview-card.blue {
  background: linear-gradient(135deg, #70b9ff, #1f8cff);
}

.preview-card.dark {
  background: linear-gradient(135deg, #5a5a5a, #252525);
}

.preview-note {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #1e1e1e;
  color: #ffffff;
}

.preview-note p {
  margin: 2px 0 0;
  color: #aaa7a0;
  font-size: 0.88rem;
}

.note-dot {
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.note-dot.yellow {
  background: var(--accent);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 68px;
  padding: 0 24px;
}

.info-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

h2 {
  margin: 32px 0 10px;
  font-size: 1.38rem;
  letter-spacing: 0;
}

.info-grid h2 {
  margin-top: 0;
}

p,
li {
  color: var(--muted);
}

.document {
  max-width: 940px;
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.document.narrow {
  max-width: 720px;
}

.document.center {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
}

.policy,
.support {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 34px rgba(28, 26, 22, 0.08);
}

.policy h1,
.support h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.updated {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 34px;
  }

  .phone-preview {
    margin: 0;
  }

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

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .hero,
  .info-grid,
  .document {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .policy,
  .support {
    padding: 24px 20px;
  }
}
