/* CloudGuard public pages: flat colour, one blue, IBM Plex Sans, nothing that moves by itself.
   Shared by about, contact, compare, the Trust Center, the security changelog, privacy and terms.
   Matches the landing page. */
:root {
  --ink: #0B1B33; --slate: #42536C; --faint: #5A6B84; --line: #DCE2EB; --wash: #F4F6F9;
  --blue: #2563EB; --blue-d: #1D4FD7; --navy: #0E2139; --green: #087A4E; --red: #B42318;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
p, li { color: var(--slate); }
.grad { background: var(--blue); }
.grad-text { color: var(--blue); }

/* ── Header ── */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-tile { width: 36px; height: 36px; border-radius: 9px; background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: 12px; font-weight: 600; color: var(--faint); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-btn { display: inline-block; padding: 9px 16px; border: 1px solid #C9D2E0; border-radius: 8px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; transition: border-color .15s ease, background-color .15s ease; }
.site-btn:hover { border-color: #9FB0C8; text-decoration: none; }
.site-btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); }
@media (max-width: 900px) { .site-nav { display: none; } }

/* ── Page header (hero) ── */
.hero { background: var(--wash); border-bottom: 1px solid var(--line); padding: 56px 24px 52px; text-align: center; }
.hero-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; text-align: left; }
.hero-inner.center { max-width: 720px; text-align: center; }
.hero-inner.narrow { max-width: 760px; }
.top { display: inline-block; margin-bottom: 24px; font-size: 15px; color: var(--slate); }
.top:hover { color: var(--blue); }
.eyebrow { display: block; margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--blue); }
h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.15; letter-spacing: -0.025em; }
.hero > h1 { max-width: 780px; margin-left: auto; margin-right: auto; }
.hero-sub, .intro { max-width: 640px; font-size: 18px; color: var(--slate); }
.hero > .hero-sub { margin: 0 auto; }
.updated { margin-bottom: 12px; font-size: 15px; color: var(--faint); }

/* ── Layout ── */
.wrap { max-width: 920px; margin: 0 auto; padding: 56px 24px 88px; }
.section { max-width: 1000px; margin: 0 auto; padding: 88px 24px; }
.section-label { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--faint); }
.section .section-label { text-align: center; color: var(--blue); }
h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.25; }
.section h2 { font-size: 32px; text-align: center; }
h3 { margin: 22px 0 8px; font-size: 17px; }
.section-sub { max-width: 600px; margin: 0 auto 48px; text-align: center; font-size: 17px; color: var(--slate); }
.divider { border: none; border-top: 1px solid var(--line); margin: 44px 0 0; }
.commit-wrap { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Cards and tiles: flat, bordered, no lift ── */
.principle, .approach-card, .side-card, .fit-card, .control-item, .doc-row, .form-card, .glass-card, .note { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.principle, .approach-card, .side-card, .fit-card, .control-item { transition: border-color .15s ease; }
.principle:hover, .approach-card:hover, .side-card:hover, .fit-card:hover, .control-item:hover { border-color: #B7C2D4; }
.icon, .side-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #EEF2F7; border: 1px solid var(--line); }

/* ── Numbers strips ── */
.stats, .stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stats { max-width: 960px; width: calc(100% - 48px); margin: 40px auto 0; }
.stat-strip { margin-bottom: 36px; }
.stat, .stat-tile { background: #fff; padding: 22px 18px; }
.stat { text-align: center; }
.stat .n, .stat-tile .n { font-size: 22px; font-weight: 600; color: var(--ink); }
.stat .l, .stat-tile .l { margin-top: 4px; font-size: 14px; color: var(--faint); }

/* ── About ── */
.glass-card { overflow: hidden; }
.glass-top-bar { display: none; }
.glass-inner { padding: 44px 48px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { position: absolute; left: -32px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.tl-item h3 { margin: 0 0 8px; font-size: 18px; }
.tl-item p { margin: 0; font-size: 16px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle { padding: 26px 28px; }
.principle .icon { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px; }
.principle h3 { margin: 0 0 6px; font-size: 17px; }
.principle p { margin: 0; font-size: 16px; }
.approach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.approach-card { padding: 28px 20px 24px; text-align: center; }
.approach-card .icon { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 10px; }
.approach-card .num { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.approach-card .lbl { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--slate); }
.cta-wrap { max-width: 1112px; width: calc(100% - 48px); margin: 0 auto 88px; padding: 64px 32px; border-radius: 14px; background: var(--navy); text-align: center; }
.cta-wrap h2 { margin: 0 0 14px; font-size: 32px; color: #fff; }
.cta-wrap p { max-width: 520px; margin: 0 auto 28px; color: rgba(255,255,255,0.82); }
.cta-wrap .cta-btn { display: inline-block; padding: 13px 28px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 600; }
.cta-wrap .cta-btn:hover { background: #EEF2F7; text-decoration: none; }
.cta-links { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,0.7); }
.cta-links a { color: #BFD2F5; }

/* ── Contact ── */
.wrap .grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: start; }
.side-card { padding: 26px; margin-bottom: 16px; }
.side-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 16px; }
.side-icon { width: 34px; height: 34px; border-radius: 9px; }
.side-card p { margin: 0; font-size: 16px; }
.side-card a.link-strong { font-weight: 600; }
.form-card { padding: 40px 44px; }
.form-title { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.form-desc { margin: 0 0 26px; font-size: 16px; color: var(--slate); }
label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid #C9D2E0; border-radius: 8px; background: #fff; font-size: 15px; color: var(--ink); transition: border-color .15s ease; }
input:hover, textarea:hover, select:hover { border-color: #9FB0C8; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(37,99,235,0.25); outline-offset: 0; border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
textarea { min-height: 120px; resize: vertical; }
.submit-btn { padding: 13px 28px; border: none; border-radius: 8px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.submit-btn:hover { background: var(--blue-d); }
.status-msg { min-height: 20px; margin-top: 14px; font-size: 15px; }

/* ── Comparison ── */
table.cmp { display: block; width: 100%; margin-top: 8px; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
table.cmp tbody { display: table; width: 100%; min-width: 840px; border-collapse: collapse; }
table.cmp th, table.cmp td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--slate); }
table.cmp th { background: var(--wash); color: var(--ink); font-size: 14px; font-weight: 600; }
table.cmp td:first-child { width: 170px; font-weight: 600; color: var(--ink); }
table.cmp th.cg-col, table.cmp td.cg-col { background: #EEF4FF; color: var(--ink); }
.fine { margin-top: 10px; font-size: 14px; color: var(--faint); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.fit-card { padding: 20px 22px; }
.fit-card h3 { margin: 0 0 6px; font-size: 17px; }
.fit-card p { margin: 0; font-size: 16px; }

/* ── Trust Center ── */
table:not(.cmp) { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 16px; }
table:not(.cmp) td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--slate); }
table:not(.cmp) td:first-child { width: 200px; font-weight: 600; color: var(--ink); }
li { margin-bottom: 6px; }
.cg-tabs { display: flex; gap: 28px; margin-bottom: 32px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.cg-tab { padding: 0 0 12px; border: none; border-bottom: 2px solid transparent; background: none; font-size: 16px; font-weight: 500; color: var(--faint); white-space: nowrap; cursor: pointer; transition: color .15s ease; }
.cg-tab:hover { color: var(--ink); }
.cg-tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.control-group { margin-bottom: 40px; }
.control-item { display: flex; gap: 14px; padding: 18px 20px; margin-bottom: 12px; }
.check-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.control-item h4 { margin: 0 0 5px; font-size: 16px; }
.control-item p { margin: 0; font-size: 16px; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; margin-bottom: 10px; font-size: 16px; }
.doc-row span.date { font-size: 15px; color: var(--faint); }

/* ── Security changelog ── */
.entry { position: relative; margin-bottom: 40px; }
.entry:last-child { margin-bottom: 0; }
.wrap .timeline { padding-left: 36px; }
.wrap .timeline::before { left: 6px; }
.dot { position: absolute; left: -36px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.entry-date { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--faint); }
.entry h3 { margin: 0 0 10px; font-size: 20px; }
.entry ul { margin: 0; padding-left: 20px; }
.entry li { margin-bottom: 6px; font-size: 16px; }
.note { padding: 18px 22px; margin-bottom: 48px; font-size: 16px; color: var(--slate); }
.note strong { color: var(--ink); }

/* ── Privacy and terms ── */
.wrap { }
.wrap > h2 { margin: 40px 0 12px; }
.wrap > h2:first-child { margin-top: 0; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: #C9D6EC; padding: 64px 0 28px; }
.site-footer-in { max-width: 1112px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 300px; margin: 18px 0 20px; font-size: 15px; line-height: 1.6; color: #A3B1C6; }
.footer-col h4 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #A3B1C6; letter-spacing: 0; }
.footer-col a { display: block; padding: 5px 0; font-size: 15px; color: #E6EDF8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px; color: #A3B1C6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: #C9D6EC; }
.footer-legal a:hover { color: #fff; }

/* ── Smaller screens ── */
@media (max-width: 1080px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 820px) { .wrap .grid { grid-template-columns: 1fr; } .form-card { padding: 30px 26px; } }
@media (max-width: 760px) {
  h1 { font-size: 30px; }
  .section h2, .cta-wrap h2 { font-size: 26px; }
  .stats, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .principles, .fit-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .glass-inner { padding: 32px 26px; }
  .cta-wrap { padding: 48px 24px; }
  .section { padding: 64px 24px; }
}
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } table:not(.cmp) td:first-child { width: auto; } .footer-grid { grid-template-columns: 1fr 1fr; } .site-header-in { height: 64px; } }
@media (max-width: 480px) { .approach-grid { grid-template-columns: 1fr; } .brand-sub { display: none; } }
/* narrow phones */
@media (max-width: 400px) { .site-header-in { padding: 0 16px; gap: 12px; } .brand-name { font-size: 17px; } .site-btn { padding: 8px 12px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
