:root {
    --ink: #080d14;
    --ink-soft: #344256;
    --blue: #2f6fcc;
    --blue-dark: #2456a6;
    --blue-pale: #e4effc;
    --blue-mist: #f7faff;
    --gold: #d8a23b;
    --line: #d7e0eb;
    --line-strong: #b8c8db;
    --white: #ffffff;
    --success: #138a67;
    --display: "Manrope", sans-serif;
    --body: "DM Sans", sans-serif;
    --container: min(1440px, calc(100% - 96px));
    --section-space: clamp(88px, 9vw, 144px);
    --radius-sm: 8px;
    --radius-md: 12px;
    --shadow-sm: 0 10px 30px rgba(16, 37, 65, 0.08);
    --shadow-lg: 0 28px 72px rgba(16, 37, 65, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.dialog-open {
    overflow: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

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

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

h1,
h2,
h3,
.brand,
.button {
    font-family: var(--display);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

.skip-link {
    position: fixed;
    left: 20px;
    top: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--white);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

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

:focus-visible {
    outline: 3px solid rgba(47, 111, 204, 0.45);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 80px;
    padding: 0 max(48px, calc((100vw - 1440px) / 2));
    border-bottom: 1px solid rgba(215, 224, 235, 0.78);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-logo {
    display: block;
    width: auto;
    height: 36px;
}

.brand-mark,
.mini-mark {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 34px;
    flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i::before,
.brand-mark i::after,
.mini-mark::before,
.mini-mark::after {
    position: absolute;
    content: "";
    background: var(--blue);
}

.brand-mark::before {
    left: 2px;
    top: 2px;
    width: 5px;
    height: 30px;
}

.brand-mark::after {
    left: 2px;
    bottom: 2px;
    width: 24px;
    height: 5px;
}

.brand-mark i:first-child::before {
    left: 9px;
    top: 2px;
    width: 5px;
    height: 23px;
    opacity: 0.58;
}

.brand-mark i:first-child::after {
    left: 9px;
    bottom: 9px;
    width: 17px;
    height: 5px;
    opacity: 0.58;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.5vw, 42px);
}

.main-nav > a:not(.nav-cta) {
    position: relative;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 600;
}

.main-nav > a:not(.nav-cta)::after {
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 200ms ease;
}

.main-nav > a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--blue);
    color: var(--white);
    font-family: var(--display);
    font-size: 14px;
    font-weight: 700;
    transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease;
}

.hero {
    display: grid;
    grid-template-columns: minmax(500px, 0.9fr) minmax(600px, 1.1fr);
    align-items: center;
    gap: clamp(40px, 3.5vw, 60px);
    width: var(--container);
    min-height: min(820px, calc(100vh - 80px));
    max-height: 940px;
    margin: 0 auto;
    padding: clamp(76px, 8vh, 112px) 0 clamp(70px, 8vh, 100px);
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero h1 {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: clamp(48px, 3.9vw, 60px);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.03;
}

.hero h1 strong {
    color: var(--blue);
    font-weight: inherit;
}

.hero-copy > p {
    max-width: 590px;
    margin-bottom: 32px;
    color: var(--ink-soft);
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.58;
}

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

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.whatsapp-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: block;
    background: currentColor;
    -webkit-mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat;
    mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat;
}

.button-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(47, 111, 204, 0.19);
}

.button-primary:hover {
    background: var(--blue-dark);
    box-shadow: 0 12px 28px rgba(47, 111, 204, 0.24);
    transform: translateY(-2px);
}

.button-secondary,
.button-outline {
    border-color: var(--blue);
    background: var(--white);
    color: var(--blue-dark);
}

.button-secondary:hover,
.button-outline:hover {
    background: var(--blue-pale);
    transform: translateY(-2px);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 26px 0 0;
    padding: 0;
    color: var(--ink-soft);
    font-size: 14px;
    list-style: none;
}

.hero-proof sup,
.hero-condition sup {
    position: relative;
    top: -0.18em;
    color: var(--blue);
    font-size: 0.72em;
    font-weight: 800;
}

.hero-condition {
    max-width: 520px !important;
    margin: 11px 0 0 !important;
    color: #687487 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.hero-proof li:not(:last-child)::after {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-left: 22px;
    border-radius: 50%;
    background: var(--blue);
    content: "";
    vertical-align: middle;
}

.hero-stage {
    position: relative;
    height: min(650px, 67vh);
    min-height: 570px;
}

.corner {
    position: absolute;
    z-index: 6;
    width: 32px;
    height: 32px;
    border-color: rgba(47, 111, 204, 0.5);
    border-style: solid;
}

.corner-one {
    left: 6%;
    top: 8%;
    border-width: 4px 0 0 4px;
}

.corner-two {
    z-index: 2;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    border-width: 0 4px 4px 0;
}

.browser {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(8, 13, 20, 0.16);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateZ(0);
    transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.browser:focus-visible {
    outline-color: var(--gold);
    outline-offset: 5px;
}

.browser-label {
    position: absolute;
    z-index: 8;
    right: 9px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 5px;
    background: rgba(7, 18, 34, 0.78);
    color: var(--white);
    font-size: clamp(6px, 0.46vw, 8px);
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(7px);
}

.browser-label b {
    color: #cfe0fb;
    font-weight: 700;
}

.hero-stage:hover .browser-law {
    transform: translate(-4px, -8px);
}

.hero-stage:hover .browser-accounting {
    transform: translate(-10px, 8px);
}

.hero-stage:hover .browser-clinic {
    transform: translate(8px, 5px);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(8, 13, 20, 0.09);
    background: #f4f6f9;
}

.browser-bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b5beca;
}

.browser-law {
    z-index: 1;
    top: 4%;
    left: 15%;
    width: 68%;
    aspect-ratio: 1.66;
}

.browser-accounting {
    z-index: 3;
    left: 1%;
    bottom: 5%;
    width: 62%;
    aspect-ratio: 1.63;
}

.browser-clinic {
    z-index: 4;
    right: 12px;
    bottom: 12px;
    width: 61%;
    aspect-ratio: 1.63;
}

.browser-page {
    position: relative;
    height: calc(100% - 24px);
    overflow: hidden;
}

.preview-nav {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 4.2% 5.5%;
    font-family: var(--display);
    font-size: clamp(5px, 0.42vw, 7px);
    line-height: 1;
}

.preview-nav b {
    font-size: 1.35em;
    letter-spacing: -0.03em;
}

.preview-nav-law {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.preview-nav-accounting {
    color: #123052;
}

.preview-nav-accounting b {
    color: #148269;
}

.preview-nav-clinic {
    color: #53645d;
}

.preview-nav-clinic b {
    color: #cd654c;
    font-family: Georgia, serif;
    font-size: 1.7em;
    font-weight: 500;
}

.browser-page > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.browser-copy {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.browser-copy small {
    margin-bottom: 10px;
    font-family: var(--display);
    font-size: clamp(8px, 0.65vw, 11px);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.browser-copy strong {
    font-family: var(--display);
    font-size: clamp(14px, 1.45vw, 23px);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.browser-copy span {
    margin-top: 16px;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: clamp(7px, 0.55vw, 9px);
    font-weight: 700;
}

.law-copy {
    left: 6%;
    top: 18%;
    width: 40%;
    color: var(--white);
}

.browser-law .browser-page::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(4, 13, 24, 0.94), rgba(4, 13, 24, 0.46) 55%, rgba(4, 13, 24, 0.1));
}

.browser-law .browser-page > img {
    filter: saturate(0.72) contrast(1.08);
}

.law-copy strong {
    font-family: Georgia, serif;
    font-weight: 500;
}

.law-copy span {
    background: var(--gold);
    color: var(--ink);
}

.accounting-preview {
    background: #f5faf9;
}

.accounting-preview > img {
    position: absolute;
    right: 4%;
    top: 18%;
    width: 48%;
    height: 54%;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(16, 48, 80, 0.16);
}

.accounting-copy {
    left: 6%;
    top: 27%;
    width: 41%;
}

.accounting-copy strong {
    color: #102c50;
}

.accounting-copy span {
    background: #148269;
    color: var(--white);
}

.accounting-metrics {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 20%;
    align-items: flex-end;
    gap: 3%;
    padding: 3% 8% 4%;
    background: #0f3159;
}

.accounting-metrics i {
    width: 9%;
    border-radius: 2px 2px 0 0;
    background: #43b68e;
}

.accounting-metrics i:nth-child(1) { height: 34%; }
.accounting-metrics i:nth-child(2) { height: 52%; }
.accounting-metrics i:nth-child(3) { height: 70%; }
.accounting-metrics i:nth-child(4) { height: 58%; }
.accounting-metrics i:nth-child(5) { height: 88%; }

.clinic-preview {
    background: #fbf6f1;
}

.clinic-preview::after {
    position: absolute;
    right: -6%;
    top: -14%;
    width: 55%;
    height: 82%;
    border: 1px solid rgba(205, 101, 76, 0.25);
    border-radius: 50%;
    content: "";
}

.clinic-preview > img {
    position: absolute;
    right: 5%;
    top: 19%;
    width: 44%;
    height: 67%;
    border-radius: 48% 48% 12px 12px;
    object-fit: cover;
}

.clinic-copy {
    left: 6%;
    top: 28%;
    width: 46%;
}

.clinic-copy strong {
    font-family: Georgia, serif;
    font-weight: 500;
}

.clinic-copy strong {
    color: #184a4c;
}

.clinic-copy span {
    background: #cd654c;
    color: var(--white);
}

/* Real screenshots from the navigable demonstrations. */
.browser .browser-page.demo-shot::after {
    display: none;
}

.browser .browser-page.demo-shot > img {
    position: static;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    filter: none;
    object-fit: cover;
    object-position: top;
    box-shadow: none;
}

.section {
    padding: var(--section-space) 0;
}

.section-heading {
    width: min(800px, calc(100% - 40px));
    margin: 0 auto clamp(48px, 6vw, 76px);
}

.section-heading.centered {
    text-align: center;
}

.models-heading {
    width: var(--container);
    margin-bottom: clamp(42px, 5vw, 64px);
}

.models-heading h2 {
    max-width: 780px;
}

.models-heading p {
    max-width: 760px;
}

.section-heading h2,
.closing h2 {
    margin-bottom: 16px;
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(17px, 1.4vw, 20px);
}

.models {
    border-top: 1px solid var(--line);
    background: var(--white);
}

.model-grid,
.pricing-grid,
.ownership-grid,
.faq-grid {
    width: var(--container);
    margin: 0 auto;
}

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

.model-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: border-color 200ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.model-card:hover {
    border-color: #a9bfd9;
    box-shadow: 0 18px 42px rgba(16, 37, 65, 0.12);
    transform: translateY(-5px);
}

.model-preview {
    position: relative;
    aspect-ratio: 1.62;
    overflow: hidden;
    background: var(--blue-pale);
}

.model-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.model-law {
    background: #07111d;
}

.model-law img {
    filter: saturate(0.68) contrast(1.12) brightness(0.76);
}

.model-accounting {
    padding: 26px 22px 0;
    background: #eaf4f1;
}

.model-accounting img {
    border: 1px solid rgba(15, 49, 89, 0.14);
    border-radius: 7px 7px 0 0;
    box-shadow: 0 10px 25px rgba(15, 49, 89, 0.14);
}

.model-clinic {
    padding: 18px 20px;
    background: #fbf1e8;
}

.model-clinic img {
    border-radius: 48% 48% 10px 10px;
}

.model-preview.model-live {
    padding: 0;
    background: var(--white);
}

.model-preview.model-live img {
    border: 0;
    border-radius: 0;
    filter: none;
    object-fit: cover;
    object-position: top;
    box-shadow: none;
}

.model-accounting .concept-label,
.model-clinic .concept-label {
    left: auto;
    right: 14px;
}

.model-card:hover img {
    transform: scale(1.025);
}

.concept-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 5px;
    background: rgba(8, 13, 20, 0.8);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.model-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 145px;
    align-items: flex-end;
    gap: 12px;
    padding: 24px;
}

.model-copy > div {
    min-width: 0;
}

.model-copy .text-link {
    font-size: 14px;
}

.value-story {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1726;
    color: var(--white);
}

.value-story::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 36%;
    height: 4px;
    background: var(--blue);
    content: "";
}

.value-story::after {
    position: absolute;
    right: -180px;
    top: -300px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(87, 146, 225, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.value-intro,
.value-outcomes,
.value-conclusion {
    position: relative;
    z-index: 1;
    width: var(--container);
    margin-inline: auto;
}

.value-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(64px, 8vw, 128px);
    align-items: end;
}

.value-label {
    display: inline-block;
    margin-bottom: 24px;
    color: #8eb9f2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.value-intro h2 {
    max-width: 830px;
    margin: 0;
    font-size: clamp(44px, 5.3vw, 76px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.value-narrative {
    max-width: 560px;
    padding-bottom: 4px;
}

.value-narrative p {
    margin: 0;
    color: #b9c5d4;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.7;
}

.value-narrative p + p {
    margin-top: 24px;
}

.value-narrative strong {
    color: var(--white);
    font-weight: 700;
}

.value-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(64px, 8vw, 108px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.value-outcomes article {
    min-height: 280px;
    padding: 42px clamp(28px, 3.6vw, 56px) 46px;
}

.value-outcomes article:first-child {
    padding-left: 0;
}

.value-outcomes article:last-child {
    padding-right: 0;
}

.value-outcomes article:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.value-outcomes article > span {
    display: block;
    margin-bottom: 34px;
    color: #78a9e9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.value-outcomes h3 {
    max-width: 340px;
    margin-bottom: 16px;
    font-size: clamp(24px, 2.1vw, 32px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.value-outcomes p {
    max-width: 370px;
    margin: 0;
    color: #aebccc;
    font-size: 15px;
    line-height: 1.7;
}

.value-conclusion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    margin-top: 42px;
}

.value-conclusion p {
    max-width: 790px;
    margin: 0;
    color: #d4dce6;
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.55;
}

.value-conclusion strong {
    color: var(--white);
}

.value-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #78a9e9;
    color: #a9caf5;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.value-link span {
    transition: transform 180ms ease;
}

.value-link:hover span {
    transform: translateY(4px);
}

.model-copy h3 {
    margin-bottom: 6px;
    font-size: 21px;
    letter-spacing: -0.035em;
}

.model-copy p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.text-link,
.closing-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: none;
    color: var(--blue);
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

.text-link span,
.closing-link span {
    transition: transform 180ms ease;
}

.text-link:hover span,
.closing-link:hover span {
    transform: translateX(4px);
}

.process {
    overflow: hidden;
}

.process-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: var(--container);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.process-list::before {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 24px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--blue), #93b7e4);
}

.process-list li {
    position: relative;
    padding: 0 28px;
    text-align: center;
}

.process-list li > span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 25px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    place-items: center;
    background: var(--white);
    color: var(--blue);
    font-family: var(--display);
    font-weight: 800;
}

.process-list h3 {
    margin-bottom: 8px;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.process-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.pricing {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--blue-mist);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 16px;
}

.price-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--white);
}

.price-card.featured {
    border: 2px solid var(--blue);
    box-shadow: 0 20px 48px rgba(47, 111, 204, 0.14);
}

.price-card header {
    padding: clamp(26px, 2.2vw, 34px);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.price-card h3 {
    margin-bottom: 20px;
    font-size: clamp(22px, 2vw, 29px);
    letter-spacing: -0.04em;
}

.plan-kicker {
    margin-bottom: 7px !important;
    color: var(--ink-soft) !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.plan-badge {
    position: absolute;
    left: 50%;
    top: -15px;
    z-index: 2;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
}

.price-line {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 13px;
}

.price-line > strong {
    display: block;
    flex: 0 0 auto;
    color: var(--blue-dark);
    font-family: var(--display);
    font-size: clamp(36px, 3.4vw, 50px);
    letter-spacing: -0.055em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.price-line > strong small {
    font-size: 17px;
    letter-spacing: 0;
}

.price-line > span {
    display: grid;
    gap: 1px;
    padding-bottom: 4px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
}

.price-line > span b {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.price-card header p {
    min-height: 48px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.plan-value {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px clamp(26px, 2.2vw, 34px);
    border-bottom: 1px solid var(--line);
    background: var(--blue-mist);
}

.plan-value-icon {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    place-items: center;
}

.plan-value div {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.plan-value strong {
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.01em;
}

.plan-value div span {
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.35;
}

.price-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 25px clamp(26px, 2.2vw, 34px) 30px;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 27px;
    color: #1d2c3f;
    font-size: 14px;
}

.price-card li::before {
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    width: 17px;
    height: 17px;
    border: 1px solid var(--blue);
    border-radius: 50%;
    color: var(--blue);
    content: "✓";
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    place-items: center;
}

.price-card.featured li::before {
    background: var(--blue);
    color: var(--white);
}

.price-card .button {
    width: auto;
    margin-top: auto;
    margin-right: clamp(26px, 2.2vw, 34px);
    margin-bottom: clamp(26px, 2.2vw, 34px);
    margin-left: clamp(26px, 2.2vw, 34px);
    justify-content: space-between;
    padding: 8px 8px 8px 20px;
    border-radius: 999px;
}

.button-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    place-items: center;
}

.button-primary .button-arrow {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.care-band {
    display: flex;
    width: var(--container);
    align-items: center;
    gap: 22px;
    margin: 22px auto 0;
    padding: 22px 26px;
    border: 1px solid #aac4e6;
    border-radius: var(--radius-md);
    background: var(--white);
}

.mini-mark {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    padding: 7px;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--blue-pale);
}

.mini-mark img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.care-band h3 {
    margin-bottom: 3px;
    font-size: 18px;
}

.care-band p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

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

.ownership-grid article {
    padding: 10px clamp(30px, 4vw, 64px);
    text-align: center;
}

.ownership-grid article:not(:last-child) {
    border-right: 1px solid var(--line);
}

.ownership-grid svg {
    width: 52px;
    height: 52px;
    margin: 0 auto 24px;
    fill: none;
    stroke: var(--blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.ownership-grid h3 {
    margin-bottom: 9px;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.ownership-grid p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.faq {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--blue-mist), var(--white));
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 14px 18px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq details[open] {
    border-color: #9bbce4;
    box-shadow: var(--shadow-sm);
}

.faq summary {
    position: relative;
    min-height: 68px;
    padding: 21px 60px 20px 22px;
    cursor: pointer;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 700;
    list-style: none;
}

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

.faq summary::before,
.faq summary::after {
    position: absolute;
    right: 24px;
    top: 32px;
    width: 14px;
    height: 2px;
    content: "";
    background: var(--blue);
    transition: transform 180ms ease;
}

.faq summary::after {
    transform: rotate(90deg);
}

.faq details[open] summary {
    color: var(--blue-dark);
}

.faq details[open] summary::after {
    transform: rotate(0deg);
}

.faq details p {
    max-width: 650px;
    margin: 0;
    padding: 0 60px 24px 22px;
    color: var(--ink-soft);
}

.closing {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    width: 100%;
    padding: clamp(70px, 7vw, 106px) max(48px, calc((100vw - 1440px) / 2));
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.closing > div:first-of-type {
    max-width: 750px;
}

.closing h2 {
    margin-bottom: 12px;
}

.closing p {
    margin-bottom: 0;
    color: #b8c7d8;
    font-size: 18px;
}

.closing .button-primary {
    background: #3f83dc;
}

.closing-link {
    color: #75a9ec;
}

.closing-corner {
    position: absolute;
    right: 2.5%;
    bottom: 0;
    width: 90px;
    height: 90px;
    border-right: 7px solid rgba(47, 111, 204, 0.75);
    border-bottom: 7px solid rgba(216, 162, 59, 0.8);
    opacity: 0.7;
}

footer {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    min-height: 120px;
    padding: 26px max(48px, calc((100vw - 1440px) / 2));
    border-top: 1px solid #1a2636;
    background: var(--ink);
    color: #aab8c9;
    font-size: 13px;
}

.footer-brand {
    color: var(--white);
}

.footer-brand .brand-logo {
    width: auto;
    height: 35px;
}

footer p {
    margin: 0;
}

footer nav {
    display: flex;
    gap: 24px;
}

footer nav a:hover {
    color: var(--white);
}

.preview-dialog {
    width: min(1120px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 35px 100px rgba(8, 13, 20, 0.32);
    overscroll-behavior: contain;
}

.preview-dialog::backdrop {
    background: rgba(8, 13, 20, 0.76);
    backdrop-filter: blur(7px);
}

.dialog-close {
    position: absolute;
    z-index: 3;
    right: -13px;
    top: -13px;
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    place-items: center;
}

.dialog-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr;
    min-height: 520px;
}

.dialog-browser {
    margin: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--blue-mist);
    box-shadow: var(--shadow-sm);
}

.dialog-browser > img {
    width: 100%;
    height: calc(100% - 24px);
    object-fit: cover;
}

.dialog-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 42px 50px 12px;
}

.dialog-copy > span {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dialog-copy h2 {
    margin-bottom: 14px;
    font-size: 38px;
    letter-spacing: -0.05em;
}

.dialog-copy p {
    margin-bottom: 28px;
    color: var(--ink-soft);
}

.whatsapp-note {
    position: fixed;
    z-index: 100;
    right: 24px;
    bottom: 24px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.whatsapp-note.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    :root {
        --container: min(100% - 56px, 1080px);
    }

    .site-header {
        padding-inline: 28px;
    }

    .hero {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 28px;
    }

    .hero-stage {
        min-height: 500px;
    }

    .browser-accounting,
    .browser-clinic {
        width: 66%;
    }

    .price-card {
        padding: 0;
    }

    .closing,
    footer {
        padding-inline: 28px;
    }

    footer {
        grid-template-columns: auto 1fr auto;
    }

    footer nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (min-width: 901px) and (max-width: 1280px) {
    .hero {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(24px, 2.4vw, 32px);
        min-height: auto;
        max-height: none;
        padding-block: clamp(64px, 7vh, 84px);
    }

    .hero-stage {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1.16 / 1;
    }

    .hero-proof {
        flex-wrap: nowrap;
        column-gap: clamp(10px, 1vw, 14px);
        font-size: clamp(11.5px, 0.98vw, 12.5px);
        white-space: nowrap;
    }

    .hero-proof li:not(:last-child)::after {
        margin-left: clamp(10px, 1vw, 14px);
    }
}

@media (max-width: 900px) {
    :root {
        --container: calc(100% - 40px);
    }

    .menu-button {
        display: block;
    }

    .main-nav {
        position: fixed;
        left: 20px;
        right: 20px;
        top: 72px;
        display: grid;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--white);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav > a {
        padding: 13px 14px;
    }

    .main-nav > a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        max-height: none;
        padding-top: 70px;
    }

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

    .hero-stage {
        width: min(780px, 100%);
        height: 590px;
        margin: -20px auto 0;
    }

    .model-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid .featured {
        order: -1;
        margin-top: 14px;
    }

    .model-card {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
    }

    .model-preview {
        aspect-ratio: auto;
        min-height: 270px;
    }

    .model-copy {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

    .value-intro {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .value-narrative {
        max-width: 720px;
    }

    .value-outcomes {
        grid-template-columns: 1fr;
    }

    .value-outcomes article {
        min-height: 0;
        padding: 34px 0 38px;
    }

    .value-outcomes article:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .value-outcomes article > span {
        margin-bottom: 18px;
    }

    .value-outcomes h3,
    .value-outcomes p {
        max-width: 680px;
    }

    .value-conclusion {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .value-link {
        justify-self: start;
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 0;
    }

    .process-list::before {
        display: none;
    }

    .price-card header p {
        min-height: 0;
    }

    .ownership-grid {
        grid-template-columns: 1fr;
    }

    .ownership-grid article {
        padding-block: 34px;
    }

    .ownership-grid article:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .closing {
        grid-template-columns: 1fr;
    }

    .dialog-layout {
        grid-template-columns: 1fr;
    }

    .dialog-browser {
        min-height: 380px;
        margin-bottom: 0;
    }

    .dialog-copy {
        padding: 32px 34px 40px;
    }
}

@media (max-width: 620px) {
    :root {
        --container: calc(100% - 32px);
        --section-space: 82px;
    }

    html {
        scroll-padding-top: 78px;
    }

    .site-header {
        min-height: 70px;
        padding-inline: 16px;
    }

    .brand {
        font-size: 22px;
    }

    .hero {
        min-height: auto;
        padding: 62px 0 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: 1.02;
    }

    .hero-copy > p {
        font-size: 17px;
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .hero-proof {
        display: grid;
        gap: 8px;
    }

    .hero-proof li::before {
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-right: 9px;
        border-radius: 50%;
        background: var(--blue);
        content: "";
        vertical-align: middle;
    }

    .hero-proof li::after {
        display: none !important;
    }

    .hero-stage {
        height: 420px;
        min-height: 0;
        margin-top: 20px;
    }

    .browser-law {
        left: 7%;
        width: 86%;
    }

    .browser-accounting {
        left: 0;
        bottom: 9%;
        width: 72%;
    }

    .browser-clinic {
        right: 8px;
        bottom: 8px;
        width: 72%;
    }

    .corner-two {
        width: 24px;
        height: 24px;
    }

    .browser-copy strong {
        font-size: 10px;
    }

    .browser-copy span {
        display: none;
    }

    .browser-copy small {
        margin-bottom: 5px;
        font-size: 6px;
    }

    .model-grid {
        gap: 16px;
    }

    .models-heading {
        text-align: center;
    }

    .model-card {
        display: block;
    }

    .model-preview {
        min-height: 0;
        aspect-ratio: 1.55;
    }

    .model-copy {
        grid-template-columns: 1fr;
        min-height: 150px;
        align-content: center;
        justify-items: start;
        gap: 14px;
        padding: 22px;
    }

    .value-story::after {
        right: -260px;
        top: -360px;
    }

    .value-label {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .value-intro h2 {
        font-size: 40px;
    }

    .value-narrative p {
        font-size: 16px;
    }

    .value-outcomes {
        margin-top: 52px;
    }

    .value-conclusion {
        margin-top: 34px;
    }

    .value-link {
        white-space: normal;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-list li {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 18px;
        padding: 0 0 34px;
        text-align: left;
    }

    .process-list li > span {
        margin: 0;
    }

    .process-list li:not(:last-child)::after {
        position: absolute;
        left: 23px;
        top: 48px;
        bottom: 0;
        width: 2px;
        content: "";
        background: var(--blue-pale);
    }

    .price-card {
        padding: 0;
    }

    .price-card header,
    .plan-value {
        padding-inline: 22px;
    }

    .price-card ul {
        padding-inline: 22px;
    }

    .price-card .button {
        margin-right: 22px;
        margin-left: 22px;
    }

    .care-band {
        align-items: flex-start;
        padding: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .closing {
        padding: 70px 20px;
    }

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

    .closing-actions .button {
        width: 100%;
    }

    .closing-link {
        justify-content: center;
        align-self: center;
    }

    footer {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    footer nav {
        grid-column: auto;
        grid-row: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .preview-dialog {
        width: calc(100% - 24px);
    }

    .dialog-browser {
        min-height: 240px;
        margin: 22px 22px 0;
    }

    .dialog-copy {
        padding: 28px 22px 32px;
    }

    .dialog-copy h2 {
        font-size: 31px;
    }

    .dialog-close {
        right: 8px;
        top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
