:root {
  --bg: #f3efe6;
  --bg-soft: #efe7da;
  --surface: rgba(255, 255, 255, 0.52);
  --surface-strong: #fff7ec;
  --ink: #121212;
  --muted: #5e574d;
  --line: rgba(18, 18, 18, 0.12);
  --accent: #e85c2b;
  --accent-deep: #bf3f16;
  --midnight: #1f2a44;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 20px 60px rgba(20, 20, 20, 0.12);
  --shell: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(232, 92, 43, 0.14), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(31, 42, 68, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f0e5 0%, #efe8dd 100%);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(243, 239, 230, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: 92px;
  max-width: min(340px, 52vw);
  object-fit: contain;
}

.site-nav,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.language-switcher__link {
  font-size: 0.92rem;
  color: var(--muted);
}

.language-switcher__link.is-active {
  color: var(--ink);
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--accent {
  background:
    linear-gradient(180deg, rgba(31, 42, 68, 0.98), rgba(20, 25, 40, 0.98)),
    var(--midnight);
  color: #f6f0e5;
}

.hero {
  padding: 72px 0 88px;
}

.hero__grid,
.split,
.showcase {
  display: grid;
  gap: 32px;
}

.hero__grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  font-weight: 400;
  max-width: 10ch;
}

h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 400;
  max-width: 14ch;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.lead,
.body-copy,
.card p,
.timeline__item p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.section--accent .eyebrow,
.section--accent .timeline__item p {
  color: rgba(246, 240, 229, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--solid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.46);
}

.hero__panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(18, 18, 18, 0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(232, 92, 43, 0.32), transparent 28%),
    radial-gradient(circle at 70% 20%, rgba(31, 42, 68, 0.26), transparent 24%),
    linear-gradient(160deg, rgba(255, 247, 236, 0.95), rgba(238, 229, 215, 0.95));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.12);
}

.hero__orbit--large {
  inset: 40px;
}

.hero__orbit--small {
  inset: 120px;
}

.hero__card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 12px;
  width: min(320px, calc(100% - 56px));
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(18, 18, 18, 0.9);
  color: #fff;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.cards {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

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

.card {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card--contrast {
  background: rgba(255, 247, 236, 0.82);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.timeline__item {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(246, 240, 229, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.timeline__index {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(246, 240, 229, 0.54);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.cta {
  text-align: center;
}

.cta h2,
.cta .body-copy {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.site-footer__meta {
  display: grid;
  gap: 4px;
}

.site-footer__meta p {
  margin: 0;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.prose {
  max-width: 760px;
}

.legal-page {
  display: grid;
  gap: 28px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.product-page {
  display: grid;
  gap: 42px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.product-hero__copy .prose {
  margin-top: 28px;
}

.product-hero__visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 92, 43, 0.14), transparent 24%),
    linear-gradient(160deg, rgba(255, 247, 236, 0.96), rgba(238, 229, 215, 0.96));
  box-shadow: var(--shadow);
}

.product-hero__single-image {
  width: min(360px, calc(100% - 56px));
  max-height: calc(100% - 56px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.22);
  background: rgba(255, 255, 255, 0.84);
}

.product-hero__single-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-feature-grid {
  margin-top: 0;
}

.product-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-story__block {
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
}

.product-story__block h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  max-width: 12ch;
  margin-bottom: 16px;
}

.legal-page__intro h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.legal-page__content {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.legal-page__content h2,
.legal-page__content h3,
.legal-page__content p,
.legal-page__content ul {
  max-width: none;
}

.legal-visual {
  position: sticky;
  top: 118px;
}

.legal-visual__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .hero__grid,
  .split,
  .cards--three,
  .timeline,
  .product-hero,
  .product-story,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    min-height: 380px;
  }

  .product-hero__visual {
    min-height: 520px;
  }

  .legal-visual {
    position: static;
  }

  .brand__logo {
    height: 72px;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__actions,
  .site-nav,
  .language-switcher {
    gap: 10px;
  }

  .brand__logo {
    height: 58px;
  }

  .button {
    width: 100%;
  }
}
