:root {
  --bg: #ffffff;
  --bg2: #f0f9ff;
  --tx: #0f172a;
  --mu: #475569;
  --ac: #0284c7;
  --bd: rgba(2, 132, 199, 0.15);
  --card: #ffffff;
  --nav: rgba(255, 255, 255, 0.92);
  --btn-tx: #ffffff;
  --tag-bg: #e0f2fe;
  --tag-tx: #0369a1;
  --footer: #0f172a;
  --footer-tx: #e2e8f0;
  --footer-mu: #94a3b8;
  --footer-bd: #334155;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --bg2: #1e293b;
    --tx: #f1f5f9;
    --mu: #a3b1c6;
    --ac: #72b3dd;
    --bd: #334155;
    --card: #1e293b;
    --nav: rgba(15, 23, 42, 0.92);
    --btn-tx: #0f172a;
    --tag-bg: #0369a1;
    --tag-tx: #e0f2fe;
    --footer: #020617;
    --footer-tx: #e2e8f0;
    --footer-mu: #94a3b8;
    --footer-bd: #334155;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.w {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bd);
}

nav .w {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav img {
  height: 36px;
}

.m {
  display: flex;
  align-items: center;
  gap: 24px;
}

.m a {
  color: var(--mu);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.m a:hover,
.m a.on {
  color: var(--ac);
}

.m a.on {
  font-weight: 600;
  border-bottom-color: var(--ac);
}

#t {
  display: none;
  background: none;
  border: 1px solid var(--bd);
  color: var(--tx);
  border-radius: 8px;
  padding: 6px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ac);
  outline-offset: 3px;
}

.btn {
  display: inline-block;
  background: var(--ac);
  color: var(--btn-tx) !important;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  font-size: 15px;
  cursor: pointer;
  margin: 0 8px 8px 0;
}

.btn:hover {
  filter: brightness(0.94);
}

.btn.o {
  background: transparent;
  border: 1.5px solid var(--ac);
  color: var(--ac) !important;
}

.m a.btn {
  margin: 0;
  padding: 8px 18px;
  color: var(--btn-tx) !important;
}

.hero .btn {
  margin-right: 12px;
  margin-bottom: 0;
}

section {
  padding: 68px 0;
}

.alt {
  background: var(--bg2);
}

section.alt + section.alt.cta {
  background: var(--bg);
}

.hero,
.ph1 {
  padding: 80px 0 60px;
}

.k {
  color: var(--ac);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0.3em 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(25px, 4vw, 36px);
  margin: 0.2em 0 0.6em;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0.3em 0;
}

p {
  color: var(--mu);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 660px;
}

.g {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.g2 {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.c {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 22px;
}

.c p {
  margin: 0.3em 0 0;
  font-size: 15px;
}

.c.on {
  border-color: var(--ac);
}

.pic {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hero-picture {
  aspect-ratio: 1200 / 860;
  background: var(--bg2) url("csms.jpg") center / cover no-repeat;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--tag-bg);
  color: var(--tag-tx);
}

.tbl {
  overflow-x: auto;
  border: 1px solid var(--bd);
  border-radius: 12px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 14px;
}

td,
th {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--bd);
  vertical-align: top;
}

th {
  color: var(--ac);
}

td {
  color: var(--mu);
}

td:first-child {
  color: var(--tx);
  font-weight: 600;
}

ul.t {
  padding-left: 20px;
  color: var(--mu);
}

ul.t li {
  margin: 6px 0;
}

.note {
  font-size: 0.825rem;
  color: var(--mu);
}

form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 4px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: var(--card);
  color: var(--tx);
  font: inherit;
}

.cta {
  text-align: center;
}

.cta p {
  margin-inline: auto;
  max-width: 620px;
}

footer {
  background: var(--footer);
  border-top: 1px solid var(--footer-bd);
  padding: 36px 0 28px;
  font-size: 14px;
  color: var(--footer-mu);
}

footer b {
  color: var(--footer-tx) !important;
}

footer .note {
  color: var(--footer-mu);
  border-top: 1px solid var(--footer-bd);
  padding-top: 16px;
}

footer a {
  color: var(--footer-mu);
  text-decoration: none;
  display: block;
  margin: 4px 0;
}

footer a:hover {
  color: var(--footer-tx);
}

.fg {
  display: grid;
  gap: 24px;
  grid-template-columns: 2fr 1fr 1fr;
}

@media (min-width: 769px) {
  .w {
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  #t {
    display: block;
  }

  nav .w {
    flex-wrap: wrap;
  }

  .m {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }

  .m.o {
    display: flex;
  }

  .m a {
    display: block;
    margin: 0;
    padding: 10px 0;
  }

  .m a.btn {
    margin: 8px 0 0;
    text-align: center;
  }

  .g2,
  .fg {
    grid-template-columns: 1fr;
  }
}

/* Hero backdrop: static, no motion */
.hero-bd{position:relative;background:var(--bg) url("csms.jpg") center/cover no-repeat;padding:96px 0 88px;overflow:hidden}
.hero-bd::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bg) 0%,var(--bg) 38%,transparent 100%);opacity:.92}
.hero-bd .w{position:relative}
.hero-txt{max-width:560px}
@media(max-width:760px){.hero-bd{padding:64px 0 56px}.hero-bd::before{background:var(--bg);opacity:.9}.hero-txt{max-width:100%}}

.privacy-content {
  max-width: 760px;
  padding-top: 0;
  padding-bottom: 68px;
}

.privacy-content section {
  padding: 18px 0;
}

.privacy-content h2 {
  font-size: clamp(21px, 3vw, 28px);
}

.privacy-content a {
  color: var(--ac);
}

/* Cookie consent */
.consent-card {
  position: fixed;
  z-index: 50;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(380px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  padding: 20px;
  border: 1px solid var(--bd);
  border-radius: 18px;
  background: var(--card);
  color: var(--tx);
  box-shadow: 0 12px 40px rgba(2, 132, 199, 0.18);
}

.consent-card[hidden],
.consent-card [hidden] {
  display: none !important;
}

.consent-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.consent-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mu);
}

.consent-card a {
  color: var(--ac);
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.consent-actions .btn {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 10px;
  font-size: 14px;
}

.consent-actions .btn,
.consent-actions .btn.o {
  background: var(--card);
  border: 1px solid var(--bd);
  color: var(--tx) !important;
}

.consent-customise {
  display: inline-block;
  margin-top: 12px;
}

.consent-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-weight: 600;
}

.consent-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--ac);
}

.consent-card .consent-detail {
  margin: 4px 0 12px 28px;
  font-size: 13px;
}

#consent-settings > .btn {
  width: 100%;
  margin: 4px 0 0;
  min-height: 44px;
}


:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg2: #f0f9ff;
    --tx: #0f172a;
    --mu: #475569;
    --ac: #0284c7;
    --bd: rgba(2, 132, 199, 0.15);
    --card: #ffffff;
    --nav: rgba(255, 255, 255, 0.92);
    --btn-tx: #ffffff;
    --tag-bg: #e0f2fe;
    --tag-tx: #0369a1;
    --footer: #0f172a;
    --footer-tx: #e2e8f0;
    --footer-mu: #94a3b8;
    --footer-bd: #334155;
}


/* Fluid layout for wide screens while preserving mobile behavior */
.w { max-width: 1280px; padding-inline: clamp(1rem, 3vw, 2rem); }
.m { gap: clamp(10px, 1.5vw, 24px); }
section { padding: clamp(44px, 5vw, 68px) 0; }
.hero, .ph1 { padding: clamp(56px, 6vw, 80px) 0 clamp(44px, 4.5vw, 60px); }
