:root {
  --font-display: "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --bg: var(--p-bg); --ink: var(--p-ink); --muted: var(--p-muted); --surface: var(--p-surface);
  --accent: var(--p-accent); --action: var(--p-action); --action-ink: var(--p-action-ink);
 
  --s-2: 8px;
  --r-lg: 20px;
  --page-max: 1280px;
  --page-inset: clamp(24px, 5.56vw, 80px);
  --gutter: 24px;
  --header: 76px;
  --tabs-dur: 250ms;
  --tabs-ease: cubic-bezier(.22, 1, .36, 1);
  --panel-open-dur: 300ms;
  --panel-translate-y: 8px;
  --panel-blur: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.052em; font-weight: 500; }
h1, h2 { text-wrap: balance; }
h1 em, h2 em { color: var(--accent); font: inherit; }
h2 { font-size: clamp(2.25rem, 4vw, 3.9rem); max-width: 14ch; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; scroll-margin-block: 24px; }
::selection { background: var(--soft-blue); color: var(--ink); }
.wrap { width: min(var(--page-max), calc(100% - var(--page-inset) * 2)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: max(var(--page-inset), calc((100% - var(--page-max)) / 2)); z-index: 50; padding: 12px 16px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 5; inset: 0 0 auto; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: calc(var(--header) - 1px); }
.brand { display: inline-grid; place-items: center; width: 46px; min-height: 46px; flex: none; border-radius: 11px; background: var(--card); }
.brand img { display: block; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 38px); font-size: .83rem; font-weight: 600; }
.main-nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.main-nav > .nav-login { margin-left: 8px; }
.menu-toggle { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 100px; font-size: .86rem; font-weight: 700; line-height: 1.2; white-space: normal; text-align: center; }
.btn--primary { color: var(--action-ink); background: var(--action); }
.btn--secondary { color: var(--ink); border-color: var(--line-strong); }
.btn span { display: inline-flex; font-size: 1.13em; line-height: 1; transition: transform var(--m-in) var(--m-ease); }
.btn:hover span { transform: translate(2px, -2px); }
.btn--primary:hover { background: color-mix(in oklab, var(--action) 87%, var(--action-ink)); }
.btn--secondary:hover { background: var(--surface); }
.actions { display: flex; align-items: center; gap: 12px; }

.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header) + clamp(25px, 4.6vh, 48px)) 0 clamp(25px, 4.6vh, 48px); }
.hero-intro, .split-head, .faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.hero-intro > :first-child, .split-head > :first-child, .faq-layout > :first-child { grid-column: 1 / span 7; }
.hero-intro > :last-child, .split-head > :last-child, .faq-layout > :last-child { grid-column: 8 / -1; }
.hero-intro { margin-bottom: clamp(28px, 4vh, 42px); }
.hero h1 { font-size: clamp(2.55rem, 4.58vw, 4.18rem); line-height: 1.035; letter-spacing: -.067em; text-wrap: initial; }
.hero h1 em { display: block; }
.hero-side { display: grid; gap: 18px; align-content: end; }
.hero-side p { font-size: clamp(.95rem, 1.22vw, 1.12rem); }
.hero-stage {
  display: grid; grid-template-columns: minmax(0, 1.56fr) minmax(0, 1fr);
  min-height: clamp(350px, 50vh, 515px); border-radius: var(--r-lg); overflow: clip;
  color: var(--ink); background: var(--stage); --mo-light: var(--stage-light); --surface: var(--stage);
}

.section { min-height: 100svh; display: grid; align-items: center; padding-block: clamp(50px, 7.6vh, 90px); }
.section-head { margin-bottom: clamp(24px, 4vh, 40px); }
.split-head { align-items: end; }
.split-head > p { max-width: 33ch; padding-bottom: 4px; }
.specialty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.specialty-card { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: clip; }
.specialty-card:hover { border-color: var(--line-strong); }
.specialty-photo { height: clamp(220px, 37vh, 380px); background: var(--surface); overflow: clip; }
.specialty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 29%; transition: transform 250ms var(--tabs-ease); }
[data-select-specialty="odontologia"] .specialty-photo img { object-position: 50% 10%; }
.specialty-card:hover img { transform: scale(1.025); }
.specialty-copy { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(16px, 2.25vw, 30px); }
.specialty-copy h3 { font-size: clamp(1.45rem, 2.6vw, 2.25rem); margin-bottom: 6px; }
.specialty-copy p { font-size: .9rem; }
.card-arrow { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-size: 1.1rem; transition: color 150ms, background 150ms; }
.specialty-card:hover .card-arrow { color: white; background: var(--accent); }
.roadmap { display: grid; gap: 6px; margin-top: 28px; }
.roadmap p { flex: none; color: var(--ink); font-weight: 700; font-size: .85rem; }
.roadmap ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; font-size: .83rem; color: var(--muted); }


.specialty-switch { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.specialty-switch > span { color: var(--muted); font: 500 .71rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; }
.t-tabs, .billing-options { position: relative; display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); }
.t-tab, .billing-options label > span { position: relative; display: grid; place-items: center; z-index: 1; min-height: 44px; padding: 0 14px; border: 0; border-radius: 100px; background: transparent; color: var(--muted); font-size: .83rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color var(--tabs-dur) var(--tabs-ease); }
.t-tab[aria-pressed="true"] { color: var(--ink); background: var(--soft-blue); }
.t-tabs[data-indicator] .t-tab[aria-pressed="true"] { background: transparent; }
.t-tab[aria-pressed="false"]:hover { color: var(--ink); }
.t-tabs-pill { position: absolute; inset: 3px auto 3px 0; width: 0; border-radius: inherit; background: var(--soft-blue); pointer-events: none; transition: transform var(--tabs-dur) var(--tabs-ease), width var(--tabs-dur) var(--tabs-ease); }
.explorer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); min-height: 365px; }
.module-tabs { grid-column: 1 / span 3; display: grid; align-content: start; gap: 5px; }
.module-tabs button { display: flex; align-items: center; width: 100%; min-height: 59px; gap: 10px; padding: 7px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font-size: .93rem; font-weight: 600; text-align: left; cursor: pointer; transition: color 150ms, background 150ms, border-color 150ms; }
.module-tabs button:hover { color: var(--ink); background: var(--soft-blue); }
.module-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--line-strong); background: var(--soft-blue); }
.tab-arrow { margin-left: auto; color: var(--accent); opacity: 0; transition: opacity 150ms; }
.module-tabs button:is(:hover, [aria-selected="true"]) .tab-arrow { opacity: 1; }
.module-panel { grid-column: 4 / -1; min-width: 0; padding: clamp(20px, 3.2vw, 45px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); outline-offset: 4px; }
.module-content > h3 { font-size: clamp(1.55rem, 2.7vw, 2.6rem); margin-bottom: 9px; }
.module-content > p { max-width: 55ch; font-size: .9rem; margin-bottom: 23px; }
.module-content.is-entering-panel { animation: panel-in var(--panel-open-dur) var(--tabs-ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(var(--panel-translate-y)); filter: blur(var(--panel-blur)); } }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 23px; }
.module-grid > div { border-top: 1px solid var(--line); padding: 15px 0 12px; }
.module-grid dt { color: var(--accent); font-weight: 650; font-size: .9rem; margin-bottom: 5px; }
.module-grid dd { color: var(--muted); font-size: .85rem; }

.billing { display: flex; align-items: center; border: 0; min-inline-size: 0; margin: 0 0 22px; padding: 0; }
.billing legend { float: left; padding: 0 13px 0 0; color: var(--muted); font-size: .81rem; line-height: 52px; }
.billing-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.billing-options input:checked + span { background: var(--action); color: var(--action-ink); }
.billing-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gutter); }
.pricing-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(18px, 2.5vw, 33px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.pricing-card.is-top { background: var(--soft-blue); border-color: var(--accent); }
.pricing-card h3 { font-size: clamp(1.42rem, 2.2vw, 2.1rem); margin-bottom: 16px; }
.pricing-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 5px; line-height: 1.1; }
.pricing-price strong { font-size: clamp(1.55rem, 2.9vw, 2.85rem); letter-spacing: -.067em; font-weight: 650; color: var(--ink); }
.pricing-price span, .pricing-sub { font-size: .79rem; }
.pricing-sub { min-height: 3em; margin: 8px 0 16px; }
.pricing-sub b { display: block; color: var(--accent); margin-top: 2px; }
.pricing-features { list-style: none; padding: 15px 0 6px; margin-bottom: 12px; border-top: 1px solid var(--line); }
.pricing-features li { display: flex; align-items: baseline; gap: 7px; font-size: .82rem; margin-bottom: 9px; }
.pricing-features li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.pricing-card .btn { margin-top: auto; }
.pricing-note { margin-top: 18px; font-size: .82rem; }
.faq-photo { width: 100%; max-width: 620px; height: clamp(180px, 28vh, 290px); object-fit: cover; border-radius: var(--r-lg); margin-bottom: 20px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; font-weight: 600; font-size: .95rem; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--accent); font: 400 1.35rem/1 var(--font-mono); transition: transform 250ms var(--tabs-ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 60ch; padding-bottom: 18px; font-size: .9rem; }
@supports (interpolate-size: allow-keywords) {
  details { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height 250ms var(--tabs-ease), content-visibility 250ms allow-discrete; }
  details[open]::details-content { height: auto; }
}
.site-footer { padding-block: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--muted); }
.footer-bottom > a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 1024px) {
  .module-panel { display: grid; align-content: center; min-height: min(52svh, 470px); }
}
@media (max-width: 850px) {
  :root { --header: 68px; }
  .header-inner { gap: 14px; }
  .menu-toggle { position: relative; display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: var(--ink); transition: transform 180ms var(--tabs-ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 18px var(--page-inset) 25px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 13px 24px #0002; }
  .main-nav.is-open { display: grid; justify-items: start; gap: 7px; }
  .main-nav .nav-login { margin-left: 0; }
  .hero-intro, .split-head { grid-template-columns: 1fr; gap: 15px; }
  .hero-intro > :is(:first-child, :last-child), .split-head > :is(:first-child, :last-child) { grid-column: 1; }
  .hero-side { gap: 13px; }
  .hero-side p { max-width: 46ch; }
  .split-head > p { max-width: 55ch; }
  .module-tabs { grid-column-end: span 4; }
  .module-panel { grid-column-start: 5; }
  .module-tabs button { gap: 4px; padding-inline: 7px; font-size: .83rem; }
}
@media (max-width: 640px) {
  :root { --header: 64px; --page-inset: 18px; --gutter: 16px; --r-lg: 16px; }
  .main-nav.is-open { gap: 6px; }
  .main-nav .btn { width: 100%; margin-top: 4px; }
  .hero { padding-block: calc(var(--header) + 28px) 24px; }
  .hero-intro { margin-bottom: 22px; }
    .hero h1 { font-size: clamp(2.18rem, 9vw, 3.18rem); text-wrap: balance; }
  .hero h1 em { display: inline; }
  h2 { font-size: clamp(1.85rem, 8.2vw, 2.25rem); }
  .hero-side p { font-size: .92rem; }
  .actions .btn { width: 100%; }
  .section { padding-block: 56px; }
  .specialty-grid, .pricing-grid, .faq-layout { grid-template-columns: 1fr; }
  .specialty-photo { height: clamp(190px, 56vw, 300px); }
  .roadmap { display: grid; gap: 7px; }
  .roadmap ul { column-gap: 13px; }
  .explorer { display: block; min-height: 0; }
  .module-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
  .module-tabs button { min-height: 47px; }
  .module-tabs button:last-child { grid-column: 1 / -1; }
  .tab-arrow { display: none; }
  .module-panel { padding: 17px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-grid > div { padding-block: 11px; }
  .module-content > p { margin-bottom: 14px; }
  .pricing { min-height: 200svh; }
  .pricing-grid { gap: 13px; }
  .pricing-sub { min-height: 0; }
  .faq-layout { gap: 25px; }
  .faq-layout > :is(:first-child, :last-child) { grid-column: 1; }
  .faq-photo { height: 150px; }
  .faq-intro .btn { width: 100%; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .btn:hover span, .specialty-card:hover img { transform: none; }
  .module-content.is-entering-panel { animation: none; }
}

/* Vexy uses cool grays and a restrained blue accent in both themes. */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --p-bg: #f3f4f7; --p-surface: #f1f3f6; --p-ink: #101217; --p-muted: #4e5666;
  --p-accent: #1f5bd6; --p-action: #1f5bd6; --p-action-ink: #fff;
  --card: #fff; --line: #e3e6eb; --line-strong: #cfd4dc;
  --stage: #e9edf5; --stage-light: #fff; --soft-blue: #e5edfc;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --p-bg: #0b0b0d; --p-surface: #1b1b1f; --p-ink: #ececf0; --p-muted: #b0b0ba;
  --p-accent: #79aaff; --p-action: #79aaff; --p-action-ink: #0b0b0d;
  --card: #141417; --line: #292930; --line-strong: #535360;
  --stage: #151923; --stage-light: #25334d; --soft-blue: #202e46;
}
::selection { background: var(--soft-blue); color: var(--ink); }
.icon-library { position: absolute; pointer-events: none; }
.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header { border-color: var(--line); }
.header-inner { gap: 18px; }
.brand { background: transparent; }
.brand img { width: 39px; height: 39px; }
.header-controls { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); }
.theme-toggle:hover, .menu-toggle:hover { background: var(--surface); }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
.resource-menu { position: relative; border: 0; }
.resource-menu summary { min-height: 44px; font-size: inherit; gap: 6px; }
.resource-menu summary::after, .faq summary::after { content: none; }
.resource-menu summary .icon { width: 15px; height: 15px; }
.resource-menu[open] summary .icon { transform: rotate(180deg); }
.resource-menu-links { position: absolute; z-index: 2; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); min-width: 208px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); box-shadow: 0 14px 45px #0002; }
.resource-menu-links a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 5px 10px; border-radius: 8px; }
.resource-menu-links a:hover { background: var(--soft-blue); color: var(--accent); }
.resource-menu-links .icon { width: 17px; height: 17px; }
details.resource-menu::details-content { height: auto; overflow: visible; transition: none; interpolate-size: numeric-only; }
.btn .icon, .card-arrow .icon, .tab-arrow .icon { width: 17px; height: 17px; }

.hero { min-height: 100svh; padding-block: calc(var(--header) + clamp(24px, 4vh, 50px)) clamp(28px, 5vh, 54px); }
.hero-intro, .split-head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.hero h1 { max-width: 21ch; text-wrap: balance; font-size: clamp(2.25rem, 5vw, 4.4rem); font-weight: 650; }
.hero h1 em { display: block; }
.hero-side { justify-items: center; gap: 19px; }
.hero-side p, .split-head > p { max-width: 58ch; }
h1, h2, h3, .section-head, .module-content > p, .specialty-copy p { text-align: center; }
h2 { max-width: 24ch; margin-inline: auto; font-weight: 650; }
h3 { font-weight: 600; }
.section-head > p { max-width: 59ch; margin: 12px auto 0; }
.split-head > p { margin-top: 0; padding: 0; }
.specialty-photo img, .faq-photo { filter: saturate(.7); }

.section { min-height: auto; padding-block: clamp(54px, 7vw, 100px); }
.overview-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.overview-card { display: grid; justify-items: center; align-content: start; grid-template-rows: auto auto 1fr auto; gap: 12px; min-width: 0; padding: 22px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: center; }
.overview-card > .icon, .workflow-grid li > .icon { color: var(--accent); width: 27px; height: 27px; }
.overview-card h3, .workflow-grid h3 { font-size: 1.13rem; letter-spacing: -.025em; }
.overview-card p, .workflow-grid p { font-size: .91rem; }
.overview-card .card-arrow { width: 34px; height: 34px; }
.overview-card:hover, .specialty-card:hover { border-color: var(--accent); }
.specialty-card, .pricing-card { background: var(--card); }
.specialty-photo { background: var(--surface); }
.specialty-copy { position: relative; justify-content: center; padding-inline: 60px; min-height: 112px; }
.specialty-copy .card-arrow { position: absolute; right: 14px; }
.card-arrow { border-color: var(--line-strong); }
.specialty-card:hover .card-arrow { color: var(--action-ink); background: var(--action); }
.roadmap { text-align: center; justify-items: center; }
.roadmap ul { justify-content: center; }
.specialty-switch { justify-content: center; }
.t-tab[aria-pressed="true"], .t-tabs-pill { background: var(--soft-blue); color: var(--ink); }
.module-tabs button { gap: 9px; padding-inline: 12px; }
.module-tabs button > .icon { color: var(--accent); }
.module-tabs button:hover, .module-tabs button[aria-selected="true"] { background: var(--soft-blue); color: var(--ink); border-color: var(--line-strong); }
.module-panel { background: var(--card); }
.module-content > p { margin-inline: auto; }
.pricing-card.is-top { background: var(--soft-blue); border-color: var(--accent); }
.billing { justify-content: center; text-align: center; }
.billing legend { float: none; margin: 0 auto 7px; padding: 0; line-height: 1.5; }
.pricing-price { justify-content: center; }
.pricing-sub, .pricing-note { text-align: center; }
.faq-layout { display: grid; grid-template-columns: minmax(0,1fr); justify-items: stretch; row-gap: 0; }
.faq-layout > :is(:first-child, :last-child) { grid-column: 1; }
.faq-layout .section-head { width: 100%; }
.faq-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gutter); align-items: stretch; }
.faq-photo { max-width: none; height: 100%; min-height: 240px; margin: 0; }
.faq summary .icon { color: var(--accent); transition: transform var(--tabs-dur) var(--tabs-ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq-action { display: flex; justify-content: center; margin-top: 25px; }
.site-footer { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }

@media (max-width: 1090px) {
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: var(--ink); }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header)); overflow-y: auto; padding: 14px var(--page-inset) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: grid; justify-items: stretch; gap: 5px; }
  .resource-menu-links { position: static; transform: none; box-shadow: none; }
  .resource-menu summary { justify-content: flex-start; }
  .main-nav .nav-login { margin-left: 0; }
}
@media (max-width: 830px) {
  .overview-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .overview-card { grid-column: span 2; }
  .overview-card:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (min-width: 641px) and (max-height: 820px) {
  .hero { padding-block: calc(var(--header) + 23px) 26px; }
  .hero-intro { margin-bottom: 24px; }
}
@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(2.15rem, 9.3vw, 3.2rem); }
  .hero h1 em { display: inline; }
  .overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-card, .overview-card:nth-last-child(-n+2) { grid-column: auto; }
  .overview-card:last-child { grid-column: 1 / -1; }
  .workflow-grid, .faq-content { grid-template-columns: 1fr; }
  .specialty-copy { padding-inline: 14px 50px; }
  .specialty-copy .card-arrow { width: 33px; height: 33px; right: 10px; }
  .module-tabs button { padding-inline: 7px; gap: 5px; }
  .module-tabs button > .icon { width: 16px; height: 16px; }
  .pricing { min-height: auto; }
  .faq-photo { height: 170px; min-height: 0; }
}
@media (max-width: 359px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* The grid is confined to the product stages so it stays behind the content. */
:root { --grid-ink: #1829490a; --grid-glow: #2f6fec17; --plan-yes: #0a6c4d; --plan-no: #ab3151; }
:root[data-theme="dark"] { --grid-ink: #a9bbee0c; --grid-glow: #3777ff22; --plan-yes: #60daaa; --plan-no: #ff8a9f; }

.overview.section { display: block; }
.overview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.overview-card, .overview-card:nth-last-child(-n+2) {
  position: relative; grid-column: auto; grid-template-rows: auto auto;
  grid-template-columns: 1fr; justify-items: stretch; gap: 19px;
  padding: clamp(18px, 3vw, 40px); text-align: initial;
  border-radius: 20px; border-color: var(--line-strong);
  background: radial-gradient(ellipse at 100% 5%, var(--grid-glow), transparent 68%), var(--card);
  box-shadow: 0 10px 30px #0001;
}
.overview-copy { display: grid; justify-items: start; align-content: start; gap: 12px; }
.overview-copy h3, .overview-copy p { width: 100%; text-align: center; }
.overview-copy h3 { font-size: clamp(1.3rem, 2.3vw, 2rem); }
.overview-copy p { max-width: 46ch; justify-self: center; }
.overview-copy .btn, .showcase-icon { justify-self: center; }
.overview-copy .showcase-icon { width: 46px; height: 46px; padding: 10px; border-radius: 13px; color: var(--accent); background: var(--soft-blue); }
.overview-copy .btn { min-height: 44px; }
.overview-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.overview-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); cursor: pointer; }
.overview-controls button:hover { background: var(--soft-blue); }
.overview-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }
.arrow-back { rotate: 180deg; }
.overview-progress { width: min(140px, 30vw); height: 3px; border-radius: 10px; background: var(--line-strong); overflow: hidden; }
.overview-progress i { display: block; height: 100%; width: 100%; transform: scaleX(var(--overview-progress,0)); transform-origin: left; background: var(--accent); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pricing-card { position: relative; border-color: var(--line-strong); box-shadow: 0 12px 35px #0001; }
.pricing-card.is-top { background: radial-gradient(ellipse at 85% 0%, var(--grid-glow), transparent 75%), var(--card); }
.pricing-features li { align-items: start; gap: 9px; }
.pricing-features li::before { content: none; }
.plan-status { display: inline-grid; flex: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.plan-status .icon { width: 14px; height: 14px; stroke-width: 2.3; }
.plan-status.is-included { color: var(--plan-yes); background: color-mix(in srgb, var(--plan-yes) 13%, transparent); }
.plan-status.is-excluded { color: var(--plan-no); background: color-mix(in srgb, var(--plan-no) 12%, transparent); }
.plan-comparison { margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--card); }
.plan-comparison summary { justify-content: center; padding-inline: 12px; }
.plan-comparison summary::after { content: none; }
.plan-comparison[open] summary .icon { rotate: 180deg; }
.comparison-scroll { overflow-x: auto; }
.comparison-scroll table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: .85rem; }
.comparison-scroll th, .comparison-scroll td { padding: 12px 10px; text-align: center; border-top: 1px solid var(--line); }
.comparison-scroll th:first-child { text-align: start; padding-inline-start: 18px; }
.comparison-scroll tbody th { font-weight: 500; }

@media (max-width: 640px) {
  .overview-grid { display: block; }
  .overview-card, .overview-card:nth-last-child(-n+2) { margin-bottom: 18px; }
  .overview-card:last-child { margin-bottom: 0; }
  .overview-copy .btn { width: 100%; }
}
@media (max-width: 640px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .overview-card { position: sticky; top: calc(10px + var(--card-index) * 9px); }
  .overview-card:focus-within { z-index: 1; }
}


/* Editorial surfaces and restrained motion for the product walkthrough. */
:root { --grid-ink: #18294907; --editorial-glow: #547bf51a; }
:root[data-theme="dark"] { --grid-ink: #a9bbee07; --editorial-glow: #547bf51b; }
.hero { padding-top: calc(var(--header) + clamp(32px, 6vh, 76px)); }
.hero-intro { margin-bottom: clamp(22px, 3vh, 30px); }
.hero h1 { font-size: clamp(2.75rem, 7.4vw, 6.55rem); line-height: .99; max-width: 15ch; letter-spacing: -.075em; }
.hero h1 br { display: none; }
.hero h1 em { display: block; color: color-mix(in srgb, var(--ink) 68%, var(--accent)); }
.hero-side p { max-width: 51ch; margin-top: 6px; }
.hero-side .actions { justify-content: center; flex-wrap: wrap; }
.overview { --showcase-inset: 24px; }
.overview .overview-sticky { top: var(--showcase-inset); }
.overview-card { background: var(--card); box-shadow: none; }
.overview-card .showcase-icon, .capability-icon { color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); background: linear-gradient(145deg, var(--editorial-glow), transparent), var(--surface); }
.module-content.is-entering-panel { animation-name: enter-module; }
@keyframes enter-module { from {opacity: 0; transform: translateY(5px);} to {opacity: 1; transform: none;} }
.capability-grid { display: grid; gap: 16px; }
.capability-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.capability-card { min-width: 0; padding: clamp(20px, 3.5vw, 43px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.capability-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; }
.capability-card h3 { font-size: 1.23rem; margin-block: 18px 11px; letter-spacing: -.035em; text-align: start; }
.capability-card p { font-size: .94rem; }
.capability-card ul { display: grid; list-style: none; gap: 9px; margin-top: 20px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.capability-card li { display: flex; gap: 7px; align-items: start; font-size: .85rem; }
.capability-card li .icon { color: var(--plan-yes); width: 17px; height: 17px; }
@media (max-width: 830px) {
  .capability-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header) + 48px); }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
  .hero-side .actions { width: 100%; gap: 8px; }
  .hero-side .actions .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .module-content.is-entering-panel { animation: none; }
}

/* Distinct light and dark art directions with shared Vexy components. */
:root, :root[data-theme="light"] {
  --p-bg: #f7f6fb; --p-surface: #efedf7; --p-ink: #232338; --p-muted: #585977;
  --p-accent: #4654a0; --p-action: #262638; --p-action-ink: #fff;
  --line: #e9e6f3; --line-strong: #d8d4e8; --card: #fff;
  --soft-blue: #ebeafa; --stage: #efedf9; --grid-ink: #5f598608;
  --editorial-glow: #9476f219;
  --plan-yes: #235e51; --plan-no: #a12e4d;
}
:root[data-theme="dark"] {
  --p-bg: #07080c; --p-surface: #13151f; --p-ink: #f1f2f7; --p-muted: #a8aec3;
  --p-accent: #8fb7ff; --p-action: #bad2ff; --p-action-ink: #101928;
  --line: #232737; --line-strong: #343c53; --card: #10121b;
  --soft-blue: #182441; --stage: #10131e; --grid-ink: #8fa8ff07;
  --editorial-glow: #3266ca26;
}
.site-header { border-bottom-color: color-mix(in srgb, var(--line) 75%, transparent); }
.header-inner .brand img { filter: drop-shadow(0 2px 2px #1725422a); }
.hero { padding-top: calc(var(--header) + 37px); }
.hero-intro { position: relative; isolation: isolate; }
.hero h1 { position: relative; max-width: 17ch; font-size: clamp(2.85rem, 6.4vw, 6rem); line-height: 1.005; letter-spacing: -.07em; }
.hero h1 em { color: var(--ink); }
.hero-side .actions { gap: 9px; }
.hero-availability { order: 3; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .77rem; }
.hero-availability span { width: 6px; height: 6px; border-radius: 100%; background: var(--accent); }
.clay-icon { display: block; width: 1em; height: 1em; object-fit: contain; }
.hero-clay { position: absolute; inset: 0; pointer-events: none; }
.hero-clay .clay-icon { position: absolute; font-size: clamp(4.4rem, 9vw, 8.8rem); scale: .94; }
.clay-a { top: 9%; left: 4%; rotate: -13deg; --float-delay: -1s; }
.clay-b { top: 4%; right: 5%; rotate: 13deg; --float-delay: -2s; }
.clay-c { bottom: 7%; left: 4%; rotate: 9deg; --float-delay: -3s; }
.clay-d { bottom: 9%; right: 4%; rotate: -10deg; --float-delay: -4s; }
@keyframes clay-drift { 50% { transform: translateY(-9px) rotate(4deg); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-clay .clay-icon { animation: clay-drift 7.5s ease-in-out infinite; animation-delay: var(--float-delay); }
}
.hero-intro { min-height: 425px; justify-content: center; padding-inline: min(15vw, 150px); }
.hero h1 { font-size: clamp(2.75rem, 5.7vw, 5rem); }
.capability-card:nth-child(1), .workflow-grid li:nth-child(2) { --tile-color: #fde7e4; }
.capability-card:nth-child(2), .workflow-grid li:nth-child(1) { --tile-color: #ddf3f3; }
.capability-card:nth-child(3), .workflow-grid li:nth-child(3) { --tile-color: #e9e2ff; }
.capability-card .capability-icon { width: 60px; height: 60px; border: none; background: none; }
.capability-card .clay-icon { font-size: 65px; }
.capability-card h3 { margin-top: 12px; }
.overview-copy > .clay-icon { justify-self: center; font-size: 65px; }
:root[data-theme="dark"] .hero h1 em { color: #c8d0e4; }

.pricing-card.d-card { padding: 0; border-radius: 23px; background: var(--card); box-shadow: none; overflow: hidden; }
.pricing-card[data-plan="basico"] { --plan-tint: #e2efff; --plan-shadow: #98b9e165; }
.pricing-card[data-plan="pro"] { --plan-tint: #ffe5e9; --plan-shadow: #da85a861; }
.pricing-card[data-plan="max"] { --plan-tint: #eae1ff; --plan-shadow: #b18de165; }
.pricing-card .plan-face { display: flex; flex-direction: column; flex: 0 0 auto; align-items: start; gap: 5px; margin: 5px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(138deg,#fff 17%,var(--plan-tint)); box-shadow: 0 10px 16px -13px var(--plan-shadow); }
:root[data-theme="dark"] .pricing-card .plan-face { background: linear-gradient(138deg,#1e2946,#121623 69%); box-shadow: none; }
:root[data-theme="dark"] .pricing-card.is-top .plan-face { background: linear-gradient(138deg,#263e73,#11182c 84%); }
.plan-face h3 { margin: 0; font-size: 1.53rem; text-align: start; }
.plan-audience { font-size: .84rem; min-height: 2.6em; }
.plan-face .pricing-price { justify-content: start; margin-top: 8px; }
.plan-face .pricing-price strong { font-size: clamp(1.85rem,3vw,2.5rem); }
.plan-face .pricing-sub { text-align: start; margin: 2px 0 7px; }
.plan-face .plan-cta { display: grid; place-items: center; align-self: stretch; min-height: 43px; height: auto; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--card); box-shadow: 0 3px 8px var(--plan-shadow); font-size: .84rem; font-weight: 670; }
:root[data-theme="dark"] .plan-face .plan-cta { box-shadow: none; }
.plan-face .plan-cta:hover { background: var(--action); color: var(--action-ink); }
.plan-inclusions { width: 100%; }
.plan-inclusions .pricing-features { border: 0; padding: 0; margin: 0; }
.plan-inclusions .pricing-features li:last-child { margin-bottom: 0; }
.plan-comparison { background: var(--card); }
.pricing .billing-options.d-join { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.pricing .billing-options.d-join > label { margin: 0; border: 0; outline: 0; }
@media (max-width: 860px) {
  .hero-clay .clay-icon { font-size: clamp(3.35rem, 9vw, 5.8rem); }
  .clay-c,.clay-d { display: none !important; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .hero-intro { padding-top: 65px; }
  .clay-a,.clay-b { top: 0; }
}
@media (max-width: 640px) {
  .hero-intro { min-height: 359px; padding: 55px 4px 16px; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.4rem); }
  .hero h1 { font-size: clamp(2.65rem, 10.5vw, 4.1rem); }
  .clay-a { top: -8px; left: 7%; }
  .clay-b { top: -8px; right: 7%; }
  .plan-audience { min-height: 0; }
  .pricing-card .plan-face { padding: 19px; }
  .plan-inclusions { padding: 19px; }
  .hero-clay .clay-icon { font-size: 3.35rem; }
}



.faq-content { display: block; }
.faq-photo { display: none; }
.faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 24px; border: 0; }
.faq-list details { align-self: start; padding-inline: 15px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--card) 78%, transparent); }
@media (max-width: 640px) {
  .faq-list { grid-template-columns: 1fr; }
}


/* ===================================================================================
   v2 — one continuous ground with a visible grid, the same art direction in both
   themes, product mockups, and motion from transitions.dev (tokens below).
   =================================================================================== */
:root {
  --duration-stagger: 40ms; --duration-micro: 80ms; --duration-quick: 150ms; --duration-fast: 250ms;
  --duration-medium: 350ms; --duration-slow: 400ms; --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: ease-in-out; --ease-out: ease-out;
  --ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1);
  --distance-base: 8px; --distance-medium: 12px; --blur-small: 2px; --blur-medium: 3px;
  /* Texts reveal */
  --stagger-dur: 500ms; --stagger-distance: 12px; --stagger-stagger: 80ms; --stagger-blur: 3px;
  --stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root, :root[data-theme="light"] {
  --p-bg: #eceaf3; --p-surface: #e3e0ee; --card: #f8f7fc; --line: #dbd7e7; --line-strong: #c9c4db;
  --soft-blue: #e2e0f4; --grid-ink: #4b45781c; --tile-color: #e6defc; --amber: #9a5b0c;
  --glow-a: #ffd3ec; --glow-b: #ffe6c2; --glow-c: #d9d1ff;
  --btn-fill: var(--accent);
  --shadow-card: inset 0 1px #ffffffb3, 0 22px 44px -30px #3b2d6b66;
  --shadow-window: 0 50px 100px -40px #2b215a73, 0 0 0 7px #ffffff66;
}
:root[data-theme="dark"] {
  --grid-ink: #8fa8ff17; --tile-color: #1b2849; --amber: #f2b866;
  --glow-a: #2546a659; --glow-b: #1b3c8a4d; --glow-c: #3a2f9a4d;
  --btn-fill: var(--accent);
  --shadow-card: inset 0 1px #ffffff0d, 0 22px 44px -30px #000;
  --shadow-window: 0 50px 100px -40px #000, 0 0 0 7px #ffffff0a;
}
:root[data-theme="dark"] :is(.capability-card, .flow-card) { --tile-color: #1b2849; }

/* The ground: the grid lives on the page, sections are transparent and only add glows
   that fade to nothing, so there is never a hard cut between two sections. */
body {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid-ink) 1px, transparent 1px), linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
}
main > section, .site-footer { position: relative; isolation: isolate; background: transparent; }
main > section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--section-glow, none); }
.hero { --section-glow: radial-gradient(ellipse 36% 26% at 50% 12%, var(--glow-a), transparent), radial-gradient(ellipse 28% 20% at 74% 10%, var(--glow-b), transparent), radial-gradient(ellipse 40% 26% at 28% 16%, var(--glow-c), transparent), radial-gradient(ellipse 55% 30% at 50% 72%, color-mix(in srgb, var(--glow-c) 70%, transparent), transparent); }
.overview { --section-glow: radial-gradient(ellipse 55% 40% at 72% 45%, color-mix(in srgb, var(--glow-c) 75%, transparent), transparent); }
.modules { --section-glow: radial-gradient(ellipse 45% 40% at 20% 55%, color-mix(in srgb, var(--glow-b) 60%, transparent), transparent); }
.workflow { --section-glow: radial-gradient(ellipse 50% 35% at 30% 50%, color-mix(in srgb, var(--glow-a) 60%, transparent), transparent); }
.pricing { --section-glow: radial-gradient(ellipse 50% 35% at 50% 30%, color-mix(in srgb, var(--glow-c) 70%, transparent), transparent); }
.capability-card { position: relative; overflow: hidden; }
.site-footer > .wrap { padding: 13px 21px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--card) 80%, transparent); }

/* Section heads: transitions.dev "Texts reveal" (classes added by app.js). */
.t-stagger-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  filter: blur(var(--stagger-blur));
  transition:
    opacity   var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease),
    filter    var(--stagger-dur) var(--stagger-ease);
  will-change: transform, opacity, filter;
}
.t-stagger-line--2 { transition-delay: var(--stagger-stagger); }
.t-stagger.is-shown .t-stagger-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .t-stagger-line { transition: none !important; }
}
/* Theme switch: the new theme pours down from the top with a soft edge (app.js starts a view transition). */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) {
  -webkit-mask: linear-gradient(#000 0 44%, transparent 56%) 0 100% / 100% 300% no-repeat;
  mask: linear-gradient(#000 0 44%, transparent 56%) 0 100% / 100% 300% no-repeat;
  animation: theme-pour 1300ms cubic-bezier(.65, 0, .35, 1) both;
}
@keyframes theme-pour { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.theme-toggle .icon { transition: rotate var(--duration-very-slow) var(--ease-bounce); }
.theme-toggle:hover .icon { rotate: 25deg; }

/* Buttons: the fill grows from where the pointer came in (app.js sets --bx/--by). */
.btn, .plan-face .plan-cta { position: relative; isolation: isolate; overflow: hidden; }
.btn::before, .plan-face .plan-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--fill, var(--btn-fill));
  clip-path: circle(0% at var(--bx, 50%) var(--by, 100%));
  transition: clip-path var(--duration-very-slow) var(--ease-smooth-out);
}
.btn--secondary { --fill: var(--ink); }
.plan-face .plan-cta { --fill: var(--action); transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.plan-face .plan-cta:hover { background: var(--card); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before, .plan-face .plan-cta:hover::before { clip-path: circle(150% at var(--bx, 50%) var(--by, 100%)); }
  html:not([data-motion="off"]) .btn--secondary:hover { color: var(--bg); border-color: var(--ink); background: transparent; }
}

/* Mouse-following light and border glow on cards (app.js sets --mx/--my). */
.spot { isolation: isolate; --mx: 50%; --my: 0%; }
.spot::before, .spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); }
.spot::before { z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 13%, transparent), transparent 65%); }
.spot::after {
  z-index: 2; padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 75%, transparent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before, .spot:hover::after { opacity: 1; }
}
/* Cards share one look: a subtle colour fade from the top-left corner. */
:is(.capability-card) {
  border: 1px solid var(--line);
  background: radial-gradient(85% 70% at 0% 0%, color-mix(in srgb, var(--tile-color) 85%, transparent), transparent 62%), var(--card);
  box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------------- hero */
.hero-clay { display: block; }
.hero-stage {
  position: relative; display: block; max-width: 1140px; min-height: 0; margin: 0 auto; padding: 0 0 56px;
  border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
.hero-device { position: relative; transform-origin: 50% 0; }
.app-window {
  position: relative; margin-left: clamp(0px, 9vw, 130px); overflow: hidden; text-align: start;
  border: 1px solid var(--line-strong); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-window);
  font-size: clamp(8px, 1.02vw, 13px); color: var(--ink);
}
.win-bar { display: flex; align-items: center; gap: 1em; padding: .75em 1.1em; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, var(--card)); }
.v-dots { display: inline-flex; gap: .4em; flex: none; }
.v-dots i { width: .7em; height: .7em; border-radius: 50%; background: var(--line-strong); }
.win-url { flex: 1; max-width: 26em; margin-inline: auto; padding: .4em 1em; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--muted); font: 500 .82em/1.2 var(--font-mono); text-align: center; }
.niche-chip { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-size: .82em; font-weight: 650; }
.niche-chip > :not(.niche-chip-pill) { position: relative; z-index: 1; padding: .35em .9em; text-align: center; color: var(--muted); transition: color var(--duration-slow) var(--ease-in-out); }
.niche-chip-pill { position: absolute; inset: 3px auto 3px 3px; width: calc(50% - 3px); border-radius: 99px; background: var(--action); transition: translate var(--duration-very-slow) var(--ease-smooth-out); }
[data-niche="estetica"] .niche-chip-pill { translate: 100% 0; }
[data-niche="odontologia"] .niche-o, [data-niche="estetica"] .niche-e { color: var(--action-ink); }
.win-body { display: grid; grid-template-columns: 11em minmax(0, 1fr); }
.win-side { display: grid; align-content: start; gap: .25em; padding: 1.1em .7em; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 45%, var(--card)); }
.win-side img { width: 1.9em; height: 1.9em; margin: 0 0 .9em .55em; object-fit: contain; }
.win-side span { display: flex; align-items: center; gap: .7em; padding: .55em .7em; border-radius: .7em; color: var(--muted); font-weight: 500; }
.win-side em { font-style: normal; }
.win-side .icon { width: 1.3em; height: 1.3em; }
.win-side .is-active { background: var(--soft-blue); color: var(--ink); font-weight: 650; }
.win-side .is-active .icon { color: var(--accent); }
.win-main { display: grid; gap: 1.1em; min-width: 0; padding: 1.3em 1.5em 1.5em; }
.win-head { display: flex; justify-content: space-between; align-items: end; gap: 1em; }
.win-head small { color: var(--muted); font-size: .85em; }
.win-head strong { display: block; font-size: 1.6em; font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.win-btn { display: inline-flex; align-items: center; gap: .4em; padding: .65em 1.1em; border-radius: 99px; background: var(--action); color: var(--action-ink); font-size: .88em; font-weight: 650; white-space: nowrap; }
.win-btn .icon { width: 1.15em; height: 1.15em; }
.win-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.win-kpis > div { display: grid; gap: .25em; padding: .9em 1em; border: 1px solid var(--line); border-radius: .9em; background: color-mix(in srgb, var(--surface) 25%, var(--card)); }
.win-kpis small { color: var(--muted); font-size: .8em; }
.win-kpis b { font-size: 1.5em; font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.win-kpis em { font-style: normal; font-size: .76em; color: var(--muted); }
.is-up { color: var(--plan-yes) !important; font-weight: 650; }
.v-meter { display: block; height: .4em; margin-top: .2em; border-radius: 99px; background: var(--surface); overflow: hidden; }
.v-meter i { display: block; width: var(--v); height: 100%; border-radius: inherit; background: var(--accent); }
.win-grid { display: grid; grid-template-columns: minmax(0, 1fr) 15em; gap: .9em; }
.win-agenda, .win-wait { min-width: 0; border: 1px solid var(--line); border-radius: .9em; background: var(--card); overflow: hidden; }
.win-pros, .win-slots { display: grid; grid-template-columns: 3.4em repeat(3, minmax(0, 1fr)); column-gap: .4em; padding-right: .4em; }
.win-pros { border-bottom: 1px solid var(--line); }
.win-pros span { padding: .65em .3em; color: var(--muted); font-size: .8em; font-weight: 650; text-align: center; }
.win-slots { grid-template-rows: repeat(4, 3.5em); background: repeating-linear-gradient(to bottom, transparent 0 calc(3.5em - 1px), var(--line) calc(3.5em - 1px) 3.5em); }
.win-hour { grid-column: 1; grid-row: var(--r); padding: .55em .6em; color: var(--muted); font: 500 .74em/1 var(--font-mono); }
.win-event, .v-week i {
  grid-column: var(--c); grid-row: var(--r) / span var(--s); min-width: 0; overflow: hidden;
  border-left: 3px solid var(--ev); border-radius: .55em; background: color-mix(in srgb, var(--ev) 15%, var(--card));
}
.win-event { display: grid; align-content: start; gap: .15em; margin: .25em 0; padding: .4em .6em; line-height: 1.2; }
.win-event b { color: color-mix(in srgb, var(--ev) 55%, var(--ink)); font-size: .8em; font-weight: 650; white-space: nowrap; }
.win-event small { color: var(--muted); font-size: .72em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-violet { --ev: #7b6cf0; } .ev-teal { --ev: #1a9c93; } .ev-rose { --ev: #db5b8a; } .ev-amber { --ev: #dc9333; }
.win-wait { display: grid; align-content: start; gap: .5em; padding: .9em; }
.win-wait strong { font-size: .9em; padding: 0 .2em .2em; }

/* Text that changes with the specialty: transitions.dev text swap timing, stacked in one cell. */
.swap { display: inline-grid; vertical-align: top; }
.swap > * { grid-area: 1 / 1; transition: opacity var(--duration-slow) var(--ease-in-out), translate var(--duration-slow) var(--ease-smooth-out), filter var(--duration-slow) var(--ease-in-out); }
[data-niche="odontologia"] .swap > .e { opacity: 0; translate: 0 .5em; filter: blur(var(--blur-small)); }
[data-niche="estetica"] .swap > .o { opacity: 0; translate: 0 -.5em; filter: blur(var(--blur-small)); }

/* The phone floats over the window's lower left corner. */
.phone {
  --pw: clamp(150px, 19vw, 240px);
  position: absolute; left: 0; bottom: 0; z-index: 2; width: var(--pw); aspect-ratio: 9 / 19; padding: .5em;
  border-radius: 2.7em; background: linear-gradient(150deg, #3a3a4c, #101018 60%); font-size: calc(var(--pw) / 19.6); text-align: start;
  box-shadow: 0 45px 80px -30px #1c1440b3, inset 0 0 0 1px #ffffff2e, inset 0 0 0 4px #0c0c12;
}
.phone-screen { position: relative; display: grid; align-content: start; gap: .7em; height: 100%; padding: 3em 1em 1em; overflow: hidden; border-radius: 2.25em; background: var(--bg); color: var(--ink); }
.phone-island { position: absolute; top: .8em; left: 50%; width: 5.6em; height: 1.55em; translate: -50% 0; border-radius: 99px; background: #08080c; }
.ph-top small { color: var(--muted); font-size: .8em; }
.ph-top strong { display: block; font-size: 1.45em; font-weight: 650; letter-spacing: -.035em; }
.ph-next { position: relative; display: grid; gap: .2em; padding: 1em; border-radius: 1.1em; background: var(--action); color: var(--action-ink); overflow: hidden; }
.ph-next small { opacity: .75; font-size: .78em; }
.ph-next b { font-size: 1.1em; }
.ph-next > .swap { font-size: .85em; opacity: .9; }
.ph-next > .ph-icon { position: absolute; right: .05em; bottom: -.12em; font-size: 3.8em; opacity: 1; rotate: -10deg; }
.ph-icon .clay-icon { font-size: 1em; }
.phone .v-row { background: var(--card); }
.ph-toast { display: flex; align-items: center; gap: .55em; margin-top: .2em; padding: .75em .85em; border: 1px solid var(--line); border-radius: 1em; background: var(--card); font-size: .8em; font-weight: 600; box-shadow: 0 10px 20px -14px #2b215a80; }
.ph-toast .icon { width: 1.5em; height: 1.5em; padding: .25em; border-radius: 50%; color: #fff; background: #23a55a; stroke-width: 2.6; }

@keyframes device-grow { from { transform: perspective(1700px) rotateX(20deg) scale(.84); } }
@keyframes phone-rise { from { transform: translate(-6%, 18%) rotate(-5deg); } to { transform: translate(-30%, 10%) rotate(-2deg); } }
@keyframes phone-float { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: phone-float 6s ease-in-out infinite; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 641px) {
    .hero-device { animation: device-grow linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .phone { animation: phone-float 6s ease-in-out infinite, phone-rise linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 70vh; }
  }
}

/* ---------------------------------------------------------------- shared mini screens */
.v-ui { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 26px 50px -32px #2b215a73; font-size: 13px; text-align: start; color: var(--ink); }
.v-ui-bar { display: flex; align-items: center; gap: .8em; padding: .75em 1em; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 65%, var(--card)); font-size: .84em; font-weight: 650; }
.v-ui-body { display: grid; gap: .55em; padding: 1em; }
.v-row { display: flex; align-items: center; gap: .7em; min-width: 0; padding: .55em .65em; border-radius: .75em; background: color-mix(in srgb, var(--surface) 45%, var(--card)); }
.v-row time { flex: none; width: 3.3em; color: var(--muted); font: 500 .78em/1 var(--font-mono); }
.v-av { --h: 260; display: grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; background: hsl(var(--h) 75% 90%); color: hsl(var(--h) 45% 30%); font-size: .76em; font-weight: 700; }
:root[data-theme="dark"] .v-av { background: hsl(var(--h) 35% 24%); color: hsl(var(--h) 80% 84%); }
.v-txt { display: grid; min-width: 0; line-height: 1.3; }
.v-txt > * { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v-txt b { font-size: .88em; font-weight: 650; }
.v-txt small { color: var(--muted); font-size: .76em; }
.v-pill { flex: none; margin-left: auto; padding: .3em .75em; border-radius: 99px; font-size: .72em; font-weight: 650; white-space: nowrap; }
.v-pill.is-ok { color: var(--plan-yes); background: color-mix(in srgb, var(--plan-yes) 14%, transparent); }
.v-pill.is-info { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.v-pill.is-wait { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.v-teeth { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .4em; padding: .3em 0; }
.v-teeth i { aspect-ratio: 3 / 4; border: 1px solid var(--line-strong); border-radius: .5em .5em 1em 1em; background: color-mix(in srgb, var(--surface) 50%, var(--card)); }
.v-teeth i.is-done { border-color: var(--plan-yes); background: color-mix(in srgb, var(--plan-yes) 22%, var(--card)); }
.v-teeth i.is-plan { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 22%, var(--card)); }
.v-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.v-chips span { display: inline-flex; align-items: center; gap: .35em; padding: .4em .75em; border-radius: 99px; background: var(--soft-blue); font-size: .78em; font-weight: 650; }
.v-chips .icon, .v-note .icon { width: 1.1em; height: 1.1em; color: var(--plan-yes); stroke-width: 2.4; }
.v-kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.v-kanban > div { display: grid; gap: .4em; padding: .5em; border-radius: .8em; background: color-mix(in srgb, var(--surface) 50%, var(--card)); }
.v-kanban small { display: flex; justify-content: space-between; padding: .1em .2em; color: var(--muted); font-size: .74em; font-weight: 650; }
.v-kanban small b { color: var(--ink); }
.v-kanban span { display: grid; gap: .15em; padding: .6em; border: 1px solid var(--line); border-radius: .6em; background: var(--card); font-size: .78em; font-weight: 600; box-shadow: 0 2px 4px #1a12400d; }
.v-kanban em { font-style: normal; color: var(--plan-yes); font-size: .92em; }
.v-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .6em; }
.v-total small { width: 100%; color: var(--muted); font-size: .78em; }
.v-total b { font-size: 1.7em; font-weight: 650; letter-spacing: -.04em; }
.v-total em { font-style: normal; font-size: .8em; }
.v-total .v-pill { align-self: center; }
.v-bars { display: flex; align-items: end; gap: .45em; height: 5.2em; }
.v-bars i { flex: 1; height: var(--v); border-radius: .45em .45em .2em .2em; background: linear-gradient(to top, color-mix(in srgb, var(--accent) 35%, transparent), color-mix(in srgb, var(--accent) 80%, transparent)); transform-origin: bottom; }
.v-bars i:last-child { background: var(--accent); }
.v-chat p { max-width: 84%; padding: .65em .9em; border-radius: 1.05em; font-size: .82em; line-height: 1.4; color: var(--ink); }
.v-chat .is-in { justify-self: start; border-bottom-left-radius: .3em; background: color-mix(in srgb, var(--surface) 60%, var(--card)); }
.v-chat .is-out { justify-self: end; border-bottom-right-radius: .3em; background: #d6f8d0; color: #12361b; }
:root[data-theme="dark"] .v-chat .is-out { background: #1d4a35; color: #dcf7e6; }
.v-note { display: inline-flex; align-items: center; justify-self: center; gap: .4em; margin-top: .2em; color: var(--muted); font-size: .75em; font-weight: 600; }
.v-week { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 3em repeat(4, 2.9em); gap: .35em; }
.v-week > span { display: grid; justify-items: center; align-content: center; grid-row: 1; border-radius: .7em; color: var(--muted); font: 500 .72em/1.3 var(--font-mono); }
.v-week > span b { color: var(--ink); font: 650 1.35em/1.1 var(--font-text); }
.v-week > span.is-today { background: var(--soft-blue); }
.v-week i { display: block; padding: .45em .55em; color: color-mix(in srgb, var(--ev) 55%, var(--ink)); font-size: .74em; font-style: normal; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.v-float { position: absolute; right: 1em; bottom: 1em; display: flex; align-items: center; gap: .65em; padding: .75em .95em; border: 1px solid var(--line); border-radius: 1em; background: var(--card); box-shadow: 0 22px 40px -18px #2b215a80; }
.v-float .icon { width: 2.2em; height: 2.2em; padding: .45em; border-radius: .7em; color: var(--accent); background: var(--soft-blue); }
.v-float span { display: grid; line-height: 1.3; }
.v-float b { font-size: .84em; }
.v-float small { color: var(--muted); font-size: .75em; }
.v-tabs { display: flex; gap: .2em; border-bottom: 1px solid var(--line); }
.v-tabs span { padding: .5em .75em; color: var(--muted); font-size: .78em; font-weight: 650; }
.v-tabs .is-active { color: var(--ink); box-shadow: inset 0 -2px var(--accent); }
.v-teeth.is-full { gap: .35em; }
.v-note-block { display: grid; justify-items: start; gap: .35em; padding: .85em; border-radius: .8em; background: color-mix(in srgb, var(--surface) 45%, var(--card)); }
.v-note-block small { color: var(--muted); font-size: .74em; font-weight: 650; }
.v-note-block p { color: var(--ink); font-size: .84em; text-align: start; }
.v-note-block .v-pill { margin-left: 0; }
.v-lines { display: grid; }
.v-lines span { display: flex; justify-content: space-between; gap: 1em; padding: .65em .1em; border-bottom: 1px dashed var(--line-strong); font-size: .85em; }
.v-lines b { font-weight: 650; }
@keyframes bar-grow { from { scale: 1 .1; } }
@keyframes float-in { from { opacity: 0; translate: 0 14px; scale: .96; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .v-bars i { animation: bar-grow linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .v-float { animation: float-in linear both; animation-timeline: view(); animation-range: entry 40% cover 50%; }
  }
}

/* ---------------------------------------------------------------- resources: 3D icons on the tabs */
.module-tabs button > .clay-icon { font-size: 36px; margin: -6px 2px -6px -4px; transition: transform var(--duration-fast) var(--ease-bounce); }
.module-tabs button:is(:hover, [aria-selected="true"]) > .clay-icon { transform: scale(1.12) rotate(-6deg); }

/* ---------------------------------------------------------------- plans */
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: end; gap: 14px 32px; margin-bottom: 26px; }
.pricing-controls .specialty-switch { flex-direction: column; gap: 7px; margin: 0; }
.pricing-controls .specialty-switch > span { color: var(--muted); font: 400 .81rem/1.5 var(--font-text); text-transform: none; letter-spacing: 0; }
.pricing-controls .billing { margin: 0; }
.pricing-card .plan-face { background: linear-gradient(138deg, var(--card) 17%, var(--plan-tint)); }
.pricing-features li.is-swapped, .comparison-scroll tr.is-swapped { animation: panel-in var(--duration-slow) var(--ease-smooth-out) both; }
.spec-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--soft-blue); color: var(--accent); font-size: .72rem; font-weight: 650; vertical-align: 1px; }
.plan-comparison > summary { color: var(--ink); }

@media (max-width: 1023px) {
  .win-grid { grid-template-columns: minmax(0, 1fr); }
  .win-wait { display: none; }
}
@media (max-width: 640px) {
  .hero-stage { padding-bottom: 22vw; }
  .app-window { margin-left: 0; font-size: 8.6px; border-radius: 14px; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-side, .win-url { display: none; }
  .win-head .win-btn { display: none; }
  .phone { --pw: 34vw; left: auto; right: -8px; bottom: -4vw; }
  .module-tabs button > .clay-icon { font-size: 28px; margin: -4px 0 -4px -2px; }
  .flow-screen { font-size: 11px; }
  .v-float { position: static; margin: 0 1em 1em; }
  .pricing-controls { flex-direction: column; align-items: center; }
}

/* ===================================================================================
   v3 — Gradia-style cards, header-stacking steps, testimonials, quieter colour.
   =================================================================================== */
:root, :root[data-theme="light"] {
  --p-bg: #e9e7f1; --card: #f7f6fb; --grid-ink: #3f3a6e0f; --tile-color: #e5e2f6;
  --glow-a: #f8dcec; --glow-b: #fbe9d0; --glow-c: #dcd6fb;
}
:root[data-theme="dark"] { --p-bg: #020203; --grid-ink: #9fb4ff0b; }
:root[data-theme="light"] :is(.capability-card):nth-child(n) { --tile-color: #e5e2f6; }
.specialty-switch > span { color: var(--muted); font: 400 .81rem/1.5 var(--font-text); text-transform: none; letter-spacing: 0; }

/* Mockups use the real Vexy app palette (web/src/styles.css): neutral greys and the product blue. */
.app-window, .phone-screen, .v-ui {
  --card: #fff; --surface: #f1f3f6; --line: #e3e6eb; --line-strong: #cfd4dc; --ink: #101217; --muted: #6a7180;
  --accent: #2f6fec; --soft-blue: #eaf0fd; --action: #2f6fec; --action-ink: #fff; --bg: #f3f4f7; --plan-yes: #12a150; --amber: #b26b00;
}
:root[data-theme="dark"] :is(.app-window, .phone-screen, .v-ui) {
  --card: #141417; --surface: #1b1b1f; --line: #232328; --line-strong: #33333a; --ink: #ececf0; --muted: #8c8c96;
  --accent: #4d8dff; --soft-blue: #18233a; --action: #4d8dff; --action-ink: #fff; --bg: #0b0b0d; --plan-yes: #2fbf6b; --amber: #f2b35b;
}
.win-kpis b, .v-total b, .v-lines b { font-family: var(--font-mono); font-weight: 600; letter-spacing: -.04em; }

/* ---------------------------------------------------------------- routine: feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; grid-column: span 2; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow-card); }
.feature-card.is-wide { grid-column: span 3; }
.feature-visual {
  height: 232px; padding: 26px 26px 0; overflow: hidden;
  background: radial-gradient(75% 95% at 50% 0%, color-mix(in srgb, var(--tile-color) 95%, transparent), transparent 78%);
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent);
}
:root[data-theme="dark"] .feature-visual { background: radial-gradient(75% 95% at 50% 0%, #1a2546, transparent 78%); }
.feature-visual .v-ui { font-size: 12px; transition: translate var(--duration-very-slow) var(--ease-smooth-out); }
.feature-card.is-wide .feature-visual .v-ui { max-width: 420px; margin-inline: auto; }
.feature-copy { display: grid; justify-items: start; align-content: start; gap: 8px; padding: 6px 26px 24px; }
.feature-copy .clay-icon { font-size: 42px; margin: -4px 0 2px -4px; }
.feature-copy h3 { font-size: 1.3rem; letter-spacing: -.035em; text-align: start; }
.feature-copy p { max-width: 42ch; font-size: .93rem; }
.feature-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--ink); font-size: .88rem; font-weight: 650; transition: color var(--duration-fast) var(--ease-out); }
.feature-link .icon { width: 16px; height: 16px; transition: translate var(--duration-fast) var(--ease-smooth-out); }
.feature-link:hover { color: var(--accent); }
.feature-link:hover .icon { translate: 4px 0; }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .feature-visual .v-ui { translate: 0 -8px; }
}

/* ---------------------------------------------------------------- steps that stack, header over header */
.flow-stack { display: grid; gap: 24px; width: min(100%, 1080px); margin: 0 auto; padding: 0; list-style: none; }
.flow-card {
  --head: 78px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px;
  background: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--tile-color) 80%, transparent), transparent 70%), var(--card);
  box-shadow: var(--shadow-card), 0 -14px 34px -26px #2b215a59;
}
.flow-head { display: flex; align-items: center; gap: 14px; height: var(--head); padding: 0 clamp(18px, 3vw, 32px); }
.flow-head h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -.04em; text-align: start; }
.flow-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: 6px clamp(18px, 3vw, 32px) clamp(22px, 3vw, 34px); }
.flow-copy { display: grid; justify-items: start; gap: 16px; }
.flow-copy p { max-width: 40ch; font-size: clamp(.98rem, 1.3vw, 1.08rem); }
.flow-points { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.flow-points li { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 550; }
.flow-screen { font-size: clamp(11px, 1.05vw, 13.5px); }
@media (min-width: 768px) and (min-height: 760px) {
  .flow-card { position: sticky; top: calc(28px + var(--i) * var(--head)); }
  .flow-stack { padding-bottom: 12vh; }
}
@media (max-width: 767px) {
  .flow-body { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- plans: Pro leads */
html:root[data-theme] .pricing-card.is-top { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 44px 80px -44px color-mix(in srgb, var(--accent) 70%, transparent); }
html:root[data-theme] .pricing-card.is-top .plan-face { border-color: #ffffff1f; background: radial-gradient(90% 80% at 100% 0%, #3d5bd666, transparent 70%), linear-gradient(155deg, #25294f, #13152a 75%); box-shadow: none; }
.pricing-card.is-top .plan-face :is(h3, .pricing-price strong) { color: #fff; }
.pricing-card.is-top .plan-face :is(.plan-audience, .pricing-price span, .pricing-sub) { color: #c3c8e4; }
.pricing-card.is-top .plan-face .pricing-sub b { color: #a8c0ff; }
html:root[data-theme] .pricing-card.is-top .plan-cta { --fill: #fff; border-color: transparent; background: #4d7dff; color: #fff; box-shadow: 0 10px 24px -10px #4d7dffb3; }
html:root[data-theme] .pricing-card.is-top .plan-cta:hover { color: #13152a; background: #4d7dff; }
.plan-badge { display: inline-flex; margin-left: 10px; padding: 4px 10px; border: 1px solid #ffffff38; border-radius: 99px; background: #ffffff1a; color: #fff; font: 600 .72rem/1.2 var(--font-text); letter-spacing: 0; vertical-align: 5px; }
html:root[data-theme="light"] .pricing-card[data-plan="max"] .plan-face { background: linear-gradient(140deg, var(--card) 15%, #ece6ff 62%, #fde9d9); }
@media (min-width: 641px) {
  .pricing-card.is-top { translate: 0 -12px; }
}

/* ---------------------------------------------------------------- testimonials */
.quote-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote-card { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-card); }
.quote-card blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.55; }
.quote-card figcaption { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.quote-card .v-av { font-size: .78rem; }
.quote-card figcaption b { display: block; font-size: .9rem; }
.quote-card figcaption small { color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) {
  .quote-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .quote-wall { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- FAQ subjects */
.faq-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.faq-filters button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 99px; background: color-mix(in srgb, var(--card) 75%, transparent); color: var(--muted); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.faq-filters button:hover { color: var(--ink); }
.faq-filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.faq-list details:not([hidden]) { animation: panel-in var(--duration-slow) var(--ease-smooth-out) both; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card, .feature-card.is-wide { grid-column: auto; }
  .feature-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-visual { height: 210px; padding: 20px 18px 0; }
  .feature-copy { padding: 4px 20px 20px; }
}
.t-tabs-pill { background: var(--card); box-shadow: 0 1px 3px #1b16401f, 0 0 0 1px var(--line); }
.t-tab[aria-pressed="true"] { background: var(--card); }
.flow-card { min-height: min(500px, 62vh); }
@media (max-width: 767px) { .flow-card { min-height: 0; } }
/* The open comparison table must scroll inside its box, never widen the section grid. */
.section, .hero { grid-template-columns: minmax(0, 1fr); }

/* routine cards: compact, stacking as you scroll */
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; width: min(100%, 780px); margin: 0 auto; counter-reset: fc; }
.feature-card, .feature-card.is-wide { --head: 76px; grid-column: auto; grid-template-rows: none; counter-increment: fc; border-radius: 24px; }
.feature-card:nth-child(1) { --i: 0; } .feature-card:nth-child(2) { --i: 1; } .feature-card:nth-child(3) { --i: 2; } .feature-card:nth-child(4) { --i: 3; } .feature-card:nth-child(5) { --i: 4; }
.feature-card { background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--tile-color) 80%, transparent), transparent 70%), var(--card); }
.feature-copy { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: var(--head) auto auto; align-items: center; column-gap: 14px; row-gap: 6px; padding: 0 clamp(18px, 3vw, 28px) 22px; }
.feature-copy .clay-icon { grid-area: 1 / 1; margin: 0; }
.feature-copy h3 { grid-area: 1 / 2; }
.feature-copy::after { content: "#" counter(fc, decimal-leading-zero); grid-area: 1 / 3; color: var(--muted); font: 500 .85rem/1 var(--font-mono); }
.feature-copy p { grid-column: 1 / -1; }
.feature-copy .feature-link { grid-column: 1 / -1; }
@media (min-width: 768px) and (min-height: 700px) {
  .feature-card { position: sticky; top: calc(28px + var(--i) * var(--head)); }
  .feature-grid { padding-bottom: 10vh; }
}

/* ---- v4: lighter grid, roomier sections, fixed header, faster theme pour, avatars, FAQ filters */
:root, :root[data-theme="light"] { --grid-ink: #3f3a6e08; }
:root[data-theme="dark"] { --grid-ink: #9fb4ff07; }
.section { padding-block: clamp(96px, 13vw, 190px); }
.site-header { position: fixed; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
::view-transition-new(root) {
  -webkit-mask: linear-gradient(#000 0 40%, transparent 60%) 0 100% / 100% 250% no-repeat;
  mask: linear-gradient(#000 0 40%, transparent 60%) 0 100% / 100% 250% no-repeat;
  animation: theme-pour 1500ms cubic-bezier(.4, 0, .2, 1) both;
}
.q-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.faq-content { grid-template-columns: minmax(0, 1fr); width: min(100%, 820px); margin-inline: auto; }
.faq-filters { justify-self: center; gap: 4px; padding: 5px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.faq-filters button { border-color: transparent; background: transparent; padding: 0 20px; }
@media (max-width: 560px) {
  .faq-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
  .faq-filters button { padding: 0 8px; }
}
@media (min-width: 0px) {
  .feature-card { position: sticky; top: calc(84px + var(--i) * var(--head)); }
  .feature-grid { padding-bottom: 10vh; }
}

.pilot-stage {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px;
}
.pilot-slide {
  min-width: 0; display: flex; flex-direction: column; gap: 17px; padding: clamp(16px, 3vw, 34px);
  border: 1px solid var(--line-strong); border-radius: clamp(18px, 3vw, 30px);
  background: linear-gradient(145deg, var(--card), #e9edf8);
  box-shadow: 0 18px 30px -25px #191f3a74;
}
.pilot-slide-copy { display: grid; gap: 7px; }
.pilot-slide-copy > .icon { width: 24px; height: 24px; margin-bottom: 2px; color: var(--accent); }
.pilot-slide-copy h3 { font-size: clamp(1.37rem, 2.8vw, 2rem); letter-spacing: -.04em; text-align: start; }
.pilot-slide-copy p { font-size: .9rem; line-height: 1.47; }
.pilot-preview { margin-top: auto; }
.pilot-preview .v-ui-body { display: grid; gap: 0; }
.pilot-preview-row {
  display: grid; grid-template-columns: 5.4em minmax(0, 1fr) auto; gap: .5em; align-items: center;
  padding: .68em 0; font-size: clamp(.58rem, 1.35vw, .75rem);
}
.pilot-preview-row + .pilot-preview-row { border-top: 1px solid var(--line); }
.pilot-preview-row :is(small, span) { color: var(--muted); }
.pilot-preview-row span { text-align: end; }

@property --pilot-position {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
.pilot-carousel.is-ready .pilot-stage {
  --slide-width: min(calc(100% - 36px), 454px);
  --fan: clamp(35px, 19vw, 254px);
  transition: --pilot-position var(--duration-slow) var(--ease-smooth-out);
  position: relative; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0;
  padding-block: 12px 30px; overflow: clip; perspective: 850px; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none;
}
.pilot-carousel.is-ready .pilot-slide {
  grid-area: 1 / 1; width: var(--slide-width);
  --position: var(--offset);
  --depth: max(var(--position), calc(-1 * var(--position)));
  transform: translate3d(calc(var(--position) * var(--fan)), 0, calc(var(--depth) * -66px)) rotateY(clamp(-38deg, calc(var(--position) * -24deg), 38deg));
  z-index: calc(30 - var(--depth) * 10);
  opacity: clamp(0, calc((2.5 - var(--depth)) * var(--pilot-fade, .85)), 1);
}
@supports (opacity: mod(1, 2)) {
  .pilot-carousel.is-ready .pilot-slide {
    --position: calc(mod(var(--slide-index) - var(--pilot-position) + 2.5, 5) - 2.5);
  }
}
.pilot-carousel.is-ready .pilot-stage.is-snapping {
  transition-duration: var(--duration-medium);
}
.pilot-carousel.is-ready .pilot-stage.is-dragging { cursor: grabbing; }
.pilot-carousel.is-ready .pilot-stage:is(.is-dragging, .is-wheeling) { transition: none; }
.pilot-carousel.is-ready .pilot-slide > * { opacity: clamp(.55, calc(1 - var(--depth) * .45), 1); }
.pilot-controls:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: 12px; }
.pilot-arrow {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); background: var(--card); cursor: pointer;
}
.pilot-arrow:first-child .icon { rotate: 180deg; }
.pilot-arrow:hover { border-color: var(--accent); color: var(--accent); }
.pilot-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .pilot-carousel.is-ready .pilot-stage { --fan: 15vw; --pilot-fade: .62; }
}
@media (prefers-reduced-motion: reduce) {
  .pilot-carousel.is-ready .pilot-stage { transition: none; }
}

.flow-points .icon { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.5; }

:root[data-theme="dark"] {
  --card: #101012; --p-surface: #161619; --line: #28282d; --line-strong: #3a3a41;
  --tile-color: #19191e; --grid-glow: #7b99e511;
  --glow-a: #4562aa23; --glow-b: #35538c18; --glow-c: #4b5c8a1c;
}
:root[data-theme="dark"] :is(.capability-card, .feature-card, .flow-card) { --tile-color: #19191e; }
:root[data-theme="dark"] .feature-visual { background: radial-gradient(75% 95% at 50% 0%, #1d1e24, transparent 78%); }
:root[data-theme="dark"] .pilot-slide { background: linear-gradient(145deg, #1c1c20, var(--card) 74%); }
:root[data-theme="dark"] .pricing-card .plan-face,
html:root[data-theme="dark"] .pricing-card.is-top .plan-face {
  background: linear-gradient(145deg, #1c1d22, #101012 75%);
}

/* Keep the browser's native page scrollbar, including its drag and keyboard behavior. */
:root { overflow-y: scroll; scrollbar-width: thin; scrollbar-color: #8d939f transparent; }
:root[data-theme="dark"] { scrollbar-color: #a3aab7 transparent; }


@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}


/* A timeline follows native vertical scrolling, with a swipeable fallback on short screens. */
.operation-viewport { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.operation-track.capability-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 600px); grid-template-columns: none; gap: var(--gutter); }
.operation-track > article { scroll-snap-align: start; padding: clamp(20px, 3vw, 35px); }
.operation-track .capability-icon, .feature-symbol {
  display: inline-grid; place-items: center; color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 11px; background: var(--card); width: 38px; height: 38px;
}
.operation-track .capability-icon .icon { width: 21px; height: 21px; }
.operation-track .ed-list { margin-top: 20px; }
@media (min-width: 360px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .capability-section.is-pinned { height: calc(100svh + var(--operation-distance) + var(--operation-lead, 0px)); padding-block: 0; }
  .is-pinned .operation-sticky { align-self: start; position: sticky; top: var(--header); padding-block: clamp(32px, 7vh, 78px) 24px; }
  .is-pinned .section-head { margin-bottom: 28px; }
  .is-pinned .operation-viewport { overflow: clip; scroll-snap-type: none; }
  .is-pinned .operation-track { transform: translate3d(var(--operation-x, 0px), 0, 0); }
}
.overview .feature-grid { width: 100%; padding-bottom: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 208px),1fr)); }
.overview .feature-card { position: relative; top: auto; }
.overview .feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 21px; gap: 12px; }
.overview .feature-copy::after { content: none; }
.overview .feature-copy p { flex: 1; }
.overview .feature-copy h3 { text-align: start; }
.feature-symbol { padding: 8px; }

.specialty-gallery { position: relative; }
.specialty-gallery .specialty-grid {
  --peek: 8%; --fade-width: clamp(48px, 16vw, 215px);
  width: 100%; display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: 100%;
  align-items: stretch; gap: 14px; padding: 3px max(var(--peek), calc((100% - 820px) / 2)) 9px;
  overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain;
}
.specialty-gallery .specialty-card { display: flex; flex-direction: column; min-width: 0; scroll-snap-align: center; }
.specialty-gallery .specialty-photo { height: clamp(195px, 33vw, 425px); }
.specialty-gallery .specialty-copy { flex: 1; }
.specialty-gallery .specialty-copy h3 { display: flex; align-items: center; justify-content: center; gap: 8px; }
.specialty-gallery .specialty-grid {
  --fade-left: #000;
  --fade-right: #000;
  mask-image: linear-gradient(90deg, var(--fade-left), #000 min(var(--fade-width), max(var(--peek), calc((100% - 820px) / 2))), #000 max(calc(100% - var(--fade-width)), min(calc(100% - var(--peek)), calc((100% + 820px) / 2))), var(--fade-right));
}
.specialty-gallery.has-before .specialty-grid { --fade-left: transparent; }
.specialty-gallery.has-after .specialty-grid { --fade-right: transparent; }
@media (min-width: 768px) {
  .specialty-gallery .specialty-card { scroll-snap-stop: always; }
}
.specialty-navigation:not([hidden]), .specialty-dots { display: flex; justify-content: center; align-items: center; }
.specialty-navigation { gap: 13px; margin-top: 10px; }
.specialty-navigation button:disabled { opacity: .32; cursor: default; }
.specialty-dots button { width: 24px; height: 35px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.specialty-dots button::before { content: ""; display: block; margin: auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.specialty-dots button[aria-current="true"]::before { width: 14px; border-radius: 8px; color: var(--ink); opacity: 1; }

.specialty-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.specialty-options .t-tab { border: 1px solid var(--line); background: var(--card); color: var(--muted); min-height: 39px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; }
.specialty-options .t-tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.specialty-options .icon { width: 16px; height: 16px; }
.pricing-controls { align-items: center; }
.modules .module-panel { align-content: start; min-height: 0; background: var(--card); }
.modules .module-tabs button { color: var(--muted); background: var(--card); border-color: var(--line); }
.modules .module-tabs button[aria-selected="true"] { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.modules .module-tabs button > .icon { width: 19px; height: 19px; color: currentColor; flex: none; }
.modules .module-grid { gap: 10px; margin-top: 21px; }
.modules .module-grid > div { border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
.modules .module-grid dt { color: var(--ink); }
.modules .module-content > p { color: var(--muted); }

.workflow .flow-card { --head: 61px; min-height: 0; }
.workflow .flow-body { padding-top: 0; align-items: center; }
.workflow .flow-copy { gap: 12px; }
.editorial-ui { min-width: 0; width: 100%; font-size: clamp(10px, 1.3vw, 13px); }
.ed-body { display: grid; gap: 9px; padding: 11px; }
.ed-heading { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ed-heading .icon,.ed-footer .icon { width: 16px; height: 16px; color: var(--accent); }
.ed-heading b,.ed-heading small { display: block; }
.ed-heading small,.ed-footer { color: var(--muted); }
.ed-list { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.ed-list-head,.ed-row { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.15fr) minmax(0,1fr); gap: .5em; align-items: center; padding: .55em .75em; overflow-wrap: anywhere; font-size: .9em; }
.ed-list-head { color: var(--muted); background: var(--surface); }
.ed-row + .ed-row { border-top: 1px solid var(--line); }
.ed-row .v-pill { justify-self: end; white-space: normal; }
.ed-list-head span:last-child { justify-self: end; }
.ed-footer { display: flex; align-items: center; gap: 6px; font-size: .91em; }
.ed-note,.ed-calendar,.ed-message { background: var(--surface); border-radius: 8px; padding: 7px; }
.ed-note p { margin-top: 6px; font-size: 1em; }
.ed-calendar { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; text-align: center; }
.ed-calendar b { padding: .35em; border-radius: 5px; background: var(--card); overflow-wrap: anywhere; }
.ed-messages { display: grid; gap: 5px; }
.ed-message { justify-self: start; }
.ed-message.sent { justify-self: end; background: var(--soft-blue); }
.pilot-slide .editorial-ui { margin-top: 0; }
.pilot-carousel.is-ready .pilot-slide { opacity: clamp(0, calc((2.28 - var(--depth)) * var(--pilot-fade,.82)), 1); }
.pilot-carousel.is-ready .pilot-stage.is-snapping { transition-duration: var(--duration-slow); }
@media (max-width: 767px) {
  .workflow .flow-stack { gap: 14px; }
  .workflow .flow-body { gap: 16px; }
  .specialty-gallery .specialty-grid { --peek: 8%; --fade-width: 22px; }
  .specialty-gallery .specialty-photo { height: clamp(195px, 57vw, 305px); }
  .specialty-gallery .specialty-copy { padding: 14px; }
  .specialty-gallery .card-arrow { display: none; }
}


.win-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: .5em;
  padding: .7em .8em; border-bottom: 1px solid var(--line);
}
.win-toolbar small { color: var(--muted); }
.win-automation {
  display: grid; justify-items: start; gap: .35em; margin-top: .65em; padding: .65em;
  border: 1px solid var(--line); border-radius: .6em; background: var(--surface);
}
.win-automation small { color: var(--muted); }
@media (max-width: 680px) {
  .win-toolbar { gap: .3em; }
  .win-toolbar .v-pill { display: none; }
}

@media (min-width: 900px) {
  .hero h1 { max-width: 21ch; }
}


/* The fade sits behind the navigation so it never obscures text or intercepts clicks. */
.site-header { border-bottom: 0; }
.site-header::after {
  content: ""; position: absolute; inset: 100% 0 auto; height: 22px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 73%, transparent), transparent);
}
.header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
.header-controls { grid-column: 3; justify-self: end; }
.main-nav { grid-column: 2; }
.nav-panel-clip, .nav-items { display: contents; }
.nav-items > a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-items > .nav-login { margin-left: 8px; }
@media (max-width: 1090px) {
  .main-nav {
    display: grid; grid-template-rows: 0fr; padding: 0; gap: 0; border: 0;
    max-height: none; overflow: visible; visibility: hidden; opacity: 0;
    transform: translateY(-6px); pointer-events: none;
    box-shadow: 0 16px 28px -20px #0007;
    transition: grid-template-rows var(--duration-medium) var(--ease-smooth-out),
      transform var(--duration-medium) var(--ease-smooth-out), opacity var(--duration-fast) ease,
      visibility 0s linear var(--duration-medium);
  }
  .main-nav.is-open {
    display: grid; grid-template-rows: 1fr; gap: 0; visibility: visible; opacity: 1;
    transform: none; pointer-events: auto; transition-delay: 0s;
  }
  .nav-panel-clip {
    display: block; min-height: 0; overflow: auto; width: 100%;
    max-height: calc(100dvh - var(--header) - 8px);
  }
  .nav-items { display: grid; gap: 5px; padding: 14px var(--page-inset) 20px; }
  .nav-items > .nav-login { margin-left: 0; }
  .nav-items > .btn { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav, .menu-toggle span { transition: none !important; }
}

.modules .specialty-switch { flex-direction: column; align-items: center; gap: 8px; margin-inline: auto; }
.modules .module-tabs button {
  display: grid; grid-template-columns: 19px minmax(0, 1fr) 19px; justify-items: center;
  text-align: center; gap: 6px;
}
.modules .module-tabs .module-tab-label { overflow-wrap: anywhere; }
.modules .module-tabs .tab-arrow { margin: 0; justify-self: end; }
.mock-record { border: 1px solid var(--line); border-radius: 9px; background: var(--card); padding: 7px; }
.mock-record-tabs {
  display: flex; flex-wrap: wrap; gap: .65em; padding: .35em .4em;
  color: var(--muted); font-size: .88em;
}
.mock-record-tabs b { color: var(--ink); border-bottom: 1px solid var(--accent); }
.mock-cash-total {
  display: grid; gap: 2px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink);
}
.mock-cash-total small { color: var(--muted); }
.mock-cash-total b { font-size: 1.25em; }



.hero.ly-product { display: grid; align-items: center; min-height: min(720px, 90svh); padding-bottom: clamp(38px, 9vh, 105px); }
.hero.ly-product .hero-intro { margin-bottom: 0; }
.modules .module-grid dt { display: flex; align-items: center; gap: 8px; }
.modules .module-grid dt .icon {
  width: 21px; height: 21px; padding: 3px; border: 1px solid var(--line);
  border-radius: 5px; color: var(--accent);
}
.pilot-section .section-head { margin-bottom: clamp(30px, 5vh, 48px); }
.pilot-slide { gap: clamp(18px, 2.3vw, 27px); padding: clamp(19px, 3vw, 34px); }
.pilot-slide-copy { gap: 9px; }
.pilot-slide .editorial-ui .ed-body { gap: 12px; padding: clamp(12px, 1.5vw, 18px); }
.pilot-section .pilot-controls { margin-top: 10px; }
@media (max-width: 560px) {
  .hero.ly-product { min-height: min(620px, 86svh); }
}

