:root {
  --page-bg: #eee7df;
  --page-surface: rgba(255, 252, 247, 0.92);
  --surface: #fffdf9;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #10213f;
  --ink-soft: #53627f;
  --ink-muted: #8794aa;
  --line: rgba(16, 33, 63, 0.09);
  --line-strong: rgba(16, 33, 63, 0.14);
  --accent: #ff8b3d;
  --accent-deep: #ff7a1f;
  --accent-soft: #ffe6d2;
  --accent-soft-strong: #fff0e3;
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.14);
  --shadow-accent: 0 16px 34px rgba(255, 122, 31, 0.22);
  --radius-xl: 2rem;
  --radius-lg: 1.45rem;
  --radius-md: 1rem;
  --radius-sm: 0.75rem;
  --content-width: min(1280px, calc(100% - 2rem));
  --section-space: clamp(4rem, 6vw, 6.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 140, 66, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(180deg, #f4ede6 0%, var(--page-bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(83, 98, 127, 0.12) 1px, transparent 1.25px);
  background-size: 22px 22px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

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

.site-shell {
  width: var(--content-width);
  margin-inline: auto;
}

.page-section {
  position: relative;
  padding: var(--section-space) 0;
  scroll-margin-top: 5.8rem;
}

.page-section--tight {
  padding-top: 2.2rem;
}

.section-header {
  display: grid;
  gap: 0.9rem;
  max-width: 42rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.kicker::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffb26b);
  box-shadow: 0 0 0 6px rgba(255, 139, 61, 0.14);
}

.section-title,
.hero__title {
  margin: 0;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.section-title {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.section-copy,
.hero__copy-text,
.surface-card p,
.copy-muted {
  color: var(--ink-soft);
}

.section-copy,
.hero__copy-text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}

.button:hover,
.button:focus-visible,
.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
}

.button--accent {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #ffad62 100%);
  box-shadow: var(--shadow-accent);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(16, 33, 63, 0.1);
  box-shadow: var(--shadow-sm);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(255, 122, 31, 0.22);
}

.button--small {
  min-height: 2.9rem;
  padding-inline: 1.15rem;
}

.tag,
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 63, 0.08);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-soft);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.surface-card,
.surface-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.surface-card {
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.surface-panel {
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.card-grid {
  display: grid;
  gap: 1.1rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 237, 230, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 33, 63, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand__mark {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  min-width: 0;
}

.brand__title {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.brand__subtitle {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topnav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.topnav__links a {
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.22s ease, background-color 0.22s ease;
}

.topnav__links a:hover,
.topnav__links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.topnav__toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 33, 63, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.topnav__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 1.4rem 0 2.25rem;
}

.footer__panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.footer__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer__copy,
.footer__meta {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__meta {
  align-self: end;
  justify-self: end;
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__panel {
    grid-template-columns: 1fr;
  }

  .footer__meta {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .topnav__toggle {
    display: inline-flex;
  }

  .topnav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(16, 33, 63, 0.08);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .topnav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .topnav__links {
    display: grid;
    gap: 0.2rem;
  }

  .topnav__links a {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
  }
}

@media (max-width: 720px) {
  :root {
    --content-width: min(100%, calc(100% - 1rem));
  }

  .page-section {
    padding: 3.5rem 0;
  }

  .brand__title {
    font-size: 1.35rem;
  }

  .brand__subtitle {
    font-size: 0.88rem;
  }

  .section-copy,
  .hero__copy-text {
    font-size: 1rem;
  }

  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__panel {
    padding: 1.15rem;
    border-radius: 1.45rem;
  }
}

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

  [data-reveal],
  .button,
  .link-button,
  .topnav {
    transition: none !important;
  }
}
