:root {
  --color-cloud-white: #F8F9FA;
  --color-electric-violet: #7B2FBE;
  --color-aqua-blue: #00C2D1;
  --color-citrus-yellow: #FFD100;
  --color-coral-orange: #FF6B35;
  --color-ink-dark: #1A1A2E;
  --color-slate-gray: #4A4A5A;
  --color-white-translucent: rgba(255, 255, 255, 0.7);
  --color-violet-translucent: rgba(123, 47, 190, 0.1);
  --color-border-subtle: rgba(26, 26, 46, 0.1);
  --color-focus-outline: #7B2FBE;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --text-display-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  --text-display-line-height: 1.14;
  --text-display-weight: 700;
  --text-display-tracking: -0.02em;

  --text-h1-size: clamp(2rem, 3.5vw + 0.75rem, 2.5rem);
  --text-h1-line-height: 1.2;
  --text-h1-weight: 700;
  --text-h1-tracking: -0.01em;

  --text-h2-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  --text-h2-line-height: 1.25;
  --text-h2-weight: 600;
  --text-h2-tracking: -0.01em;

  --text-h3-size: 1.5rem;
  --text-h3-line-height: 1.33;
  --text-h3-weight: 600;
  --text-h3-tracking: 0;

  --text-h4-size: 1.25rem;
  --text-h4-line-height: 1.4;
  --text-h4-weight: 600;
  --text-h4-tracking: 0;

  --text-body-large-size: 1.125rem;
  --text-body-large-line-height: 1.55;
  --text-body-large-weight: 400;

  --text-body-size: 1rem;
  --text-body-line-height: 1.5;
  --text-body-weight: 400;

  --text-small-size: 0.875rem;
  --text-small-line-height: 1.43;
  --text-small-weight: 400;

  --text-caption-size: 0.75rem;
  --text-caption-line-height: 1.33;
  --text-caption-weight: 500;
  --text-caption-tracking: 0.08em;

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

  --container-max: 1200px;
  --container-padding: var(--space-5);
  --section-padding-desktop: var(--space-9);
  --section-padding-tablet: var(--space-8);
  --section-padding-mobile: var(--space-7);
  --card-padding: var(--space-5);
  --grid-gap-desktop: var(--space-5);
  --grid-gap-mobile: var(--space-4);

  --surface-glass: var(--color-white-translucent);
  --surface-solid: #ffffff;
  --surface-hover: var(--color-violet-translucent);
  --surface-accent-gradient: linear-gradient(135deg, var(--color-electric-violet), var(--color-aqua-blue));

  --border-subtle: 1px solid var(--color-border-subtle);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.08);

  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;

  --backdrop-blur: 10px;
  --transition-color: 200ms ease;
  --transition-transform: 300ms ease;
  --min-touch-target: 44px;
}

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

* {
  margin: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: var(--text-body-weight);
  color: var(--color-ink-dark);
  background-color: var(--color-cloud-white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

a {
  color: var(--color-electric-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-color);
}

a:hover {
  color: var(--color-aqua-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-focus-outline);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-ink-dark);
  line-height: 1.2;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  letter-spacing: var(--text-h1-tracking);
  margin-block-end: var(--space-5);
}

h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-tracking);
  margin-block-end: var(--space-4);
}

h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  letter-spacing: var(--text-h3-tracking);
  margin-block-end: var(--space-3);
}

h4 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  letter-spacing: var(--text-h4-tracking);
  margin-block-end: var(--space-3);
}

h5,
h6 {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: 600;
  margin-block-end: var(--space-2);
}

p {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  margin-block-end: var(--space-4);
}

p:last-child {
  margin-block-end: 0;
}

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

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

blockquote {
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-4);
  border-inline-start: 4px solid var(--color-electric-violet);
  color: var(--color-slate-gray);
}

blockquote:last-child {
  margin-block-end: 0;
}

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

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  color: var(--color-slate-gray);
  margin-block-start: var(--space-2);
}

hr {
  border: none;
  border-block-start: var(--border-subtle);
  margin-block: var(--space-6);
}

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

strong {
  font-weight: 600;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  background-color: rgba(26, 26, 46, 0.05);
  border-radius: var(--radius-small);
}

code {
  padding: 0.2em 0.4em;
}

pre {
  padding: var(--space-4);
  overflow-x: auto;
  margin-block-end: var(--space-4);
}

pre:last-child {
  margin-block-end: 0;
}

pre code {
  background: none;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-4);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

table:last-child {
  margin-block-end: 0;
}

th,
td {
  padding: var(--space-3) var(--space-4);
  text-align: start;
  border-block-end: var(--border-subtle);
}

th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-ink-dark);
  background-color: rgba(123, 47, 190, 0.05);
}

caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  color: var(--color-slate-gray);
  margin-block-end: var(--space-2);
  text-align: start;
}

label {
  display: block;
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: 600;
  color: var(--color-ink-dark);
  margin-block-end: var(--space-2);
}

input,
textarea,
select {
  width: 100%;
  min-height: var(--min-touch-target);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-ink-dark);
  background-color: var(--surface-solid);
  border: var(--border-subtle);
  border-radius: var(--radius-small);
  transition: border-color var(--transition-color), box-shadow var(--transition-color);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-slate-gray);
  opacity: 0.7;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-electric-violet);
  box-shadow: 0 0 0 3px rgba(123, 47, 190, 0.15);
  outline: none;
}

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

select {
  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='%234A4A5A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-inline-end: var(--space-8);
}

fieldset {
  border: var(--border-subtle);
  border-radius: var(--radius-medium);
  padding: var(--space-5);
  margin-block-end: var(--space-4);
}

fieldset:last-child {
  margin-block-end: 0;
}

legend {
  font-family: var(--font-heading);
  font-weight: 600;
  padding-inline: var(--space-2);
  color: var(--color-ink-dark);
}

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

.section {
  padding-block: var(--section-padding-desktop);
}

.surface-glass {
  background-color: var(--surface-glass);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  border: var(--border-subtle);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.surface-solid {
  background-color: var(--surface-solid);
  border: var(--border-subtle);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.surface-accent {
  background: var(--surface-accent-gradient);
  color: var(--color-cloud-white);
  border-radius: var(--radius-medium);
}

.radius-small {
  border-radius: var(--radius-small);
}

.radius-medium {
  border-radius: var(--radius-medium);
}

.radius-large {
  border-radius: var(--radius-large);
}

.radius-pill {
  border-radius: var(--radius-pill);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--min-touch-target);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-small-size);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: transform var(--transition-transform), box-shadow var(--transition-transform), background-color var(--transition-color), color var(--transition-color);
  user-select: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.btn:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-card);
}

.btn-primary {
  background-color: var(--color-coral-orange);
  color: var(--color-cloud-white);
}

.btn-primary:hover {
  background-color: #e55a2a;
  color: var(--color-cloud-white);
}

.btn-secondary {
  background-color: var(--color-citrus-yellow);
  color: var(--color-ink-dark);
}

.btn-secondary:hover {
  background-color: #e6bc00;
  color: var(--color-ink-dark);
}

.btn-tertiary {
  background: none;
  color: var(--color-electric-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-inline: var(--space-2);
  min-height: var(--min-touch-target);
}

.btn-tertiary:hover {
  color: var(--color-aqua-blue);
  transform: none;
  box-shadow: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background-color: var(--color-violet-translucent);
  color: var(--color-electric-violet);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(26, 26, 46, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-aqua-blue), var(--color-electric-violet));
  border-radius: var(--radius-pill);
}

.flex {
  display: flex;
  gap: var(--space-4);
  min-width: 0;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.flex-start {
  align-items: flex-start;
}

.flex-end {
  align-items: flex-end;
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-auto {
  flex: 0 1 auto;
  min-width: 0;
}

.flex-none {
  flex: none;
}

.flex-grow {
  flex-grow: 1;
}

.grid-auto {
  display: grid;
  gap: var(--grid-gap-desktop);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.grid-auto > * {
  min-width: 0;
}

.list-unstyled {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
}

.content-list {
  list-style: disc;
  padding-inline-start: var(--space-5);
  margin-block-end: var(--space-4);
}

.content-list > li {
  margin-block-end: var(--space-2);
  padding-inline-start: var(--space-1);
}

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

.content-list > li::marker {
  color: var(--color-electric-violet);
}

.text-display {
  font-family: var(--font-heading);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  letter-spacing: var(--text-display-tracking);
  color: var(--color-ink-dark);
}

.text-h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  letter-spacing: var(--text-h1-tracking);
  color: var(--color-ink-dark);
}

.text-h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-tracking);
  color: var(--color-ink-dark);
}

.text-h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  letter-spacing: var(--text-h3-tracking);
  color: var(--color-ink-dark);
}

.text-h4 {
  font-family: var(--font-heading);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  letter-spacing: var(--text-h4-tracking);
  color: var(--color-ink-dark);
}

.text-body-large {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  font-weight: var(--text-body-large-weight);
}

.text-body {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: var(--text-body-weight);
}

.text-small {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: var(--text-small-weight);
}

.text-caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
}

.text-secondary {
  color: var(--color-slate-gray);
}

.text-primary {
  color: var(--color-electric-violet);
}

.text-accent {
  color: var(--color-coral-orange);
}

.mt-1 { margin-block-start: var(--space-1); }
.mt-2 { margin-block-start: var(--space-2); }
.mt-3 { margin-block-start: var(--space-3); }
.mt-4 { margin-block-start: var(--space-4); }
.mt-5 { margin-block-start: var(--space-5); }
.mt-6 { margin-block-start: var(--space-6); }
.mt-7 { margin-block-start: var(--space-7); }
.mt-8 { margin-block-start: var(--space-8); }

.mb-1 { margin-block-end: var(--space-1); }
.mb-2 { margin-block-end: var(--space-2); }
.mb-3 { margin-block-end: var(--space-3); }
.mb-4 { margin-block-end: var(--space-4); }
.mb-5 { margin-block-end: var(--space-5); }
.mb-6 { margin-block-end: var(--space-6); }
.mb-7 { margin-block-end: var(--space-7); }
.mb-8 { margin-block-end: var(--space-8); }

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

@media (max-width: 1024px) {
  .section {
    padding-block: var(--section-padding-tablet);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
  }

  .section {
    padding-block: var(--section-padding-mobile);
  }

  .grid-auto {
    gap: var(--grid-gap-mobile);
  }

  .flex-between {
    flex-wrap: wrap;
  }
}

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

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