:root {
  --bg: #FFF9F3;
  --surface: #FFFFFF;
  --text: #2D2A32;
  --muted: #6B6570;
  --primary: #FF8A5B;
  --primary-hover: #F27043;
  --secondary: #FFD6A5;
  --accent-mint: #B8E0D2;
  --accent-lavender: #D6C5E8;
  --accent-yellow: #FFE8A3;
  --border: #F3E7D8;
  --shadow: 0 10px 30px rgba(255, 138, 91, 0.12);
  --shadow-lg: 0 20px 50px rgba(255, 138, 91, 0.18);
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 9rem;
}

body {
  font-family: 'Rubik', sans-serif;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
.heading-primary,
.heading-secondary,
.heading-tertiary,
.form-title {
  font-family: 'Quicksand', 'Rubik', sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-primary {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 2rem;
}

.heading-secondary {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 4.8rem;
  text-align: center;
}

.heading-tertiary {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

p {
  font-size: 1.7rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  background-color: #FFE8D9;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.6rem;
}

/* CONTAINER */
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2.4rem;
  width: 100%;
}

/* BUTTON */
.btn,
.btn:link,
.btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 1.4rem 2.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Quicksand', 'Rubik', sans-serif;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:active {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
}

.btn-header {
  min-height: 44px;
  padding: 1rem 1.8rem;
  font-size: 1.4rem;
}

/* LINKS */
.link-inline {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.6rem;
  transition: color 0.2s ease;
}

.link-inline:hover {
  color: var(--primary-hover);
}

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

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

/* NOTIFICATION */
.notification {
  display: none;
  margin-top: 1.6rem;
  padding: 1.4rem 1.8rem;
  background-color: #E8F7F0;
  color: #2D7A5F;
  border-radius: var(--radius);
  font-size: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.notification.is-visible {
  display: block;
}

.notification.is-error {
  background-color: #FDECEC;
  color: #B23A3A;
}

.notification-fallback-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.notification-fallback-link:hover {
  opacity: 0.8;
}

/* Submit button pending state */
.btn.is-pending {
  opacity: 0.7;
  cursor: wait;
}

.btn:disabled {
  cursor: not-allowed;
}
