/* ---------- Tokens ---------- */
:root {
  /* brand */
  --forest-deep: #1c3d22;
  --forest: #2e6835;
  --moss: #7baa3a;
  --lake: #2d92a4;
  --lake-deep: #1f6c7a;

  /* surfaces */
  --cream: #f5f0e3;
  --cream-soft: #faf6ec;
  --sand: #ebe2cb;
  --paper: #ffffff;
  --ink: #16201a;
  --ink-soft: #4b5750;
  --ink-mute: #8a958d;
  --line: rgba(28, 61, 34, 0.12);
  --line-soft: rgba(28, 61, 34, 0.06);

  /* type */
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-card: 0 1px 0 rgba(28, 61, 34, 0.04), 0 24px 48px -28px rgba(28, 61, 34, 0.18);
  --shadow-soft: 0 1px 0 rgba(28, 61, 34, 0.04), 0 16px 30px -22px rgba(28, 61, 34, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.shell { width: min(1240px, calc(100vw - 48px)); margin: 0 auto; }
@media (max-width: 720px) { .shell { width: calc(100vw - 32px); } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lake-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.display em {
  font-style: normal;
  color: var(--forest);
}
.h-section {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.h-section em { font-style: normal; color: var(--lake); }
.lede {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 12px 30px -14px rgba(46,104,53,.55);
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); border-color: rgba(28,61,34,0.22); }
.btn-onDark {
  background: var(--cream-soft);
  color: var(--forest-deep);
}
.btn-onDark:hover { background: #fff; transform: translateY(-1px); }
.btn-onDark-ghost {
  background: transparent;
  color: var(--cream-soft);
  border: 1px solid rgba(245,240,227,0.3);
}
.btn-onDark-ghost:hover { background: rgba(245,240,227,0.08); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245, 240, 227, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--forest); }
@media (max-width: 880px) { .nav-links { display: none; } }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 520px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-blob.b1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(123,170,58,0.45), transparent 65%);
  top: -120px; left: -120px;
}
.hero-blob.b2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,146,164,0.35), transparent 65%);
  top: 120px; right: -180px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 22px; max-width: 50ch; font-size: clamp(17px, 1.4vw, 20px); }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 38px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(123,170,58,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(123,170,58,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(123,170,58,0.06); }
}

/* ---------- Phone mockup ---------- */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
}
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, #1a1a1a, #0c0c0c);
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 60px 120px -40px rgba(28,61,34,0.45),
    0 30px 60px -30px rgba(28,61,34,0.35);
}
.phone::after {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #050505;
  border-radius: 999px;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f3e8, #ecf0e2);
  display: flex;
  flex-direction: column;
}

/* ---------- Section base ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section.tight { padding: 88px 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.section-head .lede { margin-top: 4px; }

/* ---------- Problem cards ---------- */
.problem { background: var(--cream); }
.problem-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }
.p-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.p-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
}
.p-card .glyph {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.p-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.p-card h3 em { font-style: normal; color: var(--lake); }
.p-card p { color: var(--ink-soft); font-size: 15px; margin: 14px 0 0; }
.p-card .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  position: absolute;
  top: 24px; right: 24px;
}

/* ---------- How it works ---------- */
.how { background: var(--cream-soft); }
.how-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 980px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  position: relative;
  padding: 36px 28px 36px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.how-step:last-child { border-right: none; }
@media (max-width: 980px) {
  .how-step:nth-child(2) { border-right: none; }
  .how-step:nth-child(1), .how-step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .how-step { border-right: none; border-bottom: 1px solid var(--line); }
  .how-step:last-child { border-bottom: none; }
}
.how-step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lake);
}
.how-step .illu {
  width: 100%;
  height: 130px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid; place-items: center;
  overflow: hidden;
}
.how-step h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.how-step h3 em { font-style: normal; color: var(--forest); }
.how-step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- Features ---------- */
.features {
  background: var(--forest-deep);
  color: var(--cream-soft);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(45,146,164,0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(123,170,58,0.13), transparent 60%);
  pointer-events: none;
}
.features .section-head h2 { color: var(--cream-soft); }
.features .section-head h2 em { color: var(--moss); }
.features .lede { color: rgba(245,240,227,0.7); }
.features .eyebrow { color: rgba(123,170,58,0.85); }

.feat-grid {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,240,227,0.12);
  border: 1px solid rgba(245,240,227,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--forest-deep);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  transition: background .25s ease;
}
.feat:hover { background: #173021; }
.feat .ficon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(123,170,58,0.16);
  color: var(--moss);
  display: grid; place-items: center;
}
.feat h4 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--cream-soft);
}
.feat p { color: rgba(245,240,227,0.62); font-size: 14px; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { background: var(--cream); }
.price-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  background: var(--forest-deep);
  color: var(--cream-soft);
  border-color: var(--forest-deep);
}
.price-card .badge {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--moss);
  color: var(--forest-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.price-card .pname { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lake-deep); }
.price-card.featured .pname { color: var(--moss); }
.price-card.featured h3 { color: var(--cream-soft); }
.price-card .ptag { color: var(--ink-soft); margin: 14px 0 28px; font-size: 15px; max-width: 36ch; }
.price-card.featured .ptag { color: rgba(245,240,227,0.62); }
.price-card .pprice {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 32px;
}
.price-card .pprice small {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}
.price-card.featured .pprice small { color: rgba(245,240,227,0.6); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  flex: 1;
}
.price-card.featured ul { border-color: rgba(245,240,227,0.14); }
.price-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
}
.price-card.featured li { color: rgba(245,240,227,0.88); }
.price-card li .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(123,170,58,0.18);
  color: var(--forest);
  display: grid; place-items: center;
  margin-top: 2px;
}
.price-card.featured li .check { background: rgba(123,170,58,0.22); color: var(--moss); }
.price-card .btn { justify-content: center; }
.price-disclaimer {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- Example dashboard ---------- */
.example { background: var(--cream-soft); position: relative; overflow: hidden; }
.example::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,146,164,0.10), transparent 65%);
  filter: blur(60px);
  top: -200px; right: -200px;
  pointer-events: none;
}
.example-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .example-grid { grid-template-columns: 1fr; } }

/* big inline dashboard */
.dash {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.dash-head .id { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--lake-deep); text-transform: uppercase; }
.dash-head h3 { font-family: var(--serif); font-size: 34px; margin-top: 6px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
.dash-head .loc { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); margin-top: 6px; letter-spacing: 0.06em; }
.dash-head .live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--forest);
  background: rgba(123,170,58,0.12);
  padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase;
}
.dash-head .live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  animation: pulse 2.4s ease-in-out infinite;
}
.dash-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 560px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-tile {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}
.dash-tile .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.dash-tile .value {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  margin-top: 14px;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.dash-tile .value sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-left: 4px;
  vertical-align: baseline;
}
.dash-tile .spark { margin-top: 14px; height: 30px; }
.dash-rec {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, rgba(123,170,58,0.14), rgba(45,146,164,0.10));
  border: 1px solid rgba(123,170,58,0.22);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.dash-rec .rec-l { display: flex; flex-direction: column; gap: 4px; }
.dash-rec .rec-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); }
.dash-rec .rec-msg { font-family: var(--serif); font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.dash-rec .rec-next { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); text-align: right; }
.dash-rec .rec-next strong { display: block; color: var(--ink); font-weight: 500; font-size: 14px; margin-top: 2px; letter-spacing: 0; }

.example-side h2 em { color: var(--lake); }
.example-side .tags {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.example-side .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--paper);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--forest-deep);
  color: var(--cream-soft);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(45,146,164,0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(123,170,58,0.16), transparent 60%);
  pointer-events: none;
}
.final-cta .shell { position: relative; }
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--cream-soft);
  max-width: 16ch;
}
.final-cta h2 em { font-style: normal; color: var(--moss); }
.final-cta p { color: rgba(245,240,227,0.7); max-width: 56ch; margin-top: 22px; font-size: 18px; }
.final-cta .hero-ctas { margin-top: 36px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--cream);
  padding: 56px 0 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14.5px; color: var(--ink-soft); }
.footer a:hover { color: var(--forest); }
.footer .brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer .brand p { color: var(--ink-soft); font-size: 14px; max-width: 36ch; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Phone screen styles ---------- */
.ps-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
}
.ps-status .right { display: flex; gap: 5px; align-items: center; }
.ps-header {
  padding: 26px 22px 14px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.ps-header .ps-greet { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.ps-header h4 { font-family: var(--serif); font-size: 20px; line-height: 1.1; margin-top: 4px; letter-spacing: -0.02em; font-weight: 500; }
.ps-header .av {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cream-soft);
  font-family: var(--mono);
  font-size: 12px;
}
.ps-banner {
  margin: 4px 16px 14px;
  background: linear-gradient(135deg, rgba(123,170,58,0.16), rgba(45,146,164,0.14));
  border: 1px solid rgba(123,170,58,0.25);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
}
.ps-banner .b-ico {
  width: 28px; height: 28px;
  background: rgba(123,170,58,0.22);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--forest);
  flex-shrink: 0;
}
.ps-banner .b-text { font-size: 12.5px; line-height: 1.3; color: var(--ink); }
.ps-banner .b-text strong { display: block; font-family: var(--serif); font-size: 14px; font-weight: 500; margin-bottom: 2px; letter-spacing: -0.01em; }

.ps-tiles { padding: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-tile { background: var(--paper); border-radius: 16px; padding: 14px; min-height: 96px; position: relative; border: 1px solid var(--line-soft); }
.ps-tile .pl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.ps-tile .pv { font-family: var(--serif); font-size: 24px; line-height: 1; margin-top: 8px; letter-spacing: -0.03em; font-weight: 500; }
.ps-tile .pv sub { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); }
.ps-tile .pi { position: absolute; top: 14px; right: 14px; color: var(--ink-mute); }
.ps-tile.fm .pi { color: var(--lake); }
.ps-tile.tp .pi { color: #c98a3a; }
.ps-tile.lj .pi { color: #d3aa3a; }
.ps-tile.bv .pi { color: var(--forest); }

.ps-list { padding: 16px 16px 0; }
.ps-list h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 10px; font-weight: 500; }
.ps-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.ps-row .swatch { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.ps-row .name { font-family: var(--serif); font-size: 15px; line-height: 1; font-weight: 500; letter-spacing: -0.015em; }
.ps-row .meta { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); margin-top: 4px; letter-spacing: 0.06em; }
.ps-row .stat { margin-left: auto; font-family: var(--mono); font-size: 10.5px; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.08em; }

.ps-tab {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px;
  background: rgba(22,32,26,0.92);
  padding: 6px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.ps-tab .ti {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: rgba(245,240,227,0.5);
}
.ps-tab .ti.active { background: var(--moss); color: var(--forest-deep); }

/* fade ins */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise .8s ease both; }
.rise.d1 { animation-delay: .05s; }
.rise.d2 { animation-delay: .15s; }
.rise.d3 { animation-delay: .25s; }
.rise.d4 { animation-delay: .35s; }
.rise.d5 { animation-delay: .45s; }

/* sensor sparks */
.spark path.line { fill: none; stroke-width: 1.5; }
.spark path.area { opacity: 0.18; }

/* selection */
::selection { background: var(--moss); color: var(--forest-deep); }
