/* Mayan's public product walkthrough. Uses the existing identity and motion tokens. */
.landing-page .hero__art,html[dir=rtl] .landing-page .hero__art{padding:0;background:transparent;border:0;border-radius:0;align-items:flex-start}
.landing-page .hero__text{padding-block-start:0}
.landing-page .brand{min-height:44px;align-items:center}
html[data-theme] .landing-page .site-preferences button{border-color:var(--line-strong);border-radius:var(--r-btn);min-height:44px;background:transparent}
.landing-page .landing-footer-links>a{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:1024px){.landing-page .closing{padding-block-end:72px}}
.landing-page .landing-app-frame{width:100%;max-width:100%;min-width:0;flex-basis:100%;border-radius:var(--r-lg);box-shadow:none}
.landing-page .hero__art{min-width:0;max-width:100%}
.landing-page .app-sidebar{padding-block:24px}
.landing-page .hero__lead{max-width:46ch}
.landing-page .landing-records .section-head{margin-bottom:32px}
.landing-page .landing-entry-preview{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:392px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;color:var(--ink);box-shadow:none}
.landing-entry-sidebar{display:flex;flex-direction:column;padding:32px 24px;gap:24px;border-inline-end:1px solid var(--line);background:var(--surface-raised)}
.landing-entry-sidebar>.landing-label{font-size:14px}
.landing-entry-tabs{display:flex;flex-direction:column;gap:8px}
.landing-entry-tabs>button{display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:12px 16px;border:1px solid transparent;border-radius:var(--r-sm);background:transparent;color:var(--muted);font:500 16px/1.5 var(--font-text);text-align:start;cursor:pointer;transition:background-color var(--m-out),color var(--m-out),border-color var(--m-out)}
.landing-entry-tabs>button>span:first-child{font-size:13px;font-variant-numeric:tabular-nums}
.landing-entry-tabs>button[aria-selected=true]{background:var(--surface);color:var(--ink);border-color:var(--line)}
.landing-entry-tabs>button:hover{color:var(--ink);background:var(--surface)}
.landing-entry-tabs>button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.landing-entry-sidebar>.link{margin-top:auto;font-size:14px;line-height:1.6;align-self:flex-start}
.landing-entry-panels{display:grid;min-width:0}
.landing-entry-panel{grid-area:1/1;min-height:392px;display:grid;grid-template-columns:minmax(160px,.85fr) minmax(0,1fr);align-items:center;gap:40px;padding:40px}
.landing-entry-detail h3{font-size:24px;line-height:1.5;margin:0 0 16px;font-weight:500}
.landing-entry-detail p{font-size:16px;line-height:1.8;margin:0;max-width:36ch}
.landing-entry-formats{display:block;font:400 13px/1.6 var(--font-text);color:var(--muted);margin-top:24px}
.invoice-paper{width:160px;max-width:100%;height:224px;margin:auto;padding:24px;background:var(--surface-raised);border:1px solid var(--line-strong);border-radius:var(--r-sm);display:flex;flex-direction:column;gap:16px}
.invoice-paper-type{align-self:flex-start;font:500 18px/1.4 var(--font-text);color:var(--ink);margin-bottom:8px}
.invoice-paper-line{display:block;height:6px;background:color-mix(in srgb,var(--muted) 25%,transparent);border-radius:2px;width:100%}
.invoice-paper-line.short{width:65%}
.invoice-paper-rule{display:block;height:1px;background:var(--line-strong);margin-block:4px}
.landing-review-fields{display:grid;gap:16px;min-width:0}
.landing-review-fields>div{display:flex;flex-direction:column;gap:8px}
.landing-review-fields>div>span:first-child{font-size:13px;line-height:1.5;color:var(--muted)}
.landing-review-fields>div>span:last-child{border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:12px;font-size:14px;line-height:1.5;background:var(--input-bg);color:var(--ink)}
.landing-linked-record{display:grid;min-width:0}
.landing-linked-record>div{padding:16px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-raised)}
.landing-linked-record strong{display:block;font-size:16px;font-weight:500;line-height:1.5;margin-top:4px}
.landing-record-connector{display:block;height:24px;width:1px;background:var(--line-strong);margin-inline:24px}
.landing-linked-record>p{font-size:13px;color:var(--muted);line-height:1.5;margin:16px 0 0}
@media(min-width:1024px) and (max-height:820px){.landing-page .landing-entry-preview,.landing-entry-panel{min-height:344px}.landing-entry-panel{padding:32px;gap:24px}.landing-entry-sidebar{padding:24px}}
@media(min-width:640px) and (max-width:1023px){.landing-page .hero__art,html[dir=rtl] .landing-page .hero__art{padding:0}.landing-page .landing-entry-preview{grid-template-columns:176px minmax(0,1fr)}.landing-entry-sidebar{padding:24px 16px}.landing-entry-panel{grid-template-columns:1fr;align-content:center;gap:24px;padding:24px}.invoice-paper{width:128px;height:168px;padding:16px;gap:12px}.invoice-paper-type{font-size:16px;margin:0}.landing-entry-detail h3{font-size:21px;margin-bottom:8px}.landing-entry-detail p{font-size:16px;line-height:1.65}.landing-entry-formats{margin-top:12px}.landing-review-fields{grid-template-columns:1fr;gap:12px}.landing-linked-record{grid-template-columns:1fr 24px 1fr;align-items:center}.landing-record-connector{height:1px;width:24px;margin:0}.landing-linked-record>p{grid-column:1/-1}}
@media(max-width:639px){.landing-page .hero__art,html[dir=rtl] .landing-page .hero__art{padding:0;min-height:304px;flex-basis:304px}.landing-page .landing-records .section-head{margin-bottom:24px}.landing-page .landing-entry-preview{grid-template-columns:minmax(0,1fr);min-height:0}.landing-entry-sidebar{padding:12px;border-inline-end:0;border-bottom:1px solid var(--line);gap:0}.landing-entry-sidebar>.landing-label,.landing-entry-sidebar>.link{display:none}.landing-entry-tabs{flex-direction:row;gap:4px}.landing-entry-tabs>button{justify-content:center;gap:8px;min-height:48px;padding:8px;font-size:14px;white-space:nowrap}.landing-entry-tabs>button>span:first-child{font-size:12px}.landing-entry-panel{min-height:376px;grid-template-columns:1fr;align-content:center;gap:24px;padding:24px}.landing-entry-detail h3{font-size:21px;margin-bottom:8px}.landing-entry-detail p{font-size:16px;line-height:1.65}.landing-entry-formats{margin-top:12px}.invoice-paper{width:112px;height:144px;padding:16px;gap:9px}.invoice-paper-type{font-size:16px;margin-bottom:0}.invoice-paper-line{height:4px}.invoice-paper-rule{margin:0}.landing-review-fields{gap:8px}.landing-review-fields>div{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.landing-review-fields>div>span{min-width:0}.landing-review-fields>div>span:first-child{font-size:13px;flex:1}.landing-review-fields>div>span:last-child{font-size:13px;flex:1;padding:10px}.landing-linked-record{grid-template-columns:1fr 16px 1fr;align-items:center}.landing-linked-record>div{padding:12px}.landing-linked-record strong{font-size:14px}.landing-linked-record .landing-label{font-size:12px}.landing-record-connector{width:16px;height:1px;margin:0}.landing-linked-record>p{grid-column:1/-1;margin-top:12px}.landing-page .landing-records{height:auto;min-height:100svh;padding-block:96px 48px}}
@media(prefers-reduced-motion:reduce){.landing-entry-tabs>button{transition:none}}
@media(max-width:639px){.landing-page main>.landing-how,.landing-page .closing{height:auto;min-height:100svh}.landing-page .closing>.wrap{height:auto}.landing-page .hero__art,html[dir=rtl] .landing-page .hero__art{min-height:0;flex:1 1 auto;align-items:center}.landing-page .landing-car-stage{height:clamp(88px,14svh,144px)}}
@media(max-width:359px){.landing-page .hero{height:auto;min-height:100svh}.landing-page .hero__art{flex:none;margin-block-start:0}}

/* Keep the page rhythm without letting longer translations escape a fixed box. */
.landing-page main>.section,.landing-page .closing{height:auto;min-height:100svh}
.landing-page .closing>.wrap{height:auto;min-height:calc(100svh - 192px)}
.landing-page .landing-legal{padding-block-end:8px}
@media(min-width:1024px){
 .landing-page .section-head{grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
 .landing-page .section-head>:first-child{grid-column:1 / span 5}
 .landing-page .section-head>:last-child{grid-column:7 / -1}
}
@media(min-width:1024px) and (max-height:820px){.landing-page .closing>.wrap{min-height:calc(100svh - 168px)}}
@media(max-width:1023px){.landing-page .closing>.wrap{min-height:calc(100svh - 144px)}}
@media(max-width:1023px),(max-height:700px){
 .landing-page .hero{height:auto;min-height:100svh}
 .landing-page .hero>.wrap,.landing-page .hero__grid,.landing-page .hero__art{height:auto}
}
@media(max-width:359px){
 html[data-theme] .landing-page .site-header-nav{gap:8px}
 .landing-page .site-header-nav .brand{font-size:20px;gap:0}
 .landing-page .site-header-nav .brand-mark{display:none}
}
