/* ============================================================
   reviewengine.uk — design tokens
   Sibling site to nfc-cards.co.uk: same type family, cooler
   blue-forward palette lifted directly from the physical card.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --blue: #2647D6;
  --blue-deep: #1D37AC;
  --ink: #1C2333;
  --ink-soft: #4A5266;
  --mist: #EEF1FA;
  --line: #D7DCEC;
  --paper: #FFFFFF;
  --gold: #E8B84B;
  --danger: #A8442F;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Hero band ---------- */

.band {
  background: var(--blue);
  color: #fff;
  width: 130%;
  margin-left: -15%;
  padding: 40px 15% 70px;
  border-radius: 0 0 50% 50% / 0 0 70px 70px;
  position: relative;
}

.band-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px 60px;
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: border-box;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-word {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
}

.logo-word b { font-weight: 700; }
.logo-word em { font-style: normal; font-weight: 500; opacity: 0.72; }

.nav-cta {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.nav-cta:hover { opacity: 1; }

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.hero-content > * {
  max-width: 640px;
}

.stars {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.stars svg { width: 19px; height: 19px; }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 13ch;
}

/* ---------- White lower hero zone ---------- */

.hero-lower {
  background: var(--paper);
  padding: 56px 0 84px;
}

.hero-lower-inner {
  max-width: 640px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 40px;
  line-height: 1.55;
}

.hero-explain {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 40px;
  line-height: 1.6;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.hero-explain a { color: var(--blue-deep); text-decoration: underline; }

/* Signature circular tap-CTA */

.tap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-align: center;
  text-decoration: none;
  padding: 20px;
  position: relative;
  transition: transform 0.15s ease;
}

.tap-btn::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}

.tap-btn:hover { transform: scale(1.04); }
.tap-btn:active { transform: scale(0.98); }

/* ---------- Sections ---------- */

section { padding: 80px 0; }

.quote-section { padding: 20px 0 76px; }

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 20px;
  border-left: 3px solid var(--blue);
  padding-left: 28px;
}

.quote-attr {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 0 31px;
}
.section-alt { background: var(--mist); }

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.section-head { max-width: 60ch; margin: 0 0 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* How-it-works ledger (shared device with nfc-cards.co.uk) */

.ledger { border-top: 1.5px solid var(--ink); max-width: 780px; }

.ledger-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
}
.ledger-row + .ledger-row { border-top: 1px dashed var(--line); }
.ledger-row:last-child { border-bottom: 1.5px solid var(--ink); }

.ledger-tag {
  flex: none;
  width: 120px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.ledger-tag.warn { color: var(--danger); }

.ledger-text { font-size: 1rem; color: var(--ink-soft); }
.ledger-text strong { color: var(--ink); }

/* Capability checklist */

.check-list { list-style: none; margin: 0; padding: 0; max-width: 640px; }

.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: 1px solid var(--line); }

.check-list strong { color: var(--ink); font-weight: 600; }

.check-icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

/* FAQ accordion */

.faq-list { max-width: 780px; border-top: 1.5px solid var(--ink); }

.faq-item { border-bottom: 1px dashed var(--line); }
.faq-item:last-child { border-bottom: 1.5px solid var(--ink); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--blue-deep);
  transition: transform 0.15s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 62ch;
}

/* Cross-link / closing CTA */

.closing {
  background: var(--ink);
  color: #fff;
  padding: 70px 0;
}

.closing h2 { color: #fff; }
.closing p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 52ch; margin: 0 0 32px; }

.closing-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-row a { color: var(--ink-soft); text-decoration: none; }
.footer-row a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  .band { padding-bottom: 60px; }
  .hero-content { max-width: 100%; }
  .ledger-row { flex-direction: column; gap: 6px; }
  .ledger-tag { width: auto; }
  section { padding: 56px 0; }
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
