:root {
  --bg-base: #F3F4F9;
  --surface-raised: #FFFFFF;
  --text-primary: #1E1B4B;
  --accent-coral: #FF7A59;
  --accent-coral-hover: #E86A4A;
  --text-on-accent: #FFFFFF;
  --border-soft: #E2E8F0;

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

  --text-display-size: clamp(2.5rem, 5vw, 3rem);
  --text-h1-size: clamp(2rem, 4vw, 2.5rem);
  --text-h2-size: clamp(1.5rem, 3vw, 2rem);
  --text-h3-size: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-body-size: 1rem;
  --text-small-size: 0.875rem;

  --text-display-line-height: 1.1;
  --text-h1-line-height: 1.2;
  --text-h2-line-height: 1.25;
  --text-h3-line-height: 1.3;
  --text-body-line-height: 1.6;
  --text-small-line-height: 1.5;

  --text-display-weight: 700;
  --text-h1-weight: 700;
  --text-h2-weight: 600;
  --text-h3-weight: 600;
  --text-body-weight: 400;
  --text-small-weight: 400;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  --container-max: 1200px;
  --container-padding: var(--space-md);

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

  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-button: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-button-active: 0 2px 3px rgba(0, 0, 0, 0.05);

  --transition-fast: 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  color: var(--text-primary);
  background-color: var(--bg-base);
  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;
  cursor: pointer;
}

a {
  color: var(--accent-coral);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  overflow-wrap: break-word;
}

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

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

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

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

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

blockquote {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
  border-inline-start: 4px solid var(--accent-coral);
  color: var(--text-primary);
}

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

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

address {
  font-style: normal;
}

hr {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin-block: var(--space-lg);
}

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

.surface-card {
  background-color: var(--surface-raised);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background-color: var(--accent-coral);
  color: var(--text-on-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-body-size);
  line-height: 1.2;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-button);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

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

.btn:active {
  box-shadow: var(--shadow-button-active);
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--accent-coral);
  outline-offset: 2px;
}

.aspect-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background-color: var(--border-soft);
}

.aspect-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  border-radius: inherit;
}

.aspect-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

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

.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

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

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

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

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

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

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

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

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

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

.flex-justify-between {
  justify-content: space-between;
}

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

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

.flex-gap-xs {
  gap: var(--space-xs);
}

.flex-gap-sm {
  gap: var(--space-sm);
}

.flex-gap-md {
  gap: var(--space-md);
}

.flex-gap-lg {
  gap: var(--space-lg);
}

.flex-gap-xl {
  gap: var(--space-xl);
}

.flex-gap-xxl {
  gap: var(--space-xxl);
}

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

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

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

.section-heading {
  margin-block-end: var(--space-lg);
}

.section-heading > :last-child {
  margin-block-end: 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: 0;
}

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