/* Northline Studio — catalog landing page
   Navy #121C33 / #1B2A4A · Gold #C4A35A · Cream #F7F4EF */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #121C33;
  --navy-mid: #1B2A4A;
  --gold: #C4A35A;
  --gold-soft: rgba(196, 163, 90, 0.18);
  --cream: #F7F4EF;
  --cream-dark: #E8E3D8;
  --paper: #fff;
  --ink: #1A2332;
  --slate: #5C6B7A;
  --muted: #D7D2C8;
  --teal: #2A7A6E;
  --focus: #C4A35A;
  --max: 1120px;
  --content: 40rem;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(18, 28, 51, 0.10);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ----- Header ----- */
.site-header {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}
.logo .mark {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.logo .word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
  color: var(--cream);
}

.nav-toggle {
  display: none;
}
.menu-btn {
  display: none;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(196, 163, 90, 0.55);
  border-radius: 99px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn:hover { border-color: var(--gold); color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--cream); }
.site-nav a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 0.45rem 0.9rem;
  border-radius: 99px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.site-nav a.nav-cta:hover { color: var(--navy); filter: brightness(1.06); }

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 3px solid var(--gold);
  }
  .site-nav a {
    padding: 0.7rem 1.25rem;
  }
  .site-nav a.nav-cta {
    margin: 0.5rem 1.25rem 0;
    text-align: center;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }
}

/* ----- Shared layout ----- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em, .gold-em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--slate);
  max-width: 38rem;
}
.section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2.25rem; max-width: 40rem; }
.section-head p { color: var(--slate); margin: 0.85rem 0 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.2rem;
  border-radius: 99px;
  border: 2px solid transparent;
  line-height: 1.2;
  transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { filter: brightness(1.06); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(196, 163, 90, 0.65);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost-dark:hover { background: var(--navy); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ----- Hero ----- */
.hero {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(196, 163, 90, 0.18), transparent 55%),
    radial-gradient(700px 420px at -10% 110%, rgba(42, 122, 110, 0.16), transparent 50%),
    var(--navy);
  color: var(--cream);
  padding: 4.5rem 0 5rem;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--gold);
}
.hero h1 { color: var(--cream); max-width: 16ch; }
.hero .lede { color: var(--muted); margin: 1.35rem 0 2rem; }
.hero .btn-row { margin-bottom: 2.25rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill {
  border: 1px solid rgba(196, 163, 90, 0.55);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 99px;
}

/* ----- Free starter band ----- */
.starter {
  background: var(--cream);
  padding: 0;
}
.starter-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
}
.starter-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.starter-body { padding: 1.75rem 1.75rem 1.85rem; }
.starter-body .tag {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 99px;
  margin-bottom: 0.85rem;
}
.starter-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.starter-body p { color: var(--slate); margin: 0.7rem 0 1.15rem; }
.price-free {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.price-free span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--slate);
  margin-left: 0.4rem;
}

@media (max-width: 800px) {
  .starter-card { grid-template-columns: 1fr; margin-top: -1.5rem; }
  .starter-card .media { max-height: 200px; }
  .starter-card .media img { min-height: 180px; max-height: 200px; }
}

/* ----- Catalog ----- */
.catalog { background: var(--cream); }
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(18, 28, 51, 0.05);
}
.card .media { background: var(--navy); }
.card .media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body .os-name {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.card-body .os-rest {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--navy-mid);
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}
.card-body .deck {
  color: var(--slate);
  margin: 0.7rem 0 0.9rem;
  font-size: 1rem;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.meta span {
  background: var(--cream);
  color: var(--navy-mid);
  border: 1px solid var(--cream-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 99px;
}
.features {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.95rem;
}
.features li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.1rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.7rem;
  height: 2px;
  background: var(--gold);
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0;
  margin-top: 0.3rem;
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
}

/* ----- Compare ----- */
.compare { background: var(--navy); color: var(--cream); }
.compare h2 { color: var(--cream); }
.compare .section-head p { color: var(--muted); }
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(196, 163, 90, 0.28);
  border-radius: var(--radius);
  background: var(--navy-mid);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.9rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(247, 244, 239, 0.08);
}
th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  background: rgba(18, 28, 51, 0.45);
}
td { color: var(--muted); }
td a {
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
td a:hover { color: var(--gold); }
td .best { display: block; color: var(--muted); font-family: var(--font-sans); font-size: 0.88rem; font-weight: 400; margin-top: 0.15rem; }
tr:last-child td { border-bottom: 0; }
tr.free-row td { background: rgba(42, 122, 110, 0.16); }
.badge-free {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 99px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* ----- How it works ----- */
.how { background: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.step {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
}
.step:nth-child(2) { border-top-color: var(--gold); }
.step:nth-child(3) { border-top-color: var(--teal); }
.step:nth-child(4) { border-top-color: var(--navy-mid); }
.step .num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.55rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--slate); font-size: 0.95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ----- FAQ ----- */
.faq { background: #efebe3; }
.faq-list { max-width: 48rem; }
details.faq-item {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 0.65rem;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  padding: 1rem 2.6rem 1rem 1.15rem;
  position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--slate);
  margin: 0;
  max-width: 42rem;
}
details.faq-item .answer a { color: var(--navy-mid); font-weight: 700; }

/* ----- Footer ----- */
.site-footer {
  background: var(--navy);
  color: var(--muted);
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h2, .site-footer .footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cream);
  margin: 0 0 0.6rem;
}
.site-footer .mark {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.site-footer p { margin: 0 0 0.7rem; font-size: 0.95rem; }
.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 0.7rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.4rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.legal {
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: #9aa3ad;
  max-width: 52rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Shop strip */
.shop-strip {
  background: var(--navy-mid);
  color: var(--cream);
  padding: 2.75rem 0;
  text-align: center;
}
.shop-strip h2 { color: var(--cream); margin-bottom: 0.6rem; }
.shop-strip p { color: var(--muted); margin: 0 auto 1.25rem; max-width: 32rem; }

@media (max-width: 720px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare table,
  .compare tbody,
  .compare tr,
  .compare td { display: block; width: 100%; }
  .compare tr {
    background: var(--navy-mid);
    border: 1px solid rgba(196, 163, 90, 0.28);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    padding: 0.9rem 1rem 1rem;
  }
  .compare td {
    border-bottom: 0;
    padding: 0.15rem 0;
  }
  .compare td:first-child { padding-bottom: 0.35rem; }
  .compare td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin: 0.55rem 0 0.12rem;
  }
  .compare td:first-child[data-label]::before { display: none; }
  .compare tr.free-row { background: rgba(42, 122, 110, 0.22); }
  .card-foot .btn { width: 100%; }
}

