@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/intertight-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #161616;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 3px;
}
img { max-width: 100%; display: block; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 22px; width: auto; }
nav { display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 500; }
.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover { background: #2a2a2a; }

.hero { text-align: center; padding: 18px 24px 0; }
h1 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 600;
  font-size: clamp(52px, 6.2vw, 84px);
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 0 auto 16px;
  max-width: 14ch;
}
.cycle { display: inline-block; min-width: 11ch; transition: opacity 0.5s; }
.cycle.is-out { opacity: 0; }
.cycle.is-static { min-width: 0; }
.lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.45;
  color: #2a2a2a;
}

.stage {
  position: relative;
  margin: 28px auto 0;
  max-width: 1120px;
  height: 560px;
  border-radius: 22px;
  overflow: hidden;
  background: #e7e4de;
}
.frame { position: absolute; inset: 0; z-index: 0; }
.bgvid, .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgvid { z-index: 1; }
.poster { background: #c9cfc4 center/cover no-repeat; z-index: 0; }
.scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.08) 20%, rgba(18, 16, 12, 0.38) 100%);
}
.ui {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(960px, 94%);
  background: #f6f6f5;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 14px;
  z-index: 1;
}
.uihead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5e5e5e;
  margin-bottom: 10px;
}
.uihead strong { color: #161616; font-weight: 600; }
.grid { display: grid; grid-template-columns: 180px 1fr 230px; gap: 10px; }
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 12px;
}
.card h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #ececec;
  font-size: 13px;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #737373;
}
.on { color: #2f6b3a; font-weight: 650; }
.hold { color: #9a6b12; font-weight: 650; }

.moss {
  max-width: 1120px;
  margin: 28px auto 0;
  border-radius: 22px;
  background: #141a16;
  color: #f4f1e8;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
section.moss h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 8px 0 12px;
  color: #f4f1e8;
  text-align: left;
}
.moss p { margin: 0; color: #e4e0d6; }
.moss .card { background: #1c2620; color: #f4f1e8; border-color: transparent; }
.moss .row { border-color: rgba(255, 255, 255, 0.12); }
.moss .tag { color: #c5d0bc; }
.moss .card p { margin: 12px 0 0; font-size: 13px; color: #d5d0c4; }

section { max-width: 1040px; margin: 0 auto; padding: 56px 24px; }
section h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  margin: 0 0 22px;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps article { border-top: 2px solid #161616; padding-top: 12px; }
.steps p { margin: 8px 0 0; color: #3a3a3a; font-size: 15px; }
.links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.links a {
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 500;
}
.links a:hover { border-color: #161616; }
.center { text-align: center; }
.center > p { color: #3a3a3a; margin: 0 0 16px; }

footer {
  padding: 8px 20px 32px;
  text-align: center;
  color: #737373;
  font-size: 13px;
}

@media (max-width: 860px) {
  header { padding: 14px 16px; }
  nav .hide { display: none; }
  h1 { font-size: 44px; }
  .lede { font-size: 16px; }
  .stage { height: 500px; margin: 20px 12px 0; border-radius: 20px; }
  .ui { width: 92%; padding: 10px; border-radius: 14px 14px 0 0; }
  .uihead { font-size: 11px; margin-bottom: 8px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grid > .card:first-child { display: none; }
  .card { padding: 10px; }
  .row { font-size: 12px; padding: 6px 0; }
  .moss, .steps { grid-template-columns: 1fr; }
  .moss { margin: 20px 12px 0; padding: 24px 16px; }
  section { padding: 40px 16px; }
}

@media (max-width: 560px) {
  .stage { height: 460px; }
  .grid { grid-template-columns: 1fr; }
  .grid > .card:last-child { display: none; }
  .uihead span { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bgvid { display: none; }
  .cycle { transition: none; }
}

/* V5 hero card */
.poster { background: #c9cfc4 url("../assets/video/plants/olive.jpg") center/cover no-repeat; }
.log .row {
  justify-content: flex-start;
  gap: 14px;
  border-top: 0;
  border-bottom: 0;
  padding: 5px 0;
}
.log .row span:first-child {
  flex: 0 0 42px;
  color: #8a8a8a;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.log .row span:last-child {
  color: #161616;
  font-weight: 450;
}
.ui .row:first-of-type { border-top: 0; }

.ui.v5 { padding: 14px 16px 14px; }
.ui.v5 .board {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8px 28px;
  align-items: start;
}
.ui.v5 .now { padding: 6px 4px 4px; }
.ui.v5 .now-title {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 6px 0 10px;
  color: #161616;
}
.ui.v5 .now-line { font-size: 13px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.ui.v5 .now-line .mid { color: #c8c8c8; font-weight: 500; }
.ui.v5 .log { padding: 2px 0 0; }
@media (max-width: 860px) {
  .ui.v5 .board { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .ui.v5 .now-title { font-size: 24px; }
}
@media (max-width: 560px) {
  .ui.v5 .board { grid-template-columns: 1fr; gap: 10px; }
  .ui.v5 .now { padding: 2px 2px 0; }
  .ui.v5 .now-title { font-size: 22px; margin: 4px 0 8px; }
  .ui.v5 .log .row:nth-child(n+5) { display: none; }
}

/* V5 polish */
.ui.v5 .next {
  margin-top: 14px;
  font-size: 12px;
  color: #5e5e5e;
}
.ui.v5 .next strong { font-weight: 500; color: #161616; }
@media (max-width: 560px) {
  .ui.v5 { padding: 10px 12px 10px; }
  .ui.v5 .now-title { font-size: 22px; margin: 4px 0 6px; }
  .ui.v5 .now-line { font-size: 12px; gap: 4px 6px; }
  .ui.v5 .next { margin-top: 8px; }
  .ui.v5 .log .row { padding: 3px 0; }
}

/* Card A: account summary (2026-11-17) */
.ui.mk { padding: 14px 16px; }
.mk .uihead { align-items: center; }
.mk .big { font-family: "Inter Tight", Inter, sans-serif; font-weight: 600; font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; color: #161616; margin: 6px 0 8px; }
.mk .val { font-family: "Inter Tight", Inter, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 2px; color: #161616; }
.mk .sub { font-size: 12px; color: #5e5e5e; }
.mk .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2f6b3a; margin-right: 7px; vertical-align: 1px; }
.mk .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mk .chip { display: inline-flex; align-items: center; border: 1px solid #ececec; background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; color: #161616; white-space: nowrap; }
.mk .chip.on { color: #2f6b3a; font-weight: 600; }
.mk .card { padding: 12px 14px; }
.mk-a .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 2px 4px 12px; }
.mk-a .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-a .alloc { margin-top: 10px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #5e5e5e; padding: 0 4px; }
.mk-a .bar { flex: 1; height: 6px; border-radius: 6px; background: #e3e8e1; overflow: hidden; display: flex; }
.mk-a .bar i { display: block; height: 100%; background: #2f6b3a; }
@media (max-width: 860px) {
  .mk-a .tiles { grid-template-columns: repeat(2, 1fr); }
  .mk .big { font-size: 24px; }
}
@media (max-width: 560px) {
  .ui.mk { padding: 10px 12px; }
  .mk .big { font-size: 22px; margin: 4px 0 6px; }
  .mk .val { font-size: 18px; }
  .mk .card { padding: 9px 10px; }
  .mk-a .top { padding: 0 2px 8px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .mk-a .tiles { gap: 6px; }
  .mk .chip { font-size: 11px; padding: 3px 8px; }
  .mk-a .alloc { margin-top: 8px; }
}

/* Card3 preview only: 3-slide hero card. Do not copy back to the locked master
   or deploy to production without Andrew's approval.
   Slide 1 (card A) stays in normal flow and sets the card height; slides 2–3
   fill that same box so card A is unchanged pixel-for-pixel. */
.mk-deck { position: relative; overflow: hidden; }
.mk-slide {
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease;
}
.mk-slide.is-on {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
/* Only slide 1 occupies layout. Do not style its inner account-summary markup. */
.mk-slide-a { position: relative; }
.mk-slide:not(.mk-slide-a) {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.mk-slide .eqwrap {
  flex: 1 1 auto;
  display: flex;
  margin-top: 10px;
  min-height: 0;
}
.mk-slide .eqcurve {
  display: block;
  width: 100%;
  height: 100%;
}
.mk-slide .tradelist {
  flex: 1 1 auto;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.mk-slide .curvetop { padding: 0 0 2px; }
.mk-slide .eqwrap { flex-direction: column; }
.mk-slide .eqlabels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #5e5e5e;
  padding: 4px 2px 0;
  font-variant-numeric: tabular-nums;
}
.mk-slide .trow {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: baseline;
  gap: 16px;
  padding: 5px 4px;
  border-top: 1px solid #ececec;
  font-size: 13px;
}
.mk-slide .tpx {
  color: #161616;
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 4.8em;
}
.mk-slide .trow:first-of-type { border-top: 0; padding-top: 6px; }
.mk-slide .tsym { font-weight: 600; color: #161616; letter-spacing: 0.02em; }
.mk-slide .tside { font-weight: 500; color: #161616; min-width: 2.6em; }
.mk-slide .tside.buy { color: #2f6b3a; font-weight: 600; }
.mk-slide .twhen {
  color: #5e5e5e;
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 4.2em;
}
.mk-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 0 0;
}
.mk-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.mk-dots button[aria-selected="true"] { background: #2f6b3a; }
.mk-dots button:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .mk-slide .eqwrap { margin-top: 8px; }
 .mk-slide .trow { padding: 8px 2px; font-size: 12px; gap: 12px; }
  .mk-dots { padding: 8px 0 0; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-slide { transition: none; }
}
