.lmsg {
    --lsvo-panel: #232c39;
    --lsvo-edge: #43536b;
    --lsvo-soft: #c7d6e9;
}
.lmsg .lsvo-hero {
    background: linear-gradient(112deg, #202b3a, #1b2029 69%);
    border-bottom: 1px solid var(--lsvo-edge);
}
.lmsg .lsvo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(1rem, 3.2vw, 2.5rem);
    align-items: center;
    padding-block: clamp(1.05rem, 2.8vw, 2.2rem);
}
.lmsg .lsvo-hero-copy h1 {
    margin-bottom: .35em;
    font-size: clamp(1.9rem, 4.1vw, 3.15rem);
    letter-spacing: -.035em;
    line-height: 1.12;
    overflow-wrap: break-word;
}
.lmsg .lsvo-hero-copy > p { max-width: 52ch; }
.lmsg .lsvo-hero-image, .lmsg .lsvo-hero-art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2;
    object-fit: cover;
    border: 1px solid var(--lsvo-edge);
    border-radius: .9rem;
    background: #192638;
}
.lmsg .lsvo-hero-art { display: grid; place-items: center; background: radial-gradient(ellipse at center, #304966, #1a2332 72%); }
.lmsg .lsvo-diagram { display: block; width: 62%; height: auto; max-height: 15rem; }
.lsvo-diagram-tooth { fill: #e0eaff; stroke: #9fbce2; stroke-width: 2.5; }
.lsvo-diagram-line { fill: none; stroke: #81bffc; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lsvo-diagram-thin { fill: none; stroke: #759cc3; stroke-width: 3; stroke-linecap: round; }
.lsvo-diagram-fill { fill: #4381b5; }
.lsvo-diagram-gum { fill: #a36e8b; }
.lsvo-diagram-outline { fill: none; stroke: #a9d0fc; stroke-width: 3; }
.lmsg .lsvo-hero-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .65rem;
    margin: .58rem 0 .85rem;
    padding: .18rem 0 .19rem .66rem;
    border-inline-start: 2px solid #86b7e8;
    max-width: 46ch;
}
.lmsg .lsvo-hero-price strong { font-size: 1.28rem; color: #fff; white-space: nowrap; }
.lmsg .lsvo-hero-price span { color: var(--lsvo-soft); font-size: .83rem; line-height: 1.25; }
.lmsg .lsvo-section { padding-block: clamp(1rem, 2.3vw, 1.65rem); }
.lmsg .lsvo-section + .lsvo-section { padding-top: 0; }
.lmsg .lsvo-section h2 { margin-bottom: .55rem; }
.lmsg .lsvo-scenarios, .lmsg .lsvo-price-grid, .lmsg .lsvo-system-grid, .lmsg .lsvo-example-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lmsg .lsvo-scenarios { grid-template-columns: repeat(auto-fit, minmax(min(18rem,100%), 1fr)); }
.lmsg .lsvo-price-grid { grid-template-columns: repeat(auto-fit, minmax(min(16rem,100%), 1fr)); }
.lmsg .lsvo-card, .lmsg .lsvo-example {
    min-width: 0;
    padding: .8rem .95rem;
    border: 1px solid var(--lsvo-edge);
    border-radius: .78rem;
    background: var(--lsvo-panel);
    overflow-wrap: break-word;
}
.lmsg .lsvo-card h3, .lmsg .lsvo-example h3 { margin: 0 0 .3rem; line-height: 1.25; font-size: clamp(1rem,1.6vw,1.16rem); }
.lmsg .lsvo-card p, .lmsg .lsvo-example p { color: var(--lsvo-soft); margin: 0; font-size: .88rem; line-height: 1.45; }
.lmsg .lsvo-price { display: flex; flex-direction: column; }
.lmsg .lsvo-price strong { padding-top: .5rem; margin-top: auto; font-size: 1.28rem; font-variant-numeric: tabular-nums; }
.lmsg .lsvo-price-actions { margin-top: .65rem; font-size: .9rem; }
.lmsg .lsvo-price-actions a { text-decoration: underline; text-underline-offset: .18em; }
.lmsg p.lsvo-note { margin: .55rem 0 0; font-size: .85rem; color: var(--lsvo-soft); }
.lmsg .lsvo-system-card h3 { font-size: 1.2rem; }
.lmsg .lsvo-system-card dl, .lmsg .lsvo-extra-rates { margin: .5rem 0 0; }
.lmsg .lsvo-rate { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem .7rem; border-top: 1px solid var(--lsvo-edge); padding: .45rem 0; }
.lmsg .lsvo-rate dt { font-size: .86rem; color: var(--lsvo-soft); }
.lmsg .lsvo-rate dd, .lmsg .lsvo-extra-rates dd { margin: 0; font-weight: 720; font-size: 1.01rem; white-space: nowrap; }
.lmsg .lsvo-extra-rates { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; border-bottom: 1px solid var(--lsvo-edge); padding: .5rem 0; }
.lmsg .lsvo-extra-rates > div { display: flex; flex-wrap: wrap; gap: .2rem .55rem; align-items: baseline; }
.lmsg .lsvo-extra-rates dt { color: var(--lsvo-soft); font-size: .89rem; }
.lmsg .lsvo-example { display: flex; flex-direction: column; }
.lmsg .lsvo-example > p { flex: 1; }
.lmsg .lsvo-movement { display: grid; margin-top: .5rem; }
.lmsg .lsvo-movement > svg {
    width: 100%;
    max-height: 8rem;
    border-radius: .6rem;
    background: linear-gradient(140deg,#203955,#131d2c);
    margin-top: .45rem;
}
.lmsg .lsvo-movement > button {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: .3rem .62rem;
    color: #eef6ff;
    background: #2e4866;
    border: 1px solid #648bb6;
    border-radius: .5rem;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
}
.lmsg .lsvo-movement button:hover { background: #395772; }
.lmsg .lsvo-movement .lsvo-frame-caption { font-size: .76rem; margin-top: .28rem; }
.lmsg .lsvo-movement:not(.is-moved) span:nth-child(2), .lmsg .lsvo-movement.is-moved span:first-child { display: none; }
.lsvo-aligner-gum { fill: #92637f; }
.lsvo-aligner-tray { fill: #77b8f73b; stroke: #a7d5ff; stroke-width: 2; stroke-dasharray: 4 3; }
.lsvo-moving-tooth {
    fill: #f4edeb;
    stroke: #adbbcf;
    stroke-width: 1.4;
    transform-box: fill-box;
    transform-origin: center;
    transform: translate(var(--dx), var(--dy)) rotate(var(--turn));
    transition: transform 1s cubic-bezier(.24,.66,.27,1);
}
.lsvo-movement.is-moved .lsvo-moving-tooth { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .lsvo-moving-tooth { transition: none; }
}
@media (max-width: 780px) {
    .lmsg .lsvo-hero-grid { grid-template-columns: minmax(0, 1fr); gap: .72rem; }
    .lmsg .lsvo-hero-image, .lmsg .lsvo-hero-art { aspect-ratio: 2.45; }
    .lmsg .lsvo-diagram { height: 100%; }
    .lmsg .lsvo-example-grid, .lmsg .lsvo-system-grid { grid-template-columns: 1fr; }
    .lmsg .lsvo-movement > svg { max-height: 6rem; }
}
@media (max-width: 610px) {
    .lmsg .lsvo-hero-grid, .lmsg .lsvo-section { width: calc(100% - 20px); }
    .lmsg .lsvo-hero-copy h1 { font-size: clamp(1.65rem, 8vw, 2.1rem); }
    .lmsg:has(.lsvo-hero) .lmsg-nav .lmsg-wrap > a:not([href="#service-options"]):not([href="#service-prices"]) { display: none; }
}
