/* Putterman.io — clean, light, modern
   Single stylesheet shared across all pages. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #16181d;
  --text-soft: #5b6270;
  --border: #e6e8ec;
  --accent: #3b5bdb;
  --accent-soft: #edf0fe;
  --radius: 14px;
  --maxw: 720px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Layout ------------------------------------------------------ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header ------------------------------------------------------ */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }

/* Hero / sections --------------------------------------------- */
main { padding: 72px 0 96px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
h2 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}
.lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}
p { margin: 0 0 16px; }

/* Buttons ----------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.06s ease, opacity 0.2s ease;
}
.btn:hover { opacity: 0.92; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 10px;
}

/* Cards ------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-soft);
}
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

/* Forms ------------------------------------------------------- */
.form { margin-top: 8px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 14px;
  min-height: 1.2em;
}
.form-note.ok { color: #2b8a3e; }
.form-note.err { color: #c92a2a; }

/* Footer ------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.site-footer a { color: var(--text-soft); }

/* One-pager contact section ----------------------------------- */
.contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}
.contact h2 { margin-top: 0; }
.muted { color: var(--text-soft); margin-bottom: 20px; }

@media (max-width: 520px) {
  .nav-links { gap: 16px; }
  main { padding: 48px 0 64px; }
  .btn.secondary { margin-left: 0; margin-top: 10px; display: block; text-align: center; }
}
