:root {
  color-scheme: light;
  --paper: #f3efe7;
  --ink: #1d2427;
  --muted: #5d686d;
  --line: rgba(29, 36, 39, 0.18);
  --brass: #a86f28;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px;
  background-image:
    linear-gradient(
      90deg,
      rgba(243, 239, 231, 0.98) 0%,
      rgba(243, 239, 231, 0.94) 42%,
      rgba(243, 239, 231, 0.3) 64%,
      rgba(18, 20, 20, 0.18) 100%
    ),
    url("./assets/Swiss-type-lathe-Machining-process.webp");
  background-size: cover;
  background-position: center right;
}

.site-top {
  display: flex;
  align-items: center;
  width: 100%;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

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

.logo {
  flex: 0 0 auto;
  display: block;
  width: 52px;
  height: auto;
}

.mark {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.content {
  align-self: center;
  width: min(100%, 640px);
  padding: 56px 0 72px;
}

.status {
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 3px solid var(--brass);
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand {
  margin: 0;
  max-width: 610px;
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 1.02;
}

.message {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 620px;
  margin: 44px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details div {
  padding: 18px 22px 20px 0;
}

.details div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.details dt {
  margin: 0 0 8px;
  color: var(--brass);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 840px) {
  .page {
    padding: 22px;
    background-image:
      linear-gradient(
        rgba(243, 239, 231, 0.96),
        rgba(243, 239, 231, 0.9)
      ),
      url("./assets/Swiss-type-lathe-Machining-process.webp");
    background-position: 64% center;
  }

  .site-top {
    font-size: 0.82rem;
  }

  .content {
    padding: 48px 0 56px;
  }

  .brand {
    font-size: 2.55rem;
    line-height: 1.07;
  }

  .message {
    font-size: 1rem;
  }

  .details {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .details div {
    padding: 16px 0;
  }

  .details div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 18px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .logo {
    width: 46px;
  }

  .brand {
    font-size: 2.05rem;
  }
}
