@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --color-midnight-950: #090711;
  --color-midnight-900: #100d1c;
  --color-violet-800: #24153f;
  --color-violet-600: #59328a;
  --color-white-100: #fff9ff;
  --color-lavender-200: #d8cbe8;
  --color-magenta-500: #f542b7;
  --color-turquoise-400: #43e0d0;
  --color-orange-400: #ff9a45;

  --color-text: var(--color-white-100);
  --color-text-muted: var(--color-lavender-200);
  --color-background: var(--color-midnight-950);
  --color-surface: var(--color-midnight-900);
  --color-surface-accent: var(--color-violet-800);
  --color-border: rgb(216 203 232 / 18%);
  --color-border-strong: rgb(216 203 232 / 28%);
  --color-focus: var(--color-turquoise-400);

  --gradient-violet-orange: linear-gradient(110deg, #59328a 0%, #f542b7 52%, #ff9a45 100%);
  --gradient-pink-turquoise: linear-gradient(110deg, #f542b7 0%, #43e0d0 100%);

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3.25rem;
  --text-display: clamp(3rem, 8vw, 6.5rem);

  --leading-tight: 1.05;
  --leading-heading: 1.1;
  --leading-body: 1.65;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --container-mobile: calc(100% - 2rem);
  --container-desktop: min(100% - 2.5rem, 75rem);
  --container-text: 42.5rem;

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

  --shadow-surface: 0 12px 40px rgb(0 0 0 / 32%);
  --shadow-neon-magenta: 0 0 24px rgb(245 66 183 / 22%);
  --shadow-neon-turquoise: 0 0 24px rgb(67 224 208 / 18%);

  --transition-fast: 180ms ease-out;
  --transition-image: 240ms ease-out;
}

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

html {
  min-width: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--color-background);
  color-scheme: dark;
  overflow-x: clip;
}

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

main,
header,
footer,
section,
article,
aside,
nav,
div,
form,
fieldset,
figure,
figcaption {
  min-width: 0;
}

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

img,
video {
  height: auto;
}

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

button,
select {
  text-transform: none;
}

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

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

a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration-color: rgb(67 224 208 / 70%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition:
    color var(--transition-fast),
    text-decoration-color var(--transition-fast),
    text-decoration-thickness var(--transition-fast);
}

a:hover {
  color: var(--color-white-100);
  text-decoration-color: var(--color-magenta-500);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

::selection {
  background: var(--color-magenta-500);
  color: var(--color-white-100);
}

[hidden] {
  display: none !important;
}

:where(h1, h2, h3, h4, h5, h6, p, li, blockquote, dd, dt, figcaption, label, legend) {
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 0 var(--space-4);
  color: var(--color-white-100);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: var(--leading-tight);
  letter-spacing: -0.035em;
  text-shadow: 0 0 20px rgb(245 66 183 / 12%);
}

h2 {
  font-size: clamp(2rem, 3.6vw, var(--text-4xl));
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  text-shadow: 0 0 18px rgb(245 66 183 / 10%);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, var(--text-3xl));
  line-height: 1.08;
}

h4 {
  font-size: var(--text-2xl);
}

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

h6 {
  font-size: var(--text-lg);
}

p {
  margin-block: 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: inherit;
  font-weight: 400;
  line-height: var(--leading-body);
}

strong,
b {
  color: var(--color-white-100);
  font-weight: 700;
}

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

mark {
  background: rgb(245 66 183 / 20%);
  color: var(--color-white-100);
}

hr {
  height: 1px;
  margin-block: var(--space-7);
  border: 0;
  background: var(--color-border);
}

ul,
ol {
  margin-block: 0 var(--space-5);
  padding-inline-start: 1.35em;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-block: var(--space-2) 0;
}

li::marker {
  color: var(--color-turquoise-400);
}

blockquote {
  margin: 0 0 var(--space-5);
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-inline-start: 2px solid var(--color-magenta-500);
  color: var(--color-white-100);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.45;
}

blockquote p {
  color: inherit;
}

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

figcaption {
  margin-block-start: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

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

dt {
  color: var(--color-white-100);
  font-weight: 700;
}

dd {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
}

table {
  width: 100%;
  margin-block: 0 var(--space-5);
  border-collapse: collapse;
  border-spacing: 0;
  text-align: start;
}

th,
td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  overflow-wrap: anywhere;
  vertical-align: top;
}

th {
  color: var(--color-white-100);
  font-weight: 700;
}

caption {
  margin-block-end: var(--space-2);
  color: var(--color-text-muted);
  text-align: start;
}

fieldset {
  margin: 0 0 var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

legend {
  padding-inline: var(--space-2);
  color: var(--color-white-100);
  font-weight: 700;
}

label {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--color-white-100);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-midnight-900);
  color: var(--color-white-100);
  line-height: 1.4;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

input,
select {
  padding: 0 var(--space-3);
}

textarea {
  padding: var(--space-3);
}

input::placeholder,
textarea::placeholder {
  color: rgb(216 203 232 / 70%);
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-violet-600);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-turquoise-400);
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: var(--shadow-neon-turquoise);
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.1rem;
  min-height: 1.1rem;
  padding: 0;
  accent-color: var(--color-magenta-500);
}

input[type="file"] {
  min-height: auto;
  padding: var(--space-2);
}

input[type="file"]::file-selector-button {
  margin-inline-end: var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-violet-800);
  color: var(--color-white-100);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
}

button,
.button {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--gradient-violet-orange);
  color: var(--color-white-100);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  padding: var(--space-3) var(--space-5);
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    color var(--transition-fast);
}

button:hover,
.button:hover {
  color: var(--color-white-100);
  box-shadow: var(--shadow-neon-magenta);
  text-decoration: none;
}

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

.container {
  width: var(--container-mobile);
  margin-inline: auto;
}

.container--text {
  width: var(--container-mobile);
  max-width: var(--container-text);
  margin-inline: auto;
}

.section {
  padding-block: clamp(var(--space-8), 8vw, var(--space-10));
}

.surface {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-surface);
}

.surface--violet {
  background: var(--color-surface-accent);
}

.stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

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

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

.stack--relaxed {
  gap: var(--space-6);
}

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

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

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

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

.button--secondary {
  border-color: var(--color-turquoise-400);
  background: transparent;
  color: var(--color-turquoise-400);
}

.button--secondary:hover {
  border-color: var(--color-turquoise-400);
  background: rgb(67 224 208 / 10%);
  box-shadow: var(--shadow-neon-turquoise);
  color: var(--color-white-100);
}

.button--text {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-turquoise-400);
  font-weight: 600;
  justify-content: flex-start;
}

.button--text:hover {
  box-shadow: none;
  color: var(--color-white-100);
  text-decoration: underline;
  text-decoration-color: var(--color-magenta-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--color-turquoise-400);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.accent-magenta {
  color: var(--color-magenta-500);
}

.accent-turquoise {
  color: var(--color-turquoise-400);
}

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

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-midnight-900);
}

.media-frame > img,
.media-frame > picture > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image);
}

.media-frame:hover > img,
.media-frame:hover > picture > img,
.media-frame:hover > video {
  transform: scale(1.02);
}

.content-group > :last-child,
.surface > :last-child,
.card > :last-child {
  margin-block-end: 0;
}

@media (min-width: 48rem) {
  .container,
  .container--text {
    width: var(--container-desktop);
  }
}

@media (max-width: 47.99rem) {
  html {
    scroll-padding-top: 5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  h3 {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .section {
    padding-block: clamp(var(--space-8), 15vw, var(--space-9));
  }

  .actions,
  .cluster {
    align-items: stretch;
  }

  .actions > .button {
    width: 100%;
  }
}

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

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

  .media-frame:hover > img,
  .media-frame:hover > picture > img,
  .media-frame:hover > video {
    transform: none;
  }
}