/* Simple Merge — site styles.
   Self-contained on purpose: no web fonts, no scripts, no trackers, no CDNs.
   Nothing here has to be disclosed in the privacy policy. */

:root {
  --paper: #fbfaf6;
  --sheet: #ffffff;
  --ink: #1c2321;
  --ink-2: #3b4542;
  --muted: #66706c;
  --rule: #e3e0d6;
  --rule-2: #d5d1c4;
  --blue: #2563d9;
  --blue-ink: #1b4aa8;
  --blue-wash: #eaf0fc;
  --mark: #fff1b8;
  --ok: #1f7a4d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --w: 1060px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-ink); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
code, kbd { font: .88em var(--mono); background: #f1efe7; border: 1px solid var(--rule); border-radius: 4px; padding: 1px 5px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ── Top bar ─────────────────────────────────────────── */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 15px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }
@media (max-width: 640px) {
  .top .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 10px; }
  .top nav { margin-left: 0; gap: 16px; flex-wrap: wrap; }
  .top nav .button { display: none; }
}

/* ── Buttons ─────────────────────────────────────────── */
.button {
  display: inline-block; padding: 11px 18px; border-radius: 6px;
  background: var(--blue); color: #fff !important; text-decoration: none !important;
  font-weight: 600; font-size: 15px; border: 1px solid var(--blue-ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.button:hover { background: var(--blue-ink); }
.button.quiet { background: transparent; color: var(--ink) !important; border-color: var(--rule-2); box-shadow: none; }
.button.quiet:hover { background: #f3f1ea; }
.top nav .button { padding: 7px 14px; font-size: 14px; }

/* ── Type ────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.08; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 6px; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
mark { background: var(--mark); color: inherit; padding: 0 2px; }
.small { font-size: 14px; color: var(--muted); }

section { padding: 72px 0; border-top: 1px solid var(--rule); }
section.first { border-top: 0; padding-top: 64px; }
.intro { max-width: 40em; margin-bottom: 36px; }
.intro p { color: var(--ink-2); margin: 0; }

/* ── Hero ────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; } }

/* The merge picture: three source pages fold into one document. Pure CSS. */
.merge-pic { position: relative; display: grid; grid-template-columns: 150px 40px 1fr; align-items: center; gap: 10px; }
.sources { display: grid; gap: 10px; }
.src {
  background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 4px;
  padding: 10px 10px 12px; box-shadow: 0 1px 2px rgba(30,30,20,.06);
  font-size: 11.5px; color: var(--ink-2);
}
.src:nth-child(1) { transform: rotate(-1.2deg); }
.src:nth-child(3) { transform: rotate(.9deg); }
.src b { display: block; font: 600 11.5px/1.3 var(--sans); color: var(--ink); margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src .ext { font: 10px var(--mono); color: var(--muted); float: right; margin-left: 6px; }
.line { height: 5px; background: #e7e4da; border-radius: 3px; margin: 5px 0; }
.line.s { width: 62%; } .line.m { width: 84%; } .line.l { width: 100%; }
.arrow { color: var(--rule-2); text-align: center; font-size: 26px; line-height: 1; }
.result {
  background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 4px;
  box-shadow: 0 10px 30px -12px rgba(30,40,30,.25), 0 1px 2px rgba(0,0,0,.05);
  padding: 22px 22px 8px;
}
.result .doc-title { font: 600 15px var(--serif); margin: 0 0 12px; }
.result h4 { font: 600 13px var(--serif); margin: 0 0 6px; color: var(--ink); }
.result .pb {
  margin: 12px -22px; border-top: 1px dashed var(--rule-2); position: relative; height: 0;
}
.result .pb span {
  position: absolute; right: 10px; top: -8px; background: var(--sheet); padding: 0 6px;
  font: 10px var(--mono); color: var(--muted);
}
@media (max-width: 480px) { .merge-pic { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); } }

/* ── Feature list (a definition list, not a card grid) ─ */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin: 0; }
.facts div { padding: 18px 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 650; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* ── The dialog (a faithful HTML copy of the add-on's merge window) ── */
.how { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.dialog {
  background: #fff; border-radius: 14px; border: 1px solid #dadce0;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.3);
  font: 13px/1.45 Roboto, Arial, sans-serif; color: #202124; overflow: hidden;
}
.dialog .bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 6px; font-size: 20px; }
.dialog .bar span { color: #5f6368; font-size: 20px; }
.dialog .tabs { display: flex; gap: 14px; padding: 6px 20px 10px; border-bottom: 1px solid #e8eaed; color: #1a73e8; font-size: 12px; flex-wrap: wrap; }
.dialog .body { padding: 14px 20px 18px; }
.dialog fieldset { border: 1px solid #dadce0; border-radius: 8px; margin: 0 0 12px; padding: 8px 14px 10px; }
.dialog legend { font-weight: 600; padding: 0 4px; font-size: 12.5px; }
.dialog .opt { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.dialog .box, .dialog .radio { width: 14px; height: 14px; border: 2px solid #5f6368; border-radius: 3px; flex: none; position: relative; }
.dialog .radio { border-radius: 50%; }
.dialog .on { border-color: #1a73e8; background: #1a73e8; }
.dialog .box.on::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dialog .radio.on { background: #fff; }
.dialog .radio.on::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #1a73e8; }
.dialog .list-h { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #5f6368; margin: 14px 0 6px; }
.dialog .list-h i { font-style: normal; font-weight: 400; border: 1px solid #dadce0; border-radius: 4px; padding: 0 6px; margin-left: 4px; letter-spacing: 0; }
.dialog ol { list-style: none; margin: 0; padding: 0; border: 1px solid #dadce0; border-radius: 6px; }
.dialog li { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-top: 1px solid #f1f3f4; }
.dialog li:first-child { border-top: 0; }
.dialog li .n { color: #80868b; width: 14px; }
.dialog li .grip { color: #bdc1c6; letter-spacing: -2px; }
.dialog li .t { flex: 1; }
.dialog li .k { font-size: 11px; color: #5f6368; }
.dialog .go { margin-top: 14px; display: flex; justify-content: flex-end; }
.dialog .go span { background: #1a73e8; color: #fff; border-radius: 4px; padding: 7px 18px; font-weight: 500; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 46px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  border: 1px solid var(--rule-2); border-radius: 50%; display: grid; place-items: center;
  font: 600 14px var(--serif); background: var(--sheet);
}
.steps h3 { font-size: 18px; }
.steps p { margin: 0; color: var(--ink-2); }

/* ── Tables (limits, pricing) ───────────────────────── */
table { border-collapse: collapse; width: 100%; background: var(--sheet); border: 1px solid var(--rule); font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: #f6f4ee; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }

/* ── Plans ───────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule-2); background: var(--sheet); border-radius: 8px; overflow: hidden; }
.plan { padding: 28px 26px 30px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.plan:first-child { border-left: 0; }
.plan.pick { background: #f7f9fe; box-shadow: inset 0 3px 0 var(--blue); }
.plan h3 { font-size: 22px; margin-bottom: 2px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 0 0 18px; min-height: 2.6em; }
.price { font: 600 40px/1 var(--serif); letter-spacing: -.02em; }
.price small { font: 400 15px var(--sans); color: var(--muted); letter-spacing: 0; }
.yearly { font-size: 14px; color: var(--ink-2); margin: 8px 0 20px; min-height: 1.6em; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan li { padding: 7px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.plan li b { font-variant-numeric: tabular-nums; }
.plan .button { text-align: center; }
.plan .note { font-size: 13px; color: var(--muted); margin: 10px 0 0; text-align: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan { border-left: 0; border-top: 1px solid var(--rule); } .plan:first-child { border-top: 0; } }

.callout { border-left: 3px solid var(--blue); background: var(--blue-wash); padding: 14px 18px; border-radius: 0 6px 6px 0; color: var(--ink-2); margin: 24px 0; }
.callout b { color: var(--ink); }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.cols h3 { font-size: 18px; }
.cols p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; gap: 24px; } }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 46em; }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ── Legal pages ─────────────────────────────────────── */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 56px 24px 80px; }
.doc aside { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.doc aside p { font-weight: 600; margin: 0 0 8px; }
.doc aside ol { margin: 0; padding-left: 18px; color: var(--muted); }
.doc aside li { margin: 4px 0; }
.doc aside a { color: var(--ink-2); text-decoration: none; }
.doc aside a:hover { text-decoration: underline; }
.doc article { max-width: 44em; }
.doc article h1 { font-size: clamp(32px, 4vw, 42px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc article h2 { font-size: 22px; margin: 40px 0 10px; scroll-margin-top: 20px; }
.doc article h3 { font-family: var(--sans); font-size: 16px; font-weight: 650; margin: 22px 0 6px; }
.doc article p, .doc article li { color: var(--ink-2); }
.doc article ul { padding-left: 20px; }
.doc article li { margin: 6px 0; }
.doc .summary { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 16px 20px; margin: 0 0 8px; }
.doc .summary p { margin: 0; color: var(--ink); }
.doc .quote { border-left: 3px solid var(--rule-2); padding: 4px 0 4px 16px; margin: 14px 0; font-style: italic; }
.doc table { font-size: 14.5px; margin: 12px 0; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .doc > * { min-width: 0; } .doc aside { position: static; } }

/* ── Footer ──────────────────────────────────────────── */
.foot { border-top: 1px solid var(--rule); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.foot .row { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 24px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--ink-2); }
.foot p { margin: 0 0 6px; max-width: 60em; }
