/* main.css — shared containers, typography, utilities */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--color-ink);
  background: var(--color-white);
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  overflow: hidden;
}

.link {
  color: red;
}

/* Fluid horizontal padding shared by sections.
   Scales between mobile (20px) and web (80px). */
.container {
  width: 100%;
  padding-left: clamp(20px, 4.17vw, 80px);
  padding-right: clamp(20px, 4.17vw, 80px);
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.1;
}

p {
  line-height: 1.5;
}

/* Primary gradient button, reused across sections */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: clamp(16px, 1.67vw, 32px);
  line-height: 1.3;
  padding: clamp(14px, 1.04vw, 20px) clamp(28px, 3.44vw, 66px);
  border-radius: clamp(16px, 1.35vw, 26px);
  background-image: linear-gradient(17deg, #38a78c 60%, #7cc0a5 120%);
  box-shadow: 0 10px 24px rgba(56, 167, 140, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(56, 167, 140, 0.35);
}

/* Glass button variant on dark/green backgrounds */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--color-ink);
  font-size: clamp(16px, 1.67vw, 32px);
  line-height: 1.3;
  padding: clamp(16px, 1.67vw, 32px) clamp(30px, 4.06vw, 78px);
  border-radius: clamp(16px, 1.35vw, 26px);
  background: rgba(255, 255, 255, 0.45);
  border: 4px solid var(--color-white);
  transition: background 0.2s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.7);
}

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