/* RRDC — Bold Disruptor brand system */
:root {
  --bg: #0E1116;
  --bg-2: #151A22;
  --bg-3: #1E242E;
  --line: #2A323F;
  --text: #FFFFFF;
  --text-2: #A8B0BF;
  --text-3: #6F7787;
  --accent: #4A9FE0;
  --accent-2: #3B82C4;
  --accent-soft: rgba(74, 159, 224, 0.10);
  --warn: #FF7A45;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(60px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.bg-2 { background: var(--bg-2); }
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,17,22,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }
.nav-cta { padding: 9px 18px; background: var(--accent); color: #0E1116; border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.nav-cta:hover { background: #6BB6F0; text-decoration: none; }
@media (max-width: 800px) {
  .nav-links { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius); font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: transform 0.06s ease, background 0.15s ease; line-height: 1; }
.btn-primary { background: var(--accent); color: #0E1116; }
.btn-primary:hover { background: #6BB6F0; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Typography */
h1, h2, h3, h4 { margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }
p { margin: 0 0 16px; color: var(--text-2); }
.eyebrow { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--text-2); max-width: 720px; }
.hi { color: var(--text); }
.mono { font-family: var(--mono); }

/* Hero */
.hero { position: relative; padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero h1 { max-width: 14ch; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.hero-trust span { color: var(--text-3); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-trust .pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 100px; color: var(--text-2); font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* Glow accent shape */
.hero-glow { position: absolute; top: -20%; right: -10%; width: 700px; height: 700px; pointer-events: none; opacity: 0.45; background: radial-gradient(circle at center, rgba(74,159,224,0.38), transparent 60%); filter: blur(40px); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat .big { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.15s ease, transform 0.15s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .ico { width: 40px; height: 40px; margin-bottom: 18px; color: var(--accent); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; margin: 0; }
.card a.more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; }

/* Use case row */
.uc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.uc-row:last-child { border-bottom: 0; }
.uc-row.flip > div:first-child { order: 2; }
.uc-row .num { font-family: var(--mono); color: var(--accent); font-size: 14px; letter-spacing: 0.1em; margin-bottom: 12px; display: block; }
.uc-row h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.uc-row ul { list-style: none; padding: 0; margin: 24px 0 0; }
.uc-row ul li { position: relative; padding: 8px 0 8px 28px; color: var(--text-2); font-size: 15px; }
.uc-row ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 2px; background: var(--accent); }
.uc-visual { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.uc-visual .row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.uc-visual .row:last-child { border-bottom: 0; }
.uc-visual .row .l { color: var(--text-2); font-size: 14px; }
.uc-visual .row .r { font-family: var(--mono); font-size: 14px; }
.uc-visual .row .r.acc { color: var(--accent); }
.uc-visual .row .r.bad { color: var(--warn); text-decoration: line-through; opacity: 0.7; }
@media (max-width: 800px) {
  .uc-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .uc-row.flip > div:first-child { order: 0; }
}

/* Powered by */
.network-band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px) { .network-grid { grid-template-columns: 1fr; gap: 32px; } }
.cert-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cert { padding: 10px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.cert .acc { color: var(--accent); }

/* CTA band */
.cta-band { background: var(--accent-soft); border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); padding: clamp(50px, 7vw, 90px) 0; }
.cta-band h2 { max-width: 22ch; }
.cta-band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* Forms */
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-2); margin: 16px 0 6px; text-transform: uppercase; }
.form label:first-of-type { margin-top: 0; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 15px;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
.form textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form button { width: 100%; margin-top: 24px; padding: 14px; }
.form .help { color: var(--text-3); font-size: 13px; margin-top: 14px; }

/* Resources */
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.res { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: border-color 0.15s ease; color: var(--text); }
.res:hover { border-color: var(--accent); text-decoration: none; }
.res .tag { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 10px; text-transform: uppercase; }
.res h4 { font-size: 18px; margin-bottom: 8px; line-height: 1.3; }
.res p { font-size: 14px; margin: 0; color: var(--text-2); }
.res .arr { margin-top: 16px; color: var(--accent); font-size: 14px; font-weight: 600; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg); color: var(--text-2); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot h5 { color: var(--text); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--accent); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--text-3); font-size: 13px; }

/* Page header (interior pages) */
.ph { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.ph .eyebrow { margin-bottom: 24px; }
.ph h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.ph .lead { margin-top: 20px; }

/* Two-col content */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Quote */
.quote { padding: 32px; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.quote p { font-size: 18px; color: var(--text); margin-bottom: 12px; line-height: 1.5; }
.quote .who { color: var(--text-3); font-size: 14px; }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; margin-top: 24px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.cmp th { font-weight: 600; color: var(--text-3); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.cmp td.yes { color: var(--accent); font-weight: 600; }
.cmp td.no { color: var(--warn); }
.cmp tr td:first-child { color: var(--text); font-weight: 500; }


/* ============ Hexagon field ============ */
.hex-field { position: relative; overflow: hidden; }
.hex-field > .wrap { position: relative; z-index: 1; }
.hex-field::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2245.03%22%20height%3D%2278.00%22%20viewBox%3D%220%200%2045.03%2078.00%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%234A9FE0%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M%2022.52%2C26.00%20L%20-0.00%2C13.00%20L%200.00%2C-13.00%20L%2022.52%2C-26.00%20L%2045.03%2C-13.00%20L%2045.03%2C13.00%20Z%22%2F%3E%3Cpath%20d%3D%22M%200.00%2C65.00%20L%20-22.52%2C52.00%20L%20-22.52%2C26.00%20L%20-0.00%2C13.00%20L%2022.52%2C26.00%20L%2022.52%2C52.00%20Z%22%2F%3E%3Cpath%20d%3D%22M%2045.03%2C65.00%20L%2022.52%2C52.00%20L%2022.52%2C26.00%20L%2045.03%2C13.00%20L%2067.55%2C26.00%20L%2067.55%2C52.00%20Z%22%2F%3E%3Cpath%20d%3D%22M%2022.52%2C104.00%20L%20-0.00%2C91.00%20L%200.00%2C65.00%20L%2022.52%2C52.00%20L%2045.03%2C65.00%20L%2045.03%2C91.00%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-size: 45px 78px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 22% 42%, #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
  mask-image: radial-gradient(ellipse 65% 75% at 22% 42%, #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
  pointer-events: none;
}
.hex-field.hex-right::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 82% 45%, #000 0%, rgba(0,0,0,.5) 45%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 80% at 82% 45%, #000 0%, rgba(0,0,0,.5) 45%, transparent 78%);
}

/* ============ Engagement flow ============ */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
.flow-step { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px 24px; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -18px; top: 50%; width: 16px; height: 2px;
  background: var(--accent); transform: translateY(-50%);
}
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; right: -18px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg); margin-right: -2px;
}
.flow-hex { position: relative; width: 54px; height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.flow-hex svg { position: absolute; inset: 0; width: 54px; height: 60px; }
.flow-hex span { position: relative; font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--accent); }
.flow-step h4 { font-size: 20px; margin: 0 0 6px; }
.flow-step p { font-size: 15px; margin: 0; }
.flow-step .rule { height: 2px; background: var(--accent); opacity: .22; margin-top: 20px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after, .flow-step:not(:last-child)::before { display: none; }
}

/* ============ Comparison table marks ============ */
.cmp td .mk { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; margin-right: 10px; vertical-align: -4px; flex: none; }
.cmp td .mk.no { background: rgba(255,122,69,.16); }
.cmp td .mk.ok { background: rgba(74,159,224,.18); }
.cmp td .mk svg { width: 11px; height: 11px; }
.cmp td.no-cell { color: var(--text-2); }
.cmp td.yes { color: var(--accent); font-weight: 600; }
.cmp tbody tr:hover td { background: rgba(74,159,224,.04); }

/* ============ Canadian badge ============ */
.ca-badge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 100px; }
.ca-badge .leaf { width: 26px; height: 28px; color: #D52B1E; flex: none; }
.ca-badge.mono .leaf { color: var(--accent); }
.ca-badge .t1 { display: block; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.25; }
.ca-badge .t2 { display: block; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.ca-badge-lg { padding: 18px 30px 18px 24px; }
.ca-badge-lg .leaf { width: 40px; height: 44px; }
.ca-badge-lg .t1 { font-size: 18px; }

/* ============ Section divider ============ */
.divider { height: 2px; border: 0; margin: 0;
  background: linear-gradient(90deg, rgba(74,159,224,0) 0%, rgba(74,159,224,.85) 50%, rgba(74,159,224,0) 100%); }

/* ============ Form notices ============ */
.form-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.5; }
.form-note.ok  { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent); }
.form-note.err { background: rgba(255,122,69,.10); border: 1px solid var(--warn); color: var(--warn); }
.form-note a { color: inherit; text-decoration: underline; }
.form button[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
