/* ============================================================
   Gardiff Payments — Design tokens
   ============================================================ */
:root {
  --navy: #1D3C6B;
  --navy-deep: #14294D;
  --blue: #0215FE;
  --mid-blue: #007BFF;
  --teal: #1ABC9C;
  --sky: #00BFFF;
  --grey: #696969;
  --grey-light: #9AA3AE;
  --black: #000000;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --line: #E1E5EB;

  --display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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 {
  font-family: var(--body);
  color: var(--black);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--grey); max-width: 60ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(2,21,254,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(2,21,254,0.6); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-deep); }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,250,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
}
.logo .dot {
  width: 10px; height: 10px;
  background: var(--blue);
  border-radius: 3px;
  display: inline-block;
}
.logo span.sub { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; color: var(--grey); }

nav.links {
  display: flex;
  gap: 34px;
  font-size: 0.94rem;
  font-weight: 500;
}
nav.links a {
  position: relative;
  padding: 6px 0;
  color: var(--navy);
}
nav.links a.active { color: var(--blue); }
nav.links a.active::after,
nav.links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; background: var(--navy); color: var(--white); }
.nav-cta .btn:hover { background: var(--navy-deep); transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 1120px) {
  nav.links { gap: 24px; }
}
@media (max-width: 960px) {
  nav.links { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn.desktop-only { display: none; }
}

/* ---------- Hero terminal ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #16305A 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(0,191,255,0.25), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(26,188,156,0.15), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 32px 70px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 48px; }
}
.hero h1 { margin: 18px 0 20px; }
.hero p.lede { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* Terminal screen mockup */
.terminal {
  background: #0B1830;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}
.terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.terminal-screen {
  background: #061024;
  border-radius: 10px;
  padding: 26px 22px;
  font-family: var(--mono);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.term-line { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.term-status {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.term-status .cursor {
  width: 9px; height: 18px;
  background: var(--teal);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.term-amount { font-size: 2.1rem; font-weight: 700; color: var(--white); margin-top: 4px; }
.term-tape {
  margin-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--mono);
}

/* Stat ticker strip */
.ticker {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 32px;
}
@media (max-width: 760px) {
  .ticker-row { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
}
.stat { text-align: left; padding-right: 20px; }
.stat .num {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--teal);
  display: block;
}
.stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Perforated tear divider ---------- */
.tear {
  height: 26px;
  background-image: radial-gradient(circle at 12px 0, transparent 11px, var(--paper) 12px);
  background-size: 24px 26px;
  background-repeat: repeat-x;
}
.tear.on-navy { background-image: radial-gradient(circle at 12px 0, transparent 11px, var(--navy-deep) 12px); }
.tear.flip { transform: rotate(180deg); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(29,60,107,0.35); border-color: var(--mid-blue); }
.card .icon-mark {
  width: 42px; height: 42px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--mono);
  font-weight: 700;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card .tag {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Receipt-style list */
.receipt {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 0;
  font-family: var(--mono);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.receipt-row:last-child { border-bottom: none; }
.receipt-row .desc { color: var(--black); font-weight: 500; font-family: var(--body); }
.receipt-row .val { color: var(--teal); font-weight: 600; text-align: right; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--mid-blue) 60%, var(--sky));
  color: var(--white);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-primary { background: var(--white); color: var(--blue); box-shadow: none; }
.cta-band .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* Testimonial */
.testimonial {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.testimonial p.quote {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
}
.testimonial .who {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--teal);
}

/* Timeline (about page) */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -28px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-year { font-family: var(--mono); color: var(--mid-blue); font-size: 0.85rem; }
.tl-item h3 { margin: 6px 0 6px; }
.tl-item p { font-size: 0.94rem; }

/* Table (services page pricing-ish) */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.compare th, table.compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
table.compare th { font-family: var(--mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--grey); background: var(--paper); }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.check { color: var(--teal); font-weight: 700; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--paper);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--mid-blue);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--grey-light); margin-top: 4px; }
#form-success {
  display: none;
  background: rgba(26,188,156,0.12);
  border: 1px solid var(--teal);
  color: #0d7a63;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

#form-error {
  display: none;
  background: var(--paper);
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
#form-error a { color: var(--mid-blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Contact info list */
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:first-child { padding-top: 0; }
.info-mark {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid-blue);
  min-width: 90px;
  padding-top: 3px;
}
.info-list strong { display: block; margin-bottom: 2px; }
.info-list span { color: var(--grey); font-size: 0.92rem; }

/* ---------- Photo grid (industries) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,24,48,0.88) 100%);
}
.photo-card .label {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}
.photo-card .label span {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---------- Page hero with photo ---------- */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5);
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product shot within a card */
.product-shot {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 18px;
  display: block;
}

footer.site {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); font-weight: 500; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-logo img { display: block; width: 230px; height: auto; max-width: 100%; }

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  color: var(--white);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 26px 32px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer .close-row { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 26px; font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.mobile-drawer .btn { margin-top: 40px; align-self: flex-start; }

/* Page hero (non-home) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { margin-top: 14px; }
.page-hero p.lede { color: rgba(255,255,255,0.78); max-width: 56ch; margin-top: 14px; }

/* ---------- Photo components ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}
.industry-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.industry-card:hover img { transform: scale(1.06); }
.industry-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,41,77,0.88) 100%);
}
.industry-card .label {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.figure-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.figure-photo img { width: 100%; height: auto; display: block; }

.terminal-product-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}
.terminal-product-shot img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(29,60,107,0.25));
}

.screen-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 760px) { .screen-flow { grid-template-columns: repeat(2, 1fr); } }
.screen-flow-item { text-align: center; }
.screen-flow-item .frame {
  background: var(--navy-deep);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid rgba(29,60,107,0.5);
}
.screen-flow-item img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}
.screen-flow-item .step-label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Capital page ---------- */
.eligibility-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 40px 42px;
  border: 1px solid rgba(255,255,255,0.1);
}
.eligibility-band h2 { color: var(--white); }
.eligibility-band p { color: rgba(255,255,255,0.78); }
.elig-list { list-style: none; margin-top: 22px; }
.elig-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.16);
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
}
.elig-list li:last-child { border-bottom: none; }
.elig-list .tick {
  color: var(--teal);
  font-weight: 700;
  font-family: var(--mono);
  flex-shrink: 0;
}

.ui-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .ui-shots { grid-template-columns: 1fr; } }
.ui-shot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 18px 40px -28px rgba(29,60,107,0.4);
}
.ui-shot img { width: 100%; height: auto; border-radius: 6px; display: block; }
.ui-shot .cap {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.term-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.term-table th, .term-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.term-table th { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey); background: var(--paper); }
.term-table td.rate { font-family: var(--mono); color: var(--teal); font-weight: 600; }
.term-table tr:last-child td { border-bottom: none; }

.adyen-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0,123,255,0.07);
  border: 1px solid rgba(0,123,255,0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 26px;
}
.adyen-note .mark {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid-blue);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 2px;
}
.adyen-note p { font-size: 0.9rem; margin: 0; max-width: none; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.legal-body p { margin-bottom: 14px; font-size: 0.96rem; max-width: none; }
.legal-body ul { margin: 0 0 18px 22px; }
.legal-body li { margin-bottom: 8px; color: var(--grey); font-size: 0.96rem; }
.legal-body .clause { margin-bottom: 14px; font-size: 0.95rem; }
.legal-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--sky); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body p { max-width: none; margin-bottom: 14px; font-size: 0.97rem; }
.legal-body ul { margin: 0 0 18px 22px; }
.legal-body li { margin-bottom: 8px; color: var(--grey); font-size: 0.97rem; }
.legal-body .clause { margin-bottom: 16px; }
.legal-body a { color: var(--mid-blue); font-weight: 500; }
.legal-body a:hover { text-decoration: underline; }
.legal-updated {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

/* Footer legal row */
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a:hover { color: var(--sky); }
.footer-registered {
  width: 100%;
  padding-top: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.legal-body ol.clause-list { margin: 0 0 18px 24px; }
.legal-body ol.clause-list li { margin-bottom: 8px; color: var(--grey); font-size: 0.97rem; }

/* Legal tables and lists (T&Cs) */
.legal-body .table-wrap { margin: 6px 0 22px; }
.legal-body table.legal-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.legal-body table.legal-table th, .legal-body table.legal-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--grey); }
.legal-body table.legal-table th { font-family: var(--mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; background: var(--paper); }
.legal-body table.legal-table td:first-child { color: var(--navy); font-weight: 600; width: 36%; }
.legal-body table.legal-table tr:last-child td { border-bottom: none; }
.legal-body ol.numbered { margin: 0 0 18px 24px; }
.legal-body ol.numbered li { margin-bottom: 8px; color: var(--grey); font-size: 0.97rem; }
.legal-body h2.schedule { margin-top: 56px; padding-top: 40px; border-top: 3px solid var(--navy); font-size: 1.6rem; }

/* Inline text links */
.text-link { color: var(--mid-blue); font-weight: 500; }
.text-link:hover { text-decoration: underline; }

a.photo-card { display: block; color: inherit; }

/* compare-mobile: tighter comparison tables on phones */
@media (max-width: 600px) {
  table.compare th, table.compare td { padding: 12px 10px; font-size: 0.84rem; }
  table.compare th { font-size: 0.66rem; }
}

/* ---------- Card terminals page ---------- */
.terminal-hero-shots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  padding: 10px 0;
}
.terminal-hero-shots::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0;
  background: radial-gradient(closest-side, rgba(0,191,255,0.28), transparent);
  pointer-events: none;
}
.terminal-hero-shots img {
  position: relative;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
}
.terminal-hero-shots .shot-f2 { height: 400px; }
.terminal-hero-shots .shot-ams1 { height: 250px; }
@media (max-width: 900px) {
  .terminal-hero-shots .shot-f2 { height: 300px; }
  .terminal-hero-shots .shot-ams1 { height: 190px; }
}
.terminal-row { align-items: center; margin-bottom: 90px; }
.terminal-row .terminal-product-shot { padding: 26px 0 18px; }
.terminal-row .terminal-product-shot img { width: auto; max-width: 100%; height: 320px; }
@media (max-width: 900px) { .terminal-row .terminal-product-shot img { height: 260px; } }
.feature-list { list-style: none; margin: 20px 0; max-width: 60ch; }
.feature-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--black);
  font-size: 0.97rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--teal);
  font-family: var(--mono);
  font-weight: 700;
}
.best-for { font-size: 0.93rem; margin-bottom: 24px; }
.best-for strong { color: var(--navy); }
.soon-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 8px;
}
table.compare th .soon-badge { margin: 0 0 0 6px; }
table.terminal-compare td:first-child { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey); }
table.terminal-compare th { color: var(--navy); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--teal); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.faq-item p { margin-top: 12px; }
@media (max-width: 900px) { .terminal-row > div { order: 0 !important; } }
.why-terminals { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: stretch; }
.why-terminals .why-photo { margin: 0; position: relative; min-height: 420px; }
.why-terminals .why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-cards { display: grid; gap: 16px; }
.why-cards .card { padding: 24px 26px; }
@media (max-width: 900px) {
  .why-terminals { grid-template-columns: 1fr; }
  .why-terminals .why-photo { min-height: 0; aspect-ratio: 4 / 5; }
}

/* ---------- Trustpilot rating (official 5-star asset, Carl 7 Nov 2026) ---------- */
.tp-rating { display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; line-height: 1.3; }
.tp-rating img { width: auto; height: 19px; flex-shrink: 0; }
.tp-rating strong { font-weight: 600; }
.tp-rating:hover span { text-decoration: underline; }
.tp-hero { margin-top: 26px; color: rgba(255,255,255,0.85); }
.tp-hero strong { color: var(--white); }
.tp-footer { margin-top: 18px; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.tp-footer strong { color: var(--white); }
.trust-rating .tp-stars { width: auto; height: 21px; margin-bottom: 8px; }

/* ---------- Pay by Link page: email mockup in the hero ---------- */
.pbl-mock { background: var(--white); color: var(--black); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5); max-width: 420px; justify-self: center; width: 100%; }
.pbl-mock-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pbl-mock-head strong { display: block; font-size: 0.95rem; color: var(--navy); }
.pbl-mock-head span { font-size: 0.8rem; color: var(--grey); }
.pbl-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.75rem !important; color: var(--navy) !important; flex-shrink: 0; }
.pbl-inbox { margin-left: auto; font-family: var(--mono); font-size: 0.7rem !important; }
.pbl-mock-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 0; }
.pbl-label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.pbl-amount { font-family: var(--display); font-weight: 700; font-size: 2.1rem; color: var(--navy); line-height: 1; }
.pbl-ref { text-align: right; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.pbl-pay { display: block; text-align: center; background: var(--blue); color: var(--white); font-weight: 600; border-radius: 10px; padding: 13px; font-size: 0.95rem; }
.pbl-foot { margin: 12px 0 0; font-size: 0.78rem; color: var(--grey); text-align: center; max-width: none; }

/* Home hero device photo (9 Nov 2026) and terminal mockup panel in "Why Gardiff" */
.hero-device { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-device::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.28), transparent 65%);
  pointer-events: none;
}
.hero-device img { position: relative; height: 470px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45)); }
@media (max-width: 900px) { .hero-device img { height: 340px; } }
.terminal-panel {
  display: flex;
  align-items: center;
}
.terminal-panel .terminal { width: 100%; }
.stat .num.num-wide { white-space:nowrap; }
@media (max-width:600px){ .stat .num.num-wide { font-size:1.45rem; line-height:2.6rem; } }
/* Cookie policy table: one card per cookie on phones */
@media (max-width:600px){
  .legal-body table.cookie-table thead { display:none; }
  .legal-body table.cookie-table, .legal-body table.cookie-table tbody, .legal-body table.cookie-table tr, .legal-body table.cookie-table td { display:block; width:100%; }
  .legal-body table.cookie-table tr { border-bottom:1px solid var(--line); padding:10px 0; }
  .legal-body table.cookie-table tr:last-child { border-bottom:none; }
  .legal-body table.cookie-table td { border:none; padding:4px 16px; }
  .legal-body table.cookie-table td::before { content:attr(data-label); display:block; font-family:var(--mono); font-size:0.68rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--grey); }
}

/* Home page onboarding video (14 Nov 2026) */
.onboarding { display:grid; grid-template-columns: 1fr 1.15fr; gap:56px; align-items:center; }
.onboarding-video { margin:0; }
.onboarding-video video { display:block; width:100%; height:auto; aspect-ratio:16/9; background:var(--navy-deep); border-radius:var(--radius); box-shadow:0 24px 48px rgba(20,41,77,0.22); }
.onboarding-video figcaption { margin-top:12px; font-family:var(--mono); font-size:0.78rem; color:var(--grey); }
@media (max-width:900px){ .onboarding { grid-template-columns:1fr; gap:36px; } }
@media (max-width: 600px) { .footer-grid > div:first-child { grid-column: 1 / -1; } }
