.sf-home { --sf-dark: #202224; --sf-paper: #f5f5f2; --sf-soft: #b9bcb9; --sf-dark-line: #414446; padding-top: 24px; }
.sf-home h1,.sf-home h2 { text-wrap: balance; }
.sf-home .sf-kicker { font-size: 10px; font-weight: 650; letter-spacing: .15em; color: var(--muted); margin: 0 0 12px; }
.sf-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 52px 36px; border-radius: 24px; background: var(--sf-dark); color: var(--sf-paper); overflow: hidden; }
.sf-hero-copy { padding-bottom: 16px; }
.sf-release { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #d6d9d5; font-size: 12px; }
.sf-release>span:last-child { font-size: 9px; letter-spacing: .08em; border: 1px solid #555b56; padding: 3px 6px; border-radius: 4px; margin-left: 3px; }
.sf-hero h1 { font-size: clamp(56px,6.3vw,86px); font-weight: 550; letter-spacing: -.065em; line-height: 1.02; margin-top: 34px; }
.sf-hero h1>span { color: #a3a8a2; }
.sf-hero-lede { color: #c4c7c3; font-size: 17px; line-height: 1.75; max-width: 360px; margin-top: 26px; }
.sf-home .landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.sf-home .button { min-height: 48px; padding: 13px 19px; border-radius: 8px; }
.sf-home .sf-button-light { background: var(--sf-paper); color: #202224; border-color: var(--sf-paper); }
.sf-browser-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: #e3e5e0; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #777c76; }
.sf-browser-link .ui-icon { width: 16px; }
.sf-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--sf-soft); font-size: 11px; margin-top: 24px; }
.sf-hero-facts>span { display: flex; align-items: center; gap: 5px; }
.sf-hero-facts .ui-icon { width: 13px; height: 13px; }
.sf-proof-strip { display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sf-proof-strip>span:first-child { color: var(--text); font-weight: 550; }
.sf-proof-strip>span:last-child { display: flex; align-items: center; gap: 16px; }
.sf-proof-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.sf-download { scroll-margin-top: 24px; margin-top: 32px; background: #eceee8; border: 1px solid #d9ddd3; border-radius: 16px; }
.sf-download-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; }
.sf-download-identity { display: flex; align-items: center; gap: 22px; }
.sf-app-icon { width: 80px; height: 80px; display: grid; place-items: center; flex: none; border-radius: 20px; border: 1px solid #d1d6c9; background: #f9faf7; box-shadow: inset 0 -4px #e1e6da,0 4px 10px #20222407; }
.sf-app-icon img { width: 44px; height: 44px; }
.sf-download-identity .sf-kicker { font-size: 9px; margin-bottom: 8px; }
.sf-download-identity h2 { font-size: 25px; font-weight: 550; letter-spacing: -.04em; }
.sf-download-identity p:last-child { font-size: 13px; color: #60675b; margin-top: 8px; line-height: 1.6; }
.sf-download-action { display: grid; gap: 10px; flex: none; }
.sf-download-action>span { color: #60675b; font-size: 10px; text-align: center; }
.sf-download-bottom { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding: 18px 32px; border-top: 1px solid #d9ddd3; color: #60675b; font-size: 11px; }
.sf-download-bottom>span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sf-download-bottom svg { width: 15px; height: 15px; }
.desktop-compatibility { border-top: 1px solid #d9ddd3; }
.desktop-compatibility summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 32px; font-size: 12px; font-weight: 500; list-style: none; min-height: 50px; }
.desktop-compatibility summary::-webkit-details-marker { display: none; }
.desktop-compatibility summary .ui-icon { width: 14px; transform: rotate(90deg); }
.desktop-compatibility[open] summary .ui-icon { transform: rotate(-90deg); }
.desktop-compatibility>div { padding: 0 32px 24px; display: grid; gap: 12px; max-width: 1000px; }
.desktop-compatibility p { color: #60675b; font-size: 13px; line-height: 1.75; }
.desktop-compatibility strong { color: var(--text); }

.sf-section-intro h2,.sf-section-heading h2 { font-size: clamp(36px,4.1vw,56px); font-weight: 550; letter-spacing: -.055em; line-height: 1.06; }
.sf-section-intro h2 span,.sf-section-heading h2 span { color: #797d76; }
.sf-section-intro>p:not(.sf-kicker) { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 24px; max-width: 310px; }
.sf-inline-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; min-height: 44px; margin-top: 16px; }
.sf-demo-frame { background: #202224; border: 1px solid #424548; color: #cccfc9; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 36px #20222414; }
.sf-window-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; font-size: 10px; gap: 12px; }
.sf-window-bar>span:first-child { display: flex; gap: 5px; }
.sf-window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #646963; }
.sf-demo-frame video { display: block; width: 100%; aspect-ratio: 10/3; object-fit: contain; background: #0d0f10; }
.sf-demo-frame figcaption { padding: 15px 18px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; }
.sf-demo-frame figcaption>span:first-child { display: flex; align-items: center; gap: 7px; }
.sf-demo-frame figcaption .ui-icon { width: 15px; }
.sf-demo-frame figcaption>span:last-child { font-size: 9px; color: #b9bcb9; }
.sf-steps-section { padding-block: 0 80px; }
.sf-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sf-section-heading>p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.sf-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--line); }
.sf-steps li { padding: 28px 32px; display: flex; flex-direction: column; }
.sf-steps li:first-child { padding-left: 0; }
.sf-steps li:last-child { padding-right: 0; }
.sf-steps li+li { border-left: 1px solid var(--line); }
.sf-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; color: var(--muted); }
.sf-step-top>span { font-size: 12px; font-variant-numeric: tabular-nums; }
.sf-step-top>.ui-icon { width: 22px; }
.sf-steps h3 { font-size: 20px; font-weight: 550; letter-spacing: -.035em; }
.sf-steps li>p { font-size: 14px; line-height: 1.75; margin-top: 12px; max-width: 320px; color: var(--muted); }
.sf-mini-portraits { display: flex; align-items: center; padding-top: 24px; margin-top: auto; gap: 6px; }
.sf-mini-portraits img { width: 42px; height: 48px; border-radius: 6px; object-fit: cover; }
.sf-mini-portraits>span { font-size: 10px; line-height: 1.5; color: var(--muted); margin-left: 8px; }
.sf-step-foot { display: flex; align-items: center; gap: 8px; padding-top: 24px; min-height: 72px; margin-top: auto; font-size: 11px; color: var(--muted); }
.sf-step-foot .ui-icon { width: 16px; }
.sf-bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0 20px; border-top: 1px solid var(--line); }
.sf-bottom-cta h2 { font-size: clamp(32px,4vw,52px); font-weight: 550; letter-spacing: -.055em; }
.sf-home .button:focus-visible,.sf-hero a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (hover:hover) and (pointer:fine) {
    .sf-home .sf-button-light:hover { background: #dfe4da; border-color: #dfe4da; }
    .sf-home .button-primary:hover { background: #454a42; border-color: #454a42; }
    .sf-inline-link:hover,.sf-browser-link:hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (max-width:1100px) {
    .sf-hero { padding: 36px; gap: 30px; }
    .sf-hero h1 { font-size: 66px; }
    .sf-hero-lede { font-size: 15px; }
    .sf-download-main { gap: 20px; }
    .sf-download-identity { gap: 16px; }
    .sf-app-icon { width: 64px; height: 64px; border-radius: 16px; }
    .sf-download-identity h2 { font-size: 22px; }
}
@media (max-width:800px) {
    .sf-hero { grid-template-columns: 1fr; padding: 32px; gap: 36px; }
    .sf-hero h1 { font-size: clamp(56px,9vw,76px); margin-top: 26px; }
    .sf-hero-lede { max-width: 480px; font-size: 16px; }
    .sf-hero-copy { padding-bottom: 0; }
    .sf-proof-strip { flex-direction: column; gap: 10px; font-size: 11px; }
    .sf-download-main { flex-direction: column; align-items: stretch; padding: 26px; }
    .sf-download-action { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
    .sf-download-bottom { padding: 18px 26px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .desktop-compatibility summary { padding-inline: 26px; }
    .desktop-compatibility>div { padding-inline: 26px; }
    .sf-section-intro>p:not(.sf-kicker) { max-width: 480px; }
    .sf-steps li { padding: 24px 18px; }
    .sf-steps h3 { font-size: 17px; }
    .sf-steps li>p { font-size: 13px; }
}
@media (max-width:600px) {
    .sf-home { padding-top: 12px; }
    .sf-hero { padding: 28px 22px 24px; border-radius: 18px; gap: 30px; }
    .sf-release { font-size: 10px; gap: 7px; }
    .sf-release>span:last-child { font-size: 8px; }
    .sf-hero h1 { font-size: clamp(47px,11.7vw,68px); }
    .sf-hero-lede { font-size: 14px; line-height: 1.75; margin-top: 20px; }
    .sf-home .landing-actions { margin-top: 24px; gap: 8px; align-items: stretch; flex-direction: column; }
    .sf-home .landing-actions .button { width: 100%; }
    .sf-browser-link { justify-content: center; }
    .sf-hero-facts { margin-top: 14px; gap: 9px 14px; font-size: 10px; }
    .sf-proof-strip>span:last-child { gap: 9px; flex-wrap: wrap; font-size: 10px; }
    .sf-download { margin-top: 24px; }
    .sf-download-main { padding: 22px; }
    .sf-download-identity { align-items: flex-start; gap: 14px; }
    .sf-app-icon { width: 52px; height: 52px; border-radius: 13px; }
    .sf-app-icon img { width: 32px; height: 32px; }
    .sf-download-identity .sf-kicker { font-size: 8px; }
    .sf-download-identity h2 { font-size: 20px; line-height: 1.2; }
    .sf-download-identity p:last-child { font-size: 12px; }
    .sf-download-action { display: grid; }
    .sf-download-bottom { padding: 16px 22px; font-size: 11px; line-height: 1.7; }
    .desktop-compatibility summary { padding-inline: 22px; font-size: 11px; }
    .desktop-compatibility>div { padding-inline: 22px; }
    .sf-section-intro h2,.sf-section-heading h2 { font-size: 40px; }
    .sf-window-bar { padding: 12px; font-size: 9px; }
    .sf-demo-frame figcaption { padding: 12px; gap: 6px; font-size: 10px; }
    .sf-section-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
    .sf-section-heading>p { font-size: 13px; }
    .sf-steps { grid-template-columns: 1fr; }
    .sf-steps li,.sf-steps li:first-child,.sf-steps li:last-child { padding: 24px 0; }
    .sf-steps li+li { border-left: none; border-top: 1px solid var(--line); }
    .sf-step-top { margin-bottom: 18px; }
    .sf-steps h3 { font-size: 21px; }
    .sf-steps li>p { font-size: 14px; }
    .sf-steps-section { padding-bottom: 40px; }
    .sf-bottom-cta { flex-direction: column; align-items: flex-start; padding-top: 28px; }
}
@media (max-width:360px) { .site-nav { gap: 8px; } .header-actions { gap: 6px; } .brand-mark { width: 100px; } .header-actions>.nav-link { padding-inline: 6px; } }
@media (prefers-reduced-motion:reduce) { .sf-home .button { transition: none; } .skip-link:not(:focus) { transform: translateY(-150%); } }
/* The product video is the primary hero visual. */
.sf-home .sf-hero { grid-template-columns: 1fr; padding: 28px 0 0; gap: 32px; background: transparent; color: var(--text); overflow: visible; border-radius: 0; }
.sf-home .sf-hero-copy { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 72px; padding: 0; }
.sf-home .sf-release { grid-column: 1; color: var(--muted); }
.sf-home .sf-release>span:last-child { border-color: var(--line-strong); }
.sf-home .sf-hero h1 { grid-column: 1; grid-row: 2/5; margin: 18px 0 0; font-size: clamp(48px,5.2vw,72px); }
.sf-home .sf-hero h1>span { color: #797d76; }
.sf-home .sf-hero-lede { grid-column: 2; grid-row: 1/3; margin: 0; align-self: end; max-width: 440px; color: var(--muted); font-size: 16px; }
.sf-home .sf-hero .landing-actions { grid-column: 2; margin-top: 20px; }
.sf-home .sf-button-light { background: var(--action); border-color: var(--action); color: var(--on-action); }
.sf-home .sf-browser-link { color: var(--text); text-decoration-color: var(--line-strong); }
.sf-home .sf-hero-facts { grid-column: 2; margin-top: 12px; color: var(--muted); }
.sf-home .sf-hero-video { width: 100%; scroll-margin-top: 24px; }
.sf-home .sf-hero-video video { aspect-ratio: 10/3; }
.sf-home .sf-steps-section { padding-top: 64px; }
@media (hover:hover) and (pointer:fine) { .sf-home .sf-button-light:hover { background: #454a42; border-color: #454a42; color: #fff; } }
@media (max-width:800px) {
    .sf-home .sf-hero { padding-top: 16px; gap: 24px; }
    .sf-home .sf-hero-copy { grid-template-columns: 1fr; }
    .sf-home .sf-release,.sf-home .sf-hero h1,.sf-home .sf-hero-lede,.sf-home .sf-hero .landing-actions,.sf-home .sf-hero-facts { grid-column: 1; grid-row: auto; }
    .sf-home .sf-hero h1 { font-size: clamp(46px,8vw,64px); margin-top: 20px; }
    .sf-home .sf-hero-lede { margin-top: 20px; font-size: 15px; }
    .sf-home .sf-hero .landing-actions { flex-direction: row; align-items: center; gap: 8px 20px; }
    .sf-home .sf-hero .landing-actions .button { width: auto; }
    .sf-home .sf-steps-section { padding-top: 44px; }
}

/* Keep Windows-only download promotions off the mobile homepage. */
html.sf-mobile-device .sf-home .landing-actions .sf-button-light,
html.sf-mobile-device .sf-home .sf-download,
html.sf-mobile-device .sf-home .sf-bottom-cta { display: none; }
