@import url("https://rsms.me/inter/inter.css");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

:root {
  --bg: #fbfbf9;
  --bg-soft: #f4f6f2;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.78);

  --accent: #5b8a6a;
  --accent-soft: #e7efe9;
  --accent-strong: #3f6650;
  --accent-bright: #7eb08e;
  --accent-glow: rgba(91, 138, 106, 0.35);

  --warm: #c9a37a;
  --warm-soft: #f4e9d8;

  --text: #1d1f1d;
  --text-secondary: #4d524d;
  --text-muted: #888c89;
  --text-faint: #b6bab6;

  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.10);

  --shadow-xs: 0 1px 2px rgba(20, 32, 24, 0.04);
  --shadow-sm: 0 2px 6px rgba(20, 32, 24, 0.05), 0 1px 2px rgba(20, 32, 24, 0.03);
  --shadow-md: 0 8px 28px rgba(20, 32, 24, 0.08), 0 2px 8px rgba(20, 32, 24, 0.04);
  --shadow-lg: 0 24px 60px rgba(20, 32, 24, 0.12), 0 4px 12px rgba(20, 32, 24, 0.06);
  --shadow-glow: 0 0 0 1px rgba(91, 138, 106, 0.25), 0 8px 32px rgba(91, 138, 106, 0.18);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --font-sans: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
}
@supports (font-variation-settings: normal) {
  :root { --font-sans: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif; }
}

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