/* Public landing page. Tokens from mradiq.css — same greens as the app, so
   signing in does not feel like arriving at a different product. */

body.landing { background: #fff; }
.inner { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.landing h1, .landing h2, .landing h3 { letter-spacing: -.025em; }

/* -------------------------------------------------------------------- nav */

.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav .inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  font-size: 21px; font-weight: 700; letter-spacing: -.03em;
  text-decoration: none; color: var(--ink); flex: none;
}
.brand i { color: var(--green-700); font-style: normal; }
.nav .links { display: flex; gap: 26px; flex: 1; }
.nav .links a {
  text-decoration: none; color: var(--ink-soft); font-size: 13.5px;
  font-weight: 500;
}
.nav .links a:hover { color: var(--green-700); }
.nav .cta { display: flex; gap: 9px; flex: none; }
.nav .cta .act { text-decoration: none; display: inline-block; }
.burger {
  display: none; border: 0; background: none; font-size: 21px; cursor: pointer;
  color: var(--ink);
}
@media (max-width: 860px) {
  .nav .links, .nav .cta { display: none; }
  .nav .links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 28px;
    border-bottom: 1px solid var(--line); gap: 14px;
  }
  .burger { display: block; margin-left: auto; }
}

/* ------------------------------------------------------------------- hero */

.hero {
  background: #087443;
  color: #fff; padding: 92px 0 86px; text-align: center;
}
.hero .eyebrow {
  display: inline-block; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-300); font-weight: 600;
  border: 1px solid rgba(83,203,125,.35); border-radius: 100px;
  padding: 6px 15px; margin-bottom: 26px;
}
.hero h1 { font-size: 50px; line-height: 1.1; font-weight: 700; }
@media (max-width: 760px) { .hero h1 { font-size: 32px; } .hero { padding: 58px 0; } }
.hero p {
  max-width: 640px; margin: 20px auto 0; font-size: 16.5px; line-height: 1.6;
  color: rgba(255,255,255,.76);
}
.hero .actions {
  display: flex; gap: 12px; justify-content: center; margin-top: 32px;
  flex-wrap: wrap;
}
.act.big { padding: 12px 24px; font-size: 14px; font-weight: 600; }
.hero .act { text-decoration: none; display: inline-block; }
.hero .act:not(.primary) {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28);
  color: #fff;
}
.hero .act:not(.primary):hover { background: rgba(255,255,255,.14); }
.hero .badges {
  list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 30px;
  justify-content: center; flex-wrap: wrap;
}
.hero .badges li {
  font-size: 13px; color: rgba(255,255,255,.8); display: flex;
  align-items: center; gap: 8px;
}
.hero .badges li::before {
  content: '✓'; color: var(--green-300); font-weight: 700;
}

.trust { padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust p {
  text-align: center; font-size: 13px; color: var(--ink-faint); margin: 0;
  max-width: 720px; margin-inline: auto;
}

/* ---------------------------------------------------------------- sections */

section.how, section.modules, section.why, section.boards { padding: 78px 0; }
@media (max-width: 760px) { section.how, section.modules, section.why, section.boards { padding: 50px 0; } }
section h2 { font-size: 33px; text-align: center; font-weight: 700; }
@media (max-width: 760px) { section h2 { font-size: 24px; } }
section .sub {
  text-align: center; color: var(--ink-faint); margin: 10px 0 0; font-size: 15px;
}

.steps {
  list-style: none; padding: 0; margin: 46px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px;
}
.steps li {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px; font-size: 12.5px;
  color: var(--ink-faint); line-height: 1.55;
}
.steps li .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint);
  color: var(--green-700); font-weight: 700; font-size: 13px; margin-bottom: 13px;
}
.steps li b {
  display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 5px;
  font-weight: 600;
}

.modules { background: var(--canvas); }
.modules .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 46px;
}
.modules article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.modules h3 { font-size: 17px; margin-bottom: 8px; }
.modules p { font-size: 13px; color: var(--ink-faint); line-height: 1.6; margin: 0 0 14px; }
/* Phase 2 modules are labelled as Phase 2 rather than presented as shipped —
   the same honesty the app's sidebar uses. */
.tagline {
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-faint); border: 1px solid var(--line);
  border-radius: 100px; padding: 3px 9px;
}
.tagline.live { color: var(--green-700); border-color: #BFE3CE; background: var(--green-tint); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.boards article {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  background: var(--panel); box-shadow: var(--shadow);
}
.boards h3 { font-size: 21px; }
.boards p { color: var(--ink-faint); font-size: 14px; margin: 8px 0 20px; }
.boards .act { text-decoration: none; display: inline-block; }

.quote { background: var(--ink-900); color: #fff; padding: 72px 0; }
.quote blockquote {
  margin: 0; max-width: 820px; margin-inline: auto; text-align: center;
  font-size: 22px; line-height: 1.55; font-weight: 300; letter-spacing: -.01em;
}
@media (max-width: 760px) { .quote blockquote { font-size: 17px; } }
.quote cite {
  display: block; margin-top: 24px; font-style: normal; font-size: 13.5px;
  font-weight: 600; color: var(--green-300);
}
.quote cite span {
  display: block; font-weight: 400; color: rgba(255,255,255,.5); font-size: 12.5px;
}

.why .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px; margin-top: 46px;
}
.why article {
  border-left: 3px solid var(--green-700); padding: 4px 0 4px 18px;
  font-size: 13px; color: var(--ink-faint); line-height: 1.6;
}
.why article b {
  display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px;
  font-weight: 600;
}

/* ------------------------------------------------------------------- demo */

section.demo {
  background: var(--green-tint); padding: 78px 0; text-align: center;
}
section.demo p { color: var(--ink-soft); margin: 10px 0 0; font-size: 15px; }
.signup {
  display: flex; gap: 9px; justify-content: center; margin: 28px auto 0;
  max-width: 520px; flex-wrap: wrap;
}
.signup input { flex: 1; min-width: 240px; padding: 12px 14px; font-size: 14px; }
.signup .act { padding: 12px 22px; font-weight: 600; }
.note-line { font-size: 12.5px; margin-top: 12px; min-height: 18px; }
.note-line.ok { color: var(--green-700); }
.note-line.err { color: var(--red); }
.ticks {
  list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 26px;
  justify-content: center; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft);
}
.ticks li::before { content: '✓ '; color: var(--green-700); font-weight: 700; }

/* ----------------------------------------------------------------- footer */

.foot { background: var(--ink-900); color: rgba(255,255,255,.6); padding: 56px 0 0; }
.foot .inner { display: flex; gap: 52px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot .about { max-width: 300px; }
.foot .about p { font-size: 12.5px; line-height: 1.65; margin-top: 12px; }
.foot .cols { display: flex; gap: 52px; flex-wrap: wrap; flex: 1; }
.foot .cols div { display: flex; flex-direction: column; gap: 9px; }
.foot .cols b {
  color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 3px;
}
.foot .cols a {
  color: rgba(255,255,255,.58); text-decoration: none; font-size: 12.5px;
}
.foot .cols a:hover { color: var(--green-300); }
.foot .legal {
  margin-top: 44px; padding: 18px 28px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(255,255,255,.4);
}

.brand .brand-logo { display: block; height: 46px; width: auto; }
.foot .brand .brand-logo { background: #fff; border-radius: 8px; padding: 6px 10px; box-sizing: content-box; }
