@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:opsz,wght@14..32,300..800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  color-scheme: light;
  --ink: #15222b;
  --ink-soft: #173c56;
  --paper: #f7f5f0;
  --surface: #fefefe;
  --surface-soft: #effbfd;
  --steel: #d8e6ec;
  --white: #fefefe;
  --coral: #27c7e8;
  --cyan-deep: #168eaf;
  --coral-dark: #0f6f86;
  --plum: #527587;
  --plum-dark: #173c56;
  --mint: #168eaf;
  --yellow: #e4b63e;
  --champagne: #d7c39a;
  --champagne-light: #f3ead8;
  --champagne-deep: #9b7a43;
  --champagne-mist: #f8f3e9;
  --line: #d8e6ec;
  --muted: #4a6070;
  --subtle: #7a94a3;
  --cyan-light: #a7eff8;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 20px 0;
  color: var(--ink);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.valia-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  isolation: isolate;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.valia-brand:hover { transform: translateY(-1px); opacity: .95; }

.valia-logo-mark {
  width: 50px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 5px 10px rgb(21 34 43 / 12%));
  transform-origin: center;
  transition: filter 180ms ease;
}

.site-header .valia-logo-mark {
  animation: valia-breathe 6.5s ease-in-out infinite;
}

.valia-brand:hover .valia-logo-mark { filter: drop-shadow(0 7px 14px rgb(22 142 175 / 24%)); }

@keyframes valia-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.valia-wordmark {
  display: grid;
  align-content: center;
  justify-items: end;
  line-height: 1;
}

.valia-wordmark strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: .08em;
}

.valia-wordmark > span {
  margin-top: 5px;
  color: var(--cyan-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
}

.site-header nav,
.site-footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-header nav a,
.site-footer nav a {
  position: relative;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: .48;
  transform: scaleX(.28);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header nav a[data-withdrawal-link] {
  padding: 8px 11px;
  border: 1px solid rgb(39 199 232 / 55%);
  border-radius: 4px;
  background: rgb(239 251 253 / 56%);
}

.site-header nav a[data-withdrawal-link]::after {
  right: 10px;
  bottom: 5px;
  left: 10px;
}

.configuration-alert {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 360px;
  padding: 12px 16px;
  border: 2px solid var(--yellow);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 30px rgb(0 0 0 / 25%);
}

.hero {
  position: relative;
  min-height: min(780px, 88vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(247 245 240 / 98%) 0%, rgb(247 245 240 / 93%) 38%, rgb(247 245 240 / 52%) 62%, rgb(247 245 240 / 4%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 130px 0 90px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0 0 0 12px;
  border-left: 3px solid var(--coral);
  background: none;
  color: var(--coral-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--coral-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.96;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.button-secondary {
  border-color: var(--coral);
  background: linear-gradient(135deg, rgb(254 254 254 / 88%), var(--champagne-light));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgb(39 199 232 / 18%);
}

.button-secondary:hover {
  border-color: var(--cyan-deep);
  background: var(--champagne-light);
}

.button-outline {
  border-color: var(--coral);
  background: var(--surface);
  color: var(--ink);
}

.button-outline:hover {
  background: var(--champagne-light);
  color: var(--ink);
}

.availability-note {
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
}

.hero-purchase {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.price {
  margin: 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
}

.price small {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 3px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

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

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

.button-primary {
  border-color: var(--coral);
  background: linear-gradient(135deg, var(--champagne-light) 0%, var(--champagne) 58%, #c6ab76 100%);
  color: var(--ink);
  box-shadow: 0 9px 24px rgb(155 122 67 / 18%), inset 0 0 0 1px rgb(255 255 255 / 52%);
}

.button-primary:hover {
  background: linear-gradient(135deg, #fff8e9 0%, #e4d1aa 58%, #c6aa72 100%);
  box-shadow: 0 12px 28px rgb(22 142 175 / 18%), inset 0 0 0 1px rgb(255 255 255 / 68%);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  background: #6b6f6d;
  color: #94a3b8;
  transform: none;
}

.trust-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 26px 0 0;
  padding: 0;
  color: #dbeafe;
  list-style: none;
}

.trust-list li::before,
.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: #38bdf8;
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.proof-band div {
  padding: 26px;
  text-align: center;
}

.proof-band div + div {
  border-left: 1px solid var(--line);
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  font-size: 20px;
}

.proof-band span {
  color: var(--muted);
  font-size: 14px;
}

.problem-section,
.method-section,
.catalog-section,
.workflow-section,
.inside-section,
.faq-section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
  color: var(--ink);
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: end;
}

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

.problem-copy {
  padding-left: 24px;
  border-left: 4px solid var(--coral);
}

.problem-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.method-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(0 -100vmax);
}

.section-heading > p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  list-style: none;
}

.method-grid li {
  min-width: 0;
  padding: 24px 20px;
}

.method-grid li + li {
  border-left: 1px solid var(--line);
}

.method-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.method-grid strong {
  display: block;
  font-size: 18px;
}

.method-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.janus-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  padding: 88px max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

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

.janus-copy {
  align-self: end;
}

.janus-copy > p {
  color: #c7d4df;
  font-size: 18px;
}

.janus-copy blockquote {
  margin: 32px 0 0;
  padding: 18px 0 18px 24px;
  border-left: 4px solid var(--yellow);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.35;
}

.catalog-section {
  border-bottom: 1px solid var(--line);
}

.complete-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  gap: clamp(36px, 7vw, 80px);
  overflow: hidden;
  margin-bottom: 28px;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--border, var(--line));
  border-top: 3px solid var(--coral);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 68%, var(--champagne-mist) 118%);
  color: var(--ink);
  box-shadow: 0 24px 70px rgb(21 34 43 / 10%);
  isolation: isolate;
}

.complete-card::after {
  position: absolute;
  right: -20px;
  bottom: -28px;
  z-index: -1;
  width: 220px;
  height: 198px;
  background: url("assets/valia-v-figma.svg") center / contain no-repeat;
  content: "";
  opacity: .045;
  pointer-events: none;
}

.complete-copy h3 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
}

.complete-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.complete-card .check-list {
  max-width: 620px;
  margin-bottom: 30px;
}

.complete-card .check-list li {
  border-color: rgb(247 248 248 / 16%);
}

.status-badge,
.role-status,
.edition-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgb(155 122 67 / 38%);
  background: var(--champagne-light);
  color: var(--ink-soft);
}

.complete-overline {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.complete-overline .eyebrow {
  margin: 0;
}

.face-stack {
  display: grid;
  gap: 14px;
  align-content: center;
}

.face-stack div {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 18px;
  border: 1px solid rgb(247 248 248 / 18%);
  border-radius: 8px;
  background: rgb(247 248 248 / 8%);
}

.face-stack span {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 30px;
}

.face-stack strong {
  font-size: 20px;
}

.face-stack small {
  color: #b9c8d8;
}

.workflow-section {
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(0 -100vmax);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.workflow-list li {
  min-width: 0;
  padding: 26px 20px;
  background: var(--paper);
}

.workflow-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
}

.workflow-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.workflow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.edition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.edition-grid article {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.edition-grid .edition-featured {
  border-color: var(--plum);
  background: linear-gradient(145deg, #e2e0ea, #f2efe9);
}

.edition-kicker {
  margin-bottom: 14px;
  color: var(--coral-dark);
}

.edition-grid h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.compatibility-note {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
  background: #eee8d8;
  color: var(--muted);
}

.transparency-section > div:last-child {
  align-self: end;
}

.transparency-section > div:last-child p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 18px;
}

.final-cta .text-link {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 5px;
}

/* Landing Janus: composición comercial compacta */

.hero-shade {
  background:
    linear-gradient(90deg, rgb(247 245 240 / 99%) 0%, rgb(247 245 240 / 94%) 39%, rgb(247 245 240 / 56%) 60%, rgb(247 245 240 / 8%) 100%),
    linear-gradient(180deg, rgb(247 245 240 / 20%), rgb(247 245 240 / 8%) 70%, rgb(247 245 240 / 54%));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.hero-copy-block {
  max-width: 610px;
  min-width: 0;
}

.hero-copy-block h1 {
  max-width: 580px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(60px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -.038em;
  line-height: .92;
}

.hero-copy-block h1 span {
  color: var(--coral);
}

.hero-product-visual {
  width: min(100%, 350px);
  justify-self: end;
  border-color: rgb(247 248 248 / 28%);
  box-shadow: 16px 20px 0 rgb(22 36 50 / 74%), 0 30px 80px rgb(0 0 0 / 28%);
}

.hero-product-visual .cover-copy strong {
  font-size: clamp(36px, 4vw, 52px);
}

.hero-role-path {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 28px;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.hero-role-path span {
  padding: 6px 10px;
  border: 1px solid rgb(39 199 232 / 46%);
  border-radius: 4px;
  background: rgb(254 254 254 / 74%);
  color: var(--coral-dark);
  letter-spacing: .08em;
}

.hero-role-path i {
  color: var(--coral);
  font-style: normal;
}

.hero-edition-kicker {
  display: inline-flex;
  width: fit-content;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
  padding: 9px 13px;
  border: 1px solid rgb(39 199 232 / 48%);
  border-left: 3px solid var(--coral);
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, rgb(239 251 253 / 88%), rgb(243 234 216 / 68%));
  color: var(--coral-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-edition-kicker span {
  color: var(--champagne-deep);
  letter-spacing: .10em;
}

.method-compact {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 48px 64px;
  align-items: end;
  padding-block: 78px;
}

.method-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4.5vw, 54px);
}

.method-intro > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.method-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.method-line li {
  position: relative;
  min-width: 0;
  padding: 24px 12px;
  color: var(--ink);
  text-align: center;
}

.method-line li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 1;
  color: var(--coral-dark);
  transform: translateY(-50%);
}

.method-line strong {
  display: block;
  font-size: clamp(13px, 1.4vw, 16px);
}

.method-line span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
}

.method-line p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.janus-capabilities {
  grid-column: 1 / -1;
  padding-top: 4px;
}

.janus-capabilities > p {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.janus-capabilities ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.janus-capabilities li {
  padding: 16px 18px;
}

.janus-capabilities li + li {
  border-left: 1px solid var(--line);
}

.janus-capabilities strong,
.janus-capabilities span {
  display: block;
}

.janus-capabilities strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.janus-capabilities span {
  color: var(--muted);
  font-size: 13px;
}

.case-note {
  grid-column: 2;
  margin: -22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.compact-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.compact-heading h2 {
  font-size: clamp(36px, 4.8vw, 56px);
}

.complete-card-compact {
  padding-block: clamp(30px, 5vw, 52px);
}

.complete-card-compact .complete-copy > p:not(.eyebrow) {
  margin-bottom: 20px;
}

.complete-purchase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.complete-assets {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.complete-assets li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgb(254 254 254 / 72%);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.complete-role-line {
  display: flex;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.complete-role-line li {
  display: flex;
  min-width: 108px;
  gap: 9px;
  align-items: center;
  padding: 10px 16px;
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgb(254 254 254 / 68%);
}

.complete-role-line li:last-child {
  border-right: 1px solid var(--line);
}

.complete-role-line span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 10px;
}

.complete-role-line strong {
  color: var(--blue-deep, var(--ink-soft));
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
}

.role-alternatives {
  scroll-margin-top: 28px;
}

.text-link-light {
  color: var(--white);
  font-weight: 850;
  text-underline-offset: 5px;
}

.role-alternatives {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.role-alternatives-heading {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr);
  gap: 8px 56px;
  align-items: end;
  margin-bottom: 24px;
}

.role-alternatives-heading .eyebrow {
  grid-column: 1 / -1;
}

.role-alternatives-heading h3 {
  font-size: clamp(27px, 3.4vw, 40px);
}

.role-alternatives-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

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

.role-offer-grid article {
  position: relative;
  overflow: hidden;
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgb(21 34 43 / 5%);
}

.role-offer-grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0 62%, var(--champagne) 100%);
  content: "";
}

.role-svg {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--coral-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.role-offer-grid article:nth-child(2) .role-svg {
  color: var(--plum);
}

.role-offer-grid article:nth-child(3) .role-svg {
  color: #9b7200;
}

.role-offer-grid .role-status {
  margin-bottom: 12px;
  color: var(--muted);
}

.role-offer-grid h4 {
  margin-bottom: 12px;
  font-size: 25px;
}

.role-offer-grid article > p {
  margin-bottom: 14px;
  color: var(--ink);
}

.role-offer-grid small {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.role-offer-grid .button {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.inside-compact {
  padding-block: 78px;
}

.inside-showcase {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 7vw, 84px);
  align-items: center;
}

.product-book {
  width: min(100%, 370px);
}

.product-book .cover-copy strong {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
}

.delivery-lead {
  max-width: 700px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 750;
  line-height: 1.35;
}

.edition-grid article > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.trust-seals {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-seals li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.faq-compact {
  padding-block: 78px;
}

.compact-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 58px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--champagne-mist) 56%, var(--champagne-light) 115%);
  box-shadow: 0 22px 60px rgb(21 34 43 / 8%);
  text-align: center;
}

.compact-cta::after {
  position: absolute;
  right: -34px;
  bottom: -52px;
  z-index: -1;
  width: 250px;
  height: 225px;
  background: url("assets/valia-v-figma.svg") center / contain no-repeat;
  content: "";
  opacity: .045;
  pointer-events: none;
}

.compact-cta .eyebrow {
  padding-left: 0;
  border-left: 0;
}

.compact-cta .eyebrow::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 10px;
  background: var(--coral);
  content: "";
  vertical-align: middle;
}

.compact-cta h2 {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: clamp(34px, 4vw, 50px);
}

.cta-note {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.purchase-dialog {
  width: min(calc(100% - 32px), 560px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 100px rgb(0 0 0 / 38%);
}

.purchase-dialog::backdrop {
  background: rgb(15 23 42 / 72%);
  backdrop-filter: blur(4px);
}

.purchase-dialog-content {
  padding: clamp(28px, 6vw, 48px);
}

.purchase-dialog h2 {
  margin-bottom: 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 830;
  letter-spacing: -.035em;
}

.purchase-dialog-content > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

#delivery-email-form {
  display: grid;
  gap: 10px;
}

#delivery-email-form label { font-weight: 750; }

#delivery-email-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.purchase-dialog-status { min-height: 1.5em; margin: 4px 0; color: var(--muted); }
.purchase-dialog-note { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
#delivery-email-form:not([hidden]) ~ [data-dialog-close] { display: none; }

main h2,
.complete-copy h3,
.role-alternatives-heading h3,
.role-offer-grid h4,
.edition-grid h3,
.compact-cta h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 820;
  letter-spacing: -.035em;
}

.product-section,
.outcomes-section,
.inside-section,
.faq-section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
  color: var(--ink);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.product-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #b9cbd6;
  border-radius: 14px;
  background: linear-gradient(145deg, #f2efe9, #dfe2e0);
  box-shadow: 18px 22px 0 var(--steel), 0 24px 60px rgb(40 77 96 / 14%);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(24 183 201 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(24 183 201 / 8%) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--coral), var(--plum) 72%, #b23b78);
}

.product-mark {
  position: absolute;
  top: 70px;
  right: auto;
  left: 50%;
  width: 142px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 12px rgb(13 56 72 / 20%));
}

.cover-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 40px;
  color: var(--ink);
}

.cover-copy span,
.cover-copy small {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cover-copy strong {
  margin-top: auto;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.95;
}

.cover-copy small {
  align-self: flex-start;
  padding: 8px 10px;
  background: var(--plum-dark);
  color: var(--white);
}

.product-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 60px);
}

.product-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.check-list li::before {
  color: var(--mint);
}

.outcomes-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(0 -100vmax);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 50px;
}

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

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.outcomes-grid article {
  padding-top: 20px;
  border-top: 4px solid var(--coral);
}

.outcomes-grid article:nth-child(2) {
  border-color: var(--mint);
}

.outcomes-grid article:nth-child(3) {
  border-color: #b23b78;
}

.step-number {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.outcomes-grid p,
.chapter-list p,
.faq-list p {
  color: var(--muted);
}

.inside-section {
  border-top: 1px solid var(--line);
}

.inside-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.chapter-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.chapter-list li > span {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 850;
}

.chapter-list strong {
  display: block;
  font-size: 18px;
}

.chapter-list p {
  margin: 4px 0 0;
}

.code-sample {
  overflow: hidden;
  border: 1px solid #294052;
  border-radius: 6px;
  background: #0f172a;
  color: #f8fcff;
}

.code-sample-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #2b3b48;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 28px;
  font-size: 14px;
  line-height: 1.7;
}

.transparency-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px max(20px, calc((100% - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

.transparency-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
}

.transparency-section .eyebrow,
.final-cta .eyebrow {
  color: var(--coral-dark);
}

.transparency-section > p {
  align-self: end;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
}

.faq-section {
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(0 -100vmax);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding-inline: 20px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease;
}

.faq-list details[open] {
  border-left: 3px solid var(--coral);
  background: linear-gradient(90deg, var(--champagne-mist), rgb(239 251 253 / 52%) 74%, transparent);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  color: var(--coral-dark);
  font-size: 30px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
  color: #755a2c;
}

.faq-list p {
  max-width: 760px;
  padding: 0 0 24px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--champagne-mist) 56%, var(--champagne-light) 115%);
  color: var(--ink);
  box-shadow: 0 18px 48px rgb(21 34 43 / 8%);
  text-align: center;
}

.final-cta h2 {
  max-width: 800px;
  margin: 0 auto 18px;
}

.final-cta > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

.button-light {
  border-color: var(--coral);
  background: rgb(254 254 254 / 82%);
  color: var(--ink);
  box-shadow: 0 8px 22px rgb(22 142 175 / 12%), inset 0 0 0 1px rgb(255 255 255 / 65%);
}

.button-light:hover {
  border-color: var(--cyan-deep);
  background: var(--champagne-light);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  padding: 54px max(20px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, var(--champagne-mist) 0%, var(--surface) 58%, var(--surface-soft) 100%);
  color: var(--ink);
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0 62%, var(--champagne) 100%);
  content: "";
}

.footer-brand p,
.brand-data,
.copyright {
  color: var(--muted);
  font-size: 14px;
}

.brand-data strong {
  color: var(--coral-dark);
}

.site-footer nav a {
  color: var(--ink-soft);
  text-underline-offset: 5px;
}

.site-footer nav a:hover,
.brand-data a:hover {
  color: var(--cyan-deep);
}

.footer-brand p {
  max-width: 480px;
  margin: 8px 0 0;
}

.brand-data {
  display: flex;
  flex-direction: column;
}

.site-footer nav {
  flex-wrap: wrap;
}

.copyright {
  margin: 0;
  text-align: right;
}

.legal-page {
  background: var(--paper);
  color: var(--ink);
}

.legal-header {
  position: static;
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.legal-main {
  width: min(100% - 40px, 800px);
  margin: 0 auto;
  padding: 70px 0 100px;
}

.legal-main h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 72px);
}

.legal-main h2 {
  margin: 48px 0 14px;
  font-family: inherit;
  font-size: 24px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-notice {
  padding: 16px;
  border-left: 4px solid var(--yellow);
  background: var(--surface);
}

.withdrawal-box {
  margin-top: 32px;
  padding: 26px;
  border: 2px solid #b8cbd6;
  border-radius: 6px;
  background: var(--surface);
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    width: calc(100% - 32px);
  }

  .brand > span:last-child,
  .site-header nav a:not([data-withdrawal-link]):not([data-support-link]) {
    display: none;
  }

  .site-header nav {
    gap: 0;
    text-align: right;
  }

  .site-header nav a[data-withdrawal-link] {
    max-width: 220px;
    font-size: 12px;
    line-height: 1.35;
  }

  .valia-logo-mark { width: 42px; }

  .valia-wordmark strong { font-size: 17px; }

  .valia-wordmark > span { font-size: 9px; }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    inset: 0;
    width: 100%;
    object-position: 72% center;
    opacity: 0.64;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgb(247 245 240 / 97%) 0%, rgb(247 245 240 / 86%) 58%, rgb(247 245 240 / 74%) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 120px 0 64px;
  }

  .hero-layout,
  .method-compact {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 40px;
  }

  .hero-copy-block h1 {
    font-size: 58px;
  }

  .hero-edition-kicker { margin-bottom: 22px; }

  .hero-product-visual {
    width: min(82%, 310px);
    justify-self: center;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    gap: 8px 18px;
    font-size: 14px;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    padding: 18px;
  }

  .proof-band div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-section,
  .outcomes-section,
  .problem-section,
  .method-section,
  .catalog-section,
  .workflow-section,
  .inside-section,
  .faq-section {
    width: calc(100% - 32px);
    padding: 68px 0;
  }

  .product-section,
  .problem-section,
  .janus-section,
  .complete-card,
  .inside-showcase,
  .edition-grid,
  .inside-layout,
  .transparency-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .problem-copy {
    padding-left: 18px;
  }

  .janus-section {
    gap: 30px;
    padding: 68px 16px;
  }

  .method-grid,
  .workflow-list,
  .role-offer-grid {
    grid-template-columns: 1fr;
  }

  .method-compact {
    gap: 30px;
  }

  .method-line {
    grid-template-columns: 1fr;
  }

  .method-line li {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .method-line li:last-child {
    border-bottom: 0;
  }

  .method-line li:not(:last-child)::after {
    top: auto;
    right: 16px;
    bottom: -13px;
    content: "↓";
    transform: none;
  }

  .janus-capabilities ul {
    grid-template-columns: 1fr 1fr;
  }

  .janus-capabilities li:nth-child(3) {
    border-left: 0;
  }

  .janus-capabilities li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .case-note {
    grid-column: auto;
    margin: 0;
  }

  .method-grid li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .method-grid li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-grid span {
    margin-bottom: 0;
  }

  .complete-card {
    padding: 30px 22px;
  }

  .complete-overline {
    align-items: flex-start;
    flex-direction: column;
  }

  .complete-role-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .complete-role-line li {
    min-width: 0;
    justify-content: center;
    padding-inline: 8px;
  }

  .face-stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .face-stack div {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 14px 8px;
    text-align: center;
  }

  .face-stack span {
    font-size: 26px;
  }

  .role-alternatives-heading {
    grid-template-columns: 1fr;
  }

  .role-alternatives-heading .eyebrow {
    grid-column: auto;
  }

  .role-offer-grid article {
    min-height: 0;
  }

  .product-visual {
    width: min(88%, 390px);
    margin: 0 auto;
    box-shadow: 10px 12px 0 #292c2a;
  }

  .cover-copy {
    padding: 28px;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .transparency-section {
    gap: 22px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .copyright {
    text-align: left;
  }

  .configuration-alert {
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-width: none;
  }
}

.support-dialog { position: relative; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid #b8beb7; border-radius: 18px; background: #f7f8f3; color: #242823; overflow-y: auto; }
.support-dialog::backdrop { background: rgb(16 24 19 / 65%); }
.support-dialog h2 { font-size: 1.6rem; padding-right: 22px; margin: 0 0 20px; }
.support-dialog form { display: grid; gap: 10px; }
.support-dialog label { font-weight: 600; }
.support-dialog label span { font-weight: 400; }
.support-dialog input, .support-dialog textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #717c72; border-radius: 7px; font: inherit; font-size: 16px; background: white; color: #242823; }
.support-dialog textarea { resize: vertical; }
.support-dialog :focus-visible { outline: 3px solid #335a49; outline-offset: 3px; }
.support-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.support-note { font-size: .85rem; line-height: 1.5; }
.support-note a { text-decoration: underline; overflow-wrap: anywhere; }
.support-status { margin: 4px 0; line-height: 1.5; }
.support-dialog button:disabled { opacity: .65; cursor: wait; }
.support-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

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

  .button {
    transition: none;
  }

  .site-header .valia-logo-mark {
    animation: none;
    transition: none;
  }
}
