/* ------------------------------------------------------------
   Theralieve Field Service — landing page
   Inherits tokens (--bg, --ink, --accent, etc.) from _shared/styles.css.
------------------------------------------------------------ */

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 48px 96px;
}

.lp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-brand__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
}
.lp-brand__text b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.lp-brand__text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.lp-title {
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 40px 0 8px;
  text-wrap: balance;
}
.lp-sub {
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 40px;
  font-weight: 500;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.lp-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform 160ms ease, box-shadow 200ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.lp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in oklch, var(--accent) 35%, var(--line));
}
.lp-card:active { transform: translateY(-1px); }
.lp-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lp-card__hero {
  background: linear-gradient(180deg, #F6F7F9 0%, #EDEFF3 100%);
  border-radius: 12px;
  border: 1px solid var(--line-2);
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.lp-card__hero img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(10,10,12,0.14));
}

.lp-card__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 2px 0 0;
}
.lp-card__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

.lp-card__sys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.lp-card__sys .tag--sys {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid color-mix(in oklch, var(--sys) 30%, transparent);
  background: var(--sys-wash);
  color: var(--sys-ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lp-card__sys .tag--sys::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sys);
}

.lp-card__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  margin-top: 6px;
}
.lp-card__cta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  text-transform: uppercase;
}
.lp-card__cta-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  display: grid; place-items: center;
  transition: background 160ms, color 160ms, transform 160ms;
}
.lp-card:hover .lp-card__cta-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(3px);
}
.lp-card__cta-arrow svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .page { padding: 24px 16px 72px; }
  .lp-title { font-size: 32px; }
  .lp-sub { font-size: 15px; }
  .lp-card__hero { height: 170px; }
}
