:root {
  /* Swiss-grid-meets-techno palette */
  --bg: #060707;
  /* black base */
  --fg: #f4f5f6;
  /* near-white */
  --ink: #0b0c0d;
  /* "print black" for light sections */
  --paper: #f2f2f0;
  /* cold paper */
  --paper-2: #e8e8e4;
  /* slightly dirtier paper */

  --accent: #009B48;
  /* aggressive green */
  --accent-dim: color-mix(in oklab, var(--accent), transparent 50%);

  --muted-dark: rgba(244, 245, 246, 0.66);
  --muted-light: rgba(11, 12, 13, 0.62);

  --hairline-dark: rgba(244, 245, 246, 0.16);
  --hairline-light: rgba(11, 12, 13, 0.16);

  --pad-x: clamp(18px, 3.6vw, 52px);
  --pad-y: clamp(72px, 9vw, 150px);

  --container: 1120px;
  --container-wide: 1320px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 460;
}

::selection {
  background: color-mix(in oklab, var(--accent), transparent 78%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: var(--pad-x);
  top: 14px;
  width: auto;
  height: auto;
  z-index: 1000;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--hairline-dark);
  color: var(--fg);
  text-decoration: none;
  transition: all 0.2s ease-out;
}

.container {
  width: min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}

.container,
.container-wide {
  position: relative;
}

.section {
  padding: var(--pad-y) 0;
  position: relative;
}

/* No vertical rails — keep the grid strict via alignment/spacing only. */
.section--hero {
  min-height: clamp(520px, 92vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(84px, 10vw, 140px) 0;
  background-image: url('../images/6 - Hero BG Image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.section--hero.section--dark {
  background: url('../images/6 - Hero BG Image.png') center/cover no-repeat;
}

.section--hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  margin-bottom: clamp(32px, 5vw, 56px);
  text-align: left;
}

.hero-logo img {
  height: clamp(120px, 18vw, 240px);
  width: auto;
  display: block;
}

.section--hero .h1 {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section--hero .prose {
  margin-top: 0;
}

/* Hard grid layout: title rail + content rail */
.grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(18px, 3.2vw, 56px);
  align-items: start;
}

.grid__head {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.grid__head .h2 {
  margin: 0;
  padding: 0;
  align-self: flex-start;
  line-height: 1.2;
}

.grid__body {
  min-width: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.grid__body>*:first-child {
  margin-top: 0 !important;
}

.grid__body>.prose:first-child {
  margin-top: 0 !important;
}

.grid__body>.prose:first-child>p:first-child {
  margin-top: 0 !important;
}

.grid__body>.list:first-child,
.grid__body>.list--nums:first-child,
.grid__body>.list--ticks:first-child,
.grid__body>.steps:first-child {
  margin-top: 0 !important;
}

.grid__body>.two-col:first-child {
  margin-top: 0 !important;
}

/* When there is no header rail content, don’t force the body to the right */
.grid--nohead {
  grid-template-columns: 1fr;
}

.grid--nohead .grid__head {
  display: none;
}

.h1,
.h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.h1 {
  font-size: clamp(64px, 8.6vw, 132px);
  line-height: 0.92;
  font-weight: 840;
}

.h1__accent {
  color: var(--accent);
}

.h2 {
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 0.98;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.prose {
  margin-top: 18px;
  color: var(--fg);
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.55;
}

.grid__body .prose {
  margin-top: 0;
}

.prose--tight {
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.55;
}

.prose p {
  margin: 0;
}

.prose p+p {
  margin-top: 14px;
}

.screenshot {
  margin: clamp(32px, 5vw, 56px) 0;
  text-align: center;
}

.screenshot img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 2px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 155, 72, 0.15);
}

.section--light .screenshot img {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 155, 72, 0.2);
}

.label {
  color: var(--muted-dark);
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.label--loud {
  color: var(--muted-dark);
  font-size: clamp(16px, 1.15vw, 20px);
  letter-spacing: 0.12em;
  margin-top: 0;
}

.lede-muted {
  color: var(--muted-dark);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.cta {
  margin-top: 28px;
}

.link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-dark);
  padding-bottom: 2px;
  transition: border-bottom-color 0.2s ease-out, color 0.2s ease-out;
}

.link:hover {
  border-bottom-color: var(--accent-dim);
}

.link--cta {
  color: var(--accent);
  border-bottom-color: var(--accent-dim);
}

.link--cta:hover {
  border-bottom-color: var(--accent);
}

/* Hero lead + stronger CTA presence */
.hero-lede {
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.45;
  font-weight: inherit;
}

.cta .link--cta {
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 760;
  letter-spacing: -0.01em;
}

.link--buttonlike {
  background: transparent;
  border: 0;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.list,
.checklist {
  margin: 14px 0 18px 0;
  padding-left: 18px;
}

.list li,
.checklist li {
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.55;
}

.list li+li,
.checklist li+li {
  margin-top: 8px;
}

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

.checklist li {
  position: relative;
  padding-left: 22px;
}

.checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted-dark);
}

/* Emoji markers for "Who it's for" lists */
.list--ticks,
.list--xs {
  list-style: none;
  padding-left: 0;
}

.list--nums {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 0 0;
}

.list--ticks li,
.list--xs li,
.list--nums li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.55;
}

.list--ticks li+li,
.list--xs li+li,
.list--nums li+li {
  margin-top: 18px;
}

.list--ticks li::before,
.list--xs li::before,
.list--nums li::before {
  flex: 0 0 auto;
  width: 24px;
  text-align: center;
  font-size: 20px;
  line-height: 1.25;
}

.list--ticks li::before {
  content: "✅";
}

.list--xs li::before {
  content: "❌";
}

.list--nums li:nth-child(1)::before {
  content: "1️⃣";
}

.list--nums li:nth-child(2)::before {
  content: "2️⃣";
}

.list--nums li:nth-child(3)::before {
  content: "3️⃣";
}

.list--nums li:nth-child(4)::before {
  content: "4️⃣";
}

.list--nums li:nth-child(5)::before {
  content: "5️⃣";
}

.steps {
  margin: 18px 0 0 0;
  padding-left: 22px;
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.55;
}

.steps li+li {
  margin-top: 10px;
}

/* Hard list markers (more brutal, less cozy) */
.steps {
  list-style: decimal-leading-zero;
}

.steps li::marker {
  font-family: var(--mono);
  color: var(--muted-dark);
  letter-spacing: 0.08em;
}

.section--light .steps li::marker {
  color: var(--muted-light);
}

.two-col {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.hero {
  max-width: none;
}

.exhibit {
  margin: clamp(26px, 4.5vw, 50px) 0;
}

.exhibit__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: color-mix(in oklab, var(--fg), transparent 92%);
  display: grid;
  place-items: center;
  color: color-mix(in oklab, var(--fg), transparent 46%);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px;
  text-align: center;
}

.exhibit__caption {
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.45;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Exhibits feel like plates: hard top/bottom rules */
.exhibit__placeholder {
  border-top: 2px solid var(--hairline-dark);
  border-bottom: 2px solid var(--hairline-dark);
}

.section--light .exhibit__placeholder {
  border-top-color: var(--hairline-light);
  border-bottom-color: var(--hairline-light);
}

.price {
  margin-top: 28px;
}

.price br {
  display: block;
  margin-bottom: 12px;
  content: "";
}

.price strong {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 760;
  line-height: 1.2;
}

.price__label {
  color: var(--muted-dark);
}

/* (Form removed; third-party apply link instead) */

/* Footer */
.site-footer {
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--hairline-dark);
  padding: clamp(52px, 6vw, 84px) 0;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(18px, 3.2vw, 56px);
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: auto;
  height: clamp(60px, 8vw, 100px);
  max-width: 100%;
}

.footer__text {
  margin: 0;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.5;
}

.footer__text+.footer__text {
  margin-top: 14px;
}

.footer__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklab, var(--accent), transparent 10%);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.icon-btn:hover {
  background: color-mix(in oklab, var(--accent), transparent 92%);
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
}

.muted {
  color: var(--muted-dark);
}

.mono {
  font-family: var(--mono);
}

/* Section pacing: alternate dark (default) and light "paper" */
.section--dark {
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--hairline-dark);
}

.section--light {
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  color: var(--ink);
  border-top: 1px solid var(--hairline-light);
}

.section--light .label,
.section--light .muted,
.section--light .exhibit__caption,
.section--light .price__label,
.section--light .prose,
.section--light .h1,
.section--light .steps,
.section--light .list {
  color: var(--ink);
}

.section--light .checklist li::before {
  color: var(--muted-light);
}

.section--light .link {
  border-bottom-color: var(--hairline-light);
}

.section--light .link:hover {
  border-bottom-color: color-mix(in oklab, var(--accent), transparent 35%);
}

.section--light .link--cta {
  color: color-mix(in oklab, var(--accent), var(--ink) 12%);
  border-bottom-color: color-mix(in oklab, var(--accent), transparent 55%);
}

.section--light .link--cta:hover {
  border-bottom-color: var(--accent);
}

.section--light .exhibit__placeholder {
  background: color-mix(in oklab, var(--ink), transparent 94%);
  color: color-mix(in oklab, var(--ink), transparent 48%);
}


@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

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