:root {
  --navy: #071d2b;
  --navy-2: #0a2837;
  --ivory: #f7f5ef;
  --paper: #fffdf8;
  --teal: #075e63;
  --aqua: #49c5b6;
  --copper: #c66b3d;
  --slate: #34434c;
  --rule: rgba(7, 29, 43, .18);
  --focus: #f3b13f;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--ivory);
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .75rem 1rem; color: var(--navy); background: var(--ivory); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.centered { text-align: center; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--ivory); border-bottom: 1px solid rgba(247,245,239,.2); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 300px; }
.site-footer img { width: 220px; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.site-nav > a:not(.button) { text-decoration: none; font-weight: 600; }
.site-nav > a:not(.button):hover { text-decoration: underline; }
.menu-button { display: none; color: var(--ivory); background: transparent; border: 1px solid rgba(247,245,239,.5); border-radius: 4px; padding: .65rem .8rem; font: inherit; font-weight: 700; }

h1, h2, h3 { margin: 0; font-family: Lexend, "Avenir Next", "Segoe UI", sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 100%; color: var(--ivory); font-size: clamp(3.1rem, 6.2vw, 6.3rem); }
h1 span { color: var(--aqua); }
h1 .hero-line-light { color: var(--ivory); }
.hero-line { display: block; white-space: nowrap; }
.teal-text { color: var(--teal); }
h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { margin-block: 0 1.25rem; }
.eyebrow { margin-bottom: 1.25rem; color: var(--aqua); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::after { content: ""; display: inline-block; width: .46rem; height: .46rem; margin-left: .65rem; background: var(--copper); }
.eyebrow-dark { color: var(--teal); }
.lede { max-width: 680px; color: #dbe7e9; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }
.prose-large { color: var(--slate); font-size: clamp(1.1rem, 1.7vw, 1.35rem); }

.hero { min-height: 100vh; padding: 10rem 0 0; color: var(--ivory); background: var(--navy); overflow: hidden; }
.hero-grid { min-height: calc(100vh - 10rem); display: grid; grid-template-columns: minmax(720px, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 4vw, 5rem); padding-bottom: 7rem; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero .lede { margin-top: 2rem; }
.hero-visual { min-width: 680px; margin: 0 -16rem 0 0; }
.hero-visual img { width: 100%; mix-blend-mode: screen; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 2px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 800; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--aqua); }
.button-primary:hover { background: #70d8cc; }
.button-outline { color: var(--ivory); border-color: rgba(247,245,239,.75); }
.button-outline:hover { border-color: var(--ivory); background: rgba(247,245,239,.1); }
.button-dark { color: var(--ivory); background: var(--navy); }
.button-dark:hover { background: var(--teal); }
.button-small { min-height: 42px; padding: .45rem 1rem; }
.text-link { font-weight: 800; color: var(--teal); }
.signal-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(247,245,239,.22); }
.signal-row span { position: relative; padding: 1.25rem; text-align: center; font-size: .85rem; font-weight: 700; }
.signal-row span:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: 0; width: .46rem; height: .46rem; background: var(--copper); transform: translate(50%, -50%); }

.section { padding-block: clamp(5rem, 9vw, 9rem); }
.section-light { background: var(--ivory); }
.section-dark { color: var(--ivory); background: var(--navy); }
.split-heading { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.card-section-heading { margin-top: clamp(3rem, 7vw, 6rem); }
.card-section-heading .eyebrow { margin-bottom: 1.25rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.card { min-height: 290px; padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid var(--rule); }
.card:last-child { border-right: 0; }
.card-number { display: block; width: 2.4rem; margin-bottom: 4.5rem; padding-block: .3rem; color: var(--ivory); background: var(--teal); text-align: center; font-size: .75rem; font-weight: 800; }
.card p, .capability-grid p { color: var(--slate); }
.card h3 { margin-bottom: 1rem; }
.section-dark .narrow { text-align: center; }
.section-dark .lede { margin: 2rem auto 0; }
.capability-grid { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 5rem; border-block: 1px solid rgba(247,245,239,.22); }
.capability-grid article { padding: 2rem 1.25rem; border-right: 1px solid rgba(247,245,239,.22); }
.capability-grid article:last-child { border-right: 0; }
.capability-grid span { display: block; margin-bottom: 3.5rem; color: var(--aqua); font-weight: 800; }
.capability-grid h3 { margin-bottom: .7rem; }
.capability-grid p { color: #c5d4d7; font-size: .92rem; line-height: 1.5; }

.control-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.steps li > span { color: var(--teal); font-weight: 800; }
.steps h3 { margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--slate); }

.llibertat { background: #e9f1ef; }
.llibertat-grid { display: grid; grid-template-columns: minmax(180px, .45fr) 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.llibertat-grid h2 { max-width: 850px; margin-bottom: 2rem; }
.llibertat-mark { aspect-ratio: 1; display: grid; place-items: center; }
.llibertat-mark img { width: auto; max-width: 100%; max-height: 286px; }
.final-cta { padding-block: clamp(5rem, 10vw, 9rem); color: var(--ivory); background: var(--navy-2); }
.final-cta h2 { margin-bottom: 1.5rem; }
.final-cta .lede { margin-inline: auto; }

.site-footer { padding: 3.5rem 0 1.5rem; color: #dbe7e9; background: var(--navy); border-top: 1px solid rgba(247,245,239,.18); }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; }
.footer-grid p { font-size: .9rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem; }
.footer-grid a { font-weight: 700; }
.footer-legal { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(247,245,239,.18); font-size: .78rem; }
.footer-legal p { margin: 0; }

@media (max-width: 1280px) {
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; padding-bottom: 3rem; }
  .hero-copy { max-width: 850px; }
  .hero-visual { width: min(920px, 100%); min-width: 0; margin: -2rem auto 0; }
}

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset: 88px 0 auto; flex-direction: column; align-items: stretch; padding: 1.5rem 1.25rem 2rem; background: var(--navy); border-bottom: 1px solid rgba(247,245,239,.2); }
  .site-nav.is-open { display: flex; }
  .site-nav .button { width: 100%; }
  .split-heading, .control-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .capability-grid article:nth-child(3) { border-right: 0; }
  .capability-grid article:nth-child(-n+3) { border-bottom: 1px solid rgba(247,245,239,.22); }
}

@media (max-width: 650px) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .brand img { width: 220px; }
  .hero { padding-top: 8.5rem; }
  h1 { font-size: clamp(2.7rem, 12.8vw, 4.6rem); }
  .signal-row { grid-template-columns: 1fr 1fr; }
  .signal-row span:nth-child(even)::after { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .card:last-child { border-bottom: 0; }
  .card-number { margin-bottom: 2.5rem; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid article:nth-child(3) { border-right: 1px solid rgba(247,245,239,.22); }
  .capability-grid article:nth-child(even) { border-right: 0; }
  .capability-grid article:nth-child(-n+4) { border-bottom: 1px solid rgba(247,245,239,.22); }
  .llibertat-grid { grid-template-columns: 1fr; }
  .llibertat-mark { width: min(180px, 55vw); }
  .footer-grid, .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .eyebrow::after, .card-number { forced-color-adjust: none; }
  .button { border-color: currentColor; }
}
