@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:           #F8F6F1;
  --color-surface:      #FFFFFF;
  --color-surface-alt:  #F2EFE9;
  --color-border:       #E3DED5;
  --color-border-light: #EDE9E2;
  --color-text:         #1A1A18;
  --color-text-muted:   #6B6560;
  --color-text-faint:   #9E9890;
  --color-accent:       #3D5C35;
  --color-accent-hover: #2E4528;
  --color-accent-light: #EEF3EB;
  --color-warning:      #8B5E1A;
  --color-warning-bg:   #FDF3E3;
  --color-warning-border: #D4943A;
  --color-success:      #2E6B47;
  --color-success-bg:   #E8F4EE;
  --color-error:        #8B2A2A;
  --color-error-bg:     #FDEAEA;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-xs:   12px;
  --font-size-sm:   13px;
  --font-size-base: 15px;
  --font-size-md:   17px;
  --font-size-lg:   21px;
  --font-size-xl:   27px;
  --line-height:    1.6;

  --font-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;

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

  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
}

html {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
}

h1 { font-size: var(--font-size-xl); }
h2 { font-size: var(--font-size-lg); }
h3 { font-size: var(--font-size-md); }

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-5) 0;
}

.hidden { display: none !important; }
.btn-block { width: 100%; }
.cursor-pointer { cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
