/* G&R Mad Lab 42 LLC site styles.
   Self-hosted Poppins (SIL OFL 1.1, see /fonts/OFL.txt). No third-party assets. */

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Poppins-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Poppins-Bold.woff2") format("woff2");
}

:root {
  --navy: #0B1633;
  --navy-soft: #121A33;
  --lilac: #C9B8FF;
  --lilac-soft: #E8E0FF;
  --ink: #1A2030;
  --muted: #4A5268;
  --bg: #F4F3FB;
  --card: #FFFFFF;
  --link: #3D34B0;
  --link-hover: #2A227A;
  --line: #D9D4EC;
  --focus: #3D34B0;
  --hero-muted: #A8B0C4;
  --max: 42rem;
  --max-wide: 68rem;
  --radius: 16px;
  --font: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1633;
    --card: #121A33;
    --ink: #F4F3FB;
    --muted: #A8B0C4;
    --link: #C9B8FF;
    --link-hover: #E8E0FF;
    --line: #2A3354;
    --focus: #C9B8FF;
    --lilac-soft: #1E2544;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.125rem; /* 18px */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border: 3px solid var(--lilac);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px 0;
}
.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  min-height: 44px;
  padding: 4px 0;
}
.brand:hover { color: var(--lilac); }
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { color: #fff; }
.brand:hover .brand-name { color: var(--lilac); }
.brand-place {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--hero-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: 8px;
  padding: 4px 0 12px;
  border-top: 1px solid #2A3354;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--lilac); }
.site-nav a[aria-current="page"] {
  color: var(--lilac);
  box-shadow: inset 0 -3px 0 var(--lilac);
}

/* Main */
main {
  flex: 1;
  width: 100%;
}
main:focus { outline: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 56px;
}
.wrap-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

h1, h2, h3 {
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: 2rem; margin: 0 0 0.6em; }
h2 { font-size: 1.4rem; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 0.4em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin: 0.35em 0; }
.lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.4em; }
.meta { color: var(--muted); font-size: 1rem; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--lilac-soft);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

/* Hero: Earth-from-Moon banner. Text sits on the dark left. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 48px 20px 56px;
  min-height: 32rem;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-media img {
  object-fit: cover;
  object-position: 70% 50%;
}
/* Subtle navy wash from the left so name and tagline stay AA, even if the photo crops on a narrow screen. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(11, 22, 51, 0.72) 0%,
    rgba(11, 22, 51, 0.52) 26%,
    rgba(11, 22, 51, 0.22) 48%,
    rgba(11, 22, 51, 0.06) 68%,
    transparent 86%
  );
}
@media (max-width: 719px) {
  .hero {
    aspect-ratio: auto;
    min-height: 32rem;
    align-items: flex-start;
    padding-top: 40px;
  }
  .hero::after {
    background:
      linear-gradient(
        to right,
        rgba(11, 22, 51, 0.82) 0%,
        rgba(11, 22, 51, 0.62) 42%,
        rgba(11, 22, 51, 0.28) 70%,
        rgba(11, 22, 51, 0.08) 100%
      );
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-wide);
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.35em;
}
.hero .lede {
  color: var(--lilac);
  max-width: 36rem;
  margin-bottom: 0.8em;
}
.hero p { color: #fff; max-width: 38rem; }
.hero .where { color: var(--hero-muted); margin-bottom: 1.4em; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--lilac);
  color: var(--navy);
}
.btn-primary:hover {
  background: #E8E0FF;
  color: var(--navy);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--lilac);
}
.btn-secondary:hover {
  background: #1E2544;
  color: var(--lilac);
}
/* Secondary button on a light page */
.btn-ghost {
  background: transparent;
  color: var(--link);
  border-color: var(--link);
}
.btn-ghost:hover {
  background: var(--lilac-soft);
  color: var(--link-hover);
}

/* Product cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 8px 0 28px;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.35rem; }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.card h2 { margin-top: 0; }
.card-product {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-product .card-top {
  display: flex;
  gap: 16px;
  align-items: center;
}
.card-product img.icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
}
.card-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--link);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 8px;
}

.callout {
  background: var(--lilac-soft);
  border-left: 5px solid var(--lilac);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 1.2em;
}
.callout p:last-child { margin-bottom: 0; }

.poster {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 1.6em;
  border: 1px solid var(--line);
}
.poster img { width: 100%; height: auto; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 12px 0 24px;
}
@media (min-width: 800px) {
  .plans { grid-template-columns: 1fr 1fr 1fr; }
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.plan h3 { margin: 0 0 0.2em; }
.plan .price {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.6em;
}
.plan ul { margin-bottom: 0; }
.plan.featured {
  border-color: var(--lilac);
  box-shadow: 0 0 0 2px var(--lilac);
}

.feature-list {
  columns: 1;
  margin: 0 0 1.2em;
}
@media (min-width: 700px) {
  .feature-list { columns: 2; column-gap: 2.5rem; }
}
.feature-list li { break-inside: avoid; }

.section-title { margin-top: 0; }

.list-plain { list-style: none; padding-left: 0; }
.list-plain li { padding-left: 0; }


/* Company facts: quiet band, no badges or seals */
.facts-strip {
  background: var(--lilac-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts-strip-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 18px 20px 20px;
}
.facts-strip h2 {
  margin: 0 0 0.45em;
  font-size: 1.15rem;
}
.facts-list {
  margin: 0;
  padding-left: 1.25em;
}
.facts-list li { margin: 0.3em 0; }
.facts-list code,
.facts-full code {
  font-size: 0.95em;
  background: transparent;
  padding: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.facts-full {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}
.facts-full li { margin: 0.55em 0; }
.facts-more { margin: 0.7em 0 0; }
@media (min-width: 800px) {
  .facts-strip-inner { padding-left: 28px; padding-right: 28px; }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--hero-muted);
  padding: 28px 20px 36px;
  font-size: 1rem;
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}
.site-footer a {
  color: var(--lilac);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer a:hover { color: #fff; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0 0 8px;
}
.site-footer p { margin: 4px 0; }
.site-footer .legal { margin-top: 8px; }

/* 404 */
.page-404 { text-align: left; }

/* Privacy policy typography */
.policy h2 {
  border-top: 1px solid var(--line);
  padding-top: 1.1em;
  margin-top: 1.6em;
}
.policy h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1em; }

/* Team credit */
.person { margin: 0 0 1em; }
.person-credit {
  display: block;
  font-weight: 600;
}
.person-legal {
  display: block;
  margin-top: 0.15em;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Contact email emphasis */
.email-lg {
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media print {
  .site-header, .site-nav, .skip-link, .btn-row, .site-footer .footer-nav { }
  .site-header, .site-footer { background: #fff; color: #000; }
  .site-header a, .site-footer a, .brand-name { color: #000; }
  .hero { background: #fff; color: #000; min-height: 0; aspect-ratio: auto; }
  .hero-media, .hero::after { display: none; }
  .hero h1, .hero .lede, .hero p, .hero .where { color: #000; }
  a { color: #000; }
  body { background: #fff; color: #000; }
}

@media (min-width: 800px) {
  .site-header { padding: 18px 28px 0; }
  .site-nav { margin-top: 4px; }
  .hero { padding: 52px 28px 64px; }
  .wrap, .wrap-wide { padding-left: 28px; padding-right: 28px; }
}
