/* GigScope for Fiverr — shared stylesheet for the marketing site and tools */

:root {
  --ink: #202431;
  --primary: #1F5F8B;
  --primary-dark: #174A6D;
  --sky: #E7EEF4;
  --marigold: #F4D35E;
  --line: #D8DDE3;
  --white: #FFFFFF;
  --muted: #5A6170;
  --danger: #A23B2A;
  --shadow: 0 12px 28px rgba(32, 36, 49, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E9ECF2;
    --primary: #6FA8CE;
    --primary-dark: #8FC1E3;
    --sky: #1B2431;
    --marigold: #F4D35E;
    --line: #323A4A;
    --white: #14171F;
    --muted: #9AA3B2;
    --danger: #E2836F;
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

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

small, .small { font-size: 15px; }
.tabular { font-variant-numeric: tabular-nums; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 20px;
}
.brand {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: var(--primary); }

/* buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: var(--primary-dark); color: var(--white); }
.btn.quiet {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn.quiet:hover { background: var(--sky); color: var(--ink); }
.btn.small { padding: 6px 12px; font-size: 14px; margin: 0; flex: none; }

.text-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* hero */
.hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero-text { max-width: 720px; margin: 0 0 40px; }
h1 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 700; }
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 46ch; margin: 0 0 26px; }
.cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 15px; color: var(--muted); margin: 14px 0 0; }

/* sections */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
section.ground { background: var(--sky); }
h2 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.15; font-weight: 700; }
h3 { font-size: 26px; margin: 0 0 10px; letter-spacing: -0.01em; font-weight: 700; }
.sub { color: var(--muted); max-width: 65ch; margin: 0 0 32px; font-size: 19px; }

/* feature rows (home) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.feature + .feature { margin-top: 64px; }
.feature.flip .shot-card { order: 2; }
.feature.align-top { align-items: start; }
.feature p { color: var(--muted); max-width: 52ch; margin: 0 0 12px; }
.feature p:last-child { margin-bottom: 0; }
.feature ul { color: var(--muted); padding-left: 18px; margin: 0; max-width: 50ch; }
.feature li { margin: 6px 0; }

/* two-column bullet list, used above a full-width screenshot */
.bullets-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  color: var(--muted);
  padding-left: 18px;
  margin: 0 0 28px;
  max-width: 900px;
}
.bullets-2col li { margin: 4px 0; }

.shot-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-card img { width: 100%; height: auto; }

.hero-shot { margin-top: 36px; }

/* natural-size product shots shown side by side, not stretched to fill the column */
.shots-pair { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.shots-pair figure { margin: 0; flex: 0 0 auto; max-width: 100%; }
.shots-pair .shot-card { display: inline-block; max-width: 100%; }
.shots-pair .shot-card img { display: block; width: auto; max-width: 100%; height: auto; }
.shots-pair figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* free-tool links (home) */
.tool-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; }
.tool-links .tool-card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--white); }
.tool-links .tool-card h3 { margin: 0 0 8px; font-size: 20px; }
.tool-links .tool-card p { color: var(--muted); margin: 0 0 16px; }
@media (max-width: 640px) { .tool-links { grid-template-columns: 1fr; } }

/* pricing table */
.price-table { width: 100%; max-width: 820px; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th:first-child, .price-table td:first-child { padding-left: 0; width: 34%; }
.price-table th { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-table .price { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 0 4px; }
.price-table .price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-table td.yes { color: var(--primary); font-weight: 700; }
.price-table tfoot td { border-bottom: 0; padding-top: 20px; }
.price-table tfoot .btn { margin: 4px 8px 0 0; }
.price-table tfoot .cta-note { margin: 0 0 12px; }

/* faq */
.faq dt { font-weight: 700; margin-top: 20px; font-size: 19px; }
.faq dd { margin: 6px 0 0; color: var(--muted); max-width: 68ch; }

/* footer */
.site-footer { padding: 48px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 32px;
}
.footer-col h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; letter-spacing: 0; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; padding: 3px 0; }
.footer-col a:hover { color: var(--primary); }
.site-footer .trademark {
  border-top: 1px solid var(--line);
  padding: 18px 0 40px;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* article / guide layout */
main.doc { padding: 40px 0 64px; max-width: 780px; }
main.doc .wrap { max-width: none; padding: 0; }
.doc h1 { font-size: 38px; }
.doc .lede { font-size: 19px; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; }
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc p { margin: 0 0 16px; max-width: 72ch; }
.doc ul, .doc ol { padding-left: 20px; margin: 0 0 16px; max-width: 72ch; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; max-width: 72ch; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.cta {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}
.cta h2 { margin-top: 0; }
.cta .note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.cta .btn { margin: 4px 12px 4px 0; }

/* tool pages */
main.tool-page { padding: 40px 0 64px; }
main.tool-page .lede { max-width: 62ch; margin-bottom: 28px; }
.tool {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin: 0 0 40px;
}
.tool label { display: block; font-size: 15px; font-weight: 600; margin: 16px 0 6px; }
.tool label:first-child { margin-top: 0; }
.tool input[type=text], .tool input[type=number], .tool select, .tool textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
}
.tool input:focus, .tool select:focus, .tool textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.tool .hint { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

.results { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.results .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.results .row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.results .row.total { font-size: 19px; padding-top: 14px; border-bottom: none; }

.checks { margin-top: 22px; }
.check { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.check .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.check .mark.pass { background: var(--primary); }
.check .mark.warn { background: #B08A1F; }
.check .mark.fail { background: var(--danger); }
.check .text b { display: block; }
.check .text span { color: var(--muted); font-size: 14px; }
.count { font-size: 13px; color: var(--muted); text-align: right; margin-top: -12px; font-variant-numeric: tabular-nums; }

.sources { margin: 30px 0; padding: 16px 18px; background: var(--sky); border-radius: 10px; font-size: 14px; color: var(--muted); }
.sources h2, .sources h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.sources ol { margin: 0; padding-left: 18px; }
.sources li { margin: 5px 0; }

/* 404 */
.notfound { padding: 80px 0; text-align: left; }

/* responsive */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .shot-card { order: -1; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .lede { font-size: 18px; }
  h2 { font-size: 25px; }
  h3 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-table th, .price-table td { padding: 10px 6px; font-size: 15px; overflow-wrap: anywhere; }
  .price-table th:first-child, .price-table td:first-child { width: 30%; padding-right: 6px; }
  .price-table .price { font-size: 22px; }
  .price-table .price small { display: block; }
  .price-table tfoot .btn { display: block; margin: 8px 0 0; padding: 10px 8px; text-align: center; }
  .bullets-2col { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 27px; }
}
