@font-face {
  font-family: "에이투지체";
  src: url("assets/fonts/a2z-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "에이투지체";
  src: url("assets/fonts/a2z-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14243b;
  --muted: #4e5b70;
  --blue: #244c9d;
  --cream: #faf7f1;
  --paper: #fffdf9;
  --line: #d9dfe8;
  --mist: #edf2f9;
  font-family: "에이투지체", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { font: inherit; }
button, .button { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, h4 {
  font-weight: 700;
}
:focus-visible { outline: 3px solid #3269ce; outline-offset: 4px; }

.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  border-bottom: 1px solid #e8e2d8;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  letter-spacing: -.045em;
}
.brand img { width: 42px; }
.button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.header-cta { color: var(--blue); border-color: #bfcbe0; background: #fff; }
.header-cta:hover, .button-secondary:hover { background: #e3ebf9; border-color: #8cace2; }
.button-primary { min-width: 134px; color: #fff; background: #142a4e; }
.button-primary:hover { background: #254683; }
.button-secondary { color: #234784; background: #fff; border-color: #b5c7e4; }
.text-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 5px;
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: .26em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4.4vw, 62px);
  padding-block: clamp(45px, 7vw, 89px);
}
.hero h1 {
  font-size: clamp(2.05rem, 4.15vw, 3.6rem);
  letter-spacing: -.055em;
  line-height: 1.14;
}
.hero h1 span { color: var(--blue); }
.hero p {
  color: var(--muted);
  margin-block: 19px 23px;
  font-size: clamp(1rem, 1.65vw, 1.125rem);
  line-height: 1.65;
}
.hero .text-action { margin-inline-start: 12px; }
.hero-photo {
  width: 100%;
  aspect-ratio: 1.57;
  object-fit: cover;
  object-position: 54% center;
  border-radius: 22px 22px 22px 5px;
  background: var(--cream);
}
.mobile-break { display: none; }

.feature-section {
  padding-block: clamp(44px, 6.5vw, 80px);
  background: var(--mist);
  scroll-margin-top: 12px;
}
.feature-heading h2 {
  font-size: clamp(1.9rem, 3.55vw, 2.85rem);
  line-height: 1.19;
  letter-spacing: -.05em;
}
.feature-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.tabs {
  display: grid;
  width: min(100%, 526px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid #d8e0ee;
  border-radius: 13px;
  background: #f8fafd;
}
.tabs button {
  min-height: 47px;
  padding: 5px 4px;
  border: 0;
  border-radius: 9px;
  color: #41516a;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.035em;
  cursor: pointer;
}
.tabs button:hover { background: #e7eef9; }
.tabs button[aria-selected="true"] { background: #1e3f78; color: #fff; }
.tabs button:focus-visible { outline-offset: 1px; }
.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(22px, 5vw, 66px);
  margin-top: 16px;
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  background: #fff;
}
.feature-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -.05em;
}
.feature-copy p {
  color: var(--muted);
  margin-block: 12px 19px;
  font-size: 1rem;
  line-height: 1.65;
}
.screen {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.38;
  border: 1px solid #dbe3ed;
  border-radius: 13px;
  background: #f0f3f9;
  text-decoration: none;
  cursor: zoom-in;
}
.screen:hover { border-color: #89a4d2; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.screen-ai img { object-position: center 77%; }
.zoom-label {
  position: absolute;
  inset: auto 10px 10px auto;
  padding: 6px 10px;
  color: #fff;
  background: #1b3155;
  border: 1px solid #fff;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
}
.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 33px;
}
.closing p { font-size: 1.09rem; font-weight: 700; line-height: 1.55; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 20px 28px;
  border-top: 1px solid #e8e2d8;
  color: var(--muted);
  font-size: .875rem;
}
.site-footer a { text-underline-offset: .22em; }

.viewer {
  width: min(950px, calc(100% - 24px));
  max-height: 91dvh;
  padding: 0;
  border: 1px solid #d4deed;
  border-radius: 17px;
  color: var(--ink);
  background: #fff;
}
.viewer::backdrop { background: rgb(12 24 43 / .66); }
.viewer-head {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.viewer-head h2 { font-size: 1rem; }
.viewer-head button { min-height: 42px; white-space: nowrap; }
.viewer-content { overflow: auto; }
.viewer-content img { width: 100%; }
.viewer-actions { display: flex; gap: 6px; }
.viewer-fit { display: none; }

@media (max-width: 700px) {
  .viewer-head { padding-inline: 9px; }
  .viewer-head button { padding-inline: 8px; font-size: .875rem; }
  .viewer-fit { display: inline-flex; }
  .viewer:not(.is-fitted) .viewer-content img { min-width: 700px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 65px; }
  .brand { font-size: 1.125rem; }
  .brand img { width: 36px; }
  .header-cta { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding-block: 30px 34px;
  }
  .hero h1 { font-size: clamp(2rem, 7.9vw, 3.6rem); }
  .hero p { margin-block: 13px 15px; }
  .hero-photo { aspect-ratio: 1.8; border-radius: 15px 15px 15px 4px; }
  .feature-section { padding-block: 36px 38px; }
  .tabs { width: 100%; margin-top: 19px; }
  .feature-panel { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 16px; border-radius: 15px; }
  .feature-copy h3 { font-size: 1.44rem; }
  .feature-copy p { margin-block: 8px 12px; }
  .screen { border-radius: 10px; }
  .closing { align-items: flex-start; padding-block: 25px; }
  .closing .button { flex: 0 0 auto; min-width: 0; }
}
@media (max-width: 420px) {
  .hero .mobile-break { display: initial; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.feature-panel-cards { display: block; }
.cards-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.cards-intro p { margin-bottom: 0; }
.cards-intro .button { flex: 0 0 auto; }
.card-gallery-help {
  margin: 23px 0 11px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
.card-collections {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 46px);
}
.card-collections h4 {
  margin-bottom: 9px;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.daily-card-grid, .business-card-grid {
  display: grid;
  gap: 7px;
}
.daily-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.daily-card-grid .card-tile:first-child { grid-area: span 2 / span 2; }
.business-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.business-card-grid figure { margin: 0; }
.business-card-grid figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
}
.card-tile {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--mist);
  cursor: zoom-in;
}
.card-tile:hover { border-color: #6e90ce; }
.card-tile img { width: 100%; }
.daily-card-grid .card-tile img { height: 100%; object-fit: cover; }
.viewer.is-gallery-image .viewer-fit { display: inline-flex; }
.viewer.is-gallery-image.is-fitted .viewer-content img {
  width: auto;
  max-height: calc(91dvh - 78px);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .cards-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .card-collections { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .card-gallery-help { margin-top: 17px; }
  .daily-card-grid, .business-card-grid { gap: 5px; }
}
