:root {
  --ink: #14251f;
  --muted: #5f6e68;
  --paper: #f7f8f3;
  --white: #ffffff;
  --green: #176b52;
  --green-dark: #0c4937;
  --lime: #dff06a;
  --line: #d7ded8;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--white); background: var(--green); }
nav { display: flex; gap: 26px; }
nav a, .footer-links a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }
.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 106px 0 86px;
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 850px; margin: 0; font-size: clamp(52px, 8vw, 98px); line-height: .98; letter-spacing: -.065em; }
h1 span { color: var(--green); }
.hero-copy { max-width: 720px; margin: 36px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 750; text-decoration: none; }
.button.primary { color: var(--white); background: var(--green); }
.button.primary:hover, .button.primary:focus-visible { background: var(--green-dark); }
.button.secondary { border: 1px solid var(--line); background: var(--white); }
.trust-list { display: flex; gap: 28px; margin: 46px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 14px; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }
.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 720px; }
h2 { margin: 0; font-size: clamp(35px, 5vw, 58px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p:last-child, .open-source > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.feature-grid article { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.feature-grid article > span { color: var(--green); font-size: 13px; font-weight: 850; }
h3 { margin: 42px 0 10px; font-size: 23px; letter-spacing: -.025em; }
.feature-grid p { margin: 0; color: var(--muted); }
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps strong { color: var(--green); }
.steps span { color: var(--muted); }
.privacy-panel { width: min(calc(100% - 40px), var(--max)); padding: 54px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; border: 0; border-radius: 20px; color: var(--white); background: var(--green-dark); }
.privacy-panel .eyebrow { color: var(--lime); }
.privacy-copy p { margin-top: 0; color: #dce9e4; }
.privacy-copy a { color: var(--lime); font-weight: 750; text-decoration: none; }
.open-source { text-align: center; }
.open-source p { max-width: 650px; margin-left: auto; margin-right: auto; }
.text-link { color: var(--green); font-weight: 800; text-decoration: none; }
footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 48px 0; display: grid; grid-template-columns: 1fr auto; gap: 22px; }
footer div:first-child { display: flex; flex-direction: column; }
footer span, footer > p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
footer > p { grid-column: 1 / -1; margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.policy-layout { width: min(calc(100% - 40px), 920px); margin: 0 auto; padding: 80px 0 110px; }
.policy-title { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.policy-title h1 { font-size: clamp(44px, 7vw, 76px); }
.policy-title > p:last-child { color: var(--muted); }
.policy-content { max-width: 760px; margin: 0 auto; }
.policy-content section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.025em; }
.policy-content p, .policy-content li { color: #43514c; }
.policy-content ul { padding-left: 22px; }
.policy-content code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); font-size: .92em; }
.policy-content a { color: var(--green); font-weight: 700; }

@media (max-width: 780px) {
  .site-header { align-items: flex-start; padding: 18px 0; }
  nav { display: none; }
  .hero { padding: 72px 0 62px; }
  h1 { font-size: clamp(46px, 15vw, 72px); }
  .trust-list { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section { padding: 68px 0; }
  .policy-layout { padding: 56px 0 80px; }
  .feature-grid, .process, .privacy-panel { grid-template-columns: 1fr; }
  .process, .privacy-panel { gap: 34px; }
  .privacy-panel { width: calc(100% - 28px); padding: 34px 24px; }
  .steps li { grid-template-columns: 100px 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

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