:root {
  --bg: #f6f3ee;
  --surface: #fffcf8;
  --muted: #ece7df;
  --ink: #1a1612;
  --ink-muted: #6f6a63;
  --accent: #d14a28;
  --accent-soft: #f3e0d8;
  --hairline: rgba(26, 22, 18, 0.1);
  --shadow: 0 16px 40px rgba(26, 22, 18, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.45;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 15px;
}

.lang {
  border: 0;
  background: var(--muted);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.btn-ink {
  background: var(--ink);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 80px;
}

h1,
.h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.lead {
  max-width: 34rem;
  margin: 20px 0 32px;
  font-size: 20px;
  color: var(--ink-muted);
}

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

.phone {
  width: min(320px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 42px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 460px;
  padding: 28px 22px 32px;
  border-radius: 34px;
  background: var(--bg);
}

.phone-island {
  width: 72px;
  height: 18px;
  margin: 0 auto 36px;
  border-radius: 999px;
  background: var(--ink);
}

.icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 22px;
  box-shadow: 0 8px 18px rgba(26, 22, 18, 0.12);
}

.icon svg {
  width: 52%;
  height: 52%;
}

.ig { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%); }
.tt { background: #111; }
.yt { background: #ff0000; }
.x { background: #000; }

.icon.yt svg {
  width: 58%;
  height: 58%;
}

.icon.x svg {
  width: 42%;
  height: 42%;
}

.phone-title {
  font-size: 36px;
  letter-spacing: -0.05em;
  line-height: 1;
  font-weight: 600;
}

.phone-copy {
  margin-top: 10px;
  color: var(--ink-muted);
}

.section {
  padding: 24px 0 80px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
}

.download {
  padding: 48px 40px;
  border-radius: 36px;
  background: var(--ink);
  color: var(--bg);
}

.download .lead {
  color: rgba(246, 243, 238, 0.72);
}

.legal-page {
  padding: 32px 0 96px;
}

.legal-page h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.legal-page h2 {
  margin-top: 36px;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page li {
  color: var(--ink-muted);
  max-width: 46rem;
}

.form {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 24px;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.note,
.error,
.ok {
  color: var(--ink-muted);
}

.error { color: #b42318; }
.ok { color: #2f6f4e; }

footer {
  padding: 32px 0 48px;
  color: var(--ink-muted);
  border-top: 1px solid var(--hairline);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-row a {
  margin-right: 14px;
  text-decoration: none;
}

@media (max-width: 800px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .download {
    padding: 32px 22px;
  }
}
