/* Eldorado Deal Finder site
   Colours follow the extension's own palette: mid-tone teal and amber on a
   dark neutral, so the site and the panel look like the same product. */

:root {
  --bg:        #0f1216;
  --surface:   #161b22;
  --surface-2: #1b2129;
  --line:      #262d36;
  --text:      #e6e9ef;
  --muted:     #98a2b0;
  --teal:      #2f9585;
  --teal-dim:  #1e6b74;
  --amber:     #ffd34d;
  --green:     #7fe0a0;
  --radius:    12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #8fb8e0; }
a:hover { color: #a9c9ec; }

code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.9em;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 18, 22, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}
.brand img { border-radius: 8px; display: block; }

.site-header nav { display: flex; gap: 20px; }
.site-header nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}
.site-header nav a:hover { color: var(--text); }

/* ---------- layout ---------- */

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

section { margin-top: 56px; }

h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 22px;
  margin: 0 0 18px;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 15px;
  margin: 0 0 7px;
  color: var(--amber);
}

/* ---------- hero ---------- */

.hero { padding-top: 64px; }

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 28px;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn.primary {
  background: var(--teal);
  color: #06211d;
}
.btn.primary:hover { background: #35a894; color: #06211d; }
.btn.ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn.ghost:hover { background: var(--surface); color: var(--text); }

/* ---------- panel note ---------- */

.panel-note {
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.panel-note p { margin: 0; color: #c3cad6; }

/* ---------- cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- checklist ---------- */

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  color: #c3cad6;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- disclaimer ---------- */

.disclaimer p { color: var(--muted); margin: 0; }

/* ---------- documents (privacy page) ---------- */

.doc { padding-top: 56px; }
.doc h1 { font-size: 33px; margin-bottom: 8px; }
.doc h2 {
  font-size: 19px;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.doc p, .doc li { color: #c3cad6; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 7px; }

.updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.summary {
  background: #14251b;
  border: 1px solid #2c5c3f;
  border-radius: var(--radius);
  padding: 16px 20px;
}
.summary p { margin: 0; color: #bfe8c4; }

.perms { margin: 0; }
.perms dt {
  font-weight: 700;
  color: var(--amber);
  margin-top: 16px;
  font-size: 15px;
}
.perms dd { margin: 5px 0 0; color: #c3cad6; }

.footnote {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 26px 24px 44px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0 0 6px; }
footer .small { font-size: 12.5px; opacity: 0.75; }

/* ---------- small screens ---------- */

@media (max-width: 620px) {
  h1 { font-size: 30px; }
  .doc h1 { font-size: 27px; }
  .hero { padding-top: 40px; }
  main { padding-bottom: 52px; }
  .site-header { padding: 14px 18px; }
  .site-header nav { gap: 14px; }
}

/* ---------- how it works ---------- */

.section-lede {
  color: var(--muted);
  margin: -6px 0 30px;
  max-width: 58ch;
}

.steps {
  list-style: none;
  list-style-type: none;   /* belt-and-braces: suppress ol auto-numbers */
  margin: 0 0 40px;
  padding: 0;
  counter-reset: step;
}

.steps li {
  display: flex;
  gap: 18px;
  padding: 0 0 26px 0;
  position: relative;
}

/* the connecting line down the left, stopping at the last step */
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}

.step-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  color: var(--text);
  font-size: 16px;
  margin: 6px 0 6px;
}
.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.step-body em { color: #c3cad6; font-style: normal; font-weight: 600; }

@media (max-width: 620px) {
  .steps li { gap: 13px; }
  .steps li:not(:last-child)::before { left: 15px; }
  .step-num { flex-basis: 32px; height: 32px; font-size: 13px; }
}

/* ---------- screenshot gallery ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: start;
}

.shot { margin: 0; }

/* Fixed-height cells so all five cards sit in one even row regardless of how
   tall the individual screenshots are. object-fit:cover fills the space cleanly. */
.shot img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

.shot figcaption {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
  .shot img { height: 280px; }
}

@media (max-width: 620px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot img { height: 220px; }
  .shot figcaption { font-size: 11.5px; }
}
