:root {
  --navy: #0a0e27;
  --blue: #0066ff;
  --cyan: #00d2ff;
  --ink: #1a1f36;
  --muted: #5a6478;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

header.site {
  background: var(--navy);
  padding: 20px 24px;
}

header.site .inner,
main,
footer.site .inner {
  max-width: 780px;
  margin: 0 auto;
}

header.site a.brand {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

header.site a.brand span {
  color: var(--cyan);
}

main {
  padding: 48px 24px 64px;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--navy);
}

p,
li {
  color: var(--ink);
}

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

ul,
ol {
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--navy);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

.callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  padding: 16px 18px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.callout p {
  margin: 0;
}

.card-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.card-links li {
  margin: 0;
}

.card-links a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.card-links a:hover {
  border-color: var(--blue);
}

.card-links a small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 24px 48px;
  color: var(--muted);
  font-size: 14px;
}

footer.site a {
  color: var(--muted);
}

footer.site .legal {
  margin-top: 10px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }

  main {
    padding: 32px 20px 48px;
  }
}

/* Header attribution. Restock stays the primary identity because that is the
   name the merchant installed; Rel8 CX Ltd appears as the company behind it.
   Leading with the company logo here would read as a misdirect on a page whose
   only job is confirming legitimacy. */
header.site .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.attribution {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.attribution img {
  height: 22px;
  width: auto;
  display: block;
}

/* The About band is deliberately dark: the Rel8 mark is a white asset, and a
   contrasting band separates "who we are" from the policy content. */
.about {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  margin: 40px 0;
}

.about-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}

.about h2 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 20px;
}

.about p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 12px;
}

.about p:last-child {
  margin-bottom: 0;
}

.about a {
  color: var(--cyan);
}

.about a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .about {
    padding: 24px 20px;
  }
}
