:root {
  color-scheme: light;
  --ink: #17231c;
  --muted: #686f69;
  --green: #1f6b45;
  --green-deep: #144b31;
  --leaf: #dfeee3;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --line: rgba(23, 35, 28, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif;
  background: var(--cream);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); line-height: 1.65; }
a { color: inherit; }

.guide-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.guide-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50% 50% 46% 54% / 58% 48% 52% 42%;
  background: var(--green);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }

.header-action,
.step-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
.header-action { padding: 8px 18px; border: 1px solid var(--green); color: var(--green); }

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 36px 80px;
  padding: 88px 0 78px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.guide-hero h1 {
  grid-row: span 2;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.guide-hero h1 em { color: var(--green); font-style: italic; }
.hero-copy { align-self: end; margin: 0; color: var(--muted); font-size: 1.05rem; }
.hero-nav { display: grid; align-self: start; border-top: 1px solid var(--ink); }
.hero-nav a { padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }

.flow { padding: 26px 0 90px; }
.flow-step {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 40px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.flow-marker { display: flex; align-items: baseline; justify-content: space-between; color: var(--green); }
.flow-marker span { font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.flow-marker b { font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; font-weight: 500; }
.flow-content { max-width: 720px; }
.step-kicker { margin: 0 0 6px; color: var(--muted); font-size: 0.88rem; }
.flow-content h2,
.guide-note h2,
.quick-help h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.flow-content > p:not(.step-kicker) { max-width: 660px; margin: 22px 0; color: var(--muted); font-size: 1rem; }
.flow-content ul { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.flow-content li { position: relative; padding-left: 20px; }
.flow-content li::before { position: absolute; left: 0; color: var(--green); content: "✓"; font-weight: 900; }
.step-action { padding: 10px 20px; background: var(--green); color: white; }

.guide-note {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 28px;
  background: var(--green-deep);
  color: white;
}
.guide-note::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 49% 51% 44% 56% / 60% 44% 56% 40%;
  content: "";
}
.guide-note .eyebrow { color: #bfe0c8; }
.guide-note h2 { max-width: 780px; }
.guide-note > p:last-child { max-width: 720px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.78); }

.quick-help { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; padding: 96px 0; }
.quick-help dl { margin: 0; border-top: 1px solid var(--ink); }
.quick-help dl div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.quick-help dt { margin-bottom: 5px; font-weight: 800; }
.quick-help dd { margin: 0; color: var(--muted); }
.quick-help dd a { color: var(--green); font-weight: 750; }

footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer span { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
footer nav { display: flex; gap: 18px; }

a:hover { color: var(--green); }
.step-action:hover { background: #185738; color: white; }
a:focus-visible { outline: 3px solid #d59b2c; outline-offset: 4px; }

@media (max-width: 760px) {
  .guide-header, main, footer { width: min(100% - 28px, 1120px); }
  .guide-hero { grid-template-columns: 1fr; gap: 28px; padding: 60px 0; }
  .guide-hero h1 { grid-row: auto; font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .flow-step { grid-template-columns: 1fr; gap: 22px; padding: 52px 0; }
  .flow-marker { justify-content: flex-start; gap: 18px; }
  .guide-note { padding: 38px 26px; border-radius: 20px; }
  .quick-help { grid-template-columns: 1fr; gap: 38px; padding: 72px 0; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
