:root {
  color-scheme: light;
  --ink: #111;
  --contact-ink: #303030;
  --divider: #c4c4c4;
  font-family: "Pretendard Variable", Pretendard, system-ui, "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 4rem);
  background: #fff;
  color: var(--ink);
}

.company {
  width: 100%;
  max-width: 72rem;
  min-width: 0;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1, p {
  margin: 0;
}

h1 {
  font-size: clamp(1.5rem, 3.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 span, .street {
  display: inline-block;
  max-width: 100%;
}

.company-name {
  margin-top: clamp(1rem, 2vw, 1.75rem);
  font-size: clamp(0.75rem, 1.44vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.contact {
  display: grid;
  gap: clamp(0.5rem, 1vw, 0.875rem);
  margin-top: clamp(2rem, 3.4vw, 3rem);
  color: var(--contact-ink);
  font-size: clamp(0.7rem, 1.26vw, 1.18rem);
  font-style: normal;
  line-height: 1.5;
  text-wrap: balance;
}

.contact::before {
  content: "";
  justify-self: center;
  width: clamp(2.5rem, 5vw, 4.75rem);
  height: 0.125rem;
  margin-bottom: clamp(1rem, 2.2vw, 2rem);
  background-color: var(--divider);
}

.contact a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.contact a:hover, .contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.2em;
}
