:root{
  --bg:#f5f7fb;
  --bg-2:#ffffff;
  --panel:#ffffff;
  --panel-soft:#f8fafc;
  --line:#d9e1ee;
  --line-strong:#c7d2e3;
  --text:#142033;
  --text-soft:#2a3950;
  --muted:#5b6b82;
  --brand:#0a4ea3;
  --brand-dark:#083b7c;
  --accent:#c8102e;
  --success:#127a52;
  --warning:#8a5a00;
  --shadow:0 14px 36px rgba(14,27,51,0.08);
  --shadow-soft:0 6px 18px rgba(14,27,51,0.05);
  --radius:18px;
  --radius-sm:12px;
  --max:1240px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(10,78,163,0.07), transparent 0 26%),
    radial-gradient(circle at 88% 14%, rgba(200,16,46,0.05), transparent 0 24%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 48%, #f9fbfe 100%);
  min-height:100vh;
  line-height:1.65;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(10,78,163,0.03) 50%, transparent 54%);
  background-size:220% 220%;
  animation:drift 22s linear infinite;
  z-index:-1;
}

@keyframes drift{
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
}

a{
  color:var(--brand);
  text-decoration:none;
}

a:hover{
  color:var(--brand-dark);
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin-inline:auto;
}

.topbar{
  background:#0d2f5f;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,0.12);
}

.topbar__inner{
  width:min(var(--max), calc(100% - 32px));
  margin-inline:auto;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:13px;
  color:#f4f7fb;
  letter-spacing:.01em;
  font-weight:700;
}

.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  box-shadow:0 4px 18px rgba(17,34,68,0.04);
}

.site-header__inner{
  width:min(var(--max), calc(100% - 32px));
  margin-inline:auto;
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--text);
  font-weight:900;
  letter-spacing:.01em;
}

.brand:hover{
  color:var(--text);
}

.brand__mark{
  width:46px;
  height:46px;
  border-radius:14px;
  background-image:url('/assets/images/logo.png');
  background-size:cover;
  background-position:center;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.nav a{
  color:var(--muted);
  font-size:15px;
  font-weight:700;
  padding:8px 0;
  position:relative;
}

.nav a:hover,
.nav a.active{
  color:var(--brand);
}

.nav a.active::after,
.nav a:hover::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--brand), var(--accent));
}

.hero{
  padding:72px 0 40px;
}

.hero__grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:stretch;
}

.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.hero__content{
  padding:38px;
  position:relative;
  overflow:hidden;
}

.hero__content::after{
  content:"gamblingcheck.com";
  position:absolute;
  right:-30px;
  bottom:20px;
  font-size:54px;
  font-weight:900;
  letter-spacing:-.03em;
  color:rgba(10,78,163,0.05);
  white-space:nowrap;
  transform:rotate(-6deg);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef4fb;
  border:1px solid #dbe6f4;
  color:var(--brand);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.hero h1{
  margin:16px 0 14px;
  font-size:clamp(34px, 5vw, 56px);
  line-height:1.06;
  letter-spacing:-.035em;
  color:#102039;
}

.hero p{
  margin:0 0 22px;
  color:var(--muted);
  font-size:18px;
  max-width:64ch;
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:22px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--text);
  font-weight:800;
  letter-spacing:.01em;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  cursor:pointer;
  background:#fff;
}

.button:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-soft);
}

.button--primary{
  color:#fff;
  background:linear-gradient(135deg, var(--brand), #1a64c4);
  border-color:#1a64c4;
}

.button--primary:hover{
  color:#fff;
  background:linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.button--secondary{
  background:#fff;
  color:var(--brand);
  border-color:#c9d7e8;
}

.disclosure{
  margin-top:20px;
  padding:14px 16px;
  border-radius:14px;
  background:#f7f9fc;
  border:1px solid #dfe7f2;
  color:var(--text-soft);
  font-size:14px;
}

.hero__side{
  padding:24px;
  display:grid;
  gap:16px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}

.stat{
  padding:18px;
  border-radius:16px;
  background:#fbfdff;
  border:1px solid #dfe7f2;
}

.stat__label{
  color:var(--muted);
  font-size:13px;
  margin-bottom:8px;
}

.stat__value{
  font-size:24px;
  font-weight:900;
  letter-spacing:-.02em;
  color:var(--brand);
}

.quick-note{
  padding:18px;
  border-radius:16px;
  background:#fff9ef;
  border:1px solid #f1dfb3;
  color:#6f5521;
}

.section{
  padding:28px 0;
}

.section__head{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}

.section__head h2{
  margin:0;
  font-size:clamp(26px, 3.5vw, 40px);
  letter-spacing:-.03em;
  color:#11213c;
}

.section__head p{
  margin:0;
  color:var(--muted);
  max-width:68ch;
}

.grid{
  display:grid;
  gap:20px;
}

.grid--cards{
  grid-template-columns:repeat(12, minmax(0,1fr));
}

.card{
  grid-column:span 6;
  padding:22px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.card--full{
  grid-column:1 / -1;
}

.card h3{
  margin:0 0 10px;
  font-size:24px;
  letter-spacing:-.02em;
  color:#162742;
}

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

.offer-card{
  display:grid;
  gap:14px;
}

.offer-card__top{
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:16px;
}

.offer-card__brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.offer-card__logo{
  width:58px;
  height:58px;
  border-radius:16px;
  background:linear-gradient(180deg, #f7fbff, #eef4fb);
  border:1px solid #d8e4f1;
  display:grid;
  place-items:center;
  font-weight:900;
  color:var(--brand);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.85);
}

.offer-card__name{
  margin:0;
  font-size:22px;
  color:#172844;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
  border:1px solid #d9e3ef;
  background:#f4f8fd;
  color:var(--brand);
}

.badge--ok{
  color:var(--success);
  background:#effaf4;
  border-color:#ccebd9;
}

.offer-card__headline{
  font-size:28px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.03em;
  color:#12223c;
}

.offer-card__summary{
  color:var(--muted);
}

.offer-card__terms{
  padding:14px 16px;
  border-radius:14px;
  background:#f8fbff;
  border:1px solid #d7e4f2;
  color:var(--text-soft);
  font-size:14px;
}

.offer-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#f5f8fc;
  border:1px solid #dde6f1;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.offer-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px;
}

.offer-card__foot{
  color:var(--warning);
  font-size:13px;
  font-weight:700;
}

.review-list,
.legal-list{
  display:grid;
  gap:14px;
}

.review-item,
.legal-item{
  padding:18px;
  border-radius:16px;
  background:#fbfdff;
  border:1px solid #dde6f1;
}

.review-item h3,
.legal-item h3{
  margin:0 0 8px;
  font-size:20px;
}

.review-item p,
.legal-item p{
  margin:0;
  color:var(--muted);
}

.note{
  padding:16px 18px;
  border-radius:14px;
  background:#fff8eb;
  border:1px solid #f0ddb0;
  border-left:4px solid #c58b10;
  color:#6d5421;
}

.footer{
  padding:40px 0 56px;
  margin-top:28px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

.footer__grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}

.footer__brand{
  display:grid;
  gap:14px;
}

.footer__links{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

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

.footer__links a:hover{
  color:var(--brand);
}

.page-hero{
  padding:58px 0 18px;
}

.page-hero h1{
  margin:0 0 12px;
  font-size:clamp(32px, 4vw, 52px);
  line-height:1.08;
  letter-spacing:-.03em;
  color:#11213c;
}

.page-hero p{
  margin:0;
  max-width:72ch;
  color:var(--muted);
}

.content{
  padding:10px 0 34px;
}

.content .panel{
  padding:26px;
}

.content h2{
  margin-top:0;
  font-size:28px;
  color:#172844;
}

.content h3{
  font-size:22px;
  color:#172844;
}

.content p,
.content li{
  color:var(--muted);
}

.content ul{
  padding-left:20px;
}

.cookie-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:2000;
  max-width:960px;
  margin-inline:auto;
  padding:18px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid #d7e1ee;
  box-shadow:0 20px 40px rgba(14,27,51,0.12);
  display:none;
}

.cookie-banner.is-visible{
  display:block;
}

.cookie-banner__row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
}

.cookie-banner p{
  margin:0;
  color:var(--muted);
  max-width:62ch;
}

.cookie-banner__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.table-wrap{
  overflow:auto;
}

.table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}

.table th,
.table td{
  padding:14px 12px;
  text-align:left;
  border-bottom:1px solid #e1e8f2;
}

.table th{
  color:var(--text);
  font-size:14px;
  width:34%;
  background:#f9fbfe;
}

.table td{
  color:var(--muted);
  font-size:14px;
}

.small{
  font-size:13px;
  color:var(--muted);
}

.center{
  text-align:center;
}

@media (max-width: 1080px){
  .hero__grid,
  .footer__grid{
    grid-template-columns:1fr;
  }

  .card{
    grid-column:1 / -1;
  }
}

@media (max-width: 780px){
  .site-header__inner{
    min-height:auto;
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
  }

  .nav{
    gap:12px;
  }

  .hero{
    padding-top:52px;
  }

  .hero__content,
  .hero__side,
  .card,
  .content .panel{
    padding:20px;
  }

  .offer-card__top{
    flex-direction:column;
    align-items:flex-start;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .footer__links{
    grid-template-columns:1fr;
  }

  .cookie-banner{
    left:10px;
    right:10px;
    bottom:10px;
  }

  .hero__content::after{
    display:none;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

/* =====================================================
   gamblingcheck.com bespoke editorial skin
   calmer UK comparison / review portal identity
===================================================== */

body{
  background:
    linear-gradient(90deg, rgba(10,78,163,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10,78,163,0.025) 1px, transparent 1px),
    radial-gradient(circle at 8% 10%, rgba(10,78,163,0.08), transparent 0 24%),
    radial-gradient(circle at 92% 12%, rgba(200,16,46,0.06), transparent 0 22%),
    linear-gradient(180deg, #f8f6ef 0%, #f3f6fb 42%, #f7f9fc 100%);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto,
    auto;
}

body::before{
  background:
    repeating-linear-gradient(
      135deg,
      rgba(10,78,163,0.025) 0,
      rgba(10,78,163,0.025) 1px,
      transparent 1px,
      transparent 18px
    );
  animation:drift 34s linear infinite;
}

.topbar{
  background:
    linear-gradient(90deg, #082b57 0%, #0d3d7d 52%, #082b57 100%);
  border-bottom:4px solid #c8102e;
}

.site-header{
  background:rgba(255,255,255,0.96);
  border-bottom:1px solid #cfd8e6;
}

.site-header__inner{
  position:relative;
}

.site-header__inner::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:150px;
  height:4px;
  background:linear-gradient(90deg, #0a4ea3 0 48%, #ffffff 48% 56%, #c8102e 56% 100%);
  border-radius:999px;
}

.brand{
  font-family:Georgia, 'Times New Roman', serif;
  font-size:21px;
  letter-spacing:-0.02em;
}

.brand__mark{
  border-radius:50%;
  background-image:url('/assets/images/logo.png');
  background-size:cover;
  background-position:center;
  border:2px solid #d8e1ec;
}

.nav a{
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.08em;
}

.hero__content{
  border-top:8px solid transparent;
  border-image:linear-gradient(90deg, #0a4ea3 0 45%, #ffffff 45% 55%, #c8102e 55% 100%) 1;
}

.hero__content::before{
  content:"Independent comparison notes";
  position:absolute;
  top:26px;
  right:28px;
  color:rgba(10,78,163,0.34);
  border:1px solid rgba(10,78,163,0.18);
  border-radius:999px;
  padding:6px 12px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero__content::after{
  color:rgba(10,78,163,0.045);
  font-family:Georgia, 'Times New Roman', serif;
  font-size:64px;
  right:-12px;
  bottom:12px;
}

.hero h1,
.page-hero h1,
.section__head h2{
  font-family:Georgia, 'Times New Roman', serif;
  color:#0d2447;
  letter-spacing:-0.045em;
}

.hero h1{
  max-width:820px;
}

.eyebrow{
  background:#fff;
  border:1px solid #cfd8e6;
  color:#0a4ea3;
  box-shadow:0 4px 14px rgba(10,78,163,0.06);
}

.panel,
.card{
  border:1px solid #ccd7e6;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 18px 38px rgba(15,37,71,0.075);
}

.card{
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:linear-gradient(180deg, #0a4ea3, #c8102e);
  opacity:.82;
}

.offer-card{
  padding-left:26px;
}

.offer-card__logo{
  border-radius:8px;
  background:#f8f6ef;
  color:#0a2d5f;
  border:2px solid #d7dfeb;
  font-family:Georgia, 'Times New Roman', serif;
}

.offer-card__headline{
  font-family:Georgia, 'Times New Roman', serif;
  color:#0d2447;
}

.offer-card__terms{
  background:
    linear-gradient(90deg, rgba(10,78,163,0.055), transparent),
    #fff;
  border-left:4px solid #0a4ea3;
}

.button{
  border-radius:10px;
}

.button--primary{
  background:#0a4ea3;
  border-color:#0a4ea3;
  box-shadow:0 8px 18px rgba(10,78,163,0.18);
}

.button--primary:hover{
  background:#083b7c;
}

.button--secondary{
  background:#ffffff;
  border-color:#bcc9db;
}

.stat{
  background:#ffffff;
  border-left:4px solid #0a4ea3;
}

.stat:nth-child(even){
  border-left-color:#c8102e;
}

.stat__value{
  font-family:Georgia, 'Times New Roman', serif;
}

.quick-note,
.note{
  background:#fffaf0;
  border-color:#ecd79d;
}

.table th{
  background:#eef4fb;
  color:#0d2447;
}

.review-item{
  position:relative;
  background:#ffffff;
}

.review-item::before{
  content:"Review file";
  display:inline-block;
  margin-bottom:8px;
  color:#c8102e;
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.footer{
  background:
    linear-gradient(90deg, rgba(10,78,163,0.08), transparent 30%, rgba(200,16,46,0.06)),
    #eef3f9;
  border-top:4px solid #0a4ea3;
}

.cookie-banner{
  border-top:5px solid #0a4ea3;
}

@media (max-width:780px){
  .hero__content::before{
    position:static;
    display:inline-flex;
    margin-bottom:12px;
  }

  .offer-card{
    padding-left:20px;
  }

  .brand{
    font-size:19px;
  }
}

.brand--hidden{
  display:none;
}
