/* Fifty21 marketing site */
:root {
  --navy-950: #070f22;
  --navy-900: #0b1630;
  --navy-800: #122247;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --blue: #2f6bff;
  --blue-600: #1f56e0;
  --teal: #19c3b4;
  --grad: linear-gradient(120deg, var(--blue), var(--teal));
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(7, 15, 34, .35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.3em; border-radius: 10px; font-weight: 650; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-lg { padding: .85em 1.6em; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(47, 107, 255, .35); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost { color: #dbe4ff; border-color: rgba(255,255,255,.2); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { color: var(--navy-900); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 48, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu > a:not(.btn) { color: #c7d2ea; font-size: .95rem; font-weight: 550; }
.nav-menu > a:not(.btn):hover { color: #fff; }
.nav-sep { width: 1px; height: 22px; background: rgba(255,255,255,.15); }
.nav-menu .btn + .btn { margin-left: -14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #1b3a8a 0%, transparent 60%), var(--navy-900);
  color: #c7d2ea;
  padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; width: 520px; height: 520px; left: -160px; bottom: -260px; background: radial-gradient(circle, rgba(25,195,180,.28), transparent 65%); filter: blur(10px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.18rem; max-width: 36em; color: #b6c3df; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.hero .eyebrow { color: var(--teal); }
.eyebrow.light { color: #a8f0e8; }

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.card-label { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.access {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: 14px; margin-bottom: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  color: #fff; transition: background .15s, border-color .15s, transform .15s;
}
.access:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(47,107,255,.6); transform: translateY(-1px); }
.access-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); }
.access-icon svg, .card-icon svg, .feature-icon svg, .contact-icon svg, .arrow {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.access-text { flex: 1; display: flex; flex-direction: column; }
.access-text strong { font-size: 1.05rem; }
.access-text small { color: #9fb0d3; font-size: .85rem; }
.arrow { color: #9fb0d3; transition: transform .15s; }
.access:hover .arrow { transform: translateX(3px); color: #fff; }
.card-foot { margin: 14px 0 0; font-size: .9rem; color: #9fb0d3; }
.card-foot a { color: #a8f0e8; }

/* Strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 26px 12px; text-align: center; display: flex; flex-direction: column; }
.strip-grid div + div { border-left: 1px solid var(--line); }
.strip-grid strong { color: var(--ink); font-size: 1.05rem; }
.strip-grid span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.section-head.left { text-align: left; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 18px 40px rgba(15,23,42,.1); }
.card-featured { border-color: rgba(47,107,255,.35); box-shadow: 0 0 0 4px rgba(47,107,255,.06), var(--shadow); }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; margin-bottom: 20px; color: var(--blue); background: rgba(47,107,255,.09); }
.checks { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.checks li { position: relative; padding-left: 28px; margin: 9px 0; font-size: .95rem; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(25,195,180,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a89b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { margin: 0; font-size: .95rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .35em; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; background: var(--grad); }

/* Banner */
.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px; border-radius: 24px; color: #c7d2ea;
  background: radial-gradient(600px 300px at 100% 0%, rgba(25,195,180,.35), transparent 70%), linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg);
}
.banner h2 { color: #fff; }
.banner p { max-width: 40em; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.contact-card:hover { border-color: rgba(47,107,255,.5); transform: translateY(-2px); }
.contact-card > span:last-child { display: flex; flex-direction: column; }
.contact-card small { color: var(--muted); font-size: .85rem; }
.contact-card strong { color: var(--ink); font-size: 1.1rem; }
.contact-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--blue); background: rgba(47,107,255,.09); }
.contact-links { display: flex; gap: 24px; padding: 6px 4px; font-weight: 650; }

/* Footer */
.footer { background: var(--navy-950); color: #8c9bbd; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer .muted { margin-top: 12px; }
.footer-links { display: flex; gap: 72px; }
.footer-links div { display: flex; flex-direction: column; gap: 8px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.footer a:not(.brand) { color: #8c9bbd; }
.footer a:not(.brand):hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }

/* 404 */
.notfound { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound h1 { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .banner { flex-direction: column; align-items: flex-start; padding: 40px; }
  .hero { padding: 64px 0 80px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px 24px;
    background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a:not(.btn) { padding: 10px 0; }
  .nav-sep { width: 100%; height: 1px; margin: 8px 0; }
  .nav-menu .btn { margin: 4px 0 !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid div:nth-child(3) { border-left: 0; }
  .strip-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .footer-links { gap: 40px; }
  .footer-base { flex-direction: column; }
  .wrap { width: calc(100% - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
