:root {
  --ink: #122018;
  --paper: #ffffff;
  --mist: #eef5f0;
  --sage: #2f6b4f;
  --sage-deep: #1a5c3a;
  --brass: #3d8f66;
  --muted: #5a6b61;
  --line: rgba(18, 48, 32, 0.12);
  --font: "Figtree", "Trebuchet MS", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: inherit; }

.lp {
  overflow-x: hidden;
}

.lp-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0;
}

.lp-logo {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lp-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.lp-nav-links a:hover { color: var(--ink); }

.lp-nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.lp-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.5rem 0 4rem;
  position: relative;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(61, 143, 102, 0.22), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(47, 107, 79, 0.28), transparent 60%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.lp-hero-copy,
.lp-hero-visual {
  position: relative;
  z-index: 1;
}

.lp-brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}

.lp-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  max-width: 14ch;
}

.lp-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38ch;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.lp-btn:hover { transform: translateY(-2px); }

.lp-btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 70, 52, 0.22);
}

.lp-btn-primary:hover { background: var(--sage-deep); }

.lp-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.lp-hero-visual {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 420px;
}

.lp-phone {
  width: min(280px, 78%);
  background: #1a211c;
  border-radius: 34px;
  padding: 0.7rem;
  box-shadow:
    0 30px 60px rgba(18, 24, 20, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.lp-phone-notch {
  width: 38%;
  height: 10px;
  margin: 0.25rem auto 0.7rem;
  border-radius: 999px;
  background: #0d120f;
}

.lp-phone-screen {
  background: linear-gradient(180deg, #ffffff, #eef5f0);
  border-radius: 26px;
  padding: 1rem 1rem 1.1rem;
  min-height: 360px;
}

.lp-phone-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.lp-phone-title {
  font-family: var(--display);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.lp-phone-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.lp-phone-bar {
  margin-top: 1.35rem;
  background: var(--sage);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  padding: 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.lp-orbit {
  position: absolute;
  inset: 8% 0 auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lp-orbit span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(247, 244, 239, 0.82);
  border: 1px solid var(--line);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.lp-orbit span:nth-child(1) { transform: translate(-10%, 40px); }
.lp-orbit span:nth-child(2) { transform: translate(0, -10px); }
.lp-orbit span:nth-child(3) { transform: translate(10%, 70px); }

.lp-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.lp-section-alt {
  width: 100%;
  padding-left: max(1rem, calc((100% - 1120px) / 2));
  padding-right: max(1rem, calc((100% - 1120px) / 2));
  background:
    linear-gradient(180deg, rgba(238, 245, 240, 0.95), rgba(255, 255, 255, 0.35));
}

.lp-section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.lp-section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
}

.lp-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  counter-reset: step;
}

.lp-steps li {
  counter-increment: step;
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0 1.2rem 3.2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.lp-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--sage);
}

.lp-steps strong {
  font-size: 1.12rem;
}

.lp-steps span {
  color: var(--muted);
  max-width: 52ch;
}

.lp-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.lp-benefits article h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}

.lp-benefits article p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

.lp-demo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.lp-demo-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid var(--sage);
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lp-demo-link:hover {
  background: rgba(47, 107, 79, 0.06);
  transform: translateY(-2px);
}

.lp-demo-link span {
  color: var(--muted);
  font-size: 0.88rem;
}

.lp-connect {
  margin-top: 1rem;
  padding: 5rem 1rem;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(61, 143, 102, 0.22), transparent 55%),
    linear-gradient(160deg, #163628, #0f1f18 55%, #1a2e24);
  color: #f4f7f4;
}

.lp-connect-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.lp-connect .lp-brand-mark { color: #8fd4ad; }
.lp-connect h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.lp-connect p { color: rgba(244, 247, 244, 0.78); }
.lp-connect .lp-cta-row { justify-content: center; margin-top: 1.5rem; }
.lp-connect .lp-btn-ghost {
  color: #f4f7f4;
  border-color: rgba(244, 247, 244, 0.28);
}
.lp-connect-mail { margin-top: 1.25rem; }

.lp-muted { color: var(--muted); }
.lp-connect .lp-muted { color: rgba(244, 247, 244, 0.55); }

.lp-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 2.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}
.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

.float-y {
  animation: floaty 5.5s ease-in-out infinite;
}

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

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.5rem;
  }

  .lp-hero h1 { max-width: none; }

  .lp-hero-visual {
    order: -1;
    min-height: 340px;
  }

  .lp-orbit { display: none; }

  .lp-benefits,
  .lp-demo-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lp-nav-links a:not(.lp-nav-cta) { display: none; }

  .lp-benefits,
  .lp-demo-list {
    grid-template-columns: 1fr;
  }

  .lp-footer {
    flex-direction: column;
  }
}

.auth-shell {
  width: min(520px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  padding: 1rem 0 3rem;
}

.auth-card {
  padding: 1.5rem 0;
}

.auth-title {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.15;
}

.auth-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.auth-form label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.auth-input:focus {
  outline: 2px solid rgba(47, 107, 79, 0.35);
  border-color: var(--sage);
}

.auth-input.is-invalid {
  border-color: #8b2e2e;
}

.auth-error {
  margin-top: 0.35rem;
  color: #8b2e2e;
  font-size: 0.88rem;
}

.auth-submit {
  width: 100%;
  margin-top: 1.35rem;
  border: 0;
  cursor: pointer;
}

.auth-foot {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-foot a {
  color: var(--sage-deep);
  font-weight: 600;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .float-y { animation: none; opacity: 1; transform: none; }
}
