:root {
    --forest-950: #0b140d;
    --forest-900: #101c13;
    --forest-800: #17291b;
    --forest-700: #24422b;
    --moss-500: #8eaa48;
    --moss-400: #a9c55e;
    --sand-100: #f3efe6;
    --sand-200: #e5ddce;
    --wood-400: #b58a5d;
    --wood-500: #966b43;
    --ink: #151a16;
    --white: #ffffff;
    --max-width: 1180px;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--sand-100);
    background: var(--forest-950);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: calc(var(--bs-gutter-x, 0px) / 2);
}

.steps,
.features,
.use-grid,
.edition-grid {
    padding-inline: calc(var(--bs-gutter-x, 0px) / 2);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--moss-400);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    line-height: 1.05;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6.6rem);
    letter-spacing: -0.045em;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.15rem;
}

.lead {
    max-width: 690px;
    color: rgba(243, 239, 230, 0.78);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
}

.nav {
    gap: 24px;
}

.brand img {
    width: 172px;
    height: auto;
}

.navbar-nav {
    gap: 28px;
    font-size: 0.92rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link:hover {
    color: var(--white);
}

.navbar-nav .nav-link.active {
    color: var(--moss-400);
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: var(--forest-900);
    }
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    transition: transform .2s ease, background .2s ease;
}

.button-primary {
    color: var(--forest-950);
    background: var(--moss-400);
}

.button-primary:hover {
    transform: translateY(-2px);
    background: #bdd678;
}

.button-disabled {
    cursor: not-allowed;
    color: rgba(255,255,255,.74);
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: 160px 0 84px;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background:
    linear-gradient(90deg, rgba(8,15,10,.97) 0%, rgba(8,15,10,.84) 42%, rgba(8,15,10,.32) 72%, rgba(8,15,10,.5) 100%),
    linear-gradient(0deg, var(--forest-950) 0%, transparent 42%);
}

.hero::after {
    position: absolute;
    z-index: -3;
    inset: 0;
    content: "";
    background:
    url("contour-core-product.png") center/cover no-repeat,
    radial-gradient(circle at 70% 30%, #456742, var(--forest-950) 66%);
    filter: saturate(.88);
}

.hero-copy {
    max-width: 780px;
}

.hero-actions {
    margin-top: 34px;
}

.launch-note {
    color: rgba(255,255,255,.62);
    font-size: .9rem;
}

section {
    padding: 110px 0;
}

.intro {
    background: var(--sand-100);
    color: var(--ink);
}

.intro-grid,
.origin-grid {
    --bs-gutter-x: 72px;
    --bs-gutter-y: 72px;
}

.intro-copy p,
.origin-copy p {
    color: #596159;
    font-size: 1.08rem;
}

.process {
    background:
    radial-gradient(circle at 50% 0%, rgba(142,170,72,.13), transparent 37%),
    var(--forest-950);
}

.section-heading {
    margin-bottom: 62px;
}

.steps {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
    counter-reset: steps;
}

.step {
    position: relative;
    min-height: 330px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    background: rgba(255,255,255,.035);
    counter-increment: steps;
}

.step::before {
    content: "0" counter(steps);
    display: block;
    margin-bottom: 54px;
    color: var(--moss-400);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.step p {
    color: rgba(243,239,230,.64);
}

.product {
    color: var(--ink);
    background: var(--sand-100);
}

.showcase {
    overflow: hidden;
    border-radius: 26px;
    background: #261e17;
    box-shadow: var(--shadow);
}

.showcase img {
    width: 100%;
}

.features {
    --bs-gutter-x: 26px;
    --bs-gutter-y: 26px;
    margin-top: 52px;
}

.feature {
    padding-top: 22px;
    border-top: 1px solid #c8bfae;
}

.feature p {
    color: #657067;
}

.origin {
    background: #e5ddce;
    color: var(--ink);
}

.origin-image {
    min-height: 520px;
    border-radius: 26px;
    background:
    linear-gradient(0deg, rgba(11,20,13,.08), rgba(11,20,13,.08)),
    url("origin-showcase.png") 12% center/cover no-repeat;
    box-shadow: var(--shadow);
}

.hex-image {
    min-height: 520px;
    border-radius: 26px;
    background:
    linear-gradient(0deg, rgba(11,20,13,.08), rgba(11,20,13,.08)),
    url("contour-origin-product.png") center/cover no-repeat;
    box-shadow: var(--shadow);
}

.uses {
    background: var(--sand-100);
    color: var(--ink);
}

.use-grid {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
}

.use {
    min-height: 230px;
    padding: 30px;
    border: 1px solid #d7cebd;
    border-radius: var(--radius);
    background: rgba(255,255,255,.35);
}

.use strong {
    display: block;
    margin-bottom: 12px;
    font-family: "Roboto", sans-serif;
    font-size: 1.55rem;
}

.use p {
    color: #667068;
}

.editions { color: var(--ink); background: linear-gradient(180deg, #efe8dc 0%, var(--sand-100) 100%); }
.edition-grid { --bs-gutter-x: 22px; --bs-gutter-y: 22px; }

.edition-card-image {
    width: calc(100% + 60px);
    margin: -30px -30px 28px;
    overflow: hidden;
    border-bottom: 1px solid rgba(77,86,79,.14);
    background: linear-gradient(180deg, #3a352f 0%, #2a2723 100%);
}

.edition-card.featured .edition-card-image {
    border-bottom-color: rgba(255,255,255,.10);
    background: radial-gradient(circle at 50% 65%, #392518 0%, #111511 72%);
}

.edition-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edition-card { position:relative; display:flex; min-height:520px; overflow:hidden; flex-direction:column; padding:30px; border:1px solid #d3cab9; border-radius:24px; background:rgba(255,255,255,.46); }
.edition-card.featured { color:var(--sand-100); border-color:rgba(169,197,94,.45); background:radial-gradient(circle at 50% 18%,rgba(169,197,94,.2),transparent 30%),linear-gradient(155deg,#17291b,#0b140d); box-shadow:0 25px 80px rgba(15,33,19,.24); }
.edition-kicker { margin-bottom:54px; color:#6b746d; font-size:.74rem; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.featured .edition-kicker { color:var(--moss-400); }
.edition-badge { padding:7px 11px; border:1px solid currentColor; border-radius:999px; font-size:.62rem; letter-spacing:.12em; }
.edition-card h3 { margin-bottom:14px;  font-size:2rem; font-weight:500; }
.edition-card > p { margin-bottom:28px; color:#667068; }
.featured > p { color:rgba(243,239,230,.68); }
.edition-features { display:grid; gap:12px; margin:0 0 30px; padding:0; list-style:none; }
.edition-features li { position:relative; padding-left:22px; color:#525c54; font-size:.95rem; }
.featured .edition-features li { color:rgba(243,239,230,.78); }
.edition-features li::before { position:absolute; left:0; content:"•"; color:var(--moss-500); font-weight:900; }
.edition-footer { margin-top:auto; padding-top:24px; border-top:1px solid rgba(77,86,79,.18); }
.featured .edition-footer { border-color:rgba(255,255,255,.12); }
.edition-footer strong { display:block; margin-bottom:6px; font-size:.86rem; letter-spacing:.08em; text-transform:uppercase; }
.edition-footer span { color:#737d75; font-size:.9rem; }
.featured .edition-footer span { color:rgba(243,239,230,.58); }
@media (max-width:991.98px) { .edition-card { min-height:auto; } }

.faq {
    background: var(--forest-950);
}

details {
    border-top: 1px solid rgba(255,255,255,.16);
}

details:last-child {
    border-bottom: 1px solid rgba(255,255,255,.16);
}

summary {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    color: var(--moss-400);
    font-size: 1.5rem;
}

details[open] summary::after {
    content: "–";
}

details p {
    max-width: 780px;
    padding-bottom: 24px;
    color: rgba(243,239,230,.65);
}

.final-cta {
    padding: 130px 0;
    background:
    radial-gradient(circle at center, rgba(142,170,72,.18), transparent 38%),
    var(--forest-900);
}

.final-cta h2 {
    max-width: 800px;
    margin-inline: auto;
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 32px;
    color: rgba(243,239,230,.68);
}

footer {
    padding: 30px 0;
    color: rgba(255,255,255,.48);
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .86rem;
}


@supports (padding: max(0px)) {
    .site-header {
    padding-top: max(24px, env(safe-area-inset-top));
    }

    footer {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 991.98px) {
    .origin-image,
    .hex-image {
    min-height: 420px;
    }
}

@media (max-width: 991.98px) {
    #nav-links {
    margin-top: 12px;
    padding: 8px 20px 20px;
    background: var(--forest-950);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    }

    .nav-links {
    gap: 0;
    }

    .nav-links a:not(.button) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    }
}

@media (max-width: 620px) {
    .container {
    width: min(calc(100% - 28px), var(--max-width));
    }

    section {
    padding: 80px 0;
    }

    .site-header {
    padding: 18px 0;
    }

    .brand img {
    width: 138px;
    }

    .nav .button {
    min-height: 42px;
    padding-inline: 16px;
    font-size: .82rem;
    }

    .hero {
    min-height: 880px;
    padding-bottom: 64px;
    }
}

.craft {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: var(--sand-100);
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(169, 197, 94, 0.1),
      transparent 34%
    ),
    var(--forest-900);
}

.craft-grid {
  --bs-gutter-x: 72px;
  --bs-gutter-y: 72px;
}

.craft-copy {
  max-width: 600px;
}

.craft-copy .lead {
  margin-bottom: 24px;
  color: rgba(243, 239, 230, 0.82);
}

.craft-copy p:not(.lead) {
  color: rgba(243, 239, 230, 0.68);
}

.craft-image {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      rgba(11, 20, 13, 0.03),
      rgba(11, 20, 13, 0.22)
    ),
    url("cnc-milling.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.craft-image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 991.98px) {
  .craft-grid {
    --bs-gutter-x: 44px;
    --bs-gutter-y: 44px;
  }

  .craft-copy {
    max-width: 720px;
  }

  .craft-image {
    min-height: 440px;
  }
}

@media (max-width: 620px) {
  .craft {
    padding: 80px 0;
  }

  .craft-grid {
    --bs-gutter-x: 34px;
    --bs-gutter-y: 34px;
  }

  .craft-image {
    min-height: 330px;
    border-radius: 20px;
  }
}

.legal {
    padding: 200px 0 110px;
}

.legal h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.legal h2 {
    margin-top: 44px;
    font-size: 1.3rem;
}

.legal p {
    max-width: 640px;
    color: rgba(243, 239, 230, 0.72);
}

.legal a {
    text-decoration: underline;
}