@font-face {
  font-family: Favorit;
  src: url(fonts/Favorit-Light.eot);
  src: url(fonts/Favorit-Light.eot?#iefix) format("embedded-opentype"), url(fonts/Favorit-Light.woff2) format("woff2"), url(fonts/Favorit-Light.woff) format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Favorit;
  src: url(fonts/Favorit-Regular.eot);
  src: url(fonts/Favorit-Regular.eot?#iefix) format("embedded-opentype"), url(fonts/Favorit-Regular.woff2) format("woff2"), url(fonts/Favorit-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Favorit;
  src: url(fonts/Favorit-Medium.eot);
  src: url(fonts/Favorit-Medium.eot?#iefix) format("embedded-opentype"), url(fonts/Favorit-Medium.woff2) format("woff2"), url(fonts/Favorit-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Favorit;
  src: url(fonts/Favorit-Bold.eot);
  src: url(fonts/Favorit-Bold.eot?#iefix) format("embedded-opentype"), url(fonts/Favorit-Bold.woff2) format("woff2"), url(fonts/Favorit-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

:root {
  --page-bg: #f4efe6;
  --page-bg-2: #e4ebf2;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: #fffaf3;
  --surface-dark: #172433;
  --surface-dark-2: #0f1722;
  --text: #1c2430;
  --text-soft: #516173;
  --text-inverse: #f5f7fa;
  --accent: #1b8a86;
  --accent-2: #d97a3a;
  --border: rgba(28, 36, 48, 0.12);
  --shadow-lg: 0 28px 80px rgba(21, 31, 44, 0.16);
  --shadow-md: 0 16px 40px rgba(21, 31, 44, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1120px;
}

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

body {
  margin: 0;
  font-family: Favorit, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 122, 58, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(27, 138, 134, 0.16), transparent 30%),
    linear-gradient(180deg, #faf6ef 0%, var(--page-bg) 34%, #edf1f6 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 36, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 48, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
  opacity: 0.6;
}

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

img,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.3);
}

video {
  display: block;
  width: min(100%, 720px);
  margin: 1.5rem auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

a:hover {
  color: #0f6d69;
}

p {
  color: var(--text-soft);
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
  margin: 0 0 1.15rem;
}

main {
  display: block;
  position: relative;
  z-index: 1;
}

header,
footer,
section {
  position: relative;
}

header {
  isolation: isolate;
  padding: 1.25rem 0 2rem;
  overflow: hidden;
}

header::before,
header::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.6;
  z-index: -1;
}

header::before {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -4rem;
  background: radial-gradient(circle, rgba(27, 138, 134, 0.3), transparent 70%);
}

header::after {
  width: 24rem;
  height: 24rem;
  left: -7rem;
  bottom: -10rem;
  background: radial-gradient(circle, rgba(217, 122, 58, 0.25), transparent 72%);
}

footer {
  overflow: hidden;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.redactor {
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: var(--shadow-lg);
}

section {
  padding: 4.5rem 0;
}

section:nth-of-type(odd) .redactor {
  transform: translateY(0);
}

section:nth-of-type(even) .redactor {
  border-color: rgba(255, 255, 255, 0.16);
}

section.bg-black {
  background:
    linear-gradient(180deg, rgba(7, 16, 27, 0.92), rgba(18, 28, 44, 0.94)),
    linear-gradient(120deg, rgba(27, 138, 134, 0.14), transparent 45%);
  color: var(--text-inverse);
}

section.bg-white {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(244, 239, 230, 0.92));
  color: var(--text);
}

section.bg-black .redactor {
  background: rgba(10, 18, 30, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
}

section.bg-black p,
section.bg-black li,
section.bg-black td,
section.bg-black th,
section.bg-black h1,
section.bg-black h2,
section.bg-black h3,
section.bg-black h4 {
  color: inherit;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0.5rem auto 0;
  width: min(var(--container), calc(100% - 1.25rem));
  padding: 0.75rem;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 999px;
  background: rgba(252, 249, 243, 0.78);
  backdrop-filter: blur(20px) saturate(1.1);
  box-shadow: 0 14px 32px rgba(21, 31, 44, 0.08);
}

#nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

#nav li {
  margin: 0;
}

#nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(27, 138, 134, 0.08);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
}

#nav a:hover {
  color: #0f504d;
  border-color: rgba(27, 138, 134, 0.2);
  background: rgba(27, 138, 134, 0.14);
  transform: translateY(-1px);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(1rem, 2vw, 2.75rem);
  max-width: 25ch;
  margin-inline: auto;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

h4 {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.leading-tight {
  line-height: 1.05;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.flex {
  display: flex;
}

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

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

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

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

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

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

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

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.p-4 {
  padding: 1rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.text-sm {
  font-size: 0.875rem;
}

.bg-black {
  background: var(--surface-dark);
}

.bg-white {
  background: var(--surface-strong);
}

.text-white {
  color: var(--text-inverse);
}

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

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.border-t {
  border-top: 1px solid rgba(28, 36, 48, 0.14);
}

.reveal {
  margin: 1.6rem 0 2rem;
  opacity: 0.8;
}

.footer {
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-logo,
.footer-logo {
  display: block;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.header-logo {
  width: min(240px, 66vw);
  filter: drop-shadow(0 14px 32px rgba(18, 26, 40, 0.18));
}

.footer-logo {
  width: min(110px, 22vw);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem auto 2rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 36, 48, 0.14);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.7);
}

table th,
table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  vertical-align: top;
}

table th {
  background: rgba(27, 138, 134, 0.1);
  color: var(--text);
  font-weight: 700;
  text-align: left;
}

table tr:last-child td,
table tr:last-child th {
  border-bottom: 0;
}

table.black-border,
table.white-border {
  background: rgba(255, 255, 255, 0.58);
}

table.black-border,
table.black-border th,
table.black-border td {
  border-color: rgba(28, 36, 48, 0.55);
}

table.white-border,
table.white-border th,
table.white-border td {
  border-color: rgba(255, 255, 255, 0.46);
}

table.black-border th,
table.white-border th {
  text-align: center;
}

table img {
  width: 100%;
  box-shadow: none;
  border: 0;
  border-radius: 18px;
}

table video {
  width: 100%;
}

::selection {
  color: #fff;
  background: var(--accent);
}

.container.redactor > .w-full > :last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .md\:p-4 {
    padding: 1rem;
  }

  .md\:text-5xl {
    font-size: clamp(3rem, 4.75vw, 4.75rem);
  }
}

@media (min-width: 1024px) {
  .lg\:p-20 {
    padding: 5rem;
  }

  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .lg\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lg\:text-xl {
    font-size: 1.1rem;
  }

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

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

  .lg\:order-1 {
    order: 1;
  }

  .lg\:order-2 {
    order: 2;
  }
}

@media (max-width: 767px) {
  nav {
    width: calc(100% - 1rem);
    border-radius: 24px;
  }

  #nav {
    gap: 0.4rem;
  }

  #nav a {
    width: 100%;
  }

  section {
    padding: 3rem 0;
  }

  .redactor {
    border-radius: 24px;
  }

  h1 {
    max-width: 100%;
  }
}

h1.text-2xl.md\:text-5xl {
  font-size: clamp(2.35rem, 3vw, 3.75rem);

}
