@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;700&display=swap");

:root {
  color-scheme: only light;
  --landing-bg: #f4efe1;
  --landing-bg-soft: #fbf8ee;
  --landing-ink: #102015;
  --landing-muted: #536455;
  --landing-line: rgba(17, 42, 25, 0.14);
  --landing-hero: #0b1f14;
  --landing-hero-soft: #153222;
  --landing-hero-line: rgba(255, 255, 255, 0.07);
  --landing-surface: rgba(255, 255, 255, 0.06);
  --landing-surface-strong: rgba(255, 255, 255, 0.1);
  --landing-accent: #d6ef65;
  --landing-accent-deep: #9fbe29;
  --landing-accent-ink: #213008;
  --landing-cream: #f7f2e6;
  --landing-shadow: 0 36px 90px -52px rgba(5, 18, 11, 0.72);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(214, 239, 101, 0.14), transparent 24%),
    linear-gradient(180deg, #efe9da 0%, var(--landing-bg) 32%, var(--landing-bg-soft) 100%);
  color: var(--landing-ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.landing {
  color-scheme: only light;
  position: relative;
  overflow: clip;
}

.landing__ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 56rem;
  background:
    radial-gradient(circle at 14% 10%, rgba(214, 239, 101, 0.2), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(53, 92, 68, 0.18), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.landing__hero-shell,
.landing__main,
.landing__trust-shell {
  position: relative;
  z-index: 1;
}

.landing__hero-shell {
  color: #f8f4e8;
  background:
    radial-gradient(circle at top right, rgba(214, 239, 101, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(11, 31, 20, 0.98) 0%, rgba(8, 23, 14, 1) 100%);
}

.landing__hero-shell::before,
.landing__trust-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--landing-hero-line) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 8rem, 8rem 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
  pointer-events: none;
}

.landing__header,
.hero,
.workflow,
.operations,
.trust {
  width: min(1180px, calc(100% - 2.8rem));
  margin: 0 auto;
}

.landing__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.landing__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.landing__brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  box-shadow: 0 18px 30px -20px rgba(214, 239, 101, 0.6);
}

.landing__brand-word {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.landing__header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.landing__app-link {
  color: rgba(248, 244, 232, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.landing__app-link:hover {
  color: #fff;
}

.hero {
  min-height: calc(100svh - 4.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(23rem, 0.95fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  padding: 2.4rem 0 4.1rem;
}

.hero__copy {
  max-width: 39rem;
}

.hero__eyebrow,
.section-heading__eyebrow,
.operations__eyebrow {
  margin: 0;
  color: var(--landing-accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.operations__intro h2,
.workflow__content h3,
.operations__body h3,
.trust h2 {
  font-family: "Fraunces", "Georgia", serif;
  text-wrap: balance;
}

.hero h1 {
  margin: 0.9rem 0 1rem;
  max-width: 10ch;
  font-size: clamp(3rem, 5.4vw, 5.1rem);
  line-height: 0.95;
}

.hero__lead,
.section-heading__lead,
.workflow__content p,
.operations__body p,
.trust__lead,
.trust dd {
  font-size: 1rem;
  line-height: 1.65;
}

.hero__lead {
  margin: 0;
  max-width: 34rem;
  color: rgba(248, 244, 232, 0.78);
}

.hero__trust-summary {
  display: none;
  margin: 1rem 0 0;
  max-width: 24rem;
  color: rgba(248, 244, 232, 0.72);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.2rem;
  margin-top: 1.6rem;
}

.hero__secondary-link {
  color: rgba(248, 244, 232, 0.82);
  font-weight: 500;
  text-decoration: none;
}

.hero__secondary-link:hover {
  color: #fff;
}

.hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
}

.hero__signals li {
  min-height: 4.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 244, 232, 0.72);
  line-height: 1.45;
}

.hero__stage {
  display: flex;
  justify-content: flex-end;
}

.hero-flow {
  position: relative;
  display: grid;
  gap: 1.35rem;
  width: min(100%, 30rem);
  margin-left: auto;
  padding: 1.15rem 0 1.15rem;
}

.hero-flow::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  bottom: 1.25rem;
  left: 0.42rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(214, 239, 101, 0.75), rgba(214, 239, 101, 0.08));
}

.hero-flow__step,
.hero-balance {
  position: relative;
  margin-left: 1.95rem;
}

.hero-flow__step::before,
.hero-balance::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: -1.95rem;
  width: 0.84rem;
  height: 0.84rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--landing-accent) 0%, var(--landing-accent-deep) 100%);
  box-shadow: 0 0 0 0.28rem rgba(214, 239, 101, 0.12);
}

.hero-flow__step {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1rem;
}

.hero-flow__step-index,
.workflow__number {
  font-family: "IBM Plex Mono", monospace;
}

.hero-flow__step-index {
  margin-top: 0.2rem;
  color: rgba(248, 244, 232, 0.52);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-flow__step-body p {
  margin: 0.75rem 0 0;
  color: rgba(248, 244, 232, 0.74);
  line-height: 1.55;
}

.command-pill,
code {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
}

.command-pill {
  color: var(--landing-accent);
  background: rgba(214, 239, 101, 0.1);
  border: 1px solid rgba(214, 239, 101, 0.16);
}

.hero-balance {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(214, 239, 101, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: var(--landing-shadow);
  backdrop-filter: blur(12px);
}

.hero-balance__labels {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-balance__labels span {
  display: block;
  color: rgba(248, 244, 232, 0.52);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-balance__labels strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.hero-balance__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.45rem;
  height: 4.5rem;
  margin-top: 0.9rem;
}

.hero-balance__row span {
  display: block;
  min-height: 1rem;
  border-radius: 999px 999px 0 0;
}

.hero-balance__row--target span {
  background: linear-gradient(180deg, var(--landing-accent) 0%, var(--landing-accent-deep) 100%);
}

.hero-balance__row--current span {
  background: linear-gradient(180deg, rgba(248, 244, 232, 0.92) 0%, rgba(226, 218, 194, 0.6) 100%);
}

.hero-balance__row--target span:nth-child(1) { height: 88%; }
.hero-balance__row--target span:nth-child(2) { height: 66%; }
.hero-balance__row--target span:nth-child(3) { height: 48%; }
.hero-balance__row--target span:nth-child(4) { height: 80%; }
.hero-balance__row--target span:nth-child(5) { height: 56%; }
.hero-balance__row--target span:nth-child(6) { height: 34%; }

.hero-balance__row--current span:nth-child(1) { height: 74%; }
.hero-balance__row--current span:nth-child(2) { height: 54%; }
.hero-balance__row--current span:nth-child(3) { height: 60%; }
.hero-balance__row--current span:nth-child(4) { height: 72%; }
.hero-balance__row--current span:nth-child(5) { height: 41%; }
.hero-balance__row--current span:nth-child(6) { height: 24%; }

.landing__main {
  padding: 5.5rem 0 6rem;
}

.workflow,
.operations {
  padding-bottom: 5.5rem;
}

.section-heading,
.operations__intro,
.trust__intro {
  max-width: 44rem;
}

.section-heading__eyebrow {
  color: #37503a;
}

.section-heading__eyebrow--light {
  color: var(--landing-accent);
}

.section-heading h2,
.operations__intro h2,
.trust h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1;
}

.section-heading__lead {
  margin: 1rem 0 0;
  color: var(--landing-muted);
  max-width: 40rem;
}

.workflow__list {
  list-style: none;
  margin: 2.45rem 0 0;
  padding: 0;
  border-top: 1px solid var(--landing-line);
}

.workflow__item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--landing-line);
}

.workflow__number,
.workflow__command,
.workflow__content h3,
.operations__commands,
.operations__body h3,
.trust dt,
.trust dd {
  margin: 0;
}

.workflow__number {
  color: #66805f;
  font-size: 0.96rem;
  letter-spacing: 0.16em;
}

.workflow__content {
  max-width: 42rem;
}

code {
  border: 1px solid rgba(25, 50, 31, 0.12);
  background: rgba(214, 239, 101, 0.16);
  color: #233d17;
}

.workflow__command {
  margin-bottom: 0.9rem;
}

.workflow__content h3,
.operations__body h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.06;
}

.workflow__content p:last-child,
.operations__body p {
  color: var(--landing-muted);
}

.operations {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.operations__intro {
  position: sticky;
  top: 2rem;
}

.operations__list {
  border-top: 1px solid var(--landing-line);
}

.operations__item {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--landing-line);
}

.operations__eyebrow {
  color: #506750;
}

.operations__commands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.operations__body p {
  margin-top: 0.85rem;
}

.landing__trust-shell {
  padding: 4.9rem 0;
  color: #f8f4e8;
  background:
    radial-gradient(circle at top left, rgba(214, 239, 101, 0.12), transparent 26%),
    linear-gradient(180deg, #0c2316 0%, #0a1d12 100%);
}

.trust {
  display: grid;
  gap: 2.5rem;
}

.trust__lead {
  margin: 1rem 0 0;
  color: rgba(248, 244, 232, 0.74);
  max-width: 41rem;
}

.trust__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
}

.trust__facts div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust dt {
  font-weight: 700;
  color: #fff8eb;
}

.trust dd {
  margin-top: 0.55rem;
  color: rgba(248, 244, 232, 0.7);
}

.trust__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust__disclaimer {
  margin: 0;
  max-width: 34rem;
  color: rgba(248, 244, 232, 0.6);
  line-height: 1.55;
}

.button {
  color-scheme: only light;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.28rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button--primary {
  color: var(--landing-accent-ink);
  background: var(--landing-accent);
  border-color: rgba(214, 239, 101, 0.78);
  box-shadow: 0 18px 32px -24px rgba(214, 239, 101, 0.75);
}

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

.button--ghost {
  color: #f7f4ea;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(247, 244, 234, 0.14);
}

.button--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.11);
}

.landing__brand:focus-visible,
.button:focus-visible,
.landing__app-link:focus-visible,
.hero__secondary-link:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy,
  .hero__stage,
  .workflow__item,
  .operations__item,
  .trust__facts div,
  .trust__footer {
    animation: landing-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero__stage {
    animation-delay: 120ms;
  }

  .workflow__item:nth-child(2),
  .operations__item:nth-child(2),
  .trust__facts div:nth-child(2) {
    animation-delay: 140ms;
  }

  .workflow__item:nth-child(3),
  .operations__item:nth-child(3),
  .trust__facts div:nth-child(3) {
    animation-delay: 220ms;
  }

  .trust__footer {
    animation-delay: 280ms;
  }
}

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 2.35rem;
  }

  .hero__stage {
    justify-content: flex-start;
  }

  .hero-flow {
    margin-left: 0;
  }

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

  .operations__intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .landing__header,
  .hero,
  .workflow,
  .operations,
  .trust {
    width: min(1180px, calc(100% - 1.6rem));
  }

  .landing__header {
    padding-top: 0.95rem;
  }

  .landing__header-cta {
    display: none;
  }

  .landing__app-link {
    font-size: 0.82rem;
  }

  .landing__brand-word {
    letter-spacing: 0.22em;
  }

  .hero {
    padding: 1.25rem 0 2.4rem;
    gap: 1.4rem;
  }

  .hero h1 {
    margin: 0.7rem 0 0.8rem;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    max-width: 8ch;
  }

  .hero__lead,
  .section-heading__lead,
  .workflow__content p,
  .operations__body p,
  .trust__lead,
  .trust dd {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero__actions {
    gap: 0.8rem 1rem;
    margin-top: 1.2rem;
  }

  .hero__trust-summary {
    display: block;
  }

  .hero__signals {
    display: none;
  }

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

  .hero__stage {
    margin-top: 0.15rem;
  }

  .hero-flow {
    gap: 1rem;
    padding: 0.85rem 0 0.95rem;
  }

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

  .hero-flow__step-index {
    margin-top: 0;
  }

  .hero-flow__step-body p {
    margin-top: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .command-pill,
  code {
    min-height: 1.85rem;
    padding: 0.22rem 0.56rem;
    font-size: 0.84rem;
  }

  .hero-balance {
    padding: 0.95rem;
  }

  .hero-balance__labels strong {
    font-size: 1rem;
  }

  .hero-balance__row {
    gap: 0.35rem;
    height: 3.75rem;
    margin-top: 0.75rem;
  }

  .landing__main {
    padding: 3.15rem 0 3.8rem;
  }

  .workflow,
  .operations {
    padding-bottom: 3.15rem;
  }

  .section-heading h2,
  .operations__intro h2,
  .trust h2 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
    line-height: 0.98;
  }

  .workflow__list {
    margin-top: 1.85rem;
  }

  .workflow__item,
  .operations__item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.25rem 0;
  }

  .workflow__number {
    font-size: 0.9rem;
  }

  .workflow__command {
    margin-bottom: 0.75rem;
  }

  .workflow__content h3,
  .operations__body h3 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
    line-height: 1.02;
  }

  .operations__body p {
    margin-top: 0.7rem;
  }

  .landing__trust-shell {
    padding: 3.4rem 0;
  }

  .trust {
    gap: 1.9rem;
  }

  .trust__facts div {
    padding-top: 0.9rem;
  }

  .trust__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.1rem;
  }

  .trust__disclaimer {
    font-size: 0.94rem;
    line-height: 1.5;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .hero__secondary-link {
    width: auto;
  }

  .hero-balance {
    padding: 0.9rem;
  }

  .hero-balance__labels {
    flex-direction: column;
    gap: 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
