/* Public product story; dashboard and control surfaces retain their own styles. */
#account.landing { --product-shadow: 0 16px 70px #00000017; }
.product-hero { text-align: center; padding-top: 1.2rem; }
.product-app-icon { display: block; width: 100px; height: 100px; border-radius: 24px; margin: 0 auto 1.7rem; }
#account .product-hero #landing-title { font-size: clamp(2.55rem, 5.2vw, 4.1rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; margin: 0 0 1.7rem; }
.product-introduction { font-size: clamp(1.06rem, 1.7vw, 1.35rem); line-height: 1.5; max-width: 790px; margin: 0 auto; text-wrap: balance; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem; margin: 1.8rem auto .8rem; }
#account .product-actions .button, #account .product-download-grid .button { border-radius: 999px; padding: .72rem 1.4rem; font-size: .96rem; min-height: 48px; }
.product-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.product-availability, .product-requirement, .product-release-status { font-size: .8rem; color: var(--muted); }
.product-availability { line-height: 1.6; }
.product-trust { max-width: 760px; margin: .9rem auto .2rem; color: var(--text); font-weight: 550; text-wrap: balance; }
.product-trust + .product-availability { margin-top: 0; }
.product-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.5rem; }
.product-hero-links .product-text-link { margin-top: 0; font-size: .9rem; }
.product-closing-copy { max-width: 660px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.product-demo-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .95rem; min-height: 44px; margin: .25rem 0; text-decoration: none; }
.product-demo-link:hover, .product-text-link:hover { text-decoration: underline; }
.product-stage { position: relative; max-width: 1060px; padding: 2.5rem 0 0; margin: 1.6rem auto 0; isolation: isolate; }
.product-stage::before { content: ""; position: absolute; inset: 12% 4% 10%; z-index: -1; background: radial-gradient(ellipse at 30% 50%, #1296ff1f, transparent 70%); border-radius: 50%; }
.product-mac-screen { width: 86%; border-radius: 24px; overflow: hidden; box-shadow: var(--product-shadow); background: #17181b; }
.product-mac-screen img { width: 100%; height: auto; display: block; }
.product-phone-screen { position: absolute; width: 21%; right: 0; bottom: 3.4rem; background: #070709; border: 5px solid #303137; border-radius: clamp(18px, 3.2vw, 35px); padding: 2px; overflow: hidden; box-shadow: 0 22px 60px #00000030; }
.product-phone-screen img, .product-phone-frame img { display: block; width: 100%; height: auto; }
#account figure { min-width: 0; }
#account figcaption { color: var(--muted); font-size: .76rem; line-height: 1.5; text-align: center; margin: 1.1rem 0 0; }
.product-section { margin-top: clamp(5.5rem, 10vw, 8.5rem); }
.product-section-heading { text-align: center; max-width: 740px; margin: 0 auto 3rem; }
.product-kicker { color: var(--blue); letter-spacing: .065em; font-size: .73rem; font-weight: 650; margin: 0 0 .8rem; }
#account .product-section h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -.038em; font-weight: 650; margin-bottom: 1.4rem; text-wrap: balance; }
.product-section-heading > p:last-child, .product-editor-copy > p:not(.product-kicker) { color: var(--muted); font-size: 1.15rem; line-height: 1.6; text-wrap: pretty; }
.product-mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 1rem 1.5rem; }
.product-mode-grid article { min-width: 0; }
.product-mode-grid .product-feature-icon { color: var(--blue); width: 36px; height: 36px; display: block; margin-bottom: 1.25rem; }
.product-mode-grid h3, .product-remote-details h3 { font-size: 1.15rem; margin-bottom: .65rem; }
.product-mode-grid p, .product-remote-details p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin-bottom: 0; }
.product-editor-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; background: var(--card); border-radius: 30px; padding: clamp(1.5rem, 4vw, 3.5rem); }
.product-text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; text-decoration: none; font-size: 1rem; margin-top: .6rem; }
.product-editor-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: center; }
.product-editor-screens figure { margin: 0; }
.product-editor-screens figure:last-child { padding-top: 3rem; }
.product-phone-frame { background: #070709; border: 4px solid #303137; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 35px #00000015; }
.product-web-preview { width: min(100%, 920px); margin: 0 auto; }
.product-web-preview > img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--product-shadow); background: #131416; }
.product-remote { text-align: center; }
.product-remote-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem; margin: 3.5rem auto 2rem; max-width: 980px; text-align: left; }
.product-remote-details .mode-icon, .product-remote-details svg { display: block; width: 30px; height: 30px; color: var(--blue); margin-bottom: 1rem; }
.product-subscription-note { max-width: 740px; margin: .4rem auto; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.product-subscription-note.product-price { margin-top: 2.5rem; color: var(--text); font-size: 1rem; font-weight: 550; text-wrap: balance; }
.product-remote .product-actions { margin-top: 1.4rem; }
.product-safety-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem; max-width: 1060px; margin: 0 auto; }
.product-safety-grid article { min-width: 0; }
.product-safety-grid .mode-icon, .product-safety-grid svg { display: block; width: 30px; height: 30px; color: var(--blue); margin-bottom: 1rem; }
.product-safety-grid h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.product-safety-grid p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-bottom: 0; }
.product-safety-note { max-width: 740px; margin: 2.5rem auto 0; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--muted); font-size: .88rem; line-height: 1.6; text-align: center; }
.product-downloads { text-align: center; padding: 3.5rem 2rem; border-radius: 30px; background: var(--card); }
.product-downloads > img { display: block; border-radius: 20px; margin: 0 auto 1.5rem; }
.product-download-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 900px; margin: 2.5rem auto 0; gap: 3rem; }
.product-download-grid article { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.product-download-grid h3 { font-size: 1.25rem; margin: .7rem 0; }
.product-download-grid article > p:not(.product-requirement):not(.product-release-status) { color: var(--muted); margin: 0 auto 1.25rem; max-width: 340px; flex: 1; }
.product-download-grid .product-requirement { margin: .8rem 0 .65rem; min-height: 3.1em; line-height: 1.55; }
.product-release-status { margin: 0; padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--field); }
.landing-sign-in { width: min(100%, 460px); margin: 5.5rem auto 2rem; }
.landing-sign-in > p { text-align: center; margin: 1rem 0; }
:root[data-theme="dark"] #account.landing { --product-shadow: 0 20px 80px #00000050; }
@media (max-width: 900px) {
    .product-editor-section { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-editor-copy { max-width: 660px; margin: auto; text-align: center; }
    .product-editor-screens { width: min(100%, 520px); margin: auto; }
    .product-mode-grid { gap: 1.5rem; padding-inline: 0; }
    .product-safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .product-hero { padding-top: .75rem; }
    .product-app-icon { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 1.5rem; }
    #account .product-hero #landing-title { margin-bottom: 1.2rem; }
    .product-actions { flex-direction: column; margin-top: 1.5rem; }
    .product-actions .button { width: min(100%, 290px); }
    .product-introduction { max-width: 420px; }
    .product-availability { max-width: 340px; margin: .6rem auto; }
    .product-stage { padding-top: 1rem; margin-top: 1rem; }
    .product-mac-screen { width: 88%; border-radius: 6px; }
    .product-phone-screen { width: 27%; border-width: 3px; padding: 1px; bottom: 3.6rem; border-radius: 13px; }
    .product-stage figcaption { margin-top: 1.5rem !important; }
    .product-section { margin-top: 4.5rem; }
    .product-section-heading { margin-bottom: 2rem; }
    .product-mode-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
    .product-mode-grid .product-feature-icon { width: 30px; height: 30px; margin-bottom: .8rem; }
    .product-mode-grid p, .product-remote-details p { font-size: .9rem; }
    .product-editor-section { padding: 1.5rem 1rem; border-radius: 22px; }
    .product-editor-screens { gap: .8rem; }
    .product-phone-frame { border-width: 3px; border-radius: 18px; }
    .product-editor-screens figure:last-child { padding-top: 2rem; }
    .product-section-heading > p:last-child, .product-editor-copy > p:not(.product-kicker) { font-size: 1.05rem; }
    .product-remote-details, .product-safety-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
    .product-remote-details article, .product-safety-grid article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .1rem 1rem; }
    .product-remote-details article p, .product-safety-grid article p { grid-column: 2; }
    .product-remote-details .mode-icon, .product-remote-details svg, .product-safety-grid .mode-icon, .product-safety-grid svg { margin: 0; }
    .product-safety-grid p { font-size: .9rem; }
    .product-safety-note { text-align: left; }
    .product-web-preview > img { border-radius: 10px; }
    .product-downloads { padding: 2rem 1.25rem; border-radius: 22px; }
    .product-download-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
    .product-download-grid article + article { border-top: 1px solid var(--line); padding-top: 2rem; }
    .landing-sign-in { margin-top: 4rem; }
    .landing-sign-in .auth-card { padding: 1.5rem; }
}
@media (prefers-reduced-transparency: reduce) { .product-stage::before { display: none; } }
@media (prefers-contrast: more) { .product-editor-section, .product-downloads { border: 1px solid var(--text); } }
