@font-face {
  font-family: Pretendard;
  src: url("assets/pretendard-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Pretendard;
  src: url("assets/pretendard-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #2d2d2d;
  --muted: #525b60;
  --teal: #6fc5c1;
  --teal-hover: #8ed5d1;
  --teal-ink: #286c69;
  --panel: #edf7f6;
  --line: #d4e2e2;
  --surface: #f2f4f6;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--surface);
  color: var(--text);
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 4vw, 3rem);
}

a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: var(--line); }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 4px; }

.card {
  width: min(100%, 56rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 1.375rem;
  padding: clamp(1.25rem, 4.5vw, 3rem);
}

.brand { padding-bottom: clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.brand img { display: block; width: min(100%, 15.25rem); height: auto; }
.card-body { display: grid; gap: 1.5rem; padding-top: clamp(1.35rem, 4vw, 2.5rem); }
.name-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .8rem; }
.name-row h1 { margin: 0; font-size: clamp(3.25rem, 8vw, 5rem); letter-spacing: -.07em; line-height: 1.1; }
.role { color: var(--teal-ink); font-weight: 700; margin: 0; }
address { font-style: normal; }
.contact { margin: .8rem 0 0; }
.contact div { display: grid; grid-template-columns: 3.3rem minmax(0, 1fr); gap: .5rem; border-bottom: 1px solid var(--line); }
.contact dt { color: var(--muted); padding-block: .7rem; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact a, .contact div:last-child dd { display: block; padding-block: .7rem; }
.contact a { min-height: 44px; font-weight: 700; }
.contact a:hover { color: var(--teal-ink); text-decoration: underline; }
.contact div:last-child { border: 0; }

.actions { min-width: 0; background: var(--panel); border-radius: 1rem; padding: 1rem; }
.save {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .65rem;
  border-radius: .625rem;
  color: var(--text);
  background: var(--teal);
  font-weight: 700;
  font-size: 1.125rem;
}
.save:hover { background: var(--teal-hover); }
.save svg { width: 1.4rem; height: 1.4rem; flex: none; }
.channels ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.channels li + li { border-top: 1px solid var(--line); }
.channels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 2.9rem;
  padding: .5rem .25rem;
  font-weight: 700;
}
.channels a:hover { color: var(--teal-ink); text-decoration: underline; }
.channels small { display: block; margin-top: .06rem; color: var(--muted); font-size: .85rem; font-weight: 400; }
.arrow { color: var(--teal-ink); font-family: system-ui, sans-serif; font-size: 1.125rem; }
.help { color: var(--muted); border-top: 1px solid var(--line); font-size: .875rem; }
.help summary { min-height: 44px; padding: .65rem .25rem; cursor: pointer; }
.help summary:hover { color: var(--teal-ink); }
.help p { margin: .2rem .25rem .7rem; }

@media (min-width: 48rem) {
  .card-body { grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .actions { padding: 1.3rem 1.35rem .8rem; }
  .contact { margin-top: 1.4rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .save { transition: background-color 160ms ease; }
}

@media print {
  body { display: block; padding: 0; background: var(--white); }
  .card { width: 100%; break-inside: avoid; print-color-adjust: exact; }
  .help { display: none; }
}
