/* Dropeen's site: one stylesheet for the landing page, pricing, legal pages
   and download. Brand colours from brand/README.md. System fonts only, so
   pages load no font files (many visitors are on mobile data). */
:root {
  --bg: #FFFFFF; --soft: #F3F7F6; --card: #FFFFFF; --line: #E3E8E8;
  --text: #13201F; --muted: #55656A; --ink: #0B1416;
  --accent: #0F766E; --accent-hover: #0B5E57; --accent-text: #FFFFFF; --accent-soft: #E3F2EF;
  --warn: #8A4B00; --warn-bg: #FFF4E0; --code: #EEF3F2;
  --radius: 14px; --shadow: 0 1px 2px rgba(11,20,22,.06), 0 8px 24px rgba(11,20,22,.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1416; --soft: #0F1C1F; --card: #111F22; --line: #213236;
    --text: #E6EEEC; --muted: #9DB0AE; --ink: #E6EEEC;
    --accent: #2DD4BF; --accent-hover: #5EEAD4; --accent-text: #0B1416; --accent-soft: #12302D;
    --warn: #F0B45A; --warn-bg: #2A2214; --code: #17272A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 18px; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 28px; width: auto; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .light { display: none; } .logo .dark { display: block; } }
.nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: var(--accent-text); }
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 40px 0; background: var(--soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 15px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
       padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
       color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--muted); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-text); }
.btn.big { min-height: 52px; padding: 12px 22px; font-size: 17px; }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 15px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
section.block { padding: 88px 0 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 620px; }
.section-head { max-width: 680px; margin-bottom: 36px; display: grid; gap: 12px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
              display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.card .icon svg { width: 22px; height: 22px; }

/* Hero */
.hero { padding: 64px 0 0; }
.hero .wrap { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.hero-copy { display: grid; gap: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px; border-radius: 999px;
         background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Product shot: the desktop in a browser window, and on a phone */
.shot { position: relative; padding-bottom: 28px; }
.browser { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.browser .bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser .url { flex: 1; font-size: 13px; color: var(--muted); background: var(--card); border-radius: 6px; padding: 4px 10px;
                white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.phone { position: absolute; left: -14px; bottom: 0; width: 34%; min-width: 150px; border-radius: 18px; padding: 7px;
         background: #0B1416; box-shadow: var(--shadow); }
.phone img { border-radius: 12px; width: 100%; height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 520px) { .phone { left: 8px; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { list-style: none; counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
                    border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 4px; }
ol.steps { padding: 0; margin: 0; }

/* Split feature rows */
.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.panel { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }

/* Plans */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .price { font-size: 30px; font-weight: 700; color: var(--ink); }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); font-size: 15px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; color: var(--ink); list-style-position: outside; }
.faq details p { padding: 0 0 16px; color: var(--muted); }

/* Call to action band */
.cta { margin-top: 96px; }
.cta .inner { background: var(--ink); color: #E6EEEC; border-radius: 20px; padding: 48px 32px; display: grid; gap: 16px; justify-items: start; }
.cta h2 { color: #FFFFFF; }
.cta p { color: #B9C8C6; max-width: 560px; }
.cta .btn.primary { background: #2DD4BF; border-color: #2DD4BF; color: #0B1416; }
.cta .btn.primary:hover { background: #5EEAD4; border-color: #5EEAD4; }
@media (prefers-color-scheme: dark) { .cta .inner { background: var(--soft); border: 1px solid var(--line); } }

/* Long-form pages (privacy, terms, download) */
.doc { padding-top: 56px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; }
.doc h3 { margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; }
.note { border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.info { background: var(--accent-soft); color: var(--text); }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
code { background: var(--code); padding: 1px 6px; border-radius: 4px; word-break: break-word; }
pre { background: var(--code); border-radius: 10px; padding: 12px 14px; overflow-x: auto; margin: 8px 0; }
pre code { background: none; padding: 0; }
.files { list-style: none; padding: 0 !important; margin: 8px 0 0; display: block !important; }
.files li { border-top: 1px solid var(--line); padding: 12px 0; }
.files li:first-child { border-top: 0; }
.files .name { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.files .sum { color: var(--muted); word-break: break-all; font-size: 12px; margin-top: 2px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.tabs button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--muted);
               border-radius: 999px; padding: 6px 14px; min-height: 36px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.doc .card { margin-top: 16px; }

/* Small helpers (no inline styles: the site's Content-Security-Policy blocks them) */
.footer-brand { display: grid; gap: 10px; }
.table-title { font-size: 22px; margin: 48px 0 14px; }
.measure { max-width: 720px; }
.m-0 { margin: 0; } .mb-0 { margin-bottom: 0; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
@media (max-width: 600px) {
  .nav .opt { display: none; }
  .site-header .wrap { flex-wrap: nowrap; }
  .hero { padding-top: 32px; }
}
