:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: #f7f7f8;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
.shader-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 150px;
  padding: 0 4vw;
  background: transparent;
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: clamp(190px, 10.2vw, 262px); height: auto; filter: brightness(0) invert(1); }
main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: clamp(80px, 6vw, 160px);
  width: min(2444px, calc(100% - 116px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 210px 0 80px;
}
.summary-card {
  width: 100%;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 10px;
  background: #fff;
  color: #20242a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  animation: summary-float 9s ease-in-out infinite;
}
.hen-house-card-header {
  position: static;
  display: flex;
  align-items: center;
  height: auto;
  margin: 24px 24px 12px;
  padding: 0;
  background: transparent;
}
.status-icon { width: 80px; height: 80px; flex: 0 0 80px; }
.hen-house-card-header > div { min-width: 0; margin-left: 12px; }
.hen-house-card-header h2 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 500; }
.hen-house-card-header p { margin: 3px 0 0; color: #7a7f87; font-size: 23px; line-height: 1.2; }
.summary-card-content { padding: 0 24px 24px; }
.metric-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid #c5dcff;
  border-radius: 9px;
  background: #f9fcff;
}
.assembly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-cell { min-width: 0; padding: 18px 16px 16px; }
.assembly-grid .metric-cell:nth-child(odd),
.live-metrics .metric-cell:first-child { border-right: 1px solid #d8e8ff; }
.assembly-grid .metric-cell:nth-child(-n+2) { border-bottom: 1px solid #d8e8ff; }
.metric-cell span { display: block; color: #7a7f87; font-size: 22px; line-height: 1.25; }
.metric-cell strong { display: block; margin-top: 4px; color: #20242a; font-size: 30px; line-height: 1.2; font-weight: 800; }
.live-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; }
.accent-value { color: #006fc9 !important; }
.in-house-estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-bottom: 15px;
  padding: 10px 15px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  color: #64748b;
}
.in-house-estimate span { min-width: 0; font-size: 20px; font-weight: 600; line-height: 26px; }
.in-house-estimate small { color: #7a8798; font-size: 17px; font-weight: 600; }
.in-house-estimate strong { color: #005fc9; font-size: 28px; font-weight: 800; white-space: nowrap; }
.productivity-table { color: #20242a; }
.productivity-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 120px;
  align-items: center;
  min-height: 44px;
}
.productivity-row > :nth-child(n+2) { text-align: center; }
.productivity-row span { color: #7a7f87; font-size: 22px; line-height: 1.2; }
.productivity-row strong { font-size: 27px; line-height: 1.2; font-weight: 800; }
.productivity-head { margin-bottom: 8px; }
.productivity-head span { font-weight: 400; }
section { align-self: center; padding-bottom: 1vh; }
h1 { margin: 0; font-size: clamp(88px, 6.1vw, 154px); line-height: 1.02; font-weight: 520; }
.download {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  margin-top: 70px;
  padding: 0 38px;
  border-radius: 47px;
  background: #f7f7f8;
  color: #111216;
  font-size: 23px;
  font-weight: 650;
  transition: background-color 160ms ease, transform 160ms ease;
}
.download:hover { background: #e4e5e8; transform: translateY(-2px); }
.windows-icon { display: grid; grid-template: repeat(2, 14px) / repeat(2, 14px); gap: 3px; width: 31px; }
.windows-icon i { background: currentColor; }
@keyframes summary-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}
@media (max-width: 1500px) {
  header { height: 96px; padding: 0 36px; }
  .brand img { width: 178px; }
  main { gap: 58px; width: calc(100% - 72px); padding: 130px 0 54px; }
  .hen-house-card-header { margin: 18px 18px 9px; }
  .status-icon { width: 62px; height: 62px; flex-basis: 62px; }
  .hen-house-card-header h2 { font-size: 23px; }
  .hen-house-card-header p { font-size: 18px; }
  .summary-card-content { padding: 0 18px 18px; }
  .metric-cell { padding: 13px 12px 11px; }
  .metric-cell span { font-size: 16px; }
  .metric-cell strong { font-size: 22px; }
  .live-metrics { margin: 13px 0; }
  .in-house-estimate { min-height: 38px; margin-bottom: 11px; padding: 7px 11px; }
  .in-house-estimate span { font-size: 15px; line-height: 20px; }
  .in-house-estimate small { font-size: 13px; }
  .in-house-estimate strong { font-size: 21px; }
  .productivity-row { grid-template-columns: minmax(160px, 1fr) 88px 88px; min-height: 33px; }
  .productivity-row span { font-size: 16px; }
  .productivity-row strong { font-size: 20px; }
  h1 { font-size: clamp(76px, 7vw, 112px); }
  .download { min-height: 68px; margin-top: 44px; padding: 0 27px; border-radius: 34px; font-size: 17px; }
  .windows-icon { grid-template: repeat(2, 11px) / repeat(2, 11px); gap: 2px; width: 24px; }
}
@media (max-width: 900px) {
  main { grid-template-columns: 1fr; width: min(680px, calc(100% - 36px)); gap: 12px; padding-top: 104px; }
  .summary-card { order: 2; width: min(540px, 100%); margin-top: 32px; animation: none; }
  section { order: 1; text-align: center; }
  h1 { font-size: clamp(58px, 16vw, 88px); }
  .download { margin-top: 32px; }
}
@media (max-width: 430px) {
  header { height: 64px; padding: 0 18px; }
  main { padding-top: 96px; }
  h1 { font-size: 3.6875rem; }
  .download { width: 100%; justify-content: center; }
  .summary-card-content { padding: 0 12px 12px; }
  .hen-house-card-header { margin: 12px 12px 6px; }
  .status-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .hen-house-card-header h2 { font-size: 18px; }
  .hen-house-card-header p { font-size: 14px; }
  .metric-cell span { font-size: 13px; }
  .metric-cell strong { font-size: 18px; }
  .productivity-row { grid-template-columns: minmax(120px, 1fr) 70px 70px; }
  .productivity-row span { font-size: 13px; }
  .productivity-row strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .summary-card { animation: none; }
}
