
:root {
  /* Apple-style palette */
  --primary-color: #ffffff;              /* Main card / surface */
  --secondary-color: #f5f5f7;            /* Section background */
  --accent-color: #0071e3;               /* Apple blue for CTAs */
  --background-color: #fbfbfd;           /* Page background */
  --dark-background-color: #000000;      /* Dark hero / footer */

  --text-color: #1d1d1f;                 /* Primary text (near-black) */

  --nav-background-color: rgba(0, 0, 0, 0.92);
  --nav-text-color: #f5f5f7;
  --nav-active-background: transparent;
  --nav-active-text: #ffffff;

  --dark-button-color: #1d1d1f;
  --button-color: #0071e3;
  --button-hover-color: #2584ff;
  --button-text-color: #ffffff;

  --border-color: rgba(0, 0, 0, 0.08);

  --heading-2-size: 3.5rem;

  --site-max-width: 1400px;
  --cell-max-width: calc(
    (var(--site-max-width, 1500px) - (11px * (24 - 1))) / 24
  );

  /* Extra tokens for Apple-ish shapes */
  --card-radius-lg: 28px;
  --card-radius-md: 20px;
  --card-radius-sm: 12px;

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Global typography – Apple-ish system stack */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    system-ui, -system-ui, "Segoe UI", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

body {
  background-color: var(--background-color);
  font-size: 18px;
  color: var(--text-color);
  width: 100%;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

.centered {
  max-width: var(--site-max-width);
  margin: 0 auto;
}
.full-width {
  width: 100%;
  max-width: 100%;
}

img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Headings – bold, tight line-height */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-color);
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.05;
}
h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
}
p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Links – neutral, underline on hover */
a {
  /* color: var(--accent-color); */
  text-decoration: none;
}
a:hover {
  /* text-decoration: underline; */
}

/* Generic “card” feel – used by many components */
.section-card,
.card,
.clemo-card {
  background-color: var(--primary-color);
  border-radius: var(--card-radius-lg);
  box-shadow: var(--shadow-card);
}

/* Primary button style – aligns with Apple blue pill */
.btn,
.afhBtn,
.clemo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;

  padding: 0.55rem 1.4rem;
  border-radius: 999px;

  background-color: var(--button-color);
  color: var(--button-text-color);
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover,
.afhBtn:hover,
.clemo-btn:hover {
  background-color: var(--button-hover-color);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
.btn:active,
.afhBtn:active,
.clemo-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline button (secondary) */
.clemo-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.clemo-btn-outline:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Shared container width */
.page-wrapper {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.full-width {
  width: 100vw;
  max-width: 100%;
}
.centered {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
}
.shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  section {
    padding: 56px 16px;
  }
}
