@import "/css/fonts.css";
@import "/css/tokens.css";

/* Ink surfaces: set data-theme="dark" on a container (from the R15 design system). */
[data-theme="dark"] {
  --text-primary: #fff; --text-body: var(--ink-300); --text-muted: var(--ink-400); --text-accent: var(--orange-400);
  --surface-page: var(--ink-900); --surface-subtle: var(--ink-800); --surface-card: var(--ink-800);
  --border-subtle: var(--ink-700); --border-default: var(--ink-600);
  --focus-ring: 0 0 0 3px rgba(247,160,138,.45);
  background: var(--surface-page); color: var(--text-primary);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--surface-page); color: var(--text-primary);
  font-family: var(--font-sans); font-weight: var(--weight-regular); font-size: 16px; line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--orange-600); text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }
[data-theme="dark"] a:hover { color: var(--orange-400); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; background: var(--ink-900); color: #fff; padding: 8px 14px; border-radius: var(--radius-md); }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
:root { --gutter: 40px; }
@media (max-width: 720px) { :root { --gutter: 16px; } }

/* ---------- type ---------- */
.display { font-size: clamp(44px, 6.4vw, 80px); font-weight: 600; letter-spacing: var(--tracking-display); line-height: var(--leading-tight); text-wrap: balance; }
.h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.08; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: var(--tracking-display); line-height: var(--leading-snug); text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.01em; line-height: var(--leading-snug); text-wrap: balance; }
.h4 { font-size: 20px; font-weight: 600; line-height: var(--leading-snug); }
.lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: 300; line-height: 1.5; color: var(--text-body); max-width: 40em; text-wrap: pretty; }
.lead-sm { font-size: 18px; font-weight: 300; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.body { font-size: 16px; font-weight: 300; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.muted { color: var(--text-muted); }
.accent { color: var(--text-accent); }
.mono { font-family: var(--font-mono); font-size: 14px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.eyebrow.accent { color: var(--orange-600); }

/* ---------- layout ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: 0 0 clamp(56px, 8vw, 96px); }
.section-top-0 { padding-top: 0; }
.section-subtle { background: var(--surface-subtle); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.narrow > * { max-width: 720px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2.tight { gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-md { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--ink-900); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-accent { background: var(--orange-600); color: #fff; }
.btn-accent:hover { background: var(--orange-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--ink-900); }
.btn-secondary:hover { background: var(--ink-50); color: var(--ink-900); }
.btn-ghost-inverse { background: transparent; color: #fff; border-color: var(--ink-600); }
.btn-ghost-inverse:hover { background: var(--ink-800); color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.link-arrow .icon { transition: transform var(--duration-base) var(--ease-standard); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; align-self: flex-start; height: 26px; padding: 0 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-ink { background: var(--ink-900); color: #fff; }
.badge-accent { background: var(--orange-600); color: #fff; }

/* ---------- cards ---------- */
.card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px; }
.card-subtle { background: #fff; }
.section-subtle .card-subtle { box-shadow: none; border-color: transparent; }
.card-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard); }
.card-link:hover { color: inherit; box-shadow: var(--shadow-md); border-color: var(--border-default); }
.card-link:hover .link-arrow .icon { transform: translateX(3px); }
.area-card { min-height: 200px; }
.area-card .link-arrow { margin-top: auto; }
.way { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.flow { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-subtle); color: var(--text-muted); }
.cta-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 36px; }
.cta-card .btn { margin-top: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border-subtle); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.header-logo { flex: none; }
.header-logo .logo { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list a { display: block; padding: 6px 0; font-size: 15px; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-list a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--orange-600); }
.nav-list a:hover { color: var(--ink-900); border-bottom-color: var(--ink-300); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.lang a { text-decoration: none; color: var(--text-muted); }
.lang a:hover { color: var(--ink-900); }
.lang-current { color: var(--ink-900); }
.lang-sep { color: var(--ink-300); font-weight: 400; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink-900); cursor: pointer; border-radius: var(--radius-md); }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 9;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--border-subtle); }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--border-subtle); color: var(--orange-700); }
  .nav-actions { justify-content: space-between; padding-top: 24px; }
  .nav-actions .btn { height: 48px; padding: 0 22px; font-size: 16px; }
  .lang { font-size: 16px; }
}

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.footer-brand .logo { height: 34px; width: auto; margin-bottom: 6px; align-self: flex-start; }
.footer-brand p { font-size: 14px; font-weight: 300; color: var(--text-body); }
.footer-meta { display: flex; align-items: center; gap: 8px; }
.footer-meta a { color: #fff; }
.site-footer .eyebrow { color: var(--orange-600); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { text-decoration: none; color: #fff; }
.footer-links a:hover { color: var(--orange-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-700); font-size: 13px; color: var(--text-muted); }
.footer-bottom .mono { font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; min-height: min(78vh, 620px); display: flex; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.hero .lead { color: var(--ink-200); }
.hero .btn-row { margin-top: 8px; }
.hero-symbol { position: absolute; right: -14%; top: 50%; transform: translateY(-50%); height: 104%; width: auto; max-width: none; pointer-events: none; }
@media (max-width: 1000px) {
  .hero-symbol { height: 58%; right: -22%; top: auto; bottom: -8%; transform: none; opacity: .9; }
  .hero-inner { min-height: 0; padding-top: 64px; padding-bottom: 200px; }
}
@media (max-width: 640px) { .hero-symbol { height: 190px; right: -70px; bottom: -30px; } .hero-inner { padding-bottom: 180px; } }

/* ---------- partner brands strip ---------- */
.brands { border-bottom: 1px solid var(--border-subtle); }
.brands-inner { display: flex; align-items: center; gap: 40px; padding-top: 32px; padding-bottom: 32px; }
.brands-inner .eyebrow { flex: none; max-width: 120px; line-height: 1.5; }
.brands-list { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex: 1; flex-wrap: wrap; }
.brands-list-left { justify-content: flex-start; }
.brands-list a { display: block; opacity: .85; transition: opacity var(--duration-base) var(--ease-standard); }
.brands-list a:hover { opacity: 1; }
@media (max-width: 900px) { .brands-inner { flex-direction: column; align-items: flex-start; gap: 24px; } .brands-inner .eyebrow { max-width: none; } .brands-list { justify-content: flex-start; } }

/* ---------- statement + figures ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement > div { display: flex; flex-direction: column; gap: 20px; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.figures > div { border-top: 2px solid var(--ink-900); padding-top: 16px; }
.figure { font-size: clamp(40px, 5vw, 56px); line-height: 1; color: var(--ink-900); }
.figures dd { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 1000px) { .statement { grid-template-columns: 1fr; } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-hero-subtle { background: var(--surface-subtle); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-symbol { position: absolute; right: -80px; top: 40px; height: 360px; width: auto; max-width: none; opacity: .12; pointer-events: none; }
@media (max-width: 900px) { .page-hero-symbol { display: none; } }
.area-title .area-logo { height: clamp(44px, 7vw, 76px) !important; }
.endorsement { font-size: 16px; color: var(--text-muted); }

/* co-brand lockup: R15 | 2px ink divider (130% of R15 height) | partner */
.cobrand { display: flex; align-items: center; gap: calc(var(--h) * .45); flex-wrap: nowrap; }
.cobrand .logo { height: var(--h); width: auto; flex: none; align-self: center; }
.cobrand-divider { width: 2px; height: calc(var(--h) * 1.3); background: var(--ink-900); flex: none; }
.cobrand .partner-logo { flex: none; max-width: 44vw; object-fit: contain; }
.page-hero .cobrand { --h: clamp(34px, 6vw, 56px) !important; }

/* ---------- partner cards ---------- */
.partner-card { padding: 32px; gap: 20px; }
.partner-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.partner-card .body { max-width: 760px; }
.partner-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.partner-card-bottom .mono { font-size: 13px; }
@media (max-width: 640px) { .partner-card { padding: 24px; } .partner-card .cobrand { --h: 26px !important; } }

/* ---------- values / facts / checks ---------- */
.value { display: flex; flex-direction: column; gap: 10px; }
.points { gap: 32px; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks .icon { color: var(--orange-600); margin-top: 3px; }
.facts { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); align-items: center; }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { font-size: 16px; }
.facts dd.mono { font-size: 14px; }
@media (max-width: 640px) { .facts > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); }
.cta-band > div { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.cta-band p { color: var(--text-body); font-weight: 300; font-size: 17px; }
.cta-band p:empty { display: none; }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-facts { margin-top: 16px; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label { font-size: 14px; font-weight: 600; padding: 0; }
.input {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink-900);
  background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.input::placeholder { color: var(--ink-400); }
.input:hover { border-color: var(--ink-500); }
.input:focus { outline: none; border-color: var(--ink-900); box-shadow: var(--focus-ring); }
select.input { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23151718' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea.input { resize: vertical; min-height: 120px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; }
.radio, .checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.radio input, .checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink-900); flex: none; }
.form-error { color: var(--danger); font-size: 14px; }

.dialog { border: 0; border-radius: var(--radius-lg); padding: 32px; max-width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: var(--surface-overlay); }
.dialog h2 { margin-bottom: 8px; }
.dialog form { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- solutions nav dropdown ---------- */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex !important; align-items: center; gap: 4px; }
.nav-chevron { transition: transform var(--duration-base) var(--ease-standard); }
.sub {
  position: absolute; top: calc(100% + 12px); left: -20px; width: 380px; padding: 8px;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard), visibility var(--duration-base);
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .nav-chevron, .has-sub:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-list .sub a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 0; border-radius: var(--radius-md); white-space: normal; }
.nav-list .sub a:hover, .nav-list .sub a[aria-current="page"] { background: var(--ink-50); border: 0; }
.sub .icon { color: var(--orange-600); margin-top: 2px; }
.sub strong { display: block; font-size: 15px; font-weight: 600; }
.sub small { display: block; font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 1160px) {
  .has-sub > a { display: flex !important; }
  .nav-chevron { display: none; }
  .sub { position: static; width: auto; padding: 0 0 8px 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; border-bottom: 1px solid var(--border-subtle); border-radius: 0; }
  .sub::before { display: none; }
  .nav-list .sub a { padding: 10px 0 10px 4px; font-size: 16px; }
  .sub small { display: none; }
}

/* ---------- solutions ---------- */
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.solution-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--orange-100); color: var(--orange-700); flex: none; }
.solution-icon-lg { width: 56px; height: 56px; }
.solution-icon-lg .icon { width: 26px; height: 26px; }
.solution-title { display: flex; align-items: center; gap: 18px; }
.solution-card { min-height: 260px; }
.solution-card-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.solution-card-foot .mini-logos:empty { display: none; }
.mini-logos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mini-logos img { opacity: .9; }
.solution-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 32px; }
.solution-row-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; align-self: stretch; }
.tick-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.tick-list li { position: relative; padding-left: 14px; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-600); }
@media (max-width: 800px) {
  .solution-row { grid-template-columns: 1fr; padding: 24px; }
  .solution-row-side { align-items: flex-start; }
}
.value .h4 { display: flex; align-items: center; gap: 8px; }
.icon.accent { color: var(--orange-600); }

/* ---------- line diagram ---------- */
.line { display: flex; flex-direction: column; gap: 12px; }
.line-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.line-steps a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: #fff; border-radius: var(--radius-md); text-decoration: none; border: 1px solid transparent; transition: border-color var(--duration-base) var(--ease-standard); }
.line-steps a:hover { border-color: var(--border-default); color: inherit; }
.line-steps li:not(:last-child) a::after { content: ""; position: absolute; right: -9px; top: 50%; width: 6px; height: 6px; border-top: 1.75px solid var(--ink-400); border-right: 1.75px solid var(--ink-400); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.line-steps strong { font-size: 18px; font-weight: 600; }
.line-steps small { font-size: 13px; color: var(--text-muted); }
.line-glue { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; border-radius: var(--radius-md); background: var(--ink-900); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.line-glue:hover { background: #000; color: #fff; }
.line-glue .icon:first-child { color: var(--orange-400); }
@media (max-width: 900px) {
  .line-steps { grid-template-columns: 1fr; gap: 8px; }
  .line-steps a { flex-direction: row; align-items: baseline; gap: 12px; padding: 14px 16px; }
  .line-steps small { margin-left: auto; }
  .line-steps li:not(:last-child) a::after { display: none; }
}

/* ---------- industries + chips ---------- */
.industries { gap: 20px; }
.industry { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.industry .chips { margin-top: auto; padding-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--ink-100); color: var(--ink-900); font-size: 13px; font-weight: 600; text-decoration: none; transition: background var(--duration-fast) var(--ease-standard); }
a.chip:hover { background: var(--ink-150); color: var(--ink-900); }
.chip-static { background: #fff; border: 1px solid var(--border-default); font-weight: 400; }
.chips-lg .chip { height: 36px; padding: 0 16px; font-size: 15px; }
@media (max-width: 1000px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .industries { grid-template-columns: 1fr; } }

/* ---------- partner products, service ---------- */
.products { gap: 20px; }
.product { display: flex; flex-direction: column; gap: 8px; box-shadow: none; }
@media (max-width: 1000px) { .products, .grid-3.ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .products, .grid-3.ways { grid-template-columns: 1fr; } }
.grid-3.ways { gap: 20px; }
.inline-icon { display: inline-flex; align-items: center; gap: 6px; }
.service { padding-top: 16px; border-top: 2px solid var(--ink-900); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.person { display: flex; align-items: center; gap: 16px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink-900); color: #fff; font-size: 20px; font-weight: 600; letter-spacing: .02em; flex: none; }
.person strong { display: block; font-size: 18px; font-weight: 600; }
.person small { display: block; font-size: 14px; color: var(--text-muted); margin-top: 2px; }

/* ---------- footer legal ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .site-footer .link-button { color: var(--ink-300); text-decoration: none; font-size: 13px; }
.footer-legal a:hover, .site-footer .link-button:hover { color: #fff; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--orange-600); text-underline-offset: 3px; cursor: pointer; }
.site-footer .link-button { text-decoration: none; }

/* ---------- cookie consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto; width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px;
}
.consent-text { display: flex; flex-direction: column; gap: 6px; }
.consent-text p { font-size: 15px; font-weight: 300; color: var(--text-body); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { min-width: 120px; }
.consent-prefs { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.consent-prefs[hidden] { display: none; }
.consent-pref { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); cursor: default; }
label.consent-pref { cursor: pointer; }
.consent-pref strong { font-size: 15px; }
.consent-pref p { font-size: 14px; font-weight: 300; color: var(--text-muted); margin-top: 2px; }
.consent-always { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.switch { appearance: none; position: relative; width: 44px; height: 26px; flex: none; border-radius: var(--radius-pill); background: var(--ink-300); cursor: pointer; transition: background var(--duration-fast) var(--ease-standard); margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--duration-fast) var(--ease-standard); }
.switch:checked { background: var(--ink-900); }
.switch:checked::after { transform: translateX(18px); }
.switch:focus-visible { box-shadow: var(--focus-ring); }
@media (max-width: 640px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { padding: 20px; }
  .consent-actions .btn { flex: 1 1 40%; min-width: 0; }
  .consent-actions [data-consent="configure"], .consent-actions [data-consent="save"] { order: 3; flex-basis: 100%; }
}

/* ---------- legal prose ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--text-body); }
.prose h2 { font-size: 22px; font-weight: 600; color: var(--text-primary); margin-top: 24px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose strong { font-weight: 600; color: var(--text-primary); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose ul.legal-data { list-style: none; padding: 20px 24px; background: var(--surface-subtle); border-radius: var(--radius-md); }
.prose code { font-family: var(--font-mono); font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.prose th { font-weight: 600; color: var(--text-primary); background: var(--surface-subtle); }
.prose tr:last-child td { border-bottom: 0; }
mark.pending { background: var(--orange-100); color: var(--orange-700); padding: 1px 6px; border-radius: var(--radius-sm); font-weight: 600; }

/* ---------- contact form notice ---------- */
.form-info { font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--text-muted); }
.form-info strong { font-weight: 600; }
.checkbox a { text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- WhatsApp ---------- */
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; color: #fff; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 25;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  border-radius: var(--radius-pill); background: #25D366; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.wa-float:hover { background: #1DA851; color: #fff; }
.wa-float .wa-icon { width: 24px; height: 24px; }
.consent:not([hidden]) ~ .wa-float, .wa-float:has(~ .consent:not([hidden])) { display: none; }
.nav-open .wa-float { display: none; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float .wa-icon { width: 28px; height: 28px; }
}
@media print { .wa-float, .consent { display: none !important; } }
