:root {
  --color-pearl-sand: #FCFAF5;
  --color-dune-beige: #EDE3D5;
  --color-atlantic-turquoise: #238C98;
  --color-coral-bloom: #E58A7A;
  --color-sunlit-marigold: #D8AE62;
  --color-deep-ocean-ink: #253A43;
  --color-pure-white: #FFFFFF;
  --color-muted-ink: #5E6B70;
  --color-error-coral: #B4493A;

  --font-heading: 'Italiana', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --text-display: clamp(3.2rem, 7vw, 6.5rem);
  --text-h1: clamp(2.6rem, 5vw, 4.5rem);
  --text-h2: clamp(2rem, 3.4vw, 3.2rem);
  --text-h3: 1.6rem;
  --text-body-large: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.75rem;
  --text-data: 0.875rem;

  --leading-display: 0.95;
  --leading-h1: 1.0;
  --leading-h2: 1.08;
  --leading-h3: 1.2;
  --leading-body-large: 1.65;
  --leading-body: 1.6;
  --leading-small: 1.5;
  --leading-label: 1.4;
  --leading-data: 1.4;

  --tracking-display: -0.02em;
  --tracking-label: 0.06em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  --container-max: 1360px;
  --gutter-mobile: 20px;
  --gutter-tablet: 32px;
  --gutter-desktop: 48px;

  --surface-page: var(--color-pearl-sand);
  --surface-section: var(--color-dune-beige);
  --surface-card: var(--color-pure-white);
  --surface-dark: var(--color-deep-ocean-ink);

  --border-color-default: var(--color-dune-beige);
  --border-color-strong: rgba(37, 58, 67, 0.2);
  --border-width-default: 1px;

  --shadow-sticky: 0 2px 8px rgba(37, 58, 67, 0.08);
  --shadow-drawer: 0 0 24px rgba(37, 58, 67, 0.12);

  --radius-default: 2px;
  --radius-small: 4px;
  --radius-pill: 999px;

  --focus-ring-color: var(--color-atlantic-turquoise);
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;

  --transition-fast: 160ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 220ms ease;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-deep-ocean-ink);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-deep-ocean-ink);
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
}

h4 {
  font-size: 1.25rem;
  line-height: 1.3;
}

h5 {
  font-size: 1.1rem;
  line-height: 1.35;
}

h6 {
  font-size: 1rem;
  line-height: 1.4;
}

p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-deep-ocean-ink);
  overflow-wrap: break-word;
}

a {
  color: var(--color-atlantic-turquoise);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-coral-bloom);
}

a:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-default);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
}

dl,
dd,
dt {
  margin: 0;
  padding: 0;
}

blockquote {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
  padding: 0;
}

figcaption {
  margin: 0;
  padding: 0;
}

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

img {
  border-radius: var(--radius-default);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-default);
}

input,
select,
textarea {
  border-radius: var(--radius-default);
  border: var(--border-width-default) solid var(--border-color-default);
  background-color: var(--color-pure-white);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-deep-ocean-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted-ink);
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-atlantic-turquoise);
  box-shadow: 0 0 0 1px var(--color-atlantic-turquoise);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235E6B70' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-6);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: var(--space-2) var(--space-3);
}

hr {
  border: none;
  border-top: var(--border-width-default) solid var(--border-color-default);
  margin: var(--space-6) 0;
}

code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

@media (min-width: 640px) {
  .container {
    padding-inline: var(--gutter-tablet);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--gutter-desktop);
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote,
figure,
dl {
  margin-block-end: var(--space-4);
}

h1 {
  margin-block-end: var(--space-5);
}

h2 {
  margin-block-end: var(--space-4);
}

h3 {
  margin-block-end: var(--space-3);
}

h4,
h5,
h6 {
  margin-block-end: var(--space-3);
}

p {
  margin-block-end: var(--space-4);
}

ul,
ol {
  margin-block-end: var(--space-4);
}

blockquote {
  margin-block-end: var(--space-4);
}

figure {
  margin-block-end: var(--space-4);
}

dl {
  margin-block-end: var(--space-4);
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
p:last-child,
ul:last-child,
ol:last-child,
blockquote:last-child,
figure:last-child,
dl:last-child {
  margin-block-end: 0;
}

.content-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-list li {
  margin-block-end: var(--space-2);
}

.content-list li:last-child {
  margin-block-end: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-default);
  border: var(--border-width-default) solid transparent;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.btn-primary {
  background-color: var(--color-atlantic-turquoise);
  color: var(--color-pearl-sand);
  border-color: var(--color-atlantic-turquoise);
}

.btn-primary:hover {
  background-color: var(--color-coral-bloom);
  border-color: var(--color-coral-bloom);
  color: var(--color-pearl-sand);
}

.btn-secondary {
  background-color: #fff;
  color: var(--color-deep-ocean-ink);
  border-color: var(--color-deep-ocean-ink);
}

.btn-secondary:hover {
  background-color: #000;
  color: var(--color-pearl-sand);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-atlantic-turquoise);
  border-color: transparent;
  padding-inline: var(--space-3);
}

.btn-tertiary:hover {
  color: var(--color-coral-bloom);
  background-color: rgba(35, 140, 152, 0.06);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  line-height: var(--leading-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  background-color: var(--color-atlantic-turquoise);
  color: var(--color-pearl-sand);
  min-width: 20px;
  min-height: 20px;
}

.badge-outline {
  background-color: transparent;
  border: var(--border-width-default) solid var(--color-atlantic-turquoise);
  color: var(--color-atlantic-turquoise);
}

.badge-coral {
  background-color: var(--color-coral-bloom);
  color: var(--color-pearl-sand);
}

.badge-muted {
  background-color: var(--color-muted-ink);
  color: var(--color-pearl-sand);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  font-weight: 500;
  color: var(--color-deep-ocean-ink);
  margin-block-end: var(--space-2);
}

.form-hint {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-muted-ink);
  margin-block-start: var(--space-2);
}

.form-error {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-error-coral);
  margin-block-start: var(--space-2);
}

.form-field {
  width: 100%;
}

.form-field-error {
  border-color: var(--color-error-coral);
}

.form-field-error:focus {
  border-color: var(--color-error-coral);
  box-shadow: 0 0 0 1px var(--color-error-coral);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-data);
  line-height: var(--leading-data);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.label-uppercase {
  font-family: var(--font-body);
  font-size: var(--text-label);
  line-height: var(--leading-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: 500;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 10000;
  background-color: var(--color-atlantic-turquoise);
  color: var(--color-pearl-sand);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-default);
  font-weight: 500;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}