:root {
  color-scheme: light dark;
  --paper: #f6f0e5;
  --paper-deep: #ede3d3;
  --ink: #211d1a;
  --ink-soft: #696057;
  --line: rgba(33, 29, 26, 0.18);
  --red: #c92d25;
  --red-dark: #9e211c;
  --white: #fffaf1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1380px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.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;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: var(--page);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(54vw, 520px);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.03em;
}

.mini-brand img {
  flex: 0 0 auto;
  border-radius: 10px;
}

.mini-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions,
.primary-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 28px;
}

.primary-nav {
  gap: 22px;
}

.primary-nav a,
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
}

.primary-nav a,
.footer-links a,
.language-popover a {
  transition: color 160ms ease, transform 160ms ease;
}

.primary-nav a:hover,
.footer-links a:hover,
.language-popover a:hover {
  color: var(--red);
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
  font-size: 0.76rem;
  font-weight: 780;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary:hover {
  color: var(--red);
  border-color: var(--red);
  transform: rotate(-4deg);
}

.language-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(33, 29, 26, 0.12);
}

.language-popover a {
  display: block;
  padding: 9px 10px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
}

.language-popover a[aria-current="true"] {
  color: var(--red);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 132px 0 62px;
  border-top: 9px solid var(--red);
  overflow: hidden;
}

.hero-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(52px, 9vw, 142px);
  align-items: center;
}

.hero-copy {
  animation: hero-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-name {
  margin: 0 0 24px;
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-weight: 760;
  letter-spacing: 0.055em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  text-wrap: balance;
}

.hero-body {
  max-width: 680px;
  margin: 0 0 38px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  line-height: 1.55;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 14px 20px 14px 24px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 780;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.primary-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.cta-arrow {
  font-size: 1.15rem;
  transition: transform 160ms ease;
}

.primary-cta:hover .cta-arrow {
  transform: translate(3px, -3px);
}

.hero-mark {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  animation: mark-arrive 820ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mark-frame {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
}

.mark-frame::before {
  content: "";
  position: absolute;
  inset: -13px 13px 13px -13px;
  border: 1px solid var(--red);
  pointer-events: none;
}

.mark-frame img {
  width: 100%;
  height: auto;
  border-radius: 22%;
}

.hero-mark > p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: right;
}

.capabilities {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 190px) 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(56px, 10vw, 160px);
}

.section-heading h2,
.value-section h2,
.final-cta h2,
.document-hero h1 {
  font-size: clamp(3rem, 5.8vw, 6.4rem);
  text-wrap: balance;
}

.section-heading h2 {
  margin-bottom: 0;
}

.capability-list {
  border-top: 1px solid var(--ink);
}

.capability-list article {
  position: relative;
  padding: 42px 0 48px 76px;
  border-bottom: 1px solid var(--line);
}

.capability-number {
  position: absolute;
  top: 44px;
  left: 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.capability-list h3 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 3.1vw, 3.5rem);
}

.capability-list p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.value-section {
  color: var(--white);
  background: var(--red);
}

.value-inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 15vw, 210px) 0;
}

.value-section .eyebrow {
  color: var(--white);
  opacity: 0.74;
}

.value-section h2 {
  max-width: 1100px;
  margin-bottom: 38px;
}

.value-section p:last-child {
  max-width: 680px;
  margin: 0 0 0 auto;
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
}

.final-cta {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 180px) 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
}

.final-cta > div {
  max-width: 900px;
}

.final-cta h2 {
  margin-bottom: 24px;
}

.final-cta p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 58px max(32px, calc((100vw - min(1380px, calc(100vw - 64px))) / 2));
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 780;
}

.footer-main p,
.footer-effective,
.footer-icp {
  margin: 4px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 12px 24px;
  max-width: 620px;
}

.footer-effective {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.document-page {
  width: min(1060px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 180px 0 130px;
}

.document-hero {
  padding-bottom: 70px;
  border-bottom: 1px solid var(--ink);
}

.document-hero h1 {
  margin-bottom: 30px;
}

.document-hero > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-document {
  max-width: 820px;
  margin-left: auto;
}

.legal-document section {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
}

.legal-document h2 {
  margin-bottom: 25px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.legal-document p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.inline-links {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.inline-links a {
  color: var(--red);
  font-weight: 720;
}

.facts-section {
  padding-top: 60px;
}

.facts-list {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.facts-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.facts-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.3;
}

@keyframes hero-rise {
  from { transform: translateY(24px); }
  to { transform: translateY(0); }
}

@keyframes mark-arrive {
  from { transform: translateY(22px) rotate(2deg) scale(0.97); }
  to { transform: translateY(0) rotate(0) scale(1); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1917;
    --paper-deep: #151311;
    --ink: #f4ecdf;
    --ink-soft: #bcb0a2;
    --line: rgba(244, 236, 223, 0.18);
    --red: #e33b31;
    --red-dark: #bc2d26;
    --white: #fff8ed;
  }

  .language-popover {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  }
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 40px, 720px);
  }

  .primary-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-inner,
  .capabilities {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 14vw, 7rem);
  }

  .hero-mark {
    width: min(74vw, 360px);
    justify-self: center;
    margin: 28px 0 30px;
  }

  .capabilities {
    gap: 62px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 32px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 20px 0;
  }

  .mini-brand span {
    max-width: 42vw;
  }

  .hero {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 5.4rem);
  }

  .mark-frame {
    padding: 16px;
  }

  .capabilities,
  .value-inner,
  .final-cta {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .capability-list article {
    padding: 35px 0 40px 48px;
  }

  .capability-number {
    top: 36px;
  }

  .value-section p:last-child {
    margin-left: 0;
  }

  .document-page {
    width: calc(100% - 32px);
    padding: 144px 0 90px;
  }

  .document-hero {
    padding-bottom: 52px;
  }

  .legal-document section {
    padding: 48px 0;
  }

  .facts-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    padding: 48px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
