:root {
  color-scheme: light;
  --ink: #1d2924;
  --muted: #65716b;
  --green: #376b50;
  --green-dark: #28543d;
  --green-pale: #eaf2ec;
  --line: #e5e9e5;
  --paper: #fff;
  --background: #f5f7f4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); line-height: 1.6; }
a { color: inherit; }
.site-header { height: 64px; display: flex; align-items: center; max-width: 700px; margin: 0 auto; padding: 0 22px; }
.brand { color: var(--green-dark); font-size: 15px; font-weight: 800; letter-spacing: .055em; text-decoration: none; }
.page-shell { width: min(100% - 32px, 660px); margin: 0 auto 60px; }
.intro { padding: 34px 4px 24px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 13px; font-weight: 700; }
.home-page { min-height: calc(100vh - 150px); }
.home-page .intro { padding-top: 72px; padding-bottom: 28px; }
.home-page h1 { margin: 0; font-size: clamp(30px, 7vw, 40px); line-height: 1.25; letter-spacing: -.045em; }
.tool-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tool-link { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; gap: 6px 14px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.tool-link:hover { border-color: #a7bdae; }
.tool-icon { width: 48px; height: 48px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 13px; background: var(--green-pale); color: var(--green-dark); font-size: 14px; font-weight: 800; }
.tool-copy { display: grid; gap: 3px; grid-column: 2; grid-row: 1; }
.tool-copy strong { font-size: 15px; }
.tool-copy span { color: var(--muted); font-size: 13px; }
.tool-action { justify-self: end; grid-column: 2; grid-row: 2; white-space: nowrap; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.site-footer { display: flex; justify-content: space-between; align-items: center; max-width: 700px; margin: 0 auto; padding: 18px 22px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration: none; }
a:focus-visible { outline: 3px solid #8bb99a; outline-offset: 3px; }

@media (min-width: 600px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { height: 72px; }
  .intro { padding-top: 42px; }
}

@media (max-width: 380px) {
  .page-shell { width: min(100% - 24px, 660px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
