/* noha labs · Coding · local PT proposal on the approved F01 cream/green identity. */

@font-face {
  font-family: "DM Sans";
  src: url("../orbit/assets/dmsans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Anton;
  src: url("../orbit/assets/anton.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff7e6;
  --ink: #153e35;
  --ink-hover: #0f3029;
  --muted: #456157;
  --on-ink: #c7cbbc;
  --line: rgb(21 62 53 / .2);
  --line-on-ink: rgb(255 247 230 / .24);
  --radius: 12px;
  --pill: 999px;
  --shadow: 0 32px 64px -32px rgb(21 62 53 / .45);
}

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

html {
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

p, h1, h2, h3, ol, ul { margin: 0; }
h1, h2, h3 { font-weight: 1000; overflow-wrap: break-word; }
p, li { overflow-wrap: break-word; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.nowrap { white-space: nowrap; }

.wrap {
  width: calc(100% - 128px);
  max-width: 1312px;
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.skip:focus-visible { outline-color: var(--ink); }

.eyebrow {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

/* Header and compact menu */

.site-header {
  position: relative;
  z-index: 5;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.055em;
  text-decoration: none;
}

.menu { position: relative; }

.menu summary {
  min-height: 44px;
  padding-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }

.menu summary::after,
.install summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.menu[open] summary::after,
.install[open] summary::after { transform: translateY(2px) rotate(-135deg); }

.menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: max-content;
  min-width: 248px;
  max-width: calc(100vw - 40px);
  padding: 8px;
  display: grid;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu-panel a {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.menu-panel a:hover { background: rgb(21 62 53 / .07); }
.menu-panel a:focus-visible { outline-offset: -3px; }

/* Hero: the headline carries the first view; no media slot. */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  column-gap: 64px;
  align-items: end;
  padding: 56px 0 112px;
}

.hero-head,
.hero-aside { min-width: 0; }

.hero h1 {
  max-width: 10em;
  margin-top: 20px;
  font-size: 88px;
  line-height: .95;
  letter-spacing: -.045em;
}
.hero h1 > span {
  display: block;
  text-wrap: balance;
}

.lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-action {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}

.cta {
  min-height: 56px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.cta:hover:not(:disabled) { background: var(--ink-hover); }
.cta:disabled { cursor: not-allowed; opacity: 1; background: transparent; color: var(--muted); border-color: currentColor; border-style: dashed; }
.hero-aside > .preview-note { margin-top: 14px; font-size: 14px; line-height: 1.4; color: var(--muted); font-weight: 700; }
.cta:focus-visible { outline-color: var(--ink); }

.zip-note {
  flex: 1 1 140px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

/* Method band: replaces the F01 gallery band with the argument. */

.method {
  padding: 112px 0 120px;
  background: var(--ink);
  color: var(--paper);
}

.method-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}
.method-head > * { min-width: 0; }
.method-head .eyebrow { color: var(--on-ink); }

.method h2 {
  margin-top: 16px;
  font-size: 64px;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.method-intro {
  max-width: 46ch;
  font-size: 19px;
  color: var(--on-ink);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
}
.steps li { min-width: 0; }

.step-number {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--paper);
  font: 400 72px/1 Anton, "DM Sans", sans-serif;
  letter-spacing: 0;
}

.steps h3 {
  min-height: 2.3em;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.steps p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--on-ink);
}

.receipt {
  margin-top: 96px;
  padding-top: 40px;
  border-top: 1px solid var(--line-on-ink);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.receipt > * { min-width: 0; }

.receipt-main {
  max-width: 30em;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.receipt-scope {
  max-width: 32ch;
  font-size: 17px;
  color: var(--on-ink);
}

/* Editions */

.editions { padding: 112px 0 104px; }

.editions-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}

.editions-head h2 {
  min-width: 0;
  max-width: 12.5em;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.04em;
}
.editions-head h2 > span {
  display: block;
  text-wrap: balance;
}

.editions-meta {
  flex: 0 1 360px;
  min-width: 0;
  font-size: 16px;
  color: var(--muted);
}

.preview-note {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.offers {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.offer {
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}

.offer-pro {
  background: var(--ink);
  color: var(--paper);
}

.offer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}

.offer h3 {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.offer h3 small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.price {
  font-size: 56px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.offer-summary {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.offer ul {
  margin-top: 16px;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  font-size: 16px;
  color: var(--muted);
}
.offer-pro ul { color: var(--on-ink); }

.offer-eyebrow {
  font-size: 15px;
  font-weight: 800;
}
.offer-suite h3 { margin-top: 10px; }
.offer-suite .price { margin-top: 24px; }

.offer-text {
  margin-top: 20px;
  font-size: 16px;
  color: var(--muted);
}

.offer-action {
  margin-top: auto;
  padding-top: 32px;
}

.buy,
.download {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

/* Gated purchase: dashed outline, quieter text, still ≥ 4.5:1. */
.buy {
  background: transparent;
  color: var(--muted);
  border: 1.5px dashed currentColor;
}
.offer-pro .buy { color: var(--on-ink); }
.buy:disabled { cursor: not-allowed; }

.download {
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
}
.download:hover { background: var(--ink-hover); }
.download:focus-visible { outline-color: var(--ink); }

.offer-boundary {
  max-width: 70ch;
  margin-top: 24px;
  font-size: 16px;
  color: var(--muted);
}

.install {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.install summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 20px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.install summary::-webkit-details-marker { display: none; }
.install summary::after { margin-right: 6px; }

.install-body {
  padding: 8px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.install-body > div { min-width: 0; }

.install-body h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.install-body p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}

/* Footer */

.site-footer {
  min-height: 104px;
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
}

/* 1200–1407 */
@media (max-width: 1407.98px) {
  .wrap { width: calc(100% - 96px); }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    column-gap: 48px;
  }
  .hero h1 { font-size: clamp(70px, 5.9vw, 84px); }
  .method h2 { font-size: 56px; }
  .steps { gap: 40px 24px; }
  .offer { padding: 28px; }
  .price { font-size: 48px; }
}

/* 768–1199 */
@media (max-width: 1199.98px) {
  .wrap { width: calc(100% - 80px); }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 48px 0 88px;
  }
  .hero h1 { font-size: 72px; }
  .hero-aside {
    max-width: 640px;
    margin-top: 32px;
  }
  .method { padding: 88px 0 96px; }
  .method-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 64px;
  }
  .method-intro { max-width: 620px; }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
  }
  .receipt {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 72px;
  }
  .editions { padding: 88px 0; }
  .editions-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .editions-meta {
    flex: none;
    max-width: 600px;
  }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-pro { grid-column: 1 / -1; }
  .offer-pro ul,
  .offer-pro .offer-summary { max-width: 640px; }
  .install-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 680px;
  }
}

/* < 768 */
@media (max-width: 767.98px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { gap: 16px; }

  .hero { padding: 24px 0 56px; }
  .hero h1 {
    margin-top: 12px;
    font-size: clamp(36px, 11.2vw, 46px);
    line-height: .98;
    letter-spacing: -.04em;
  }
  .hero-aside { margin-top: 20px; }
  .lead {
    font-size: 16px;
    line-height: 1.45;
  }
  .hero-action {
    display: block;
    margin-top: 24px;
  }
  .cta { width: 100%; }
  .zip-note { margin-top: 12px; }

  .method { padding: 64px 0 72px; }
  .method-head { margin-bottom: 40px; }
  .method h2 {
    margin-top: 12px;
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.02;
  }
  .method-intro { font-size: 16px; }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 12px;
  }
  .step-number {
    grid-row: 1 / 3;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 44px;
  }
  .steps h3,
  .steps p { grid-column: 2; }
  .steps h3 {
    min-height: 0;
    padding-top: 2px;
    font-size: 21px;
  }
  .steps p {
    margin-top: 8px;
    font-size: 16px;
  }
  .receipt {
    margin-top: 56px;
    padding-top: 32px;
  }
  .receipt-main {
    font-size: 20px;
    line-height: 1.4;
  }
  .receipt-scope { font-size: 16px; }

  .editions { padding: 64px 0; }
  .editions-head {
    gap: 16px;
    margin-bottom: 28px;
  }
  .editions-head h2 {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.02;
  }
  .offers {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .offer { padding: 24px; }
  .offer h3 { font-size: 28px; }
  .price { font-size: 40px; }
  .offer-summary {
    margin-top: 20px;
    font-size: 17px;
  }
  .offer-action { padding-top: 24px; }
  .install { margin-top: 40px; }
  .install summary {
    min-height: 60px;
    font-size: 18px;
  }
  .install-body { padding-bottom: 28px; }
  .site-footer { padding-block: 24px; }
}

/* Integration only: inherited full menu, dialogs and real gated purchase state. */
:root { --gutter:20px; }
.buy:not(:disabled) { background:var(--ink); color:var(--paper); border-style:solid; cursor:pointer; }
.offer-pro .buy:not(:disabled) { background:var(--paper); color:var(--ink); }
.site-footer > a { display:inline-flex; align-items:center; min-height:44px; }
