/* SendDone site styles. One file for every page. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue: #2659b3;
  --blue-dark: #1c4689;
  --blue-soft: #e8eef9;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1b2333;
  --muted: #5b6577;
  --border: #e1e5ee;
  --green: #1f8a5b;
  --shadow: 0 18px 40px rgba(27, 35, 51, 0.12);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #5b8fe6;
    --blue-dark: #7aa5ee;
    --blue-soft: #1d2a42;
    --bg: #0f131b;
    --surface: #171c26;
    --text: #e8ebf2;
    --muted: #9aa3b5;
    --border: #283042;
    --green: #4cc28d;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img, svg { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 18px 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding: 56px 0 72px;
}
.badge {
  display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue); font-size: 0.85rem; font-weight: 600;
}
h1 {
  margin: 0 0 18px; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em;
}
.lede { margin: 0 0 14px; font-size: 1.2rem; color: var(--text); }
.sub { margin: 0; color: var(--muted); }

/* Hero illustration: a text message and the invoice it opens */
.hero-art { display: grid; gap: 16px; justify-items: end; }
.bubble {
  max-width: 340px; padding: 12px 16px; border-radius: 20px 20px 6px 20px;
  background: var(--blue); color: #fff; font-size: 0.92rem; line-height: 1.45;
  box-shadow: var(--shadow);
}
.bubble span { text-decoration: underline; }
.invoice {
  width: 100%; max-width: 400px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.inv-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.inv-head strong { display: block; font-size: 1.02rem; }
.inv-head span { color: var(--muted); font-size: 0.85rem; }
.inv-due { white-space: nowrap; }
.inv-to { padding: 10px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.inv-to strong { color: var(--text); }
.inv-lines { list-style: none; margin: 0; padding: 0; }
.inv-lines li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--border);
}
.inv-total {
  display: flex; justify-content: space-between; padding: 12px 0 16px;
  border-top: 2px solid var(--text); font-weight: 700; font-size: 1.05rem;
}
.inv-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-pay {
  display: block; padding: 11px 8px; border-radius: 10px; text-align: center;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 0.92rem;
}
.btn-pay.ghost { background: var(--blue-soft); color: var(--blue); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.01em; }
.section-lede { margin: 0 0 36px; color: var(--muted); max-width: 640px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.alt .step, .alt .card { background: var(--bg); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700;
}
.step h3, .card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.step p, .card p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.price.feature { border: 2px solid var(--blue); }
.price .label { margin: 0 0 6px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.price .amount { margin: 0 0 4px; font-size: 2rem; font-weight: 750; letter-spacing: -0.02em; }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price p { margin: 0 0 10px; color: var(--muted); }
.price ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.price li { margin-bottom: 6px; }
.fine { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--border); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Text pages: privacy, terms, support */
.page { max-width: 760px; margin: 0 auto; padding: 40px 20px 72px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.page h2 { font-size: 1.35rem; margin: 36px 0 8px; }
.page p, .page li { color: var(--text); }
.page .meta { color: var(--muted); margin-top: -6px; }
.page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--border); }
.page th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout { padding: 18px 20px; border-radius: 12px; background: var(--blue-soft); }
.callout p { margin: 0; }

/* Footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Phone layouts */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 48px; }
  .hero-art { justify-items: stretch; }
  .bubble { justify-self: end; }
  .invoice { max-width: none; }
  .steps, .cards, .prices, .split { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
  .nav nav { gap: 16px; }
}
