/* Idea Foundry — site stylesheet
   House brand: navy #1F3864, bronze #C9A86A, Ink #1C2433, Muted #5A6474.
   Site backgrounds are whiter whites, not warm paper (Alex, 3 Dec 2026):
   true white page, cool near-white panels, cool grey-blue hairlines.
   Navy pulled right back (Alex, 3 Dec 2026): headings are Ink, the
   footer is white — navy is a restrained accent only (buttons, links,
   prices, small marks), never a large field. More white space
   throughout.
   All sans: Inter throughout — headings in Inter Bold/ExtraBold with
   tight tracking, body in Inter. No serif anywhere.
   Light theme only. No gradients. */

:root {
  --navy: #1f3864;
  --navy-deep: #152a4d;
  --bronze: #c9a86a;
  --bronze-dark: #a98a52;
  --bronze-light: #d9bc82;
  --paper: #ffffff;
  --surface: #f7f9fb;
  --surface-hover: #eef2f7;
  --line: #dfe6ec;
  --ink: #1c2433;
  --muted: #5a6474;
  --radius: 10px;
  --measure: 62ch;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); }

/* Inline links are obvious by colour and weight, never by underline. */
.prose a:not(.btn), footer.site a { font-weight: 600; }
.prose a:not(.btn):hover, footer.site a:hover { background: var(--surface-hover); border-radius: 4px; }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

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

/* ---- Masthead ---- */
.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--navy); line-height: 1; white-space: nowrap; }
.brand-name .foundry { color: var(--bronze); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { background: var(--surface-hover); color: var(--navy); }
.nav a[aria-current="page"] { background: var(--surface-hover); color: var(--navy); }

/* ---- Mobile menu: burger toggle under 700px ---- */
.menu-toggle { display: none; }
@media (max-width: 699px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
  }
  .menu-toggle .bar { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; }
  .menu-toggle[aria-expanded="true"] { background: var(--surface-hover); }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    gap: 0;
  }
  .nav.open a { padding: 12px 4px; font-size: 1.05rem; border-radius: 0; }
}

/* ---- Kicker / eyebrows ---- */
.kicker {
  color: var(--bronze-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

/* ---- Hero: editorial, left-aligned, two columns ---- */
.hero {
  padding: 40px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
/* Grid items must be allowed to shrink below their content's intrinsic
   width, or a wide image forces the whole page wider than the viewport
   on mobile. */
.hero-grid > *, .bundle > *, .split > * { min-width: 0; }
.hero-figure img, .bundle img { width: 100%; }
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero .lede {
  font-size: 1.15rem;
  max-width: var(--measure);
}
.hero .lede strong { color: var(--navy); }
.hero-figure { margin: 0 0 40px; }
.hero-figure img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
.hero-figure figcaption strong { color: var(--navy); }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}
.rule-line {
  width: 56px;
  height: 3px;
  background: var(--bronze);
  border: 0;
  margin: 0 0 20px;
}

/* ---- Buttons and links ---- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.3;
  min-height: 48px;
}
.btn:hover { background: var(--navy-deep); color: #fff; }
.text-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover { background: var(--surface-hover); border-radius: 4px; }

/* ---- Sections ---- */
section.block { padding: 72px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-intro { max-width: var(--measure); margin-bottom: 32px; }
.section-intro h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.section-intro p { color: var(--muted); margin: 0; }
.section-intro p + p { margin-top: 0.5rem; }

/* ---- Bundle feature row ---- */
.bundle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 40px;
  align-items: center;
}
.bundle img { border-radius: 6px; }
.bundle h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.bundle .price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 2px;
}
.bundle .price small {
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  min-width: 0;
  line-height: 1.3;
}
.bundle .save { color: var(--bronze-dark); font-weight: 700; margin-bottom: 12px; }
.pill {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--bronze);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---- Catalogue: index rows, not identical cards ---- */
.catalogue { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.catalogue li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.catalogue .thumb img { border-radius: 6px; border: 1px solid var(--line); }
.catalogue h3 { font-size: 1.25rem; margin-bottom: 4px; }
.catalogue h3 a { text-decoration: none; }
.catalogue h3 a:hover { background: var(--surface-hover); border-radius: 4px; }
.catalogue p { color: var(--muted); margin: 0 0 8px; }
.catalogue .note { font-size: 0.85rem; color: var(--muted); }
.catalogue .row-foot {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.catalogue .price {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---- Pay Shed split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.split .mark-col { display: flex; gap: 20px; align-items: flex-start; }
.split .mark-col img { width: 96px; height: 96px; flex: none; }
.split h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.tagline {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.fact-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.fact-list li {
  padding: 6px 0 6px 22px;
  position: relative;
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--bronze);
  border-radius: 50%;
}
.price-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
}
.price-big small {
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  min-width: 0;
  line-height: 1.3;
}

/* ---- Numbered steps, plain prose ---- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps li:first-child { border-top: 1px solid var(--line); }
.steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 2px; }
.steps p { color: var(--muted); margin: 0; }

/* ---- About / prose pages ---- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.prose .lede { font-size: 1.15rem; }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-lines li:first-child { border-top: 1px solid var(--line); }
.contact-lines strong { color: var(--navy); }

/* ---- Footer: white, hairline on top — navy pulled right back ---- */
footer.site {
  background: var(--paper);
  color: var(--muted);
  padding: 48px 0 56px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
footer.site .foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
footer.site h2, footer.site h3 { color: var(--ink); }
footer.site a { color: var(--navy); }
footer.site p, footer.site li { color: var(--muted); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---- Wider screens ---- */
@media (min-width: 700px) {
  .brand img { width: 40px; height: 40px; }
  .bundle { grid-template-columns: 5fr 6fr; }
  .split { grid-template-columns: 5fr 7fr; gap: 48px; }
  .catalogue li { grid-template-columns: 128px 1fr; gap: 20px; }
  footer.site .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}
