:root {
  color: #111827;
  background: #f7f8fa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f7f8fa; color: #111827; }
a { color: inherit; text-decoration: none; }
a:hover { color: #087f74; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dde2e8;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand img { border-radius: 8px; }
.site-header nav { display: flex; gap: 28px; color: #566171; font-size: 14px; font-weight: 600; }

.hero {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-bottom: 1px solid #dde2e8;
}

.eyebrow { margin: 0 0 16px; color: #087f74; font-size: 12px; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
.hero h1 { max-width: 900px; font-size: clamp(54px, 8vw, 98px); font-weight: 750; line-height: .98; }
.hero-copy { max-width: 700px; margin: 28px 0 34px; color: #485466; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.4; }
.primary-link { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border-radius: 7px; background: #111827; color: #fff; font-size: 14px; font-weight: 650; }
.primary-link:hover { background: #087f74; color: #fff; }

.section,
.principles { padding: 104px 0; border-bottom: 1px solid #dde2e8; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-bottom: 52px; }
.section-heading h2 { max-width: 700px; font-size: clamp(34px, 4vw, 54px); font-weight: 700; line-height: 1.08; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border: 1px solid #d7dee6; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .045); }
.product.featured { border-top: 3px solid #0f8d81; padding-top: 26px; }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: auto; }
.product-index { color: #7a8493; font-size: 12px; font-variant-numeric: tabular-nums; }
.status { padding: 6px 9px; border: 1px solid #d7dee6; border-radius: 999px; color: #596474; font-size: 11px; font-weight: 650; }
.status.available { border-color: #9bd8d1; background: #edf9f7; color: #087f74; }
.product h3 { margin-top: 46px; font-size: 25px; font-weight: 700; }
.product p { min-height: 76px; margin: 14px 0 28px; color: #566171; font-size: 15px; line-height: 1.6; }
.product > a { color: #087f74; font-size: 14px; font-weight: 650; }

.principle-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cfd6df; }
.principle-list li { display: grid; grid-template-columns: 70px minmax(240px, .8fr) 1fr; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid #dfe4ea; }
.principle-list span { color: #8a94a2; font-size: 12px; }
.principle-list strong { font-size: 18px; font-weight: 650; }
.principle-list p { margin: 0; color: #566171; font-size: 15px; line-height: 1.6; }

footer { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #667181; font-size: 13px; }
footer div { display: flex; gap: 24px; }

.document-wrap { padding: 70px 0 96px; }
.document { max-width: 760px; margin: 0 auto; padding: 48px; border: 1px solid #d7dee6; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(15, 23, 42, .05); }
.document h1 { margin-bottom: 44px; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.document section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid #e2e6eb; }
.document h2 { font-size: 20px; }
.document section p { margin: 12px 0 0; color: #566171; font-size: 16px; line-height: 1.65; }
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found h1 { font-size: clamp(38px, 7vw, 68px); }
.not-found > p:not(.eyebrow) { margin: 18px 0 30px; color: #566171; }
.not-found img { margin-bottom: 28px; }

@media (max-width: 780px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 68px; }
  .site-header nav { gap: 16px; }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .section, .principles { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; margin-bottom: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 280px; }
  .principle-list li { grid-template-columns: 42px 1fr; }
  .principle-list p { grid-column: 2; }
  footer { min-height: 150px; align-items: flex-start; flex-direction: column; justify-content: center; }
  footer div { width: 100%; justify-content: space-between; }
  .document-wrap { padding: 28px 0 56px; }
  .document { padding: 28px 22px; }
}
