:root {
  --color-navy: #001b3d;
  --color-navy-light: #002d5c;
  --color-navy-pale: #e8edf5;
  --color-terra: #cc9670;
  --color-terra-light: #d9a882;
  --color-terra-pale: #f5ede4;
  --color-terra-text: #955823;
  --color-bg: #f5f3f5;
  --color-bg-alt: #eeecea;
  --color-text: #1a1a2e;
  --color-muted: #666679;
  --color-border: #ddd9d9;
  --color-white: #ffffff;
  --color-whatsapp: #0E7C39;
  --color-whatsapp-dark: #1da851;
  --color-whatsapp-btn: #0E7C39;
  --color-whatsapp-btn-dark: #0b6e32;
  --color-error: #c0392b;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --text-display: clamp(3rem, 8vw, 6.5rem);
  --text-h1: clamp(2.25rem, 5vw, 4rem);
  --text-h2: clamp(1.75rem, 3.5vw, 3rem);
  --text-h3: clamp(1.375rem, 2.5vw, 2rem);
  --text-h4: clamp(1.125rem, 2vw, 1.5rem);
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  --lh-display: 1.05;
  --lh-heading: 1.2;
  --lh-body: 1.7;
  --lh-tight: 1.35;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.08em;
  --ls-wider: 0.12em;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;

  --container-max: 1320px;
  --container-narrow: 760px;
  --container-wide: 1520px;
  --container-padding: var(--space-4);
  --grid-gap: var(--space-4);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --border-thin: 1px solid var(--color-border);
  --border-terra: 1px solid var(--color-terra);
  --border-navy: 1px solid var(--color-navy);

  --shadow-sm: 0 1px 3px rgba(0, 27, 61, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 27, 61, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 27, 61, 0.14);

  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;
  --duration-reveal: 800ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --nav-height-mobile: 60px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:where(section, [id]) {
  scroll-margin-top: calc(var(--nav-height) + var(--space-2));
}

::selection {
  background: var(--color-terra);
  color: var(--color-navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-navy);
  line-height: var(--lh-heading);
  font-weight: 400;
  text-wrap: balance;
}
h1 {
  font-size: var(--text-h1);
  letter-spacing: var(--ls-tight);
}
h2 {
  font-size: var(--text-h2);
}
h3 {
  font-size: var(--text-h3);
  font-weight: 600;
}
h4 {
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: var(--lh-tight);
}
h5 {
  font-size: var(--text-body-lg);
  font-weight: 600;
}
h6 {
  font-size: var(--text-body);
  font-weight: 600;
}

p {
  max-width: 68ch;
  text-wrap: pretty;
}
ul,
ol {
  list-style-position: inside;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}
a:hover {
  color: var(--color-terra);
}

strong,
b {
  font-weight: 600;
}
em,
i {
  font-style: italic;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-terra);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) {
  outline: none;
}
