:root {
  color-scheme: light;
  --text: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --line: #cbd5e1;
  --line-strong: #94a3b8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

::selection {
  background: #e2e8f0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-text span {
  font-weight: 500;
}

.contact-link,
.email-button {
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.contact-link {
  padding: 9px 13px;
}

.email-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  padding: 12px 14px;
}

.contact-link:hover,
.contact-link:focus-visible,
.email-button:hover,
.email-button:focus-visible {
  border-color: var(--text-3);
  color: var(--text);
  outline: none;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.86fr);
  gap: 8px;
  min-height: calc(100vh - 132px);
  align-items: center;
}

.intro-copy {
  padding: 8px 32px 24px 0;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.tagline {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 700;
}

.copy-block {
  margin-top: 28px;
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.copy-block p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

.damage-widget {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.globe-watermark {
  position: absolute;
  width: 660px;
  height: 660px;
  max-width: none;
  opacity: 0.55;
  transform: translateY(-24px);
  user-select: none;
  pointer-events: none;
}

.metrics-card {
  position: relative;
  width: 420px;
  max-width: 92%;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
}

.metrics-header {
  padding: 16px 20px 12px;
}

.metrics-title {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metrics-window {
  height: 196px;
  margin: 0 20px;
  overflow: hidden;
}

.metrics-list {
  animation: metricScroll 24s linear infinite;
}

.metric-row {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-2);
  font-size: 13px;
}

.metric-label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.metric-label span,
.metric-label em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-label em {
  margin-top: 2px;
  color: var(--text-3);
  font-size: 11px;
  font-style: normal;
}

.metric-value {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 6.75rem 3rem;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.metric-value strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.metric-value span {
  padding-left: 8px;
  color: var(--text-2);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metrics-note {
  padding: 14px 20px 16px;
  color: var(--text-3);
  font-size: 11px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
}

.footer-inner img {
  width: 154px;
  height: auto;
  display: block;
}

@keyframes metricScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-336px); }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
  }

  .intro-copy {
    padding: 28px 0 0;
  }

  .damage-widget {
    min-height: 470px;
  }

  .globe-watermark {
    width: 560px;
    height: 560px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-text {
    display: none;
  }

  h1 {
    font-size: 32px;
  }

  .tagline,
  .copy-block p {
    font-size: 15px;
  }

  .damage-widget {
    min-height: 420px;
  }

  .metrics-card {
    width: 100%;
  }

  .metric-value {
    grid-template-columns: 5.5rem 2.75rem;
  }
}
