/* ===== Aus Used Golf Balls — Design Tokens ===== */
:root {
  --green-900: #14231B;   /* text */
  --green-800: #1F3D2B;   /* primary / fairway */
  --green-700: #2C5A3E;
  --green-100: #E8EFE7;
  --sand-300: #D9C9A3;    /* bunker sand, section bg */
  --sand-100: #F1EAD8;
  --paper: #F6F7F2;       /* base background */
  --white: #FFFFFF;
  --flag-600: #C1443C;    /* accent / CTA */
  --flag-700: #A5362F;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--green-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 62ch; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--flag-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--flag-700); }

.btn-outline {
  background: transparent;
  border-color: var(--green-800);
  color: var(--green-800);
}
.btn-outline:hover { background: var(--green-800); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2.5px solid var(--flag-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
