:root {
  --color-warm-white: #f6f7f2;
  --color-white: #ffffff;
  --color-graphite: #202824;
  --color-leaf: #76a66a;
  --color-pale-lime: #dce8ad;
  --color-mineral: #dde2da;
  --color-clay: #d98a60;
  --color-focus: #d98a60;
  --color-muted: #5e6862;
  --color-divider: rgba(32, 40, 36, 0.16);
  --color-disabled: #88908b;
  --color-error-surface: #f1f0eb;

  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.875rem;
  --text-3xl: clamp(2rem, 4vw, 2.5rem);
  --text-display: clamp(2.375rem, 6vw, 3.5rem);

  --leading-tight: 1.15;
  --leading-heading: 1.2;
  --leading-body: 1.5;
  --leading-relaxed: 1.625;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 650;
  --weight-bold: 750;

  --tracking-label: 0.08em;

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

  --container-max: 77.5rem;
  --container-padding: 2rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  --border-default: 1px solid var(--color-mineral);
  --border-divider: 1px solid var(--color-divider);
  --shadow-raised: 0 8px 24px rgba(32, 40, 36, 0.08);

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

@media (max-width: 767px) {
  :root {
    --container-padding: 1.25rem;
  }
}

@media (max-width: 479px) {
  :root {
    --container-padding: 1rem;
  }
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-warm-white);
  color: var(--color-graphite);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

img {
  height: auto;
}

svg {
  flex: 0 0 auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

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

hr {
  height: 0;
  margin: var(--space-8) 0;
  border: 0;
  border-top: var(--border-divider);
}

[hidden] {
  display: none !important;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

:where(a) {
  color: var(--color-graphite);
  text-decoration-color: currentcolor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

:where(a:hover) {
  color: var(--color-leaf);
}

:where(p) {
  margin: 0 0 var(--space-4);
}

:where(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 var(--space-4);
  color: var(--color-graphite);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
  line-height: var(--leading-heading);
  text-wrap: balance;
}

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

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
  line-height: 1.2;
}

h4 {
  font-size: var(--text-xl);
  line-height: 1.27;
}

h5,
h6 {
  font-size: var(--text-lg);
  line-height: 1.3;
}

:where(ul, ol) {
  margin: 0 0 var(--space-4);
  padding-inline-start: 1.5em;
}

:where(li) {
  min-width: 0;
}

:where(blockquote) {
  margin: 0 0 var(--space-6);
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-inline-start: 3px solid var(--color-leaf);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

:where(figure) {
  margin: 0 0 var(--space-6);
}

:where(figcaption) {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.43;
}

:where(dl) {
  margin: 0 0 var(--space-4);
}

:where(dt) {
  font-weight: var(--weight-semibold);
}

:where(dd) {
  margin: 0 0 var(--space-3);
}

:where(main, header, footer, section, article, aside, nav, form, fieldset) {
  min-width: 0;
}

:where(fieldset) {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

:where(legend) {
  margin-bottom: var(--space-3);
  padding: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
}

:where(label) {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.43;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea) {
  width: 100%;
  min-width: 0;
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-graphite);
  font-size: var(--text-base);
  line-height: 1.5;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select) {
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
}

:where(textarea) {
  padding: 0.75rem 0.875rem;
}

:where(select) {
  appearance: none;
  padding-right: 2.75rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-graphite) 50%),
    linear-gradient(135deg, var(--color-graphite) 50%, transparent 50%);
  background-position:
    calc(100% - 1.125rem) 50%,
    calc(100% - 0.8125rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.375rem 0.375rem, 0.375rem 0.375rem;
}

:where(input[type="checkbox"], input[type="radio"]) {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--color-graphite);
}

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

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea):hover {
  border-color: var(--color-graphite);
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea):disabled {
  border-color: var(--color-mineral);
  background: #eef0eb;
  color: var(--color-disabled);
  opacity: 1;
}

:where(button):disabled {
  border-color: var(--color-mineral);
  background: #eef0eb;
  color: var(--color-disabled);
  opacity: 1;
}

:where(progress) {
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-mineral);
  color: var(--color-leaf);
}

:where(progress::-webkit-progress-bar) {
  background: var(--color-mineral);
}

:where(progress::-webkit-progress-value) {
  background: var(--color-leaf);
}

:where(progress::-moz-progress-bar) {
  background: var(--color-leaf);
}

:where([role="alert"]) {
  color: var(--color-graphite);
}

.container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.stack > * {
  min-width: 0;
}

.stack > * + * {
  margin-block-start: var(--space-4);
}

.stack--compact > * + * {
  margin-block-start: var(--space-2);
}

.stack--relaxed > * + * {
  margin-block-start: var(--space-6);
}

.stack--spacious > * + * {
  margin-block-start: var(--space-8);
}

.stack > :last-child {
  margin-block-end: 0;
}

.content-list {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding-inline-start: 1.5em;
}

.content-list > li {
  min-width: 0;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.cluster > * {
  min-width: 0;
}

.cluster--compact {
  gap: var(--space-2);
}

.cluster--spacious {
  gap: var(--space-5);
}

.surface {
  min-width: 0;
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.surface--padded {
  padding: var(--space-6);
}

.surface--raised {
  box-shadow: var(--shadow-raised);
}

.surface--lime {
  border-color: transparent;
  background: var(--color-pale-lime);
}

.divider {
  border: 0;
  border-top: var(--border-divider);
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  line-height: 1.33;
  text-transform: uppercase;
}

.price {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-semibold);
}

.muted {
  color: var(--color-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  max-width: 100%;
  gap: var(--space-2);
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--color-graphite);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.button:hover {
  background: #303a35;
  color: var(--color-white);
}

.button--secondary {
  border-color: var(--color-graphite);
  background: var(--color-white);
  color: var(--color-graphite);
}

.button--secondary:hover {
  border-color: var(--color-leaf);
  background: var(--color-pale-lime);
  color: var(--color-graphite);
}

.button--green {
  border-color: var(--color-leaf);
  background: var(--color-leaf);
  color: var(--color-graphite);
}

.button--green:hover {
  border-color: #639357;
  background: #639357;
  color: var(--color-graphite);
}

.button--text {
  min-height: auto;
  padding: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  color: var(--color-graphite);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.button--text:hover {
  background: transparent;
  color: var(--color-leaf);
}

.button--full {
  width: 100%;
}

.notice {
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--color-graphite);
}

.notice > :last-child {
  margin-block-end: 0;
}

.notice--info,
.notice--success {
  border-color: rgba(118, 166, 106, 0.35);
  background: var(--color-pale-lime);
}

.notice--warning {
  border-color: rgba(217, 138, 96, 0.45);
  background: #f6dfd3;
}

.notice--error {
  border-color: var(--color-mineral);
  background: var(--color-error-surface);
}

.field-help,
.field-error {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  line-height: 1.43;
}

.field-help {
  color: var(--color-muted);
}

.field-error {
  color: var(--color-graphite);
  font-weight: var(--weight-medium);
}

.is-invalid {
  border-color: var(--color-clay) !important;
}

@media (max-width: 767px) {
  .surface--padded {
    padding: var(--space-5);
  }
}

@media (max-width: 479px) {
  .surface--padded {
    padding: var(--space-4);
  }

  .button {
    width: 100%;
  }

  .cluster .button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}