:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: #f8f8f7;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
  min-height: 100svh;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.business-card {
  position: relative;
  width: 100%;
  min-height: 460px;
  padding: clamp(32px, 5vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 14px 40px rgb(0 0 0 / 4%);
}

.language-link {
  position: absolute;
  top: clamp(24px, 4vw, 42px);
  right: clamp(24px, 4vw, 42px);
  padding: 7px 11px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.language-link:hover { color: #050505; border-color: #777; }

p, h1 { margin: 0; }

.company { font-size: clamp(13px, 1.7vw, 14px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }

.logo { display: block; width: min(176px, 56%); height: auto; margin-top: 9px; margin-left: -4px; }

.tagline { margin-top: 7px; font-size: clamp(13px, 1.8vw, 15px); font-weight: 500; letter-spacing: -.03em; line-height: 1.35; }

.details { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 28px; }

.identity h1 { color: #a4a4a4; font-size: clamp(34px, 4.8vw, 44px); font-weight: 600; letter-spacing: -.065em; line-height: 1.1; }

.identity p { margin-top: 7px; font-size: clamp(17px, 2.4vw, 20px); font-weight: 600; letter-spacing: -.03em; }

address { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: max-content; max-width: 100%; font-style: normal; }

address a { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: inherit; text-decoration: none; font-size: clamp(17px, 2.3vw, 20px); font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }

address a::before { flex: 0 0 13px; color: #777; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1; text-align: left; transform: translateY(2px); }
address a[href^="tel:"]::before { content: "T"; }
address a[href^="mailto:"]::before { content: "E"; }

address a:hover { text-decoration: underline; text-underline-offset: 4px; }

.save-button {
  align-self: flex-end;
  width: min(100%, 270px);
  min-height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.025em;
  transition: background-color .2s ease, transform .2s ease;
}

.save-button:hover { background: #292929; }
.save-button:active { transform: scale(.99); }
a:focus-visible { outline: 3px solid #5b7fff; outline-offset: 4px; }

@media (max-width: 540px) {
  .page { padding-left: 18px; padding-right: 18px; gap: 18px; }
  .business-card { min-height: min(62svh, 500px); padding: 28px 26px; }
  .language-link { top: 24px; right: 24px; }
  .logo { width: min(170px, 64%); margin-top: 8px; }
  .tagline { margin-top: 7px; }
  .details { gap: 25px; }
  address { gap: 7px; }
  .save-button { width: 100%; min-height: 58px; border-radius: 14px; font-size: 18px; }
}

@media (max-width: 360px) {
  .business-card { padding: 24px 19px; min-height: 430px; }
  .language-link { top: 21px; right: 19px; }
  .identity p { font-size: 16px; }
  address a { font-size: 16px; }
}

html[lang="en"] .identity h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.05em; }
