/* vCardSwap — design 2a (black on white) */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --ink: #111111;
  --ink-2: #555555;
  --muted: #888888;
  --muted-dark: #bbbbbb;
  --rule: #eeeeee;
  --outline: #e5e5e5;
  --shadow-page: 0 8px 40px rgba(0, 0, 0, .12);
  --shadow-phone: 0 24px 60px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

.wrap { max-width: 1280px; margin: 0 auto; }

/* ---------- Nav ---------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
}

.nav .wordmark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
}

.nav-links a { color: var(--ink-2); padding: 8px 0; }
.nav-links a:hover { color: var(--ink); }

.nav-links a.btn-primary { padding: 12px 28px; font-size: 16px; color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */

.btn-primary,
.btn-outline {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 17px 36px;
  border: none;
}

.btn-primary:hover { color: #fff; background: #333; }

.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 15.5px 36px;
  background: transparent;
}

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

.btn-outline-sm {
  display: inline-block;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.btn-outline-sm:hover { color: var(--ink); background: var(--bg-alt); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  padding: 48px 64px 0;
  align-items: center;
}

.hero-copy { padding-bottom: 64px; }

.hero h1 {
  font-weight: 700;
  font-size: 68px;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}

.hero .sub {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 480px;
}

.hero-ctas { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }

.trust-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
}

.trust-row .dot { color: #ccc; }

.hero-visual { display: flex; justify-content: center; align-items: flex-end; }
.hero-visual img { width: 440px; display: block; }

/* ---------- How it works ---------- */

.how { background: var(--bg-alt); padding: 72px 64px; }

.eyebrow {
  text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--muted);
}

.how h2 {
  text-align: center;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 52px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 940px;
  margin: 0 auto;
}

.how-step { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.phone-frame {
  width: 280px;
  border-radius: 36px;
  border: 10px solid var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  background: #fff;
}

.phone-frame img { width: 100%; display: block; }

.how-caption { text-align: center; max-width: 320px; }
.how-caption h3 { font-weight: 700; font-size: 21px; margin: 0 0 6px; }
.how-caption p { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 72px 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.features h3 { font-weight: 700; font-size: 20px; margin: 0 0 8px; }
.features p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ---------- Download card ---------- */

.download-card {
  margin: 0 64px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
}

.download-card h2 {
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.download-card .sub {
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted-dark);
  margin: 0 0 36px;
}

.store-badges { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

.store-badges .badge-appstore img { height: 60px; display: block; }
.store-badges .badge-play img { height: 90px; display: block; margin: -15px; }

/* ---------- Pro strip ---------- */

.pro-strip {
  margin: 0 64px 72px;
  border: 1px solid var(--outline);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  gap: 24px;
}

.pro-strip p { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.pro-strip strong { color: var(--ink); }
.pro-strip .pro-links { display: flex; gap: 10px; flex: none; }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 64px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 24px; }

/* ---------- Subpages (Pro / Privacy / Contact) ---------- */

.page {
  padding: 48px 64px 96px;
  max-width: 880px;
  margin: 0 auto;
}

.page h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 16px;
}

.page .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 40px;
  max-width: 560px;
}

.page h2 {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 40px 0 12px;
}

.page p, .page li {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.page a { text-decoration: underline; text-underline-offset: 3px; }

.page .meta { font-size: 14px; color: var(--muted); }

/* Comparison table (Pro) */

.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 40px;
  font-size: 16.5px;
}

.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.compare th {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
}

.compare th:not(:first-child), .compare td:not(:first-child) {
  text-align: center;
  width: 130px;
}

.compare td { color: var(--ink-2); }
.compare td .yes { font-weight: 700; color: var(--ink); font-size: 18px; }
.compare td .no { color: #ccc; font-size: 18px; }
.compare td .val { font-weight: 700; color: var(--ink); }

/* Contact form */

.contact-form { max-width: 560px; }

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin: 22px 0 8px;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--outline);
  border-radius: 12px;
  padding: 14px 16px;
  font: 400 16px/1.5 Archivo, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form button { margin-top: 28px; font-family: inherit; }

.form-status { margin-top: 18px; font-size: 16px; font-weight: 500; display: none; }
.form-status.ok { display: block; color: var(--ink); }
.form-status.err { display: block; color: #b00020; }

/* 404 */

.page-404 { text-align: center; padding: 120px 32px 140px; }
.page-404 h1 { font-weight: 700; font-size: 68px; letter-spacing: -.03em; margin: 0 0 12px; }
.page-404 p { font-size: 19px; color: var(--ink-2); margin: 0 0 32px; }

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .nav { padding: 18px 22px; }
  .nav .wordmark { font-size: 18px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 12px 8px;
    cursor: pointer;
  }

  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    padding: 8px 22px 20px;
    border-bottom: 1px solid var(--rule);
    z-index: 10;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; }
  .nav-links .btn-primary { margin-top: 8px; padding: 14px 0; }

  .nav { position: relative; }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 26px 0;
    text-align: center;
  }

  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: 36px; line-height: 1.08; margin-bottom: 14px; }
  .hero .sub { font-size: 16.5px; margin: 0 auto 24px; }

  .hero-ctas { flex-direction: column; gap: 11px; margin-bottom: 12px; }
  .hero-ctas .btn-primary { padding: 16px 0; font-size: 17px; }
  .hero-ctas .btn-outline { padding: 14.5px 0; font-size: 17px; }

  .trust-row { justify-content: center; font-size: 13px; margin-bottom: 28px; }

  .hero-visual { padding-bottom: 0; }
  .hero-visual img { width: 280px; }

  .how { padding: 40px 26px; }
  .how h2 { font-size: 26px; line-height: 1.15; margin-bottom: 28px; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }

  .phone-frame { width: 220px; border-radius: 30px; border-width: 8px; }

  .how-caption h3 { font-size: 17px; }
  .how-caption p { font-size: 14.5px; }

  .features { grid-template-columns: 1fr; gap: 28px; padding: 40px 26px; }

  .download-card { margin: 0 20px 20px; padding: 36px 26px; }
  .download-card h2 { font-size: 24px; }
  .download-card .sub { font-size: 15px; margin-bottom: 24px; }
  .store-badges { flex-direction: column; gap: 10px; }

  .pro-strip {
    margin: 0 20px 48px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
    gap: 14px;
  }

  .pro-strip .pro-links { flex-wrap: wrap; }

  .footer { padding: 22px 26px; font-size: 12.5px; }
  .footer-links { gap: 16px; }

  .page { padding: 24px 26px 72px; }
  .page h1 { font-size: 34px; }
  .page .lede { font-size: 17px; }

  .compare th, .compare td { padding: 12px 10px; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: 80px; }
}
