/* Zerga website: white, thin Inter, black and white with the app's icon colours. */
:root {
  --ink: #0b0b0f;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #ececee;
  --soft: #f6f6f7;
  --orange: #f97316;
  --blue: #0284c7;
  --green: #16a34a;
  --violet: #7c3aed;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top-link { font-size: 15px; color: var(--muted); text-decoration: none; }
.top-link:hover { color: var(--ink); }

/* Buttons */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 500;
  transition: transform .15s ease, opacity .15s ease;
}
.store:hover { opacity: .9; }
.store:active { transform: scale(.98); }
.store svg { width: 20px; height: 20px; }

/* Landing */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 48px 0 88px; }
.hero h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 20px; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 0 0 34px; max-width: 30ch; font-weight: 300; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.note { margin-top: 16px; font-size: 13px; color: var(--faint); }

.phone { justify-self: center; position: relative; width: min(330px, 78vw); }
.phone::before {
  content: ""; position: absolute; inset: 10% -20% 0; z-index: -1;
  background: radial-gradient(closest-side, rgba(249,115,22,.10), rgba(22,163,74,.06) 55%, transparent 75%);
}
.phone-frame {
  border-radius: 54px; padding: 11px; background: #0b0b0f;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.45), 0 16px 34px -18px rgba(0,0,0,.25);
}
.phone-frame img { border-radius: 44px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 8px 0 96px; }
.feature { border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px; }
.feature svg { width: 30px; height: 30px; margin-bottom: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

.cta { text-align: center; padding: 0 0 104px; }
.cta h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; font-weight: 600; margin: 0 0 14px; }
.cta p { color: var(--muted); margin: 0 0 30px; font-size: 18px; font-weight: 300; }

/* Text pages */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; margin: 0 0 10px; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 24px 0 6px; }
.doc p, .doc li { font-size: 16px; color: #374151; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: #374151; }
.doc th { font-weight: 600; color: var(--ink); font-size: 14px; }

/* Support */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 300; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; }
.contact { margin-top: 48px; border-radius: 26px; background: var(--soft); padding: 32px; text-align: center; }
.contact h2 { margin: 0 0 8px; }
.contact a.mail { display: inline-block; margin: 8px 0 6px; font-size: 20px; font-weight: 600; text-decoration: none; }
.contact p { margin: 0; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 36px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 44px; padding-top: 24px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .foot .wrap { flex-direction: column; text-align: center; }
  .contact { padding: 26px 20px; }
}

/* Reset password form */
.field { display: block; margin: 0 0 16px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; }
.field input:focus { outline: none; border-color: var(--ink); }
.err { color: #dc2626; font-size: 14px; margin: 0 0 14px; }
