/* Four colours: white (page), tint (soft panels), ink (text + dark band), green (accent, ~10%). */
:root {
  --white: #ffffff;
  --tint:  #f3f8f5;
  --ink:   #0b1f14;
  --green: #01bf63;      /* Basebit brand green, from the logo */
  --muted: #4d6355;      /* ink at lower strength, for secondary text */
  --line:  #dfe9e3;
  --max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Header */
.header { border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { display: block; height: 28px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--green); }

/* Hero */
.hero { padding: 96px 0 88px; }
.hero h1 { font-size: clamp(40px, 7.4vw, 76px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; }
.accent { color: var(--green); }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }

/* Products */
.products { background: var(--tint); padding: 72px 0; }
.products h2, .contact h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -0.015em; }
.cards { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { color: var(--muted); }
.tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag-live { background: var(--green); border-color: var(--green); color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-size: 22px; font-weight: 700; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.link { font-weight: 600; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.link:hover { background: var(--green); }

/* Contact (the dark band) */
.contact { background: var(--ink); color: var(--white); padding: 72px 0; }
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact p { margin-top: 8px; color: #c5d6cb; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 600; font-size: 16px; border: 2px solid var(--green); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--white); border-color: var(--white); }
.btn-line { background: transparent; color: var(--white); }
.btn-line:hover { background: var(--green); color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: #9db3a4; border-top: 1px solid #1c3526; padding: 22px 0; font-size: 14px; }

/* Tablet / phone */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .header-in { height: 60px; }
  .nav { gap: 20px; font-size: 14px; }
  .hero { padding: 56px 0 52px; }
  .products, .contact { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .card h3 { font-size: 20px; }
  .card-top { flex-wrap: wrap; }
  .contact-in { flex-direction: column; align-items: stretch; gap: 24px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ---- ExamTreasure page ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(32px, 5.4vw, 54px); max-width: 18em; }
.crumbs { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-bottom-color: var(--green); }
.hero-actions { margin-top: 32px; }
.btn-ink { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--white); }
.note { margin-top: 16px; font-size: 15px; color: var(--muted); }

.glance { padding: 0 0 56px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 2px solid var(--ink); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

.section { padding: 72px 0; }
.section.tint { background: var(--tint); }
.section h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -0.015em; }
.section h3 { font-size: 19px; font-weight: 700; }
.grid4 { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.point { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; padding: 22px 24px; }
.point p { margin-top: 8px; color: var(--muted); }

.steps { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 700; }
.steps p { margin-top: 6px; color: var(--muted); }

.price-card { margin-top: 28px; max-width: 640px; border: 2px solid var(--ink); border-radius: 8px; padding: 28px; display: grid; gap: 12px; }
.price-big { font-size: 46px; font-weight: 700; line-height: 1; }
.price-big small { font-size: 18px; font-weight: 500; color: var(--muted); }

.faq { margin-top: 28px; max-width: 760px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { padding-top: 0; }
.faq-item p { margin-top: 8px; color: var(--muted); }

@media (max-width: 760px) {
  .page-hero { padding: 40px 0 40px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 7em 1fr; }
  .section { padding: 52px 0; }
  .grid4, .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .price-big { font-size: 40px; }
}

/* Product logos */
.card-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.card-title img { width: 40px; height: 40px; flex: none; }
.product-logo { display: block; width: 72px; height: 72px; margin-bottom: 18px; }
@media (max-width: 760px) { .product-logo { width: 56px; height: 56px; } }
