/* Freedom Digital LLC - v1 site styles
   Palette sampled from the logo: navy #001E5E, blue #0179FE, red #BF020E */

:root {
  --navy: #001e5e;
  --navy-2: #0a2f7a;
  --blue: #0179fe;
  --blue-text: #0059c8;      /* darker blue for text/links: passes contrast on white */
  --red: #bf020e;
  --ink: #14213d;
  --muted: #55627c;
  --line: #dde4f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 30, 94, 0.08);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .6rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-size: 1.35rem; font-weight: 900; letter-spacing: .04em; color: var(--navy);
}
.brand-text i {
  font-style: normal; font-size: .8rem; font-weight: 700;
  letter-spacing: .5em; color: var(--blue-text); margin-top: .25rem;
}

.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: .35rem 0; text-decoration: none;
  font-weight: 700; font-size: .95rem; letter-spacing: .03em; color: var(--navy);
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--blue); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 800; letter-spacing: .03em; text-decoration: none;
  border: 2px solid var(--navy); background: var(--navy); color: #fff;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--bg-soft); color: var(--navy); }
.btn[aria-disabled="true"] {
  background: var(--bg-soft); border-color: var(--line); color: var(--muted);
  cursor: not-allowed; transform: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(1, 121, 254, .10), transparent 60%),
    radial-gradient(800px 380px at 0% 0%, rgba(191, 2, 14, .06), transparent 55%),
    var(--bg);
  padding-block: 3rem 3.5rem;
}
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero-logo { width: min(100%, 460px); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem;
  font-weight: 800; color: var(--red); margin: 0 0 .6rem;
}
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 0 0 1.5rem; }

@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .hero-logo { order: 2; }
}

/* ---------- Sections ---------- */
section { padding-block: 3.2rem; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 1.2rem; }
@media (min-width: 720px) { .grid.two { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}
.card.red { border-top-color: var(--red); }
.card p { margin: 0 0 1rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.badge {
  display: inline-block; font-size: .72rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px;
  background: #fff1f2; color: var(--red); border: 1px solid #f5c2c6;
  margin-bottom: .8rem;
}

/* ---------- Product detail ---------- */
.product { display: grid; gap: 1.6rem; align-items: center; padding-block: 1.6rem; }
.product + .product { border-top: 1px solid var(--line); }
@media (min-width: 760px) { .product { grid-template-columns: 1fr 1fr; } }
.shot {
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  border: 2px dashed #b8c6e0; background: var(--bg-soft);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-weight: 700; padding: 1rem;
}

/* ---------- Text pages ---------- */
.page-head { padding-block: 2.6rem 1rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); max-width: 40rem; margin: 0; }
.prose { max-width: var(--wrap); }
.prose > * { max-width: 42rem; }
.prose h2 { margin-top: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1rem; }
.notice {
  border-left: 5px solid var(--red); background: #fff7f7;
  padding: .9rem 1.1rem; border-radius: 6px; color: var(--ink);
}

.contact-box {
  display: inline-block; margin-top: .4rem; padding: 1rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); font-size: 1.15rem; font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d7e2ff; padding-block: 2rem; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; padding: 0; }
.site-footer .vet { letter-spacing: .12em; text-transform: uppercase; font-weight: 800; font-size: .8rem; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.prose ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.page-head p { margin-top: .2rem; }
.prose h2 { font-size: 1.35rem; }

/* ---------- Cookie consent ---------- */
.linklike {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: #fff; text-decoration: underline; cursor: pointer;
}
.linklike[hidden] { display: none; }

.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem 1.5rem; padding: 1rem max(1rem, calc((100% - var(--wrap)) / 2));
  background: #fff; color: var(--ink);
  border-top: 4px solid var(--navy);
  box-shadow: 0 -8px 30px rgba(0, 30, 94, .18);
}
.consent-text { margin: 0; flex: 1 1 28rem; font-size: .98rem; }
.consent-actions { display: flex; gap: .7rem; }
/* Accept and Decline are deliberately identical in look and weight */
.consent-btn { padding: .6rem 1.4rem; font-size: 1rem; cursor: pointer; min-width: 6.5rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 4.5rem; }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }
.nf-code {
  margin: 0; font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 900; line-height: 1;
  letter-spacing: .04em; color: var(--navy);
  background: linear-gradient(90deg, var(--navy) 0 55%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Product logo cards ---------- */
.logo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 460px; width: 100%; justify-self: center; background: #1d2024; }
.logo-card img { width: 100%; height: auto; display: block; }
.tagline { margin: -.3rem 0 .8rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.fine { font-size: .92rem; color: var(--muted); }

/* ---------- Live product extras ---------- */
.badge.live { background: #eef5ff; color: var(--blue-text); border-color: #b9d4fb; }
.logo-card.wide { max-width: none; background: #fff; border: 1px solid var(--line); }
.product ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); }
.product li { margin-bottom: .3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
