:root {
  color-scheme: light;
  --orange: #c65312;
  --orange-dark: #7f2e00;
  --orange-soft: #ffdbc8;
  --ink: #2f1b12;
  --muted: #755f54;
  --paper: #fffaf7;
  --surface: #ffffff;
  --line: #ead9cf;
  --max-width: 1080px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 170, 115, 0.3), transparent 28rem),
    radial-gradient(circle at 0% 45%, rgba(255, 219, 200, 0.52), transparent 30rem),
    var(--paper);
  line-height: 1.6;
}

a {
  color: var(--orange);
  text-underline-offset: 0.16em;
}

.site-header {
  background: rgba(255, 250, 247, 0.88);
  border-bottom: 1px solid rgba(234, 217, 207, 0.82);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.brand img {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.language-link {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.page {
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.narrow {
  max-width: 780px;
}

.hero {
  min-height: min(690px, calc(100vh - 7rem));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.eyebrow {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  margin: 0.5rem 0 1.25rem;
}

h1 span {
  color: var(--orange);
}

h2 {
  font-size: 1.35rem;
  margin: 0.65rem 0 0.55rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  margin: 0;
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 780;
  text-decoration: none;
}

.primary-action {
  background: var(--orange);
  color: white;
  box-shadow: 0 0.75rem 1.8rem rgba(127, 46, 0, 0.18);
}

.primary-action:hover {
  background: var(--orange-dark);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  padding: 5.4rem 1.5rem 1.5rem;
  border-radius: 2.3rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(234, 217, 207, 0.9);
  box-shadow: 0 1.5rem 4rem rgba(127, 46, 0, 0.13);
}

.app-icon {
  position: absolute;
  width: 7.2rem;
  height: 7.2rem;
  top: -3.4rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(127, 46, 0, 0.22);
}

.year-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  padding: 1.1rem 1.25rem;
}

.year-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.year-card strong {
  display: block;
  font-size: 2.55rem;
  line-height: 1.1;
}

.year-card.accent {
  background: var(--orange-soft);
  border-color: transparent;
}

.connector {
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.45rem;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: clamp(2rem, 4vw, 4rem);
}

.features article,
.document {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 0.6rem 2rem rgba(127, 46, 0, 0.06);
}

.features p,
.document p {
  color: var(--muted);
  margin: 0;
}

.feature-number {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.document h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.document .primary-action {
  margin-top: 1.5rem;
}

.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }

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

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

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