/*
 * DummyDrop website. One stylesheet, no web fonts, no scripts, no third-party requests.
 * Colours match the extension: one indigo accent, neutral greys, light and dark themes.
 */
:root {
  --bg: #ffffff;
  --surface: #f7f7f9;
  --surface-2: #eeeef3;
  --border: #e2e2e9;
  --text: #15161a;
  --muted: #5b6070;
  --accent: #5b5bd6;
  --accent-hover: #4f4fc4;
  --accent-fg: #ffffff;
  --accent-soft: #ececfd;
  --accent-text: #4747b8;
  --warn: #8a5300;
  --warn-soft: #fff3da;
  --success: #12703d;
  --success-soft: #e3f6ec;
  --ring: rgba(91, 91, 214, 0.45);
  --shadow: 0 10px 30px rgba(20, 22, 40, 0.12), 0 1px 3px rgba(20, 22, 40, 0.08);
  --radius: 14px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151a;
    --surface: #1b1c23;
    --surface-2: #252630;
    --border: #2d2f3b;
    --text: #eceef4;
    --muted: #a3a8b8;
    --accent: #7b7bef;
    --accent-hover: #8d8df5;
    --accent-fg: #101018;
    --accent-soft: #26264a;
    --accent-text: #aeaefb;
    --warn: #f5c06a;
    --warn-soft: #382a10;
    --success: #6fdc9f;
    --success-soft: #14301f;
    --ring: rgba(123, 123, 239, 0.55);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-text);
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.nav a[aria-current='page'] {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 750;
}
h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-top: 2.2em;
}
h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-top: 1.6em;
}
h2,
h3 {
  scroll-margin-top: 16px;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}
li {
  margin-bottom: 0.4em;
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  overflow-wrap: anywhere;
}
strong {
  font-weight: 650;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 650;
  text-decoration: none;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--accent-text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

/* Sections */
.section {
  padding: 56px 0;
}
.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section > .wrap > h2:first-child,
.section > .wrap > .eyebrow + h2 {
  margin-top: 0;
}
.section-intro {
  max-width: 62ch;
  color: var(--muted);
}

.hero {
  padding: 56px 0 48px;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}
.hero h1 {
  margin-bottom: 16px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.trust li {
  margin: 0;
}
.trust li::before {
  content: '\2713';
  margin-right: 6px;
  color: var(--success);
  font-weight: 700;
}
.shot {
  margin: 0;
}
.shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .grid.cols-2,
  .grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card {
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section.alt .card {
  background: var(--bg);
}
.card h3 {
  margin-top: 0;
  margin-bottom: 0.4em;
}
.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
}

.callout {
  margin: 1.5em 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: var(--surface);
}
.callout.warn {
  border-left-color: var(--warn);
  background: var(--warn-soft);
}
.callout > :last-child {
  margin-bottom: 0;
}
.callout strong:first-child {
  display: block;
  margin-bottom: 4px;
}

.gallery {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Prose pages (legal, how it works) */
.page-head {
  padding: 48px 0 8px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}
.page-head .lead {
  margin-bottom: 24px;
  max-width: 68ch;
}
.page-body {
  display: grid;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 72px;
}
@media (min-width: 980px) {
  .page-body.has-toc {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
  }
}
.toc {
  align-self: start;
  font-size: 0.93rem;
}
@media (min-width: 980px) {
  .toc {
    position: sticky;
    top: 24px;
  }
}
.toc h2 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc li {
  margin: 0;
}
.toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
.prose {
  max-width: 74ch;
  min-width: 0;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h2 {
  padding-top: 0.6em;
  border-top: 1px solid var(--border);
}
.prose h2:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Tables */
.table-wrap {
  margin: 1.2em 0 1.6em;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}
th,
td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--surface);
  font-weight: 650;
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  min-width: 9em;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 0 12px;
  background: var(--bg);
}
.faq summary {
  padding: 16px 20px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  color: var(--accent-text);
  font-size: 1.3rem;
  line-height: 1.2;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details[open] summary {
  border-bottom: 1px solid var(--border);
}
.faq .anchor {
  display: block;
  height: 0;
  /* Keeps the question visible above the answer when a link opens it. */
  scroll-margin-top: 80px;
}
.faq .answer {
  padding: 16px 20px 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.footer-brand {
  margin: 0 0 6px;
  font-weight: 700;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li {
  margin: 0;
}
.legal-line {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.center {
  text-align: center;
}
.center h2 {
  margin-top: 0;
}
.centered {
  margin-left: auto;
  margin-right: auto;
}
.actions.centered {
  justify-content: center;
}
.shot.spaced {
  margin-top: 32px;
}
.notfound {
  padding: 96px 0;
  text-align: center;
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .skip,
  .actions {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .page-head {
    background: none;
  }
  a {
    color: #000;
  }
}
