:root {
  --ink: #071317;
  --ink-2: #10252c;
  --panel: #ffffff;
  --paper: #f5f7f2;
  --muted: #66767b;
  --line: #dbe4df;
  --teal: #35d2c6;
  --teal-dark: #0a8f89;
  --coral: #f27a5e;
  --gold: #d9b56d;
  --shadow: 0 18px 52px rgba(7, 19, 23, 0.14);
  font-family:
    Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 247, 242, 0) 0, var(--paper) 620px),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 19, 23, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-text {
  display: block;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: rgba(53, 210, 198, 0.68);
  color: #fff;
  outline: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 66px));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(96px, 14vw, 150px) clamp(18px, 5vw, 52px) clamp(72px, 10vw, 104px);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 23, 0.92) 0%, rgba(7, 19, 23, 0.76) 39%, rgba(7, 19, 23, 0.28) 72%),
    linear-gradient(180deg, rgba(7, 19, 23, 0.1), rgba(7, 19, 23, 0.82)),
    url("./assets/av19-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #052023;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.ticker span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  text-align: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 40px) 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 12vw, 132px) clamp(18px, 5vw, 52px) clamp(58px, 8vw, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 19, 23, 0.92), rgba(7, 19, 23, 0.78) 48%, rgba(7, 19, 23, 0.45)),
    url("./assets/av19-hero.png") center / cover no-repeat;
}

.page-hero h1,
.page-hero p {
  position: relative;
  max-width: 850px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 4.45rem);
}

.page-hero p:not(.eyebrow):not(.breadcrumb) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.75;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 800;
}

.breadcrumb a {
  color: #fff;
}

.section-header {
  max-width: 760px;
  margin-bottom: 26px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.13;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.35;
}

.section-header p:not(.eyebrow),
.copy-panel p,
.card p,
.latest-copy p,
.steps p,
.guidance-list p,
.mobile-copy p,
.topic-card p,
.faq-list p,
.footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.copy-panel {
  display: grid;
  gap: 16px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.copy-panel p {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card,
.steps > div,
.topic-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(7, 19, 23, 0.08);
}

.card,
.steps > div,
.topic-card {
  padding: 22px;
}

.card h2,
.topic-card h2 {
  font-size: clamp(1.16rem, 2vw, 1.45rem);
}

.card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.accent-teal span {
  background: var(--teal-dark);
}

.accent-coral span {
  background: var(--coral);
}

.accent-slate span {
  background: var(--ink-2);
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 26px;
  align-items: start;
}

.latest-copy {
  position: sticky;
  top: 94px;
  border-radius: 8px;
  padding: 28px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.latest-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.steps {
  display: grid;
  gap: 16px;
}

.steps strong {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 0.85rem;
}

.guidance-band {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  margin-top: clamp(60px, 8vw, 92px);
  padding: clamp(48px, 8vw, 76px) clamp(18px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(53, 210, 198, 0.12), rgba(242, 122, 94, 0.08)),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guidance-list {
  display: grid;
  gap: 12px;
}

.guidance-list p {
  margin: 0;
  border-left: 4px solid var(--teal);
  padding: 14px 0 14px 18px;
  background: rgba(255, 255, 255, 0.56);
}

.mobile-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.phone-shell {
  width: min(310px, 82vw);
  aspect-ratio: 9 / 16;
  justify-self: center;
  border: 12px solid #071317;
  border-radius: 34px;
  padding: 16px;
  background: #0b1b20;
  box-shadow: 0 30px 80px rgba(7, 19, 23, 0.24);
}

.phone-screen {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: hidden;
  border-radius: 22px;
  padding: 28px 18px;
  background:
    linear-gradient(180deg, rgba(53, 210, 198, 0.32), rgba(7, 19, 23, 0.95)),
    #10252c;
  color: #fff;
}

.phone-screen span {
  width: 68px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-screen strong {
  font-size: 2.4rem;
}

.phone-screen p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.phone-screen div {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  font-weight: 800;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  display: block;
  border-top: 5px solid var(--teal);
}

.topic-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.topic-card:nth-child(2),
.topic-card:nth-child(4) {
  border-top-color: var(--coral);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.article-body h2 {
  margin-top: 30px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.article-body a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  margin: 20px 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.82;
}

.note-box {
  margin-top: 22px;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(242, 122, 94, 0.1);
  color: #5b352d;
  font-weight: 800;
  line-height: 1.7;
}

.side-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

.side-nav a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(7, 19, 23, 0.06);
}

.side-nav a:hover,
.side-nav a:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 20px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 20px;
}

.footer {
  display: grid;
  gap: 18px;
  margin-top: clamp(64px, 8vw, 100px);
  padding: 42px clamp(18px, 5vw, 52px);
  background: var(--ink);
  color: #fff;
}

.footer-brand {
  width: fit-content;
}

.footer p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .hero {
    min-height: 680px;
    padding-top: 86px;
  }

  .ticker,
  .grid.three,
  .latest-layout,
  .guidance-band,
  .mobile-section,
  .content-layout,
  .page-nav-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .latest-copy {
    position: static;
  }

  .phone-shell {
    justify-self: start;
  }

  .side-nav {
    position: static;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 640px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
