/* ============================================
   Base Reset & Typography — Clean Minimal
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: var(--fw-medium);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-md); }

p {
  color: var(--text-soft);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* — Container — */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
}

/* — Section spacing — */
.section    { padding: var(--s10) 0; }
.section-sm { padding: var(--s8) 0; }

/* — Section headings — */
.section-eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-normal);
  color: var(--text-muted);
  margin-bottom: var(--s3);
  display: block;
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-medium);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: var(--s3);
}

.section-sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--s7);
}

/* — Divider — */
.divider {
  height: 1px;
  background: var(--gray-mid);
  margin: 0 var(--s6);
}

/* — Page layout — */
.page {
  padding-top: var(--nav-h);
  padding-bottom: 72px;
}

/* — Scroll row — */
.scroll-row {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--s3) var(--s6) var(--s6);
  scroll-snap-type: x mandatory;
}
.scroll-row::-webkit-scrollbar { display: none; }

.scroll-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
