/* ============================================================
   SkyClean — Base Reset & Typography
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  body.has-mobile-bar {
    padding-top: var(--mobile-bar-h);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

picture,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.18;
}

h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
}

h3 {
  font-size: var(--fs-xl);
  font-weight: 650;
}

p {
  color: var(--text);
  max-width: 38em;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.75;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--primary-soft);
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 1.75rem);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--white {
  background: var(--bg-white);
}

.section--blue {
  background: var(--bg-blue);
}

.section--gray {
  background: var(--bg-gray);
}

.section--soft {
  background: var(--bg-soft);
}

/* 左對齊標題區 — 避免「置中眉題＋大標＋說明」的 AI 模板感 */
.section__header {
  text-align: left;
  max-width: 34rem;
  margin-inline: 0;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent);
}

.section__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section__title {
  margin-bottom: 0.55rem;
  line-height: 1.22;
}

.section__desc {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text);
  line-height: 1.75;
  max-width: 36em;
}

img[loading='lazy'] {
  background: var(--gray);
}
