/* MigrationLedger — modern, calm, trustworthy.
   White canvas, confident green, soft rounded cards, generous space. */

:root {
  --bg:         #ffffff;
  --bg-tint:    #eef6f1;   /* soft sage section bg */
  --bg-tint-2:  #f6faf8;
  --ink:        #122019;   /* headings */
  --text:       #38433d;   /* body */
  --muted:      #6c766f;
  --line:       #e5ece8;
  --line-2:     #d7e2dc;
  --green:      #0f7a55;   /* primary */
  --green-deep: #0a5c40;
  --green-soft: #def0e8;
  --danger:     #b4452f;
  --radius:     16px;
  --radius-sm:  11px;
  --maxw:       1140px;
  --shadow-sm:  0 1px 2px rgba(16,40,30,.04), 0 4px 14px -8px rgba(16,40,30,.14);
  --shadow-md:  0 2px 6px rgba(16,40,30,.06), 0 18px 40px -18px rgba(16,40,30,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
em { font-style: normal; color: var(--green); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1em;
}

/* ---------- top bar ---------- */
.topbar {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800; font-size: 1.22rem; color: var(--ink);
  display: flex; align-items: center; gap: 9px; letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand::before {
  content: ""; width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--green), #16a06f);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55);
  display: inline-block;
}
.brand .mono { display: none; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--text); font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--green); }
.nav a.cta {
  background: var(--green); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow-sm);
}
.nav a.cta:hover { background: var(--green-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; width: 100%; }
  .nav a.cta { margin: 8px 24px; text-align: center; border-radius: 12px; }
  .nav-toggle { display: block; }
  .topbar .wrap { position: relative; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: "Inter", sans-serif; font-weight: 600;
  font-size: 0.97rem; padding: 13px 26px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; text-align: center; transition: all .16s ease;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- sections ---------- */
section { padding: 92px 0; }
.section-head { max-width: 660px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--muted); }
.alt-bg { background: var(--bg-tint); }
.center { text-align: center; }

/* ---------- hero ---------- */
.hero { padding-top: 84px; padding-bottom: 92px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.trust-strip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px; font-size: 0.86rem; color: var(--muted);
}
.trust-strip .pill {
  background: var(--green-soft); color: var(--green-deep); font-weight: 600;
  padding: 5px 12px; border-radius: 999px; font-size: 0.8rem;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- the journey card (hero signature) ---------- */
.journey {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); padding: 30px 30px 12px; position: relative; overflow: hidden;
}
.journey::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--green), #2bbd8a);
}
.journey-head { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 22px; }
.journey-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.journey-steps::before {
  content: ""; position: absolute; left: 13px; top: 12px; bottom: 30px; width: 2px; background: var(--line-2);
}
.journey-steps li { display: flex; gap: 16px; padding-bottom: 24px; position: relative; }
.journey-steps .dot {
  width: 28px; height: 28px; border-radius: 50%; background: #fff;
  border: 2px solid var(--green); flex: none; position: relative; z-index: 1;
  display: grid; place-items: center; color: var(--green); font-size: 0.7rem; font-weight: 700;
}
.journey-steps li.done .dot { background: var(--green); color: #fff; border-color: var(--green); }
.journey-steps strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }
.journey-steps small { color: var(--muted); font-size: 0.88rem; }

/* ---------- feature columns ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 820px) { .cols-3 { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.step .num {
  width: 38px; height: 38px; border-radius: 11px; background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; margin-bottom: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- statement / panel card (reused on account, hero secondary) ---------- */
.statement {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.statement-head {
  padding: 20px 26px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
}
.statement-head .title { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.statement-head .ref { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 26px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .label { font-weight: 500; color: var(--ink); }
.line .label small { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.line .val { color: var(--green); font-weight: 700; }
.statement-foot { padding: 18px 26px; display: flex; justify-content: space-between; align-items: center; background: var(--bg-tint-2); }
.statement-foot .label { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; color: var(--ink); }
.statement-foot .val { color: var(--green); font-weight: 700; }

/* ---------- shelves / items ---------- */
.shelf { display: grid; gap: 16px; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm); transition: all .16s ease;
}
.item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-2); }
.item .body h3 { margin-bottom: 6px; }
.item .body p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.item .tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; color: var(--green-deep); background: var(--green-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 11px;
}
.item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 640px) {
  .item { grid-template-columns: 1fr; }
  .item .right { align-items: flex-start; }
}
.item.locked .body h3::after {
  content: "Locked"; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-tint); padding: 3px 8px; border-radius: 999px; margin-left: 10px; vertical-align: middle;
}

/* ---------- email gate ---------- */
.gate { position: fixed; inset: 0; background: rgba(18,32,25,.5); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px; z-index: 80; }
.gate.open { display: flex; }
.gate-card { background: #fff; max-width: 440px; width: 100%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.gate-body { padding: 28px 26px 30px; }
.gate-body h3 { margin-bottom: 6px; }
.gate-body p { color: var(--muted); font-size: 0.95rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.field input { font-family: "Inter", sans-serif; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.field input:focus { border-color: var(--green); }
.fineprint { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- callout ---------- */
.callout { background: var(--bg-tint); border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 22px 26px; border-radius: 12px; }
.callout p:last-child { margin: 0; }
.callout strong { color: var(--ink); }

/* ---------- footer ---------- */
footer { background: #0c1813; color: #b9c7c0; padding: 64px 0 44px; }
footer h4 { font-family: "Plus Jakarta Sans", sans-serif; color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
footer a { color: #b9c7c0; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-links { display: flex; flex-direction: column; gap: 9px; font-size: 0.93rem; }
.disclaimer { font-size: 0.8rem; color: #7e8c85; line-height: 1.7; margin-top: 38px; border-top: 1px solid #1c2c25; padding-top: 22px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

.mt0 { margin-top: 0; }
