/* PRTN — shared styles */
:root {
  --bg: #F4F4F4;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --muted: #9A9A9A;
  --muted-2: #6E6E6E;
  --line: #E6E6E6;
  --chip: #EDEDED;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  line-height: 1.5;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* Nav */
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 4px 2px;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { color: var(--ink); font-weight: 700; }
.lang-switch .sep { color: var(--line); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
h1.display {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 24px;
  text-wrap: balance;
}
.lede {
  font-size: 19px;
  color: var(--muted-2);
  max-width: 460px;
  margin: 0 0 40px;
  line-height: 1.5;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: 320px;
  aspect-ratio: 9/19.5;
  background: var(--bg);
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #111,
    0 40px 80px -20px rgba(0,0,0,0.25),
    0 20px 40px -20px rgba(0,0,0,0.15);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* Feature strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.strip-item h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  font-weight: 700;
}
.strip-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.5;
}

/* Bottom CTA */
.final {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
}
.final h2 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  font-weight: 800;
  margin: 0 0 20px;
}
.final p {
  color: var(--muted-2);
  font-size: 17px;
  margin: 0 0 36px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner .brand { font-size: 16px; }
.legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.legal a {
  text-decoration: none;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
}
.legal a:hover { color: var(--ink); }
.copy {
  font-size: 13px;
  color: var(--muted);
}

/* Legal / document pages */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 32px 120px;
}
.doc .back {
  text-decoration: none;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
}
.doc .back:hover { color: var(--ink); }
.doc h1 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 8px;
}
.doc .updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 56px;
}
.doc h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 48px 0 12px;
  font-weight: 700;
}
.doc p, .doc li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.doc p { margin: 0 0 16px; }
.doc ul { padding-left: 20px; }
.doc .placeholder {
  background: var(--chip);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
  margin: 8px 0 20px;
}
.doc h3 {
  font-size: 16px;
  letter-spacing: -0.005em;
  margin: 32px 0 10px;
  font-weight: 600;
}
.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.doc a:hover { text-decoration-color: var(--ink); }
.doc code {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 0.88em;
  background: var(--chip);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--ink-2);
}
.doc blockquote {
  border-left: 2px solid var(--line);
  margin: 16px 0;
  padding: 4px 0 4px 16px;
  color: var(--muted-2);
  font-size: 14px;
  font-style: italic;
}
.doc blockquote code {
  font-style: normal;
}
.doc ol {
  padding-left: 20px;
  margin: 0 0 16px;
}
.doc ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}
.doc ul li {
  margin-bottom: 6px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 14px;
}
.doc table th,
.doc table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.doc table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--chip);
}
.doc table tr:last-child td {
  border-bottom: 0;
}
.doc strong { font-weight: 700; color: var(--ink); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 20px 24px 64px; gap: 56px; }
  .phone { width: 280px; }
  .strip-inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .nav { padding: 20px 24px; }
  .nav-links { gap: 18px; }
  .nav-links a.nav-cta { display: none; }
  .final { padding: 80px 24px; }
  footer { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
