/*
Theme Name: Amara Legal - Studio Editorial
Theme URI: https://amaralegal.ai/
Author: Neurogestion
Description: Tema ligero para la web publica SEO de Amara Legal.
Version: 32.4.7
Text Domain: amara-legal
*/

/* V32 Studio: flagship pages use an editorial, product-led system. */

:root {
  --ink: #061c31;
  --ink-2: #173a58;
  --muted: #596a78;
  --line: #d5e0e8;
  --paper: #f6f8fb;
  --paper-2: #eaf1f6;
  --panel: #ffffff;
  --teal: #0d5788;
  --teal-dark: #073b63;
  --moss: #497089;
  --gold: #1683b3;
  --wine: #506b82;
  --shadow: 0 22px 58px rgba(6, 28, 49, .11);
}

.pricing-preview { background: #eef4f8; }
.pricing-showcase { margin-top: 42px; }
.pricing-intro { max-width: 820px; margin-bottom: 30px; }
.pricing-intro h2 { margin: 12px 0; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 18px; background: #e3edf4; border: 1px solid #c8d9e5; }
.billing-option { border: 0; background: transparent; padding: 10px 16px; font: inherit; cursor: pointer; color: var(--ink); }
.billing-option.is-active { background: #fff; box-shadow: 0 2px 8px rgba(8,21,38,.12); font-weight: 700; }
.billing-option span { display: block; font-size: .7rem; color: var(--teal); }
.pricing-grid-detailed { align-items: flex-start; }
.pricing-grid-detailed .price-card { min-height: 690px; }
.price-card-featured { border: 2px solid var(--teal); box-shadow: 0 18px 34px rgba(12,56,61,.14); position: relative; }
.plan-badge { position: absolute; top: -14px; right: 22px; padding: 5px 10px; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; }
.card-subtitle { min-height: 78px; color: var(--muted); }
.price-note { font-size: .86rem; color: var(--muted); min-height: 44px; }
.price-card h4 { margin: 26px 0 8px; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gold); }
.user-stepper { display: inline-flex; align-items: center; width: max-content; margin: 8px 0; border: 1px solid var(--line); background: #fff; }
.user-stepper span { padding: 7px 10px; font-size: .8rem; color: var(--muted); }
.user-step { width: 34px; height: 34px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.user-step + output { min-width: 32px; text-align: center; font-weight: 700; }
.pricing-detail { background: #ffffff; padding: 34px; }
.table-scroll { overflow-x: auto; }
.pricing-detail table { min-width: 760px; }
.pricing-detail td { min-width: 150px; }
.pricing-calculator { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.calculator-control { min-width: 290px; }
.dark-stepper { background: #fff; }
.dark-stepper .user-step { border-color: #b9cbc6; }
.pricing-trust { padding: 42px 0 10px; }
.trust-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.trust-columns p { margin: 0; padding-top: 16px; border-top: 2px solid var(--teal); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--teal); box-shadow: 0 12px 28px rgba(12, 56, 61, .12); }
.price-card h3 { margin: 14px 0 10px; }
.price-card .price { color: var(--ink); margin: 8px 0 12px; }
.price-card .price strong { font-size: 2.2rem; }
.price-card ul { margin: 16px 0 22px; padding-left: 18px; flex: 1; }
.price-card li { margin: 8px 0; }
.pricing-more { margin: 24px 0 0; text-align: center; font-weight: 700; }
.pricing-detail { margin-top: 34px; }
.pricing-detail table { width: 100%; border-collapse: collapse; background: var(--panel); }
.pricing-detail th, .pricing-detail td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.pricing-detail thead th { background: var(--teal-dark); color: #fff; }
.pricing-detail tbody th { background: #edf3f8; }
.pricing-calculator { margin-top: 34px; padding: 30px; background: var(--ink); color: #fff; }
.pricing-calculator h2 { color: #fff; }
.pricing-calculator label { display: block; margin-top: 18px; font-weight: 700; }
.pricing-calculator input { width: 120px; margin-top: 8px; padding: 12px; border: 1px solid #b9cbc6; font: inherit; }
.pricing-calculator strong { font-size: 1.6rem; color: #fff; }
.pricing-calculator small { display: block; max-width: 760px; color: #d9e6e0; }
.youth-offer { margin: 28px 0; padding: 28px; background: #eaf3f9; border-left: 4px solid var(--teal); }
.youth-offer h2 { margin-top: 0; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-grid-detailed .price-card { min-height: auto; } .pricing-calculator { display: block; } .trust-columns { grid-template-columns: 1fr; } .pricing-detail { padding: 22px 14px; } }

/* Product-launch hero: a calm, centered composition with the real product as the visual anchor. */
.hero-product {
  background: #fff;
  border-bottom: 0;
}

.hero-product .hero-inner {
  display: block;
  padding: 92px 0 88px;
  text-align: center;
}

.hero-product .hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.hero-product h1 {
  max-width: 860px;
  margin: 18px auto 0;
  font-size: clamp(3rem, 5.2vw, 5.3rem);
  line-height: 1.02;
}

.hero-product .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #5d6268;
  font-size: 1.18rem;
}

.hero-product .hero-actions {
  justify-content: center;
}

.hero-product .trial-note {
  color: #73777b;
}

.hero-product .product-cinema {
  max-width: 1040px;
  margin: 64px auto 0;
  text-align: left;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(8, 21, 38, .2);
}

@media (max-width: 860px) {
  .hero-product .hero-inner { padding: 64px 0 58px; }
  .hero-product h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
  .hero-product .product-cinema { margin-top: 44px; border-radius: 12px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 232, .93);
  border-bottom: 1px solid rgba(8, 21, 38, .12);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1220px, calc(100% - 44px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand strong {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 21px;
  color: var(--muted);
  font-size: .94rem;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 760;
  border-radius: 5px;
}

.button:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(39, 93, 99, .08);
}

.hero {
  border-bottom: 1px solid rgba(8, 21, 38, .12);
}

.hero-product {
  background:
    linear-gradient(90deg, rgba(245, 241, 232, .96), rgba(245, 241, 232, .78)),
    repeating-linear-gradient(0deg, rgba(8, 21, 38, .035) 0, rgba(8, 21, 38, .035) 1px, transparent 1px, transparent 34px);
}

.hero-inner {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
  padding: 70px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .98fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow,
.tag,
.mini-label {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.07;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.9rem, 4.25vw, 4.05rem);
  max-width: 760px;
}

.lead {
  margin: 24px 0 0;
  max-width: 670px;
  color: #24384d;
  font-size: 1.15rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions .text-link { align-self: center; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--teal-dark); }

.trial-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: .95rem;
}

.product-cinema {
  background: #111a26;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow);
  border-radius: 9px;
  color: #eef4f3;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  justify-self: end;
}

.cinema-top {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #b7c4c5;
  font-size: .9rem;
}

.cinema-top strong {
  margin-left: auto;
  color: #fff;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #48bce5;
  box-shadow: 0 0 0 6px rgba(72, 188, 229, .14);
}

.cinema-body {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 16px;
  min-height: 344px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(39, 93, 99, .2), rgba(116, 63, 74, .12)),
    #111a26;
}

.case-column,
.ai-column {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, .055);
}

.case-column h3 {
  margin-top: 18px;
  color: #fff;
  font-family: Aptos, "Segoe UI", sans-serif;
  font-size: 1.18rem;
  line-height: 1.22;
}

.case-column p {
  color: #cbd5d3;
  margin: 14px 0 0;
  font-size: .95rem;
}

.progress-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.progress-list span,
.answer-line,
.source-strip {
  display: block;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, .07);
  color: #e9eeee;
  font-size: .95rem;
}

.answer-line {
  margin-top: 14px;
}

.answer-line.active {
  border-color: rgba(72, 188, 229, .72);
  background: rgba(72, 188, 229, .14);
}

.source-strip {
  margin-top: 24px;
  color: #9ed9ee;
  font-weight: 760;
  font-size: .92rem;
}

.section {
  padding: 76px 0;
}

.section.compact {
  padding: 44px 0;
}

.section.alt {
  background: #fffefa;
}

.wrap {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, .72fr);
  gap: 40px;
  align-items: start;
}

.section-head {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-head h2,
.signal-grid h2,
.split h2,
.cta-band h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

.section-head p,
.signal-grid p,
.split p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecosystem-band {
  background: #eaf4ef;
}

.ecosystem-band .card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.ecosystem-band .card p {
  flex: 1;
}

.updated-date {
  margin: 10px 0 0;
  color: #6d7780;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.seo-article table caption {
  caption-side: top;
  padding: 0 0 10px;
  color: #173f46;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
}

.card h3 {
  font-family: Aptos, "Segoe UI", sans-serif;
  font-size: 1.12rem;
  line-height: 1.22;
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.link-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.feature-rail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.rail-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.rail-tab {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.rail-tab:last-child {
  border-right: 0;
}

.rail-tab.active {
  background: var(--ink);
  color: #fff;
}

.rail-panel {
  display: none;
  min-height: 220px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(39, 93, 99, .1), rgba(154, 106, 35, .08)),
    var(--panel);
}

.rail-panel.active {
  display: block;
}

.rail-panel h3 {
  font-size: 2rem;
}

.rail-panel p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.1rem;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.comparison > div {
  padding: 30px;
}

.comparison > div:first-child {
  background: #f0ebe1;
  border-right: 1px solid var(--line);
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 10px 0;
  border-top: 1px solid rgba(217, 222, 216, .9);
  color: var(--muted);
}

.young-band {
  background: var(--ink);
}

.young-band h2,
.young-band p {
  color: #fff;
}

.young-band p {
  color: #dbe3e0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(390px, .62fr);
  gap: 48px;
  align-items: center;
}

.young-band .button {
  margin-top: 26px;
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.market-stack {
  display: grid;
  gap: 14px;
}

.market-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.market-card span {
  display: block;
  color: #9ed9ee;
  margin-top: 5px;
}

.cta-band {
  background: var(--teal-dark);
  color: #fff;
  padding: 68px 0;
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #d9e5e4;
  margin: 14px 0 0;
  max-width: 760px;
}

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

.action-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.action-link {
  display: flex;
  min-height: 92px;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.action-link:last-child { border-right: 0; }
.action-link:hover { background: rgba(255,255,255,.55); }
.action-link-primary { background: var(--teal-dark); color: #fff; }
.action-link-primary:hover { background: #123f43; }
.action-link small { display: block; margin-bottom: 7px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.action-link-primary small { color: #c9dfdc; }
.action-link strong { font-size: .98rem; }
.action-link b { font-size: 1.25rem; font-weight: 400; }

@media (max-width: 850px) {
  .action-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-link:nth-child(2) { border-right: 0; }
  .action-link:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .action-links { grid-template-columns: 1fr; }
  .action-link, .action-link:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .action-link:last-child { border-bottom: 0; }
}

.seo-article {
  max-width: 920px;
  margin: 0 auto;
}

.seo-article h2 {
  margin-top: 42px;
  font-size: 2rem;
}

.seo-block {
  margin: 0 0 34px;
  padding: 26px 28px 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 93, 99, 0.18);
  border-left: 4px solid var(--teal);
}

.seo-block:nth-of-type(even) {
  background: #edf3f8;
}

.seo-article h3 {
  margin-top: 28px;
  font-family: Aptos, "Segoe UI", sans-serif;
  font-size: 1.18rem;
}

.seo-article p,
.seo-article li {
  color: var(--muted);
  font-size: 1.04rem;
}

.seo-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border: 1px solid var(--line);
}

.seo-article th,
.seo-article td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.seo-article table.amara-compare-table th:last-child {
  background: var(--teal-dark);
  color: #fff;
  border-left: 2px solid var(--teal-dark);
}

.seo-article table.amara-compare-table td:last-child {
  background: #edf3f8;
  border-left: 2px solid rgba(39, 93, 99, 0.32);
  font-weight: 700;
}

.seo-article th {
  color: var(--ink);
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 12px;
}

.seo-article details[open] {
  background: #edf3f8;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
  font-size: .92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-row a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}

@media (max-width: 980px) {
  .hero-inner,
  .signal-grid,
  .split,
  .grid-3,
  .grid-4,
  .grid-2,
  .comparison,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .cinema-body {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .comparison > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .nav,
  .wrap,
  .hero-inner {
    width: min(100% - 28px, 1220px);
  }

  .nav-links {
    font-size: .86rem;
    gap: 14px;
  }

  .nav-links .button {
    min-height: 42px;
    padding: 0 14px;
  }

  h1 {
    font-size: 2.58rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .section {
    padding: 54px 0;
  }

  .rail-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .rail-tab {
    border-bottom: 1px solid var(--line);
  }
}

/* University flagship page */
.uni-page {
  --uni-black: #061c31;
  --uni-white: #ffffff;
  --uni-lime: #48bce5;
  --uni-cyan: #e7f2f9;
  --uni-red: #0d5788;
  --uni-line: rgba(9, 10, 11, .17);
  background: var(--uni-white);
  color: var(--uni-black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
}

.uni-page h1,
.uni-page h2,
.uni-page h3 {
  color: inherit;
  font-family: inherit;
  letter-spacing: 0;
}

.uni-shell {
  width: min(1420px, calc(100% - 80px));
  margin: 0 auto;
}

.uni-hero {
  min-height: calc(100svh - 78px);
  background: var(--uni-black);
  color: var(--uni-white);
  overflow: hidden;
}

.uni-hero-grid {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(620px, 1.2fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 54px;
}

.uni-kicker,
.uni-index,
.uni-ui-label {
  margin: 0;
  font-size: .74rem;
  line-height: 1.3;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.uni-kicker { color: var(--uni-lime); }

.uni-hero h1 {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: clamp(3.8rem, 6.2vw, 7.4rem);
  font-weight: 580;
  line-height: .93;
}

.uni-intro {
  max-width: 700px;
  margin: 34px 0 0;
  color: #bfc2c2;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  line-height: 1.55;
}

.uni-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-top: 34px;
}

.uni-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 720;
}

.uni-button-light { background: var(--uni-white); color: var(--uni-black); }
.uni-button-dark { background: var(--uni-black); color: var(--uni-white); }
.uni-link { color: var(--uni-white); text-underline-offset: 5px; }
.uni-note { margin: 25px 0 0; color: #787d7f; font-size: .87rem; }

.uni-workspace {
  min-width: 0;
  margin-right: 0;
  border: 1px solid #303336;
  background: #121416;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .48);
}

.uni-workspace-bar,
.uni-workspace-foot {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid #2c2f32;
  color: #aeb2b4;
  font-size: .82rem;
}

.uni-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: var(--uni-lime);
  color: var(--uni-black);
  font-weight: 850;
}

.uni-status { margin-left: auto; color: var(--uni-lime); }
.uni-workspace-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 520px; }

.uni-case-nav {
  padding: 28px 22px;
  border-right: 1px solid #2c2f32;
  color: #b8bdbe;
}

.uni-case-nav strong { display: block; margin-top: 13px; color: #fff; line-height: 1.3; }
.uni-case-nav ul { margin: 34px 0 0; padding: 0; list-style: none; }
.uni-case-nav li { padding: 12px 0; border-bottom: 1px solid #272a2c; }
.uni-case-nav li.is-active { color: var(--uni-cyan); }
.uni-case-nav li b { float: right; color: #707577; }
.uni-ui-label { color: #777d80; }

.uni-task-panel { padding: 46px; }
.uni-task-heading { display: flex; gap: 28px; justify-content: space-between; }
.uni-task-heading h2 { margin-top: 12px; max-width: 530px; color: #fff; font-size: clamp(1.8rem, 3vw, 3.1rem); }
.uni-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--uni-red); color: #fff; font-weight: 800; }
.uni-task-panel > p { max-width: 660px; margin: 22px 0 34px; color: #aeb3b5; }
.uni-output-line { display: grid; grid-template-columns: 38px 1fr; padding: 16px 0; border-top: 1px solid #303336; color: #83898b; }
.uni-output-line span { color: #5f6567; }
.uni-output-line.is-done { color: #dfe2df; }
.uni-output-line.is-current { color: var(--uni-lime); }
.uni-source-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.uni-source-row span { padding: 7px 10px; border: 1px solid #42474a; color: #c5cac9; font-size: .74rem; }
.uni-workspace-foot { border-top: 1px solid #2c2f32; border-bottom: 0; justify-content: space-between; }
.uni-workspace-foot strong { color: var(--uni-cyan); }

.uni-statement { padding: 125px 0; background: var(--uni-lime); }
.uni-statement-grid { display: grid; grid-template-columns: .4fr 1.25fr .8fr; gap: 54px; align-items: start; }
.uni-statement h2 { max-width: 820px; font-size: clamp(3rem, 5.5vw, 6.6rem); line-height: .96; }
.uni-statement-copy { padding-top: 10px; font-size: 1.12rem; }
.uni-statement-copy p:first-child { margin-top: 0; }

.uni-program { padding: 130px 0; background: var(--uni-white); }
.uni-section-head { display: grid; grid-template-columns: .44fr 1.56fr; gap: 50px; margin-bottom: 76px; }
.uni-section-head h2 { max-width: 1050px; font-size: clamp(2.7rem, 5vw, 5.8rem); line-height: .98; }
.uni-program-row { display: grid; grid-template-columns: .42fr .7fr 1.2fr; gap: 44px; padding: 34px 0; border-top: 1px solid var(--uni-line); align-items: baseline; }
.uni-program-row:last-child { border-bottom: 1px solid var(--uni-line); }
.uni-program-number { color: #747a7b; font-size: .85rem; }
.uni-program-row h3 { font-size: clamp(2rem, 3vw, 3.6rem); font-weight: 580; }
.uni-program-row p { max-width: 740px; margin: 0; color: #4e5557; font-size: 1.05rem; }

.uni-lab { padding: 120px 0; background: var(--uni-black); color: var(--uni-white); }
.uni-lab-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.uni-lab-intro h2 { max-width: 920px; margin-top: 22px; font-size: clamp(3rem, 5.3vw, 6.2rem); line-height: .96; }
.uni-lab-intro > p { color: #a8adae; font-size: 1.08rem; }
.uni-lab-stage { margin-top: 80px; border-top: 1px solid #303336; border-bottom: 1px solid #303336; }
.uni-lab-track { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto; gap: 17px; align-items: center; color: #d3d7d7; }
.uni-lab-track i { height: 1px; background: #3b4042; }
.uni-lab-columns { display: grid; grid-template-columns: .8fr 1.2fr; border-top: 1px solid #303336; }
.uni-lab-columns > div { min-height: 390px; padding: 46px; }
.uni-lab-columns > div:first-child { border-right: 1px solid #303336; }
.uni-lab-columns h3 { max-width: 500px; margin-top: 20px; color: #fff; font-size: 2.5rem; }
.uni-lab-columns p { max-width: 520px; color: #9ba0a2; }
.uni-lab-result { background: #15191a; }
.uni-lab-result blockquote { max-width: 760px; margin: 42px 0; color: #fff; font-size: clamp(1.8rem, 3.2vw, 3.7rem); line-height: 1.12; }
.uni-lab-result > span { color: var(--uni-lime); }

.uni-fit { padding: 130px 0; background: #fff; }
.uni-fit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.uni-fit-title { position: sticky; top: 120px; align-self: start; }
.uni-fit-title h2 { max-width: 580px; margin-top: 24px; font-size: clamp(3rem, 5vw, 5.7rem); line-height: .98; }
.uni-fit-list article { padding: 34px 0 46px; border-top: 1px solid var(--uni-line); }
.uni-fit-list article:last-child { border-bottom: 1px solid var(--uni-line); }
.uni-fit-list article > span { color: #777d7f; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }
.uni-fit-list h3 { margin-top: 14px; font-size: 2rem; }
.uni-fit-list p { max-width: 690px; color: #53595b; }

.uni-trust { padding: 125px 0; background: var(--uni-cyan); }
.uni-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(9,10,11,.4); }
.uni-trust-grid article { padding: 28px 28px 10px 0; }
.uni-trust-grid article + article { padding-left: 28px; border-left: 1px solid rgba(9,10,11,.4); }
.uni-trust-grid strong { font-size: 1.16rem; }
.uni-trust-grid p { color: #263536; }

.uni-cta { padding: 125px 0; background: var(--uni-red); color: #fff; }
.uni-cta .uni-kicker { color: #b9e6f5; }
.uni-cta .uni-button-dark { border-color: #fff; background: #fff; color: #073052; }
.uni-cta-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; }
.uni-cta h2 { max-width: 900px; margin-top: 20px; font-size: clamp(3rem, 5vw, 6rem); line-height: .96; }
.uni-cta-copy { font-size: 1.08rem; }
.uni-cta-copy .uni-button { margin-top: 24px; }

@media (max-width: 1100px) {
  .uni-shell { width: min(100% - 48px, 1420px); }
  .uni-hero-grid { grid-template-columns: 1fr; padding-top: 90px; }
  .uni-workspace { margin: 10px 0 -120px 80px; }
  .uni-hero { padding-bottom: 120px; }
  .uni-statement-grid,
  .uni-fit-grid { grid-template-columns: 1fr; }
  .uni-statement-grid .uni-index { grid-column: 1; }
  .uni-fit-title { position: static; }
  .uni-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .uni-trust-grid article:nth-child(3) { border-left: 0; }
}

@media (max-width: 720px) {
  .uni-shell { width: min(100% - 30px, 1420px); }
  .uni-hero { min-height: auto; }
  .uni-hero-grid { min-height: auto; gap: 46px; padding: 70px 0 45px; }
  .uni-hero h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .uni-workspace { margin: 0 -15px; }
  .uni-workspace-body { grid-template-columns: 1fr; }
  .uni-case-nav { display: none; }
  .uni-task-panel { padding: 28px 22px; }
  .uni-workspace-foot { align-items: flex-start; flex-direction: column; padding: 16px 20px; }
  .uni-statement,
  .uni-program,
  .uni-lab,
  .uni-fit,
  .uni-trust,
  .uni-cta { padding: 78px 0; }
  .uni-section-head,
  .uni-program-row,
  .uni-lab-intro,
  .uni-lab-columns,
  .uni-cta-grid { grid-template-columns: 1fr; gap: 24px; }
  .uni-section-head { margin-bottom: 46px; }
  .uni-program-row { padding: 28px 0; }
  .uni-lab-track { grid-template-columns: 1fr; padding: 22px 0; gap: 10px; }
  .uni-lab-track i { display: none; }
  .uni-lab-columns > div { min-height: auto; padding: 30px 0; }
  .uni-lab-columns > div:first-child { border-right: 0; border-bottom: 1px solid #303336; }
  .uni-lab-result { background: transparent; }
  .uni-trust-grid { grid-template-columns: 1fr; }
  .uni-trust-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(9,10,11,.4); }
}

/* Homepage V32: Amara Work as the flagship product */
.work-home {
  --work-black: #061c31;
  --work-white: #ffffff;
  --work-soft: #f1f5f8;
  --work-line: #d2dde5;
  --work-lime: #48bce5;
  --work-cyan: #e7f2f9;
  --work-red: #0d5788;
  background: var(--work-white);
  color: var(--work-black);
  overflow-x: clip;
}
.work-home h1, .work-home h2, .work-home h3 {
  color: inherit;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 620;
  letter-spacing: 0;
}
.work-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.work-kicker, .work-index, .work-ui-label {
  margin: 0;
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.work-index { color: #687069; }
.work-link { font-weight: 680; text-decoration: none; }
.work-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.work-link:hover span { transform: translateX(4px); }
.work-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 720;
  text-decoration: none;
}
.work-button-signal { border-color: #1683b3; background: #1683b3; color: #fff; }
.work-button-dark { border-color: var(--work-black); background: var(--work-black); color: #fff; }
.work-button-light { border-color: #fff; background: #fff; color: var(--work-black); }

.work-hero {
  position: relative;
  min-height: 940px;
  padding: 58px 0 0;
  background: #061c31;
  color: #fff;
}
.work-hero-grid { display: block; }
.work-hero-copy { max-width: 1040px; }
.work-kicker { color: #6ac9ea; }
.work-hero h1 { max-width: 1160px; margin: 20px 0 0; font-size: 4.7rem; line-height: .98; }
.work-lead { max-width: 800px; margin: 22px 0 0; color: #aeb4af; font-size: 1.12rem; line-height: 1.5; }
.work-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.work-hero .work-link { color: #fff; }
.work-note { margin: 18px 0 0; color: #7e8780; font-size: .88rem; }

.work-device {
  position: relative;
  width: 100%;
  margin-top: 48px;
  border: 1px solid #323638;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #0a2035;
  color: #eef1ed;
  box-shadow: 0 32px 90px rgba(0,0,0,.55);
  overflow: hidden;
}
.work-device::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(6,28,49,.78)); }
.work-device-top, .work-device-foot {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
  border-bottom: 1px solid #2b2f31;
  color: #929a94;
  font-size: .78rem;
}
.work-device-brand { margin-right: auto; color: #fff; font-weight: 700; }
.work-device-brand i { display: inline-grid; width: 25px; height: 25px; margin-right: 7px; place-items: center; border-radius: 50%; background: #48bce5; color: #061c31; font-style: normal; }
.work-live { color: #69cbed; }
.work-live i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(72,188,229,.14); }
.work-device-viewport { position: relative; min-height: 480px; overflow: hidden; background: #0b2237; }
.work-device-body { display: grid; grid-template-columns: 210px minmax(0,1fr) 260px; min-height: 480px; transform-origin: 56% 50%; }
.work-sidebar, .work-task, .work-insight { padding: 26px; }
.work-sidebar { border-right: 1px solid #22394d; background: #071a2c; }
.work-sidebar > strong { display: block; margin-top: 10px; font-size: .95rem; }
.work-sidebar nav { display: grid; gap: 5px; margin-top: 30px; }
.work-sidebar nav span { padding: 10px 11px; color: #858d87; font-size: .82rem; }
.work-sidebar nav span.is-active { background: #202423; color: #fff; }
.work-sidebar nav b { float: right; color: #cad0cb; }
.work-sidebar-meta { margin-top: 78px; padding-top: 16px; border-top: 1px solid #282c2d; }
.work-sidebar-meta small { display: block; color: #777f79; }
.work-sidebar-meta b { display: block; margin-top: 6px; color: var(--work-red); }
.work-ui-label { color: #7d857f; }
.work-task { background: #0b2237; }
.work-task-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.work-task h2 { max-width: 570px; margin-top: 8px; color: #fff; font-size: 1.75rem; line-height: 1.12; }
.work-owner { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border: 1px solid #3d4340; border-radius: 50%; color: #ced4cf; font-size: .73rem; }
.work-command { margin: 28px 0 0; padding: 17px 18px; border-left: 2px solid #48bce5; background: #112b41; color: #e3edf3; font-size: .91rem; }
.work-progress { margin-top: 18px; }
.work-progress > div { display: grid; grid-template-columns: 34px minmax(0,1fr) 22px; gap: 12px; align-items: center; min-height: 66px; border-top: 1px solid #292d2e; color: #686f6b; }
.work-progress > div > span { font-size: .72rem; }
.work-progress p { margin: 0; }
.work-progress strong, .work-progress small { display: block; }
.work-progress strong { color: #adb4af; font-size: .86rem; }
.work-progress small { margin-top: 4px; color: #69716c; font-size: .72rem; }
.work-progress .is-complete strong, .work-progress .is-current strong { color: #f2f4f1; }
.work-progress .is-complete > b { color: #69cbed; }
.work-progress .is-current { background: linear-gradient(90deg, rgba(121,231,228,.07), transparent); }
.work-loader { width: 14px; height: 14px; border: 2px solid #3f4947; border-top-color: var(--work-cyan); border-radius: 50%; }
.work-insight { border-left: 1px solid #22394d; background: #071a2c; }
.work-insight > strong { display: block; margin-top: 14px; color: #fff; font-size: 1.05rem; line-height: 1.32; }
.work-insight > p { color: #8d958f; font-size: .82rem; }
.work-insight button { width: 100%; min-height: 40px; margin-top: 12px; border: 1px solid #404743; background: transparent; color: #fff; font: inherit; font-size: .8rem; cursor: pointer; }
.work-sources { margin-top: 44px; }
.work-sources small { display: block; margin-bottom: 10px; color: #686f6b; }
.work-sources span { display: inline-block; margin: 0 4px 6px 0; padding: 5px 7px; border: 1px solid #343a37; color: #b4bcb6; font-size: .68rem; }
.work-device-foot { min-height: 50px; border-top: 1px solid #22394d; border-bottom: 0; background: #061725; }
.work-device-foot strong { margin-left: auto; color: #fff; }
.work-motion-toggle {
  display: none;
  width: 30px;
  height: 30px;
  margin-left: -12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #344b5d;
  border-radius: 50%;
  background: #0b2237;
  color: #d8e4ec;
  font: inherit;
  font-size: .68rem;
  cursor: pointer;
}
.work-result-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 30px 38px 36px;
  background: #0b2237;
  opacity: 0;
  transform: translateY(34px) scale(.94);
  pointer-events: none;
}
.work-result-screen-head {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #2c4659;
  color: #71c9e8;
  font-size: .72rem;
  letter-spacing: .05em;
}
.work-result-screen-head span i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #79e7e4; }
.work-result-screen-head b { color: #c9d6de; font-weight: 600; letter-spacing: 0; }
.work-result-screen-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); min-height: 360px; }
.work-result-screen-grid > aside { display: grid; align-content: start; gap: 8px; padding: 32px 24px 0 0; border-right: 1px solid #2c4659; }
.work-result-screen-grid > aside span { position: relative; padding: 10px 12px 10px 28px; color: #82909a; font-size: .75rem; }
.work-result-screen-grid > aside span::before { content: ""; position: absolute; left: 8px; top: 15px; width: 6px; height: 6px; border: 1px solid #587080; border-radius: 50%; }
.work-result-screen-grid > aside span.is-done::before { border-color: #69cbed; background: #69cbed; }
.work-result-screen-grid > aside span.is-active { background: #123149; color: #fff; }
.work-result-document { padding: 38px 0 0 42px; }
.work-result-document h3 { max-width: 690px; margin: 17px 0 0; color: #fff; font-size: 2.15rem; line-height: 1.08; }
.work-result-document > p:not(.work-ui-label) { max-width: 670px; color: #aebbc4; font-size: .9rem; line-height: 1.55; }
.work-result-evidence { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 32px; background: #2c4659; border: 1px solid #2c4659; }
.work-result-evidence span { padding: 18px; background: #102a40; color: #aab7c0; font-size: .7rem; }
.work-result-evidence strong { display: block; margin-bottom: 5px; color: #fff; font-size: 1.4rem; }
.work-scroll-cue { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; color: #6d756f; font-size: .72rem; writing-mode: vertical-rl; }
.work-scroll-cue i { position: relative; display: block; width: 1px; height: 54px; background: #444a46; overflow: hidden; }

/* The hero moves like a working product: content arrives once, then the task
   advances through real stages. Motion never carries essential information. */
.work-hero.is-motion-ready .work-kicker,
.work-hero.is-motion-ready h1,
.work-hero.is-motion-ready .work-lead,
.work-hero.is-motion-ready .work-actions,
.work-hero.is-motion-ready .work-note {
  animation: work-copy-reveal .72s cubic-bezier(.22,1,.36,1) both;
}
.work-hero.is-motion-ready h1 { animation-delay: .08s; }
.work-hero.is-motion-ready .work-lead { animation-delay: .16s; }
.work-hero.is-motion-ready .work-actions { animation-delay: .24s; }
.work-hero.is-motion-ready .work-note { animation-delay: .32s; }
.work-hero.is-motion-ready .work-live i { animation: work-live-pulse 2.2s ease-out infinite; }
.work-hero.is-motion-ready .work-progress > div {
  position: relative;
  opacity: .34;
  transition: opacity .45s ease, background-color .45s ease, transform .45s cubic-bezier(.22,1,.36,1);
}
.work-hero.is-motion-ready .work-progress > div > b { display: none; }
.work-hero.is-motion-ready .work-progress > div::after {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}
.work-hero.is-motion-ready .work-progress > div.is-motion-complete {
  opacity: .82;
}
.work-hero.is-motion-ready .work-progress > div.is-motion-complete strong { color: #e7eeea; }
.work-hero.is-motion-ready .work-progress > div.is-motion-complete::after {
  content: "\2713";
  color: #69cbed;
  font-size: .88rem;
}
.work-hero.is-motion-ready .work-progress > div.is-motion-current {
  opacity: 1;
  transform: translateX(5px);
  background: linear-gradient(90deg, rgba(72,188,229,.12), transparent 72%);
}
.work-hero.is-motion-ready .work-progress > div.is-motion-current strong { color: #fff; }
.work-hero.is-motion-ready .work-progress > div.is-motion-current::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #3f5968;
  border-top-color: #69cbed;
  border-radius: 50%;
  animation: work-loader-spin .8s linear infinite;
}
.work-hero.is-motion-ready .work-insight {
  animation: work-insight-reveal .8s cubic-bezier(.22,1,.36,1) 1.2s both;
}
.work-hero.is-motion-ready .work-sources span:nth-of-type(1) { animation: work-source-signal 5.4s ease-in-out 1.7s infinite; }
.work-hero.is-motion-ready .work-sources span:nth-of-type(2) { animation: work-source-signal 5.4s ease-in-out 2.3s infinite; }
.work-hero.is-motion-ready .work-sources span:nth-of-type(3) { animation: work-source-signal 5.4s ease-in-out 2.9s infinite; }
.work-hero.is-motion-ready .work-motion-toggle { display: inline-flex; }
.work-hero.is-motion-ready .work-device-body,
.work-hero.is-motion-ready .work-result-screen {
  transition: opacity .8s ease, transform 1.05s cubic-bezier(.2,.8,.2,1), filter .8s ease;
}
.work-hero.is-motion-ready .work-device[data-scene="research"] .work-device-body {
  transform: translateX(-1.5%) scale(1.035);
}
.work-hero.is-motion-ready .work-device[data-scene="research"] .work-insight {
  box-shadow: -26px 0 60px rgba(72,188,229,.08);
}
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-device-body {
  opacity: 0;
  transform: translateY(-12px) scale(1.12);
  filter: blur(7px);
  pointer-events: none;
}
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-screen {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-screen-head i {
  animation: work-result-pulse 2s ease-out infinite;
}
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-screen-grid > aside span,
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-document > * {
  animation: work-result-content .6s cubic-bezier(.22,1,.36,1) both;
}
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-screen-grid > aside span:nth-child(2) { animation-delay: .08s; }
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-screen-grid > aside span:nth-child(3) { animation-delay: .16s; }
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-screen-grid > aside span:nth-child(4) { animation-delay: .24s; }
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-document > h3 { animation-delay: .12s; }
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-document > p { animation-delay: .2s; }
.work-hero.is-motion-ready .work-device[data-scene="result"] .work-result-evidence { animation-delay: .28s; }
.work-hero.is-motion-ready .work-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: -20px 0 auto;
  height: 20px;
  background: #69cbed;
  animation: work-scroll-line 2.1s ease-in-out infinite;
}

@media (min-width: 761px) {
  .work-hero.is-motion-ready .work-device {
    animation: work-device-reveal 1s cubic-bezier(.2,.8,.2,1) .28s both;
    transform-origin: 50% 100%;
  }
}

@keyframes work-copy-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes work-device-reveal {
  from { opacity: 0; transform: perspective(1400px) rotateX(4deg) translateY(44px) scale(.985); }
  to { opacity: 1; transform: perspective(1400px) rotateX(0) translateY(0) scale(1); }
}
@keyframes work-insight-reveal {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes work-live-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(72,188,229,.12); }
  50% { box-shadow: 0 0 0 9px rgba(72,188,229,0); }
}
@keyframes work-result-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(121,231,228,.12); }
  50% { box-shadow: 0 0 0 10px rgba(121,231,228,0); }
}
@keyframes work-result-content {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes work-loader-spin { to { transform: rotate(360deg); } }
@keyframes work-source-signal {
  0%, 18%, 100% { border-color: #343a37; color: #b4bcb6; background: transparent; }
  7% { border-color: #69cbed; color: #fff; background: rgba(72,188,229,.1); }
}
@keyframes work-scroll-line {
  0% { transform: translateY(0); opacity: 0; }
  22% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translateY(74px); opacity: 0; }
}

.work-definition { padding: 150px 0; }
.work-definition-grid { display: grid; grid-template-columns: 180px minmax(0,1.4fr) minmax(300px,.65fr); gap: 42px; align-items: start; }
.work-definition h2 { max-width: 740px; font-size: 4.35rem; line-height: .98; }
.work-definition-copy { padding-top: 4px; color: #4a504b; font-size: 1.05rem; }
.work-definition-copy p:first-child { margin-top: 0; }

.work-process { padding: 130px 0; background: var(--work-soft); }
.work-section-head { display: grid; grid-template-columns: 180px minmax(0,1fr) minmax(300px,.62fr); gap: 42px; align-items: start; }
.work-section-head h2 { max-width: 720px; font-size: 3.8rem; line-height: 1; }
.work-section-head > p:last-child { margin: 0; color: #505751; }
.work-process-list { margin: 90px 0 0; padding: 0; list-style: none; border-top: 1px solid #aeb5ae; }
.work-process-list li { display: grid; grid-template-columns: 180px minmax(260px,.65fr) 1fr; gap: 42px; align-items: start; padding: 34px 0; border-bottom: 1px solid #aeb5ae; }
.work-process-list li > span { color: #747b75; font-size: .75rem; }
.work-process-list h3 { font-size: 1.55rem; }
.work-process-list p { max-width: 620px; margin: 0; color: #4c534d; }

.work-demo { padding: 140px 0; background: #e7f2f9; }
.work-demo-grid { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 90px; align-items: center; }
.work-demo-copy h2 { margin-top: 18px; font-size: 3.35rem; line-height: 1; }
.work-demo-copy > p:not(.work-index) { margin: 24px 0; }
.work-case-stage { background: #f7f8f5; border: 1px solid #181b1a; box-shadow: 18px 18px 0 rgba(8,9,10,.16); }
.work-case-title { display: flex; align-items: center; justify-content: space-between; min-height: 55px; padding: 0 20px; border-bottom: 1px solid #c6ccc6; font-size: .78rem; }
.work-case-title b { color: #27605d; }
.work-case-content { display: grid; grid-template-columns: 180px 1fr; min-height: 380px; }
.work-case-content aside { display: grid; align-content: start; gap: 4px; padding: 24px 15px; border-right: 1px solid #c6ccc6; }
.work-case-content aside span { padding: 9px 10px; color: #757c75; font-size: .75rem; }
.work-case-content aside span.is-active { background: #e3e7e2; color: #111; }
.work-case-content > div { padding: 42px; }
.work-proof { padding: 140px 0; background: #f7f8f5; }
.work-proof .work-section-head { max-width: 760px; }
.work-proof-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 28px; margin-top: 58px; align-items: start; }
.work-proof figure { margin: 0; }
.work-proof-feature { min-width: 0; }
.work-proof-stack { display: grid; gap: 28px; min-width: 0; }
.work-proof-frame { overflow: hidden; border: 1px solid #c9d1d0; background: #edf1f1; box-shadow: 12px 12px 0 rgba(8,9,10,.08); }
.work-proof-feature .work-proof-frame { aspect-ratio: 16 / 9; }
.work-proof-stack .work-proof-frame { aspect-ratio: 16 / 10; }
.work-proof img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.work-proof figure:hover img { transform: scale(1.025); }
.work-proof figcaption { display: grid; gap: 6px; padding: 18px 2px 0; }
.work-proof figcaption strong { color: #111918; font-size: 1rem; }
.work-proof figcaption span { color: #5b6561; font-size: .88rem; line-height: 1.55; }
.work-proof-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 58px; padding-top: 22px; border-top: 1px solid #c9d1d0; }
.work-proof-links > span { width: 100%; color: #68736e; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.work-proof-links a { color: #173b4e; font-weight: 700; text-decoration: none; }
.work-proof-links a:hover { color: #1688b8; }
.work-case-content h3 { max-width: 640px; margin-top: 15px; font-size: 2rem; line-height: 1.12; }
.work-case-content > div > p:not(.work-ui-label) { max-width: 620px; color: #4f5650; }
.work-evidence { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.work-evidence span { padding: 7px 10px; border: 1px solid #bfc5bf; font-size: .72rem; }

.work-scope { padding: 140px 0; background: #061c31; color: #fff; }
.work-section-head-light .work-index { color: #69cbed; }
.work-section-head-light > p:last-child { color: #979f99; }
.work-scope-lines { margin-top: 90px; border-top: 1px solid #353938; }
.work-scope-lines a { display: grid; grid-template-columns: 180px 1fr 30px; gap: 42px; align-items: center; min-height: 108px; border-bottom: 1px solid #353938; color: #fff; text-decoration: none; }
.work-scope-lines a span { color: #69cbed; font-size: .8rem; }
.work-scope-lines a strong { font-size: 1.65rem; font-weight: 540; }
.work-scope-lines a b { font-size: 1.3rem; }
.work-scope-lines a:hover strong { color: var(--work-cyan); }

.work-control { padding: 145px 0; }
.work-control-grid { display: grid; grid-template-columns: .9fr 1.35fr; gap: 100px; }
.work-control-title { position: sticky; top: 120px; align-self: start; }
.work-control-title h2 { margin-top: 20px; font-size: 4.2rem; line-height: .98; }
.work-control-points { border-top: 1px solid var(--work-line); }
.work-control-points article { display: grid; grid-template-columns: 48px 210px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--work-line); }
.work-control-points article > span { color: #747b75; font-size: .72rem; }
.work-control-points h3 { font-size: 1.35rem; }
.work-control-points p { margin: 0; color: #515852; }

.work-university { padding: 130px 0; background: #dcecf6; }
.work-university-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.work-university h2 { margin-top: 20px; font-size: 4rem; line-height: .98; }
.work-university p:not(.work-index) { max-width: 630px; margin: 24px 0 30px; }
.work-university-visual { display: grid; grid-template-columns: 1fr 45px 1fr 45px 1fr; align-items: center; }
.work-university-visual > div { min-height: 210px; padding: 26px; border: 1px solid #111; background: rgba(255,255,255,.46); }
.work-university-visual > div:nth-of-type(2) { transform: translateY(26px); background: #fff; }
.work-university-visual span, .work-university-visual strong, .work-university-visual small { display: block; }
.work-university-visual span { font-size: .72rem; }
.work-university-visual strong { margin-top: 52px; font-size: 1.05rem; }
.work-university-visual small { margin-top: 8px; color: #4d534e; }
.work-university-visual > i { height: 1px; background: #111; }

.work-pricing { padding: 140px 0; }
.work-pricing-head { display: grid; grid-template-columns: 1.1fr .65fr; gap: 90px; align-items: end; }
.work-pricing-head h2 { margin-top: 20px; font-size: 4rem; line-height: .98; }
.work-pricing-head > p { color: #515852; }
.work-price-row { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 70px; border-top: 1px solid var(--work-black); border-bottom: 1px solid var(--work-black); }
.work-price-row article { min-height: 330px; padding: 28px; border-right: 1px solid var(--work-line); }
.work-price-row article:last-child { border-right: 0; }
.work-price-row article > span { color: #687069; font-size: .72rem; text-transform: uppercase; }
.work-price-row h3 { margin-top: 42px; font-size: 1.5rem; }
.work-price-row p strong { font-size: 2.5rem; }
.work-price-row small { display: block; min-height: 52px; color: #687069; }
.work-price-row a { display: inline-block; margin-top: 25px; padding-bottom: 4px; border-bottom: 1px solid; font-weight: 700; text-decoration: none; }

.work-faq { padding: 140px 0; background: var(--work-soft); }
.work-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; }
.work-faq h2 { margin-top: 20px; font-size: 3.7rem; line-height: 1; }
.work-faq-list { border-top: 1px solid #aeb5ae; }
.work-faq-list details { padding: 24px 0; border: 0; border-bottom: 1px solid #aeb5ae; background: transparent; }
.work-faq-list details[open] { background: transparent; }
.work-faq-list summary { list-style: none; font-size: 1.15rem; }
.work-faq-list summary::-webkit-details-marker { display: none; }
.work-faq-list summary::after { content: "+"; float: right; font-size: 1.5rem; font-weight: 400; }
.work-faq-list details[open] summary::after { content: "−"; }
.work-faq-list p { max-width: 680px; color: #515852; }

.work-final { padding: 135px 0; background: #0d5788; color: #fff; }
.work-final-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 100px; align-items: end; }
.work-final h2 { font-size: 5rem; line-height: .95; }
.work-final p { font-size: 1.08rem; }
.work-final .work-button { margin-top: 20px; }

.site-header { background: rgba(255,255,255,.97); border-bottom-color: #d6e0e7; }
.nav { width: min(1240px, calc(100% - 64px)); min-height: 72px; }
.brand strong { font-size: 1.22rem; }
.brand span { color: #59615b; font-size: .62rem; letter-spacing: .08em; }
.nav-links { gap: 24px; color: #4f5650; font-size: .82rem; }
.nav-links .button { min-height: 38px; padding: 0 15px; border-color: #0d5788; background: #0d5788; }
.site-footer { background: #061c31; color: #aebdca; border-top: 0; }
.footer-row a { color: #909892; }

@media (prefers-reduced-motion: reduce) {
  .work-link span,
  .work-hero *,
  .work-hero *::before,
  .work-hero *::after { animation: none !important; transition: none !important; }
  .work-hero.is-motion-ready .work-progress > div { opacity: 1; transform: none; }
  .work-hero.is-motion-ready .work-progress > div > b { display: block; }
  .work-hero.is-motion-ready .work-progress > div::after { content: none; }
  .work-hero.is-motion-ready .work-motion-toggle { display: none; }
  .work-hero.is-motion-ready .work-device-body { opacity: 1; transform: none; filter: none; }
  .work-hero.is-motion-ready .work-result-screen { display: none; }
}

@media (max-width: 1050px) {
  .work-device-body { grid-template-columns: 180px 1fr; }
  .work-insight { display: none; }
  .work-definition-grid, .work-section-head { grid-template-columns: 140px 1fr; }
  .work-definition-copy, .work-section-head > p:last-child { grid-column: 2; }
  .work-process-list li { grid-template-columns: 140px 1fr; }
  .work-process-list li p { grid-column: 2; }
  .work-demo-grid { grid-template-columns: 1fr; }
  .work-control-grid { gap: 60px; }
  .work-university-grid { grid-template-columns: 1fr; }
  .work-faq-grid { gap: 60px; }
}

@media (max-width: 760px) {
  .work-shell, .nav { width: min(100% - 28px, 1240px); }
  .work-hero { min-height: auto; padding-top: 58px; }
  .work-hero h1 { font-size: 3.2rem; line-height: .98; }
  .work-lead { font-size: 1.06rem; }
  .work-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .work-device { width: 100%; margin-top: 48px; transform: none; transform-origin: center top; }
  .work-hero-grid { height: auto; }
  .work-device-top span:nth-child(2) { display: none; }
  .work-device-viewport, .work-device-body { min-height: 470px; }
  .work-device-body { grid-template-columns: 1fr; }
  .work-sidebar, .work-insight { display: none; }
  .work-task { padding: 22px 18px; }
  .work-task h2 { font-size: 1.35rem; }
  .work-command { margin-top: 20px; padding: 14px; }
  .work-progress > div { min-height: 62px; }
  .work-device-foot { gap: 12px; padding: 0 14px; }
  .work-device-foot > span { display: none; }
  .work-device-foot strong { margin-left: 0; margin-right: auto; }
  .work-result-screen { padding: 22px 18px 26px; }
  .work-result-screen-head b { font-size: .66rem; }
  .work-result-screen-grid { grid-template-columns: 1fr; min-height: 390px; }
  .work-result-screen-grid > aside { display: none; }
  .work-result-document { padding: 24px 0 0; }
  .work-result-document h3 { font-size: 1.55rem; }
  .work-result-document > p:not(.work-ui-label) { font-size: .8rem; }
  .work-result-evidence { margin-top: 22px; }
  .work-result-evidence span { padding: 12px 9px; font-size: .6rem; }
  .work-result-evidence strong { font-size: 1.15rem; }
  .work-scroll-cue { display: none; }
  .work-definition, .work-process, .work-demo, .work-proof, .work-scope, .work-control,
  .work-university, .work-pricing, .work-faq, .work-final { padding: 78px 0; }
  .work-definition-grid, .work-section-head, .work-demo-grid, .work-proof-grid, .work-control-grid,
  .work-university-grid, .work-pricing-head, .work-faq-grid, .work-final-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-definition-copy, .work-section-head > p:last-child { grid-column: 1; }
  .work-definition h2, .work-section-head h2, .work-control-title h2,
  .work-university h2, .work-pricing-head h2, .work-faq h2 { font-size: 2.8rem; }
  .work-process-list { margin-top: 52px; }
  .work-process-list li { grid-template-columns: 45px 1fr; gap: 14px; padding: 25px 0; }
  .work-process-list li p { grid-column: 2; }
  .work-case-content { grid-template-columns: 1fr; }
  .work-case-content aside { display: none; }
  .work-case-content > div { padding: 28px 22px; }
  .work-case-content h3 { font-size: 1.6rem; }
  .work-scope-lines { margin-top: 50px; }
  .work-scope-lines a { grid-template-columns: 95px 1fr 20px; gap: 15px; min-height: 92px; }
  .work-scope-lines a strong { font-size: 1.05rem; }
  .work-control-title { position: static; }
  .work-control-points article { grid-template-columns: 34px 1fr; gap: 12px; }
  .work-control-points article p { grid-column: 2; }
  .work-university-visual { grid-template-columns: 1fr; gap: 12px; }
  .work-university-visual > i { width: 1px; height: 22px; margin-left: 24px; }
  .work-university-visual > div { min-height: 150px; }
  .work-university-visual > div:nth-of-type(2) { transform: none; }
  .work-university-visual strong { margin-top: 25px; }
  .work-price-row { grid-template-columns: 1fr; }
  .work-price-row article { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--work-line); }
  .work-price-row article:last-child { border-bottom: 0; }
  .work-final h2 { font-size: 3.35rem; }
  .nav { align-items: center; flex-direction: row; padding: 10px 0; }
  .nav-links { width: auto; overflow: visible; padding: 0; }
  .nav-links > a:not(.button) { display: none; }
  .brand span { display: none; }
}

/* Amara Work detail page */
.work-detail-hero { padding: 110px 0 120px; background: var(--work-black); color: #fff; }
.work-detail-hero h1 { max-width: 1100px; margin: 28px 0 0; font-size: 6rem; line-height: .94; }
.work-detail-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 120px; margin-top: 68px; border-top: 1px solid #343837; padding-top: 28px; }
.work-detail-intro > p { margin: 0; color: #fff; font-size: 1.65rem; line-height: 1.35; }
.work-detail-intro > div p { margin-top: 0; color: #9ca39e; }
.work-detail-intro .work-button { margin-top: 18px; }
.work-detail-command { margin-top: 92px; border: 1px solid #363a39; background: #111415; }
.work-detail-command-bar, .work-detail-status { display: flex; align-items: center; min-height: 52px; gap: 28px; padding: 0 22px; color: #848c86; font-size: .78rem; }
.work-detail-command-bar { border-bottom: 1px solid #313534; }
.work-detail-command-bar b { margin-left: auto; color: #fff; }
.work-detail-command blockquote { max-width: 940px; margin: 0; padding: 52px 56px; color: #fff; font-size: 2.2rem; line-height: 1.28; }
.work-detail-status { border-top: 1px solid #313534; }
.work-detail-status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--work-lime); }
.work-detail-status strong { margin-left: auto; color: var(--work-lime); }
.work-detail-thesis { padding: 150px 0; }
.work-detail-tasks { padding: 140px 0; background: var(--work-black); color: #fff; }
.work-task-columns { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 90px; border-top: 1px solid #383c3b; border-bottom: 1px solid #383c3b; }
.work-task-columns section { min-height: 430px; padding: 34px; border-right: 1px solid #383c3b; }
.work-task-columns section:last-child { border-right: 0; }
.work-task-columns section > span { color: var(--work-lime); font-size: .75rem; text-transform: uppercase; }
.work-task-columns h3 { margin-top: 54px; font-size: 1.8rem; }
.work-task-columns ul { margin: 32px 0 0; padding: 0; list-style: none; color: #9ca39e; }
.work-task-columns li { padding: 11px 0; border-top: 1px solid #292d2c; }
.work-detail-collab { padding: 140px 0; background: var(--work-cyan); }
.work-detail-collab-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; }
.work-detail-collab h2 { margin-top: 20px; font-size: 4rem; line-height: .98; }
.work-dialogue { border-top: 1px solid #181a19; }
.work-dialogue > div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(8,9,10,.4); }
.work-dialogue span { font-size: .75rem; font-weight: 700; }
.work-dialogue p { max-width: 620px; margin: 0; font-size: 1.08rem; }
.work-dialogue .is-amara { padding-left: 48px; }
.work-dialogue .is-amara span { color: #145654; }
.work-detail-results { padding: 140px 0; }
.work-result-lines { margin-top: 85px; border-top: 1px solid #b9bfb9; }
.work-result-lines > div { display: grid; grid-template-columns: 120px 270px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid #b9bfb9; }
.work-result-lines span { color: #737a74; font-size: .72rem; }
.work-result-lines strong { font-size: 1.35rem; }
.work-result-lines p { margin: 0; color: #515852; }
.work-detail-control { padding: 145px 0; background: var(--work-soft); }

@media (max-width: 760px) {
  .work-detail-hero { padding: 68px 0 78px; }
  .work-detail-hero h1 { font-size: 3.35rem; }
  .work-detail-intro, .work-detail-collab-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 42px; }
  .work-detail-intro > p { font-size: 1.3rem; }
  .work-detail-command { margin-top: 55px; }
  .work-detail-command blockquote { padding: 34px 22px; font-size: 1.45rem; }
  .work-detail-status { align-items: flex-start; flex-direction: column; gap: 6px; padding: 16px 22px; }
  .work-detail-status strong { margin-left: 0; }
  .work-detail-thesis, .work-detail-tasks, .work-detail-collab, .work-detail-results, .work-detail-control { padding: 78px 0; }
  .work-task-columns { grid-template-columns: 1fr; margin-top: 50px; }
  .work-task-columns section { min-height: auto; border-right: 0; border-bottom: 1px solid #383c3b; }
  .work-detail-collab h2 { font-size: 2.8rem; }
  .work-dialogue .is-amara { padding-left: 22px; }
  .work-dialogue > div { grid-template-columns: 86px 1fr; gap: 12px; }
  .work-result-lines > div { grid-template-columns: 42px 1fr; gap: 12px; }
  .work-result-lines p { grid-column: 2; }
}

/* Legal library: editorial documents, not generic marketing cards. */
.legal-page {
  min-height: 70vh;
  padding: 84px 0 130px;
  background: #f5f8fb;
  color: var(--ink);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 790px);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 108px;
  border-top: 2px solid var(--ink);
}

.legal-nav-title {
  margin: 0;
  padding: 18px 0 16px;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid #cbd8e2;
  color: #667786;
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  padding-left: 7px;
  color: var(--teal);
}

.legal-nav a.is-current {
  color: var(--ink);
  font-weight: 750;
}

.legal-document {
  min-width: 0;
}

.legal-document-header {
  padding-bottom: 54px;
  border-bottom: 1px solid #c1d0db;
}

.legal-document-header > p {
  margin: 0 0 28px;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-document-header h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.3vw, 5.35rem);
  font-weight: 760;
  line-height: .96;
  letter-spacing: 0;
}

.legal-lead p {
  max-width: 680px;
  margin: 30px 0 0;
  color: #536878;
  font-size: 1.2rem;
  line-height: 1.6;
}

.legal-document-content {
  counter-reset: legal-section;
}

.legal-document-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, .62fr) minmax(0, 1.38fr);
  column-gap: 56px;
  padding: 48px 0;
  border-bottom: 1px solid #cbd8e2;
  counter-increment: legal-section;
}

.legal-document-section::before {
  content: counter(legal-section, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 0;
  color: #8ca1b1;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.legal-document-section h2 {
  grid-row: 1 / span 8;
  margin: 0;
  padding-top: 7px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.15;
}

.legal-document-section p {
  grid-column: 2;
  margin: 0 0 18px;
  color: #334d61;
  font-size: 1rem;
  line-height: 1.75;
}

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

@media (prefers-reduced-motion: reduce) {
  .legal-nav a { transition: none; }
}

@media (max-width: 900px) {
  .legal-page { padding-top: 56px; }
  .legal-layout { grid-template-columns: 1fr; gap: 48px; }
  .legal-nav {
    position: static;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 6px;
    border-bottom: 1px solid #cbd8e2;
    scrollbar-width: thin;
  }
  .legal-nav-title { display: none; }
  .legal-nav a {
    flex: 0 0 auto;
    padding: 14px 0;
    border-top: 0;
    white-space: nowrap;
  }
  .legal-nav a:hover,
  .legal-nav a:focus-visible { padding-left: 0; }
}

@media (max-width: 650px) {
  .legal-page { padding: 36px 0 82px; }
  .legal-layout { gap: 34px; }
  .legal-document-header { padding-bottom: 38px; }
  .legal-document-header h1 { font-size: 2.65rem; line-height: 1; }
  .legal-lead p { font-size: 1.05rem; }
  .legal-document-section {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 45px 0 38px;
  }
  .legal-document-section h2 {
    grid-row: auto;
    padding-top: 0;
    font-size: 1.35rem;
  }
  .legal-document-section p { grid-column: 1; font-size: .97rem; }
}

/* Search landing pages: long-form product editorial, not a stack of cards. */
.seo-page {
  background: #f7f9fb;
  color: var(--ink);
}

.seo-page-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.seo-page-hero {
  padding: 112px 0 92px;
  overflow: hidden;
  background: #061c31;
  color: #fff;
}

.seo-page-kicker {
  margin: 0 0 34px;
  color: #88cfe9;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seo-page-hero h1 {
  max-width: 1040px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.9rem, 7.1vw, 7.1rem);
  font-weight: 720;
  line-height: .93;
  letter-spacing: 0;
}

.seo-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, .55fr);
  gap: clamp(55px, 9vw, 140px);
  align-items: end;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid #345066;
}

.seo-page-intro > p {
  max-width: 760px;
  margin: 0;
  color: #e6edf2;
  font-size: 1.42rem;
  line-height: 1.48;
}

.seo-page-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.seo-page-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #fff;
  background: #fff;
  color: #061c31;
  font-weight: 750;
  text-decoration: none;
}

.seo-page-secondary {
  color: #b8c8d4;
  font-weight: 700;
  text-decoration: none;
}

.seo-page-secondary span { margin-left: 8px; }

.seo-page-primary:focus-visible,
.seo-page-secondary:focus-visible,
.seo-faq-list summary:focus-visible {
  outline: 3px solid #69c8e8;
  outline-offset: 4px;
}

.seo-page-body {
  padding: 0 0 126px;
  background: #f7f9fb;
}

.seo-editorial-content {
  counter-reset: seo-section;
}

.seo-editorial-section,
.seo-faq {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(210px, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(28px, 5vw, 78px);
  padding: 72px 0;
  border-bottom: 1px solid #c5d3de;
}

.seo-section-number {
  padding-top: 8px;
  color: #608096;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.seo-editorial-section h2,
.seo-faq h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 2.75vw, 2.75rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

.seo-section-copy p {
  margin: 0 0 22px;
  color: #334f65;
  font-size: 1.06rem;
  line-height: 1.76;
}

.seo-section-copy p:last-child { margin-bottom: 0; }

.seo-section-copy a {
  color: #0d5788;
  font-weight: 700;
  text-underline-offset: 3px;
}

.seo-section-copy ul {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid #9eb2c1;
  list-style: none;
}

.seo-section-copy li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid #cfdae2;
  color: #173a58;
}

.seo-section-copy li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #1683b3;
}

.seo-faq-list {
  border-top: 1px solid #9eb2c1;
}

.seo-faq-list details {
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #c5d3de;
  background: transparent;
}

.seo-faq-list summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
}

.seo-faq-list summary::-webkit-details-marker { display: none; }
.seo-faq-list summary::after { content: "+"; float: right; font-size: 1.35rem; font-weight: 400; }
.seo-faq-list details[open] summary::after { content: "−"; }

.seo-faq-list p {
  max-width: 680px;
  margin: 18px 36px 0 0;
  color: #4d6475;
  line-height: 1.7;
}

.seo-page-final {
  padding: 108px 0 116px;
  background: #0d5788;
  color: #fff;
}

.seo-page-final-grid {
  display: grid;
  grid-template-columns: 1.15fr .62fr;
  gap: clamp(55px, 10vw, 150px);
  align-items: end;
}

.seo-page-final h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: .96;
}

.seo-page-final p {
  margin: 0 0 26px;
  color: #e5eff5;
  font-size: 1.05rem;
  line-height: 1.65;
}

.seo-page-primary-light { border-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .seo-page-primary,
  .seo-page-secondary { transition: none; }
}

@media (max-width: 840px) {
  .seo-page-shell { width: min(100% - 36px, 1180px); }
  .seo-page-hero { padding: 72px 0 68px; }
  .seo-page-hero h1 { font-size: clamp(3.1rem, 14vw, 5.2rem); }
  .seo-page-intro { grid-template-columns: 1fr; gap: 34px; margin-top: 48px; }
  .seo-editorial-section,
  .seo-faq {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    padding: 52px 0;
  }
  .seo-editorial-section h2,
  .seo-faq h2 { grid-column: 2; }
  .seo-section-copy,
  .seo-faq-list { grid-column: 2; }
  .seo-page-final-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 520px) {
  .seo-page-shell { width: min(100% - 28px, 1180px); }
  .seo-page-hero { padding: 54px 0 58px; }
  .seo-page-kicker { margin-bottom: 25px; }
  .seo-page-hero h1 { font-size: 2.8rem; line-height: .98; }
  .seo-page-intro > p { font-size: 1.16rem; }
  .seo-page-body { padding-bottom: 74px; }
  .seo-editorial-section,
  .seo-faq {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 42px 0;
  }
  .seo-section-number,
  .seo-editorial-section h2,
  .seo-faq h2,
  .seo-section-copy,
  .seo-faq-list { grid-column: 1; }
  .seo-editorial-section h2,
  .seo-faq h2 { font-size: 1.75rem; }
  .seo-section-copy p { font-size: 1rem; }
  .seo-page-final { padding: 74px 0 82px; }
  .seo-page-final h2 { font-size: 3rem; }
}
