/* Front page (Field Station home) */

/* Hero + obs styles moved to shell.css (shared with category pages). */

.lifecycle {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 44px 0;
  margin-top: 0;
}
.lc-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 28px;
  align-items: baseline;
}
.lc-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.lc-head h2 em { font-style: italic; color: var(--signal); }
.lc-head p {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.lc-map {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px 24px 0;
}
.lc-track {
  position: relative;
  height: 4px;
  background: var(--ink);
  
  margin: 0 0 22px;
}
.lc-stops {
  position: relative;
  /* Centre the dots on the track line. With box-sizing:border-box the dot */
  margin: -29px 0 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.lc-stop {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lc-stop::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  margin-bottom: 10px;
}
/* Per-stage colours (lifecycle progression: orange → gold → purple → black) */
.lc-stop:nth-child(1)::before { background: var(--warn);             border-color: var(--warn); }
.lc-stop:nth-child(2)::before { background: var(--live);             border-color: var(--live); }
.lc-stop:nth-child(3)::before { background: var(--status-purple-fg); border-color: var(--status-purple-fg); }
.lc-stop:nth-child(4)::before { background: var(--ink);              border-color: var(--ink); }

.lc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.lc-card {
  padding: 22px;
  border-right: 1px solid var(--rule);
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s ease;
}
.lc-card:last-child { border-right: 0; }
.lc-card:hover { background: var(--paper-2); }
.lc-card:hover h3 { color: var(--signal); }
.lc-card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--rule);
  color: var(--muted);
  margin-bottom: 12px;
  background: var(--paper);
  font-weight: 500;
}
.lc-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
  transition: color .15s ease;
}
.lc-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.lc-card .stat {
  font-family: var(--mono);
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.lc-card .stat b {
  font-size: 20px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
}
.lc-card .stat span {
  font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}

.panels {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--rule);
}
.panel {
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
}
.panel:last-child { border-right: 0; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-head b { color: var(--ink); font-weight: 600; font-family: var(--mono); }

.chart-line { width: 100%; height: 240px; display: block; }
.chart-line .grid line { stroke: var(--rule); stroke-dasharray: 2 3; }
.chart-line .axis text {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--muted);
  letter-spacing: 0.06em;
}
.chart-line .series-1 { stroke: var(--signal); stroke-width: 1.8; fill: none; }
.chart-line .fill-1   { fill: var(--signal-2); opacity: 0.5; }
.chart-line .series-2 { stroke: var(--data); stroke-width: 1.8; fill: none; stroke-dasharray: 4 3; }

.chart-legend-row {
  display: flex; gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.chart-legend-row span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend-row i { width: 14px; height: 2px; display: inline-block; }

/* TLD bar chart */
.tld-bars { display: flex; flex-direction: column; gap: 12px; }
.tld-bar {
  display: grid;
  grid-template-columns: 72px 1fr 110px;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.tld-bar .label { font-weight: 700; color: var(--ink); }
.tld-bar .track {
  height: 10px;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.tld-bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--ink);
}
.tld-bar:nth-child(1) .fill { background: var(--signal); }
.tld-bar:nth-child(2) .fill { background: var(--ink); }
.tld-bar:nth-child(3) .fill { background: var(--data); }
.tld-bar:nth-child(4) .fill { background: var(--live); }
.tld-bar:nth-child(5) .fill { background: var(--ink-3); }
.tld-bar:nth-child(6) .fill { background: var(--muted); }
.tld-bar .value { text-align: right; color: var(--ink-2); }

.tbl-wrap {
  border: 1px solid var(--rule);
  overflow-x: auto;
}
.tbl-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}
.tbl thead th {
  padding: 14px 20px;
  text-align: right;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}
.tbl thead th:first-child { text-align: left; }
.tbl tbody td {
  padding: 14px 20px;
  text-align: right;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.tbl tbody td:first-child { text-align: left; color: var(--ink); font-weight: 700; }
.tbl tbody tr:first-child td { background: var(--paper-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--paper-2); }
.tbl .hi { color: var(--signal); font-weight: 600; }
.tbl .lo { color: var(--data); font-weight: 600; }
.tbl .spark { height: 18px; display: inline-block; vertical-align: middle; }

.reports {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding-top: 8px;
}
.report-lead {
  padding-right: 40px;
  border-right: 1px solid var(--rule);
}
.report-lead .date {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 12px;
}
.report-lead h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.report-lead h3 a { transition: color .15s ease; color: inherit; text-decoration: none; }
.report-lead h3 a:hover { color: var(--signal); }
.report-lead .excerpt {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: 560px;
}
.report-lead .byline {
  display: flex; gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.report-lead .byline b { color: var(--ink); font-weight: 600; }

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
}
.product {
  padding: 28px 30px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column;
  min-height: 320px;
  background: var(--paper);
  transition: background .2s ease;
}
.product:last-child { border-right: 0; }
.product:hover { background: var(--paper-2); }
.product .who {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.product h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.product h3 small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 8px;
  font-family: var(--sans);
  letter-spacing: 0;
}
.product p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 420px;
}
.product ul {
  list-style: none;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.product ul li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
}
.product ul li::before {
  content: "+";
  position: absolute; left: 0;
  color: var(--signal);
  font-weight: 700;
}
.product-cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.tools-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-top: 0;
}
.tool {
  padding: 22px 26px;
  border-right: 1px solid var(--rule);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.tool:last-child { border-right: 0; }
.tool:hover { background: var(--paper-2); }
.tool h4 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.tool p {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* .faq-* moved to shell.css (cross-page). */

@media (max-width: 1080px) {
  
  .lc-head { grid-template-columns: 1fr; gap: 24px; }
  .panels { grid-template-columns: 1fr; }
  .panel { border-right: 0; border-bottom: 1px solid var(--rule); }
  .panel:last-child { border-bottom: 0; }
  .reports { grid-template-columns: 1fr; }
  .report-lead { border-right: 0; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
  .products { grid-template-columns: 1fr; }
  .product { border-right: 0; border-bottom: 1px solid var(--rule); }
  .product:last-child { border-bottom: 0; }
  .lc-cards { grid-template-columns: repeat(2, 1fr); }
  .lc-cards .lc-card:nth-child(even) { border-right: 0; }
  .lc-cards .lc-card:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .tools-strip { grid-template-columns: 1fr; }
  .tool { border-right: 0; border-bottom: 1px solid var(--rule); }
  .tool:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  .lc-cards { grid-template-columns: 1fr; }
  .lc-cards .lc-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .lc-cards .lc-card:last-child { border-bottom: 0; }
}
