/* ==========================================================================
   Bedoott — Base styles (reset, typography, layout primitives)
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  font-feature-settings: "ss01", "cv01";
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }
a        { color: inherit; }
button   { font: inherit; cursor: pointer; border: 0; background: none; }

/* Headings */
h1, h2, h3, h4 {
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 6.2vw, 82px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 20px; font-weight: 600; }
p  { margin: 0; text-wrap: pretty; }

/* Utility classes */
.mono       { font-family: var(--font-mono); font-feature-settings: "ss01"; }
.container  { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.section        { padding-block: var(--section-y); }
.section-tight  { padding-block: clamp(56px, 7vw, 100px); }

/* Eyebrow / pill label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 7px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.eyebrow--dark {
  background: rgba(255, 255, 255, 0.06);
  color: #B8BFC8;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0E1824; transform: translateY(-1px); }

.btn-accent {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 22px -8px color-mix(in oklab, var(--primary) 70%, transparent);
}
.btn-accent:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-link {
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { gap: 10px; }

.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Placeholder utility (for development screenshots) */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(65, 101, 130, 0.06) 0 2px,
      transparent 2px 11px),
    var(--paper-warm);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  letter-spacing: 0.03em;
}
