:root {
  --ink: #06100d;
  --ink-soft: #0c1714;
  --text: #f6f7f2;
  --text-muted: #b6c0b9;
  --lime: #9fe870;
  --lime-strong: #71b847;
  --line: rgba(246, 247, 242, 0.16);
  --page-width: 1240px;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.page-width {
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: min(calc(100% - 3rem), var(--page-width));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1.2rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--lime);
  font-size: 0.7rem;
  white-space: nowrap;
}

.brand-mark {
  width: 2.35rem;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0.16rem;
  flex: 0 0 auto;
}

.brand-mark span {
  border-radius: 2px;
  background: var(--lime-strong);
}

.brand-mark span:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  background: var(--text);
}

.brand-mark span:nth-child(2) {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
}

.brand-mark span:nth-child(3) {
  grid-column: 1;
  grid-row: 2 / span 2;
  background: var(--text);
}

.brand-mark span:nth-child(4) {
  grid-column: 2;
  grid-row: 3 / span 2;
}

.brand-mark span:nth-child(5) {
  grid-column: 3;
  grid-row: 3;
}

.brand-mark span:nth-child(6) {
  grid-column: 4;
  grid-row: 2;
}

.brand-mark span:nth-child(7) {
  grid-column: 4;
  grid-row: 3 / span 2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav > a {
  color: rgba(246, 247, 242, 0.84);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: var(--lime);
}

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary,
.site-nav .button-primary {
  border-color: rgba(159, 232, 112, 0.78);
  background: var(--lime-strong);
  color: #071006;
}

.button-primary:hover,
.button-primary:focus-visible,
.site-nav .button-primary:hover,
.site-nav .button-primary:focus-visible {
  border-color: #c7f5a6;
  background: var(--lime);
  color: #071006;
}

.button-small {
  min-height: 2.7rem;
  padding-inline: 1.1rem;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(6, 16, 13, 0.7);
  color: var(--text);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(690px, 82svh, 830px);
  overflow: hidden;
  background: #0a1411;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade,
.detail-shade,
.closing-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 9, 7, 0.84), rgba(2, 9, 7, 0.68));
}

.hero-content {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 8rem 4rem;
}

.status-pill {
  width: fit-content;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(159, 232, 112, 0.58);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 5.4vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  text-shadow: 0 5px 32px rgba(0, 0, 0, 0.92);
}

.hero-copy {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-benefits {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.hero-benefits li {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.2rem 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-benefits li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-benefits span {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.hero-benefits strong {
  max-width: 18ch;
  font-size: 1rem;
  line-height: 1.45;
}

.product-showcase {
  padding: 5.5rem 0 7rem;
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}

.section-heading {
  max-width: 760px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading h2,
.formats-copy h2,
.detail-content h2,
.closing-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.35rem;
  line-height: 1.05;
}

.section-heading > p:last-child,
.formats-copy > p:last-child {
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.concept-preview {
  max-width: 960px;
  margin: 3rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(159, 232, 112, 0.32);
  border-radius: 8px;
  background: #08110f;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.concept-preview img {
  width: 100%;
  height: auto;
}

.concept-preview figcaption {
  padding: 1rem 1.25rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.section {
  padding: 7rem 0;
}

.workflow {
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.workflow .status-pill {
  margin-inline: auto;
}

.workflow-steps {
  margin: 4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.workflow-steps li {
  position: relative;
  min-width: 0;
  padding: 2.5rem 2.5rem 0;
  border-top: 1px solid rgba(159, 232, 112, 0.25);
  text-align: center;
}

.workflow-steps li:first-child {
  padding-left: 0;
}

.workflow-steps li:last-child {
  padding-right: 0;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.55rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  background: var(--ink);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.workflow-steps h3 {
  margin: 1.5rem 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.workflow-steps p {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.detail-story {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0c1513;
}

.detail-media,
.detail-media img,
.detail-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-media {
  z-index: -2;
}

.detail-media img {
  object-fit: cover;
  object-position: center;
}

.detail-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.detail-content h2 {
  max-width: 500px;
  font-size: 4.5rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
}

.detail-content > p:last-child {
  max-width: 510px;
  margin: 1.25rem 0 0;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.formats {
  border-top: 1px solid rgba(159, 232, 112, 0.2);
  background: #111d1a;
  color: var(--text);
}

.formats .eyebrow {
  color: var(--lime);
}

.formats-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 7rem;
  align-items: start;
}

.formats-copy > p:last-child {
  color: var(--text-muted);
}

.format-list {
  margin: 0;
  border-top: 1px solid rgba(159, 232, 112, 0.28);
}

.format-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(159, 232, 112, 0.28);
}

.format-list dt {
  font-weight: 850;
}

.format-list dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.closing {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink-soft);
}

.closing-media,
.closing-media img,
.closing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.closing-media {
  z-index: -2;
}

.closing-media img {
  object-fit: cover;
  object-position: center 68%;
}

.closing-panel {
  max-width: 1180px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border: 1px solid rgba(159, 232, 112, 0.42);
  border-radius: 8px;
  text-align: center;
}

.closing-panel .status-pill {
  margin-bottom: 1.25rem;
}

.closing-panel h2 {
  max-width: 730px;
}

.closing-panel > p:not(.status-pill) {
  margin: 0.85rem 0 1.4rem;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #040907;
}

.footer-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 2rem;
  color: var(--text-muted);
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.footer-inner nav a {
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
  color: var(--lime);
}

.footer-inner > small {
  font-size: 0.75rem;
}

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

@media (max-width: 1040px) {
  .formats-layout {
    gap: 4rem;
  }
}

@media (max-width: 820px) {
  .page-width,
  .site-header {
    width: min(calc(100% - 2rem), var(--page-width));
  }

  .site-nav .section-link {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero h1 {
    max-width: 650px;
    font-size: 4rem;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-benefits li,
  .hero-benefits li:first-child {
    padding: 0.45rem 0;
    border-left: 0;
  }

  .hero-benefits strong {
    max-width: none;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .workflow-steps li,
  .workflow-steps li:first-child,
  .workflow-steps li:last-child {
    padding: 2.25rem 0 0;
  }

  .detail-story {
    min-height: 620px;
  }

  .detail-content h2 {
    font-size: 3.6rem;
  }

  .formats-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 112px;
    flex-wrap: wrap;
    align-content: center;
    gap: 0.6rem;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav .button-small {
    width: 100%;
    min-height: 2.7rem;
    padding-inline: 0.8rem;
    font-size: 0.875rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-block: 9rem 2.6rem;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(2, 9, 7, 0.68), rgba(2, 9, 7, 0.84));
  }

  .status-pill {
    margin-bottom: 0.9rem;
    padding: 0.38rem 0.7rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 9vw, 3.15rem);
    line-height: 1;
  }

  .hero-copy {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1.35rem;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-benefits {
    margin-top: 1.25rem;
  }

  .product-showcase,
  .section {
    padding: 4.75rem 0;
  }

  .section-heading h2,
  .formats-copy h2,
  .closing-panel h2 {
    font-size: 2.35rem;
  }

  .concept-preview {
    margin-top: 2rem;
  }

  .detail-story {
    min-height: 600px;
    align-items: end;
  }

  .detail-media img {
    object-position: 60% center;
  }

  .detail-shade {
    background: linear-gradient(180deg, rgba(2, 9, 7, 0.68), rgba(2, 9, 7, 0.84));
  }

  .detail-content {
    padding-bottom: 4rem;
  }

  .detail-content h2 {
    font-size: 3.15rem;
  }

  .detail-content > p:last-child {
    font-size: 1rem;
  }

  .format-list div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .closing {
    min-height: 470px;
    padding: 2rem 0;
  }

  .closing-panel {
    min-height: 350px;
    padding: 2rem 1.2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 1.5rem;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

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

  .button {
    transition: none;
  }
}

/* Keep public subscription navigation available at every viewport width. */
.subscription-header {
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-block: 0.75rem;
}

.subscription-header .site-nav {
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  gap: 0.75rem 1.35rem;
}

.subscription-header .subscription-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (max-width: 560px) {
  .subscription-header .site-nav {
    width: 100%;
  }

  .subscription-header .button-small {
    width: 100%;
  }
}

/* Legal and support pages share the landing brand without marketing hero sizing. */
.legal-page .legal-header {
  position: relative;
  flex-wrap: wrap;
  padding-block: 1rem;
  gap: 1rem;
}
.legal-page .site-nav { flex-wrap: wrap; }
.legal-content {
  width: min(calc(100% - 2rem), 780px);
  margin: 3rem auto;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.legal-content h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
}
.legal-content h2 { font-size: 1.25rem; line-height: 1.4; }
.legal-content section { margin-block: 2rem; }
.legal-content section p, .legal-introduction { color: var(--text-muted); }
.legal-draft-notice {
  padding: 1rem;
  border: 1px solid var(--lime);
  border-radius: 0.75rem;
  background: var(--ink-soft);
  color: var(--text);
}
/* Wrap the expanded navigation at every width, including desktop. */
.site-footer .footer-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 2rem;
}
.site-footer .footer-inner nav {
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.75rem 1.25rem;
  overflow-wrap: anywhere;
}
