:root {
  --color-background: #F5F5F7;
  --color-surface: #FFFFFF;
  --color-text-primary: #09090B;
  --color-accent: #FF3366;
  --color-border: #09090B;
  --color-text-on-accent: #FFFFFF;

  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-display-size: 64px;
  --text-display-line-height: 1.1;
  --text-display-weight: 700;

  --text-h1-size: 48px;
  --text-h1-line-height: 1.2;
  --text-h1-weight: 700;

  --text-h2-size: 32px;
  --text-h2-line-height: 1.3;
  --text-h2-weight: 600;

  --text-h3-size: 24px;
  --text-h3-line-height: 1.4;
  --text-h3-weight: 600;

  --text-body-size: 16px;
  --text-body-line-height: 1.6;
  --text-body-weight: 400;

  --text-small-size: 14px;
  --text-small-line-height: 1.5;
  --text-small-weight: 400;

  --text-label-size: 12px;
  --text-label-line-height: 1.4;
  --text-label-weight: 600;

  --text-menu-size: 18px;
  --text-menu-line-height: 1.5;
  --text-menu-weight: 500;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --container-max-width: 1200px;
  --container-padding-mobile: 24px;
  --container-padding-desktop: 48px;

  --border-width: 1px;
  --border-style: solid;
  --border-color: var(--color-border);

  --radius-none: 0px;

  --shadow-none: none;

  --focus-ring-width: 2px;
  --focus-ring-color: var(--color-accent);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--text-h1-weight);
  line-height: var(--text-h1-line-height);
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

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

h2 {
  font-size: var(--text-h2-size);
  font-weight: var(--text-h2-weight);
  line-height: var(--text-h2-line-height);
  margin-block-end: var(--space-3);
}

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

h4,
h5,
h6 {
  font-size: var(--text-h3-size);
  font-weight: var(--text-h3-weight);
  line-height: var(--text-h3-line-height);
  margin-block-end: var(--space-3);
}

p {
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  margin-block-end: var(--space-3);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

li {
  line-height: var(--text-body-line-height);
}

blockquote {
  margin-block-end: var(--space-3);
  padding-inline-start: var(--space-4);
  border-inline-start: var(--border-width) var(--border-style) var(--color-border);
  font-style: italic;
}

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

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

a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

a:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: 2px;
}

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

img {
  border: var(--border-width) var(--border-style) var(--border-color);
  object-fit: cover;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background-color: var(--color-surface);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-none);
  padding: 12px;
  line-height: var(--text-body-line-height);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

input:focus,
button:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
}

button {
  cursor: pointer;
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  border: var(--border-width) var(--border-style) var(--border-color);
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

button:hover {
  background-color: var(--color-text-primary);
  color: var(--color-text-on-accent);
  border-color: var(--color-text-primary);
}

button:active {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  border-color: var(--color-border);
}

button:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

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='%2309090B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-inline-end: 36px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: var(--border-width) var(--border-style) var(--border-color);
  margin-block-end: var(--space-3);
}

th,
td {
  border-bottom: var(--border-width) var(--border-style) var(--border-color);
  padding: 12px;
  text-align: start;
  vertical-align: top;
}

th {
  font-size: var(--text-label-size);
  font-weight: var(--text-label-weight);
  line-height: var(--text-label-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-surface);
}

caption {
  font-size: var(--text-label-size);
  font-weight: var(--text-label-weight);
  line-height: var(--text-label-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-2);
  text-align: start;
}

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

.surface {
  background-color: var(--color-surface);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-none);
  padding: var(--space-4);
  box-shadow: var(--shadow-none);
}

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

.label {
  display: inline-block;
  font-size: var(--text-label-size);
  font-weight: var(--text-label-weight);
  line-height: var(--text-label-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  padding: var(--space-1) var(--space-2);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-none);
}

.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-none);
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background-color: var(--color-text-primary);
  color: var(--color-text-on-accent);
  border-color: var(--color-text-primary);
}

.btn:active {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  border-color: var(--color-border);
}

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

.card {
  background-color: var(--color-surface);
  border: var(--border-width) var(--border-style) var(--color-border);
  border-radius: var(--radius-none);
  padding: var(--space-4);
  box-shadow: var(--shadow-none);
}

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

.card:hover {
  border-width: 2px;
  border-color: var(--color-border);
}

.img-frame {
  display: block;
  border: var(--border-width) var(--border-style) var(--color-border);
  border-radius: var(--radius-none);
  overflow: hidden;
  background-color: var(--color-surface);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

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

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

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

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

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

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

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

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

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

.flex-shrink-0 {
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-3);
  z-index: 1000;
  background-color: var(--color-surface);
  color: var(--color-text-primary);
  border: var(--border-width) var(--border-style) var(--color-border);
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus-visible {
  top: var(--space-3);
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: 2px;
}

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

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

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

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

@media (max-width: 767px) {
  h1 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(20px, 5vw, 24px);
    line-height: 1.4;
  }

  .container {
    padding-inline: var(--container-padding-mobile);
  }

  .surface,
  .card {
    padding: var(--space-3);
  }
}