/* Ridgeway Security: one stylesheet for every page */

:root {
  --surface: #f6f7f9;
  --card: #ffffff;
  --tint: #eef2f7;
  --navy: #0e1f3a;
  --navy-2: #162b4d;
  --navy-rule: #24395c;
  --text: #0e1f3a;
  --text-soft: #4a5a72;
  --rule: #dfe4ea;
  --rule-strong: #c9d2de;
  --accent: #2f6fed;
  --accent-deep: #1f57c8;
  --accent-tint: #eaf1fe;
  --accent-line: #c7d8fb;
  --on-dark: #c3cee0;
  --dim-dark: #9aaccb;
  --on-dark-accent: #8fb0ff;
  --on-dark-line: #4a6390;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gut: clamp(20px, 5vw, 56px);
  --section: clamp(56px, 7vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--on-dark-accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -0.025em; }
h3 { font-size: 1.06rem; line-height: 1.3; letter-spacing: -0.01em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--card); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.section { padding: var(--section) 0; }
.section.ruled { border-top: 1px solid var(--rule); }
.tint { background: var(--tint); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: #ffffff; }
.measure { max-width: 63ch; }
.lede { color: var(--text-soft); margin-top: 16px; }
.dark .lede { color: var(--dim-dark); }
.intro { margin-bottom: clamp(28px, 4vw, 44px); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 12px;
}
.dark .eyebrow { color: var(--on-dark-accent); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #ffffff; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #ffffff; }
.dark .btn-line { border-color: var(--on-dark-line); color: #ffffff; }
.dark .btn-line:hover { background: #ffffff; border-color: #ffffff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--surface); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.mark { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.mark b { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.mark span { color: var(--text-soft); font-weight: 500; }
.masthead nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.masthead nav a { color: var(--text-soft); text-decoration: none; }
.masthead nav a:hover { color: var(--navy); text-decoration: underline; }
.masthead nav a.primary { color: var(--navy); font-weight: 600; }
.masthead nav a[aria-current="page"] { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.masthead nav .btn { padding: 10px 18px; font-size: 15px; color: #ffffff; }
.masthead nav .btn:hover { color: #ffffff; text-decoration: none; }
@media (max-width: 780px) {
  .masthead nav .secondary { display: none; }
  .masthead nav { gap: 16px; }
  .masthead .wrap { min-height: 64px; gap: 12px; }
  .masthead nav .btn { padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 420px) {
  .mark span { display: none; }
}
.masthead nav .btn { white-space: nowrap; }

/* Home hero and Bill timeline */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(36px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 4px 0 24px; }
.stand { font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.55; color: var(--text-soft); max-width: 50ch; margin-bottom: 32px; }
.stand strong { color: var(--navy); font-weight: 600; }

.timeline { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 30px 30px 26px; }
.timeline h2 { font-size: 16px; letter-spacing: 0; color: #ffffff; line-height: 1.4; margin-bottom: 4px; }
.timeline .sub { font-size: 14px; color: var(--dim-dark); margin-bottom: 22px; }
.timeline ol { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 14px; width: 1px; background: var(--navy-rule); }
.timeline li { position: relative; padding-bottom: 18px; font-size: 15px; line-height: 1.45; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); border: 1px solid var(--on-dark-line); }
.timeline li.done::before { background: var(--on-dark-line); }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 111, 237, .25); }
.timeline .when { display: block; font-size: 13px; color: var(--dim-dark); }
.timeline li.now .when { color: var(--on-dark-accent); }
.timeline li.now .what { color: #ffffff; font-weight: 500; }
.timeline .here { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: var(--accent); color: #ffffff; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.timeline .src { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--navy-rule); font-size: 12px; color: var(--dim-dark); }
.timeline .src a { color: var(--on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .timeline li.now::before { animation: live 3s ease-in-out infinite; }
  @keyframes live { 0%, 100% { box-shadow: 0 0 0 4px rgba(47, 111, 237, .25); } 50% { box-shadow: 0 0 0 9px rgba(47, 111, 237, .06); } }
}

/* Two offers */
.offers-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--rule); padding-top: 28px; margin-bottom: 22px; }
.offers-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.offers-head p { font-size: 15px; color: var(--text-soft); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.offer {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: inset 0 3px 0 var(--navy), 0 4px 14px rgba(14, 31, 58, .05);
  text-decoration: none; color: var(--navy);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.offer.software { box-shadow: inset 0 3px 0 var(--accent), 0 4px 14px rgba(14, 31, 58, .05); }
.offer:hover { color: var(--navy); border-color: var(--accent-line); box-shadow: inset 0 3px 0 var(--accent), 0 8px 22px rgba(14, 31, 58, .10); }
.offer .kind { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.offer.software .kind { color: var(--accent-deep); }
.offer .name { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.offer .desc { font-size: 16px; line-height: 1.55; color: var(--text-soft); }
.offer .thumb { width: 100%; height: 150px; object-fit: cover; object-position: left top; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: #ffffff; }
.offer .more { margin-top: auto; padding-top: 8px; color: var(--accent-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 12px; }
.dark .tags li { border-color: var(--navy-rule); color: var(--on-dark); }

/* Product feature band */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.feature-grid h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; margin-bottom: 18px; }
.feature-grid figcaption { margin-top: 10px; font-size: 13px; color: var(--dim-dark); }

/* Tick lists */
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ticks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.5; }
.ticks svg { flex: none; width: 19px; height: 19px; margin-top: 3px; }
.dark .ticks { border-color: var(--navy-rule); margin-bottom: 30px; }
.dark .ticks li { border-color: var(--navy-rule); color: #ffffff; }

/* Scope */
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.callout { background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 28px; }
.callout h3 { margin-bottom: 12px; font-size: 18px; }
.callout p { font-size: 16px; color: var(--text-soft); margin-bottom: 14px; }

/* Services */
.services { border-top: 1px solid var(--rule); }
.service { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) minmax(0, 9rem); gap: 8px clamp(16px, 3vw, 40px); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.service h3 { font-size: 18px; }
.service p { font-size: 16px; color: var(--text-soft); max-width: 60ch; }
.service .terms { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; }
  .service .terms { text-align: left; color: var(--accent-deep); }
}
.footnote { margin-top: 24px; font-size: 15px; color: var(--text-soft); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(24px, 3.5vw, 44px); list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 2px solid var(--accent); padding-top: 18px; }
.steps .num { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 6px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--text-soft); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid h2 { margin-bottom: 24px; }
.about-grid .first { font-size: 19px; line-height: 1.55; margin-bottom: 18px; }
.about-grid .body p + p { margin-top: 18px; color: var(--text-soft); }
.plainly { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 28px; }
.plainly h3 { font-size: 18px; margin-bottom: 6px; }
.plainly ul { list-style: none; margin: 0; padding: 0; }
.plainly li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--text-soft); line-height: 1.5; }
.plainly li:last-child { border-bottom: 0; padding-bottom: 0; }
.plainly b { display: block; color: var(--navy); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(34px, 5vw, 68px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .direct { margin-top: 24px; font-size: 15px; }
.dark a { color: var(--on-dark-accent); }
.dark a:hover { color: #ffffff; }
.dark a.btn-primary { color: #ffffff; }
form { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
label { font-size: 14px; font-weight: 500; color: #ffffff; }
input, select, textarea {
  font: inherit; font-size: 16px; color: #ffffff; width: 100%;
  background: var(--navy-2); border: 1px solid var(--navy-rule); border-radius: var(--radius-sm); padding: 11px 13px;
}
input::placeholder, textarea::placeholder { color: var(--dim-dark); }
input:focus, select:focus, textarea:focus { border-color: var(--on-dark-accent); outline: none; }
textarea { resize: vertical; min-height: 104px; }
select option { color: #111111; background: #ffffff; }
form .btn { justify-self: start; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.privacy-line { font-size: 13px; color: var(--dim-dark); }

/* Footer */
.footer { padding: 36px 0 44px; font-size: 14px; color: var(--text-soft); border-top: 1px solid var(--rule); }
.footer .wrap { display: flex; flex-direction: column; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 500; }
.footer nav a { color: var(--navy); }
.footer .legal { font-size: 13px; }

/* Product page */
.p-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 0; }
.p-hero .ridge { position: absolute; left: 0; bottom: 0; width: 100%; height: 320px; }
.p-hero .wrap { position: relative; }
.p-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.02; margin-bottom: 18px; }
.p-hero .tagline { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.3; font-weight: 500; color: #ffffff; max-width: 32ch; margin-bottom: 12px; }
.p-hero .lede { max-width: 56ch; margin: 0 0 30px; }
.p-hero .tags { margin: 26px 0 clamp(40px, 5vw, 56px); }
.p-hero figure img { margin-bottom: -2px; }

.video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--radius); border: 1px solid var(--rule); }
.video figcaption { margin-top: 8px; font-size: 15px; color: var(--text-soft); }

.compare { border-top: 1px solid var(--navy); }
.compare .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 6px 48px; padding: 20px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.compare .row.head { padding: 14px 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.compare .before { color: var(--text-soft); }
@media (max-width: 760px) {
  .compare .row { grid-template-columns: 1fr; }
  .compare .row.head { display: none; }
  .compare .before { font-size: 14px; }
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.features li { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.features svg { width: 36px; height: 36px; }
.features h3 { margin: 14px 0 8px; font-size: 18px; }
.features p { font-size: 15px; line-height: 1.55; color: var(--text-soft); }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 24px; list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; }
.flow li { border-top: 2px solid var(--navy); padding-top: 14px; font-weight: 600; font-size: 17px; line-height: 1.3; }
.flow li.key { border-color: var(--accent); }
.flow .num { display: block; font-size: 13px; font-weight: 400; color: var(--text-soft); margin-bottom: 4px; }
.flow li.key .num { color: var(--accent-deep); font-weight: 600; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.shots figcaption { margin-top: 8px; font-size: 15px; color: var(--text-soft); }
.shots figcaption b { color: var(--navy); font-weight: 600; }
.demo-note { margin-top: 20px; font-size: 13px; color: var(--text-soft); }

.facts { border-top: 1px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.facts li { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--text-soft); }
.facts b { color: var(--navy); font-weight: 600; }
.facts-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }

.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.audiences li { border-top: 2px solid var(--navy); padding-top: 16px; }
.audiences h3 { font-size: 18px; margin-bottom: 8px; }
.audiences p { font-size: 16px; color: var(--text-soft); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-row > div:first-child { flex: 1 1 480px; }

/* Simple text pages */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text-soft); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
