/* Shared styles for the Home and Product pages. The header and footer match the Nicepage ones on Contact.html. */
:root {
  --ink: #1d2733;
  --text: #46505c;
  --muted: #6b7684;
  --blue: #0070c0;
  --blue-dark: #0b4f8a;
  --tint: #eef5fb;
  --line: #dde5ee;
  --accent: #db545a;
  --accent-dark: #c2434a;
  --orange: #ed7d31;
  --footer: #292d33;
  --radius: 14px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font: 400 16px/1.65 "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: Montserrat, "Open Sans", Arial, sans-serif; color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #d9dde2; text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: #8fbbe3; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* buttons */
.btn { display: inline-block; padding: 13px 28px; border-radius: 10px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero */
.hero { position: relative; color: #fff; background: #0c1726 center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 14, 28, .92) 0%, rgba(5, 14, 28, .72) 55%, rgba(5, 14, 28, .35) 100%); }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero .lead { font-size: 1.2rem; color: #d6e2ee; max-width: 700px; margin-bottom: 2em; }
.eyebrow { display: inline-block; font: 700 .8rem/1 Montserrat, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }

/* stats */
.stats { background: var(--tint); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.stat b { display: block; font: 700 2.1rem/1.1 Montserrat, Arial, sans-serif; color: var(--blue); }
.stat span { color: var(--text); font-size: .95rem; }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: #f7f9fc; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > .media { order: 2; }
.split > *, .grid > * { min-width: 0; }
.split + .split { margin-top: 96px; }
.media img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(16, 38, 66, .16); border: 1px solid var(--line); }
.media.plain img { box-shadow: none; border: 0; }
.split h2 { margin-bottom: .4em; }
.split .kicker { font: 700 .78rem/1 Montserrat, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks b { color: var(--ink); }

/* cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.section.alt .card { box-shadow: 0 6px 18px rgba(16, 38, 66, .05); }
.card h3 { color: var(--blue); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.grid-4 .card, .grid-5 .card { padding: 24px 20px; }
.grid-4 .card h3 { font-size: 1.08rem; white-space: nowrap; }
.card .icon { width: 48px; height: 48px; margin-bottom: 18px; }
.card .count { font: 700 1.5rem/1 Montserrat, Arial, sans-serif; color: var(--orange); margin-bottom: 4px; }
.card .count small { font: 600 .85rem "Open Sans", Arial, sans-serif; color: var(--muted); }
.card .question { font-style: italic; color: var(--blue-dark); background: var(--tint); border-radius: 8px; padding: 10px 14px; margin: 14px 0 16px; }
.card dl { margin: 0; }
.card dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.card dd { margin: 0 0 12px; font-size: .95rem; }
.card dd.example { font-style: italic; margin-bottom: 0; }
.note { text-align: center; color: var(--muted); font-style: italic; margin-top: 32px; }

/* workflow steps */
.step { position: relative; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .95rem Montserrat, Arial, sans-serif; margin-bottom: 14px; }
.step ul { margin: 0; padding-left: 18px; font-size: .95rem; }
.step p { font-size: .95rem; }
.step li { margin-bottom: .35em; }

/* editions */
.edition .tag { display: inline-block; background: var(--orange); color: #fff; font-weight: 600; font-size: .9rem; padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.edition ul { padding-left: 18px; margin: 0; }
.edition li { margin-bottom: .4em; }
.diagram { margin: 48px auto 0; max-width: 900px; }

/* call to action */
.cta { background: linear-gradient(110deg, #0b3a66, #0070c0); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #d6e6f5; margin: 0; font-size: 1.08rem; }

/* footer */
.site-footer { background: var(--footer); color: #fff; font-size: .9rem; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.site-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .links { display: flex; align-items: center; gap: 26px; }
.site-footer img { width: 18px; height: 18px; }
.site-footer .linkedin img { width: 30px; height: 30px; }

@media (max-width: 1000px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > .media { order: 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #000; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid #222; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .hero .lead { font-size: 1.05rem; }
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .split + .split { margin-top: 64px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer .wrap { flex-direction: column-reverse; align-items: flex-start; }
}
