/* Hallmark · checked: 2026-11-01 · genre: modern-minimal (inferred) · surface: absolute · palette and type from the Blue Code brandbook
 * floor: 0 FAIL · fixed: tokens for every colour (48), minmax image tracks (50), sentence-case labels (67), no fully round tags or circles,
 *   no eyebrow before a heading (54), no gradient text (2b), one column gap (F15), solid header (29), disabled state (26b), no dashes in copy (19)
 * built: the project · redesign: polish · v2.1.0 */
/* Hallmark · waive 7b · white #FFFFFF paper and text · the Blue Code brandbook page 12 fixes the palette at white, blue #0098FF and black magic */
/* Hallmark · waive 80 · div.bear-wrap mascot · the bear is the Blue Code logo mark from the brandbook, traced part by part so it can type, turn and look at the visitor */
/* Hallmark · dismissed 59 · the page covers three products and a funnel, so it needs one section for each; the footer counts as the tenth */
/* Hallmark · dismissed 58 · the page holds a full price list, an app list and eight FAQ answers, so the word count follows the offers, not filler */
/* ==========================================================================
   BLUE CODE — base: tokens, reset, type, buttons, header, footer
   Dark navy is the brand's stage; light sections hold the prices.
   ========================================================================== */
:root {
  --blue: #0098ff;        /* brandbook blue */
  --blue-600: #0098ff;    /* fills, borders and icons; text on blue is black (6.9:1) */
  --blue-hover: #4db6ff;
  --blue-700: #0b1a2b;    /* brand navy from the pattern page, used for small labels on light */
  --cyan: #66c1ff;        /* a lighter step of the brand blue for accents on black */
  --navy: #000000;        /* black magic */
  --navy-800: #0b1a2b;
  --navy-700: #13283f;
  --ink: #000000;
  --text-2: #2e3440;
  --text-3: #5a6271;
  --line: #d6dde6;
  --line-strong: #8a95a5;
  --surface-alt: #eef6ff;
  --white: #ffffff;
  --error: #b91c1c;

  --glow-a14: rgba(0, 152, 255, 0.14);
  --glow-a22: rgba(0, 152, 255, 0.22);
  --glow-a32: rgba(0, 152, 255, 0.32);
  --glow-a35: rgba(0, 152, 255, 0.35);
  --glow-a40: rgba(0, 152, 255, 0.4);
  --glow-a42: rgba(0, 152, 255, 0.42);
  --cyan-a14: rgba(102, 193, 255, 0.14);
  --blue-a18: rgba(0, 152, 255, 0.18);
  --navy-a35: rgba(0, 0, 0, 0.35);
  --navy-a40: rgba(0, 0, 0, 0.4);
  --navy-a45: rgba(0, 0, 0, 0.45);
  --col-gap: 2rem;
  --blue-a10: rgba(0, 152, 255, 0.1);
  --blue-a12: rgba(0, 152, 255, 0.14);
  --blue-a50: rgba(0, 152, 255, 0.5);
  --navy-a12: rgba(0, 0, 0, 0.1);
  --navy-a28: rgba(0, 0, 0, 0.28);
  --navy-a85: rgba(0, 0, 0, 0.85);
  --white-a10: rgba(255, 255, 255, 0.08);
  --white-a16: rgba(255, 255, 255, 0.18);
  --white-a70: rgba(255, 255, 255, 0.8);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-section: clamp(2rem, 4.2vw, 3rem);
  --section-gap: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, h4, th, b, strong, summary { font-weight: 600; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10000;
  padding: 0.75rem 1.25rem; border-radius: 10px;
  background: var(--white); color: var(--ink); font-weight: 600;
}
.skip-link:focus-visible { top: 1rem; outline: 3px solid var(--blue); outline-offset: 3px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--cyan); }

/* ---------- type ---------- */

.h2 { font-size: var(--text-section); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-weight: 300; font-size: 1.1875rem; line-height: 1.6; color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.on-dark .lead { color: var(--white-a70); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .lead { max-width: 62ch; }


/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.5rem 1.75rem; line-height: 1.25;
  border: 2px solid transparent; border-radius: 8px;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: var(--ink); box-shadow: 0 10px 28px var(--glow-a32); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 14px 34px var(--glow-a42); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white-a16); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; padding-inline: 1rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: var(--navy);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px var(--navy-a28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  color: var(--white-a70); text-decoration: none; font-weight: 600; border-radius: 10px;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:not(.btn):hover { color: var(--white); background: var(--white-a10); }
.nav .btn { min-height: 44px; padding: 0.5rem 1.35rem; margin-left: 0.5rem; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--white-a16); border-radius: 8px; background: transparent; color: var(--white); cursor: pointer;
}
.menu-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.25s var(--ease), background-color 0.2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 1000; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--white-a70); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 46ch; }
.footer h2 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.footer ul { display: grid; gap: 0.15rem; }
.footer a, .footer .link-btn {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--white-a70); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  transition: color 0.2s;
}
.footer a:hover, .footer .link-btn:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--white-a10); font-size: 0.9375rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

/* ---------- floating pill: follows the visitor until the funnel is on screen ---------- */
.sticky-cta {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 800;
  display: inline-flex; align-items: center; min-height: 52px; padding: 0.7rem 1.6rem;
  border-radius: 8px; background: var(--blue); color: var(--ink); font-weight: 600; text-decoration: none;
  box-shadow: 0 12px 30px var(--navy-a28);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.sticky-cta:hover { background: var(--blue-hover); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    padding: 1rem 1.5rem 1.5rem; background: var(--navy); border-bottom: 1px solid var(--white-a10);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 0.5rem 0 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
