/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* Body */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.2s, color 0.2s;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 104px 0; }

/* Typography helpers */
.lbl {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-m);
  margin-bottom: 14px;
}
.hdg {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
}
.sub {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-p { background: var(--fg); color: var(--bg); }
.btn-p:hover { opacity: 0.82; transform: translateY(-1px); }
.btn-s { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-s:hover { background: var(--surface); border-color: var(--fg-m); }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* Arrow link */
.arr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.18s, gap 0.18s;
}
.arr:hover { color: var(--fg); gap: 8px; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 3px;
}
