/* September brand artwork; scoped to the public landing page. */
.brand-hero {
    padding: 30px 0;
    background: #f7f7f7;
    color: #161b18;
    overflow: hidden;
}
.brand-hero::after { display: none; }
.brand-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}
.brand-hero .hero-copy { position: relative; z-index: 1; max-width: 580px; }
.brand-hero h1.display { font-size: 48px; line-height: 1.06; letter-spacing: 0; color: #161b18; text-shadow: none; margin: 16px 0; }
.brand-hero h1 .grad { color: #006039; }
.brand-hero p.lead { color: #505952; text-shadow: none; font-size: 17px; margin-bottom: 20px; }
.brand-hero .hero-form-row { grid-template-columns: minmax(0, 1fr) 230px; }
.brand-hero .hero-submit { font-size: 13px; padding-inline: 14px; box-shadow: none; }
.brand-hero .hero-email-input { box-shadow: none; }
.brand-hero .hero-form-status:empty { display: none; }
.brand-hero .hero-form-label { letter-spacing: 0; }
.brand-hero .hero-secondary-actions { margin-bottom: 0; }
.brand-hero .hero-stage {
    margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
    align-self: center; position: relative;
}
.brand-hero-media > img { display: block; width: 128%; max-width: none; height: auto; margin-left: -14%; }
.brand-demo-link {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin: -20px 0 0; padding: 12px; color: #006039; font-size: 14px; font-weight: 700;
    text-align: center; position: relative;
}
.brand-demo-link i { font-size: 22px; flex: 0 0 auto; }
.brand-demo-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand-hero #reviews.hero-reviews { margin-top: 22px; }
.brand-hero #reviews .testimonial-quote { font-size: 12px; line-height: 1.5; }
.brand-hero #reviews .testimonial-person { margin-bottom: 8px; }
.brand-hero #reviews.hero-reviews .testimonial-card { padding: 12px; }
.brand-story { position: relative; padding: 72px 0; background: #f7f7f7; color: #161b18; scroll-margin-top: 80px; }
.brand-story-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 80px; }
.brand-story-heading { max-width: 590px; }
.brand-story-heading h2 { font-size: 40px; line-height: 1.12; letter-spacing: 0; margin: 0 0 12px; }
.brand-story-heading p { max-width: 590px; color: #505952; font-size: 17px; line-height: 1.6; }
.brand-signature { position: relative; width: 260px; aspect-ratio: 3 / 1; margin-top: 28px; }
.brand-signature img { width: 80%; height: 100%; object-fit: contain; margin: 0 10%; }
.brand-signature video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; mix-blend-mode: multiply; }
.brand-signature.is-playing video { opacity: 1; }
.brand-signature.is-playing img { visibility: hidden; }
.brand-story-media { min-width: 0; width: 100%; }
.brand-demo .hero-video-card { width: 100%; max-width: 330px; margin: auto; border-radius: 8px; padding: 0; box-shadow: 0 18px 40px -24px #141b18; }
.brand-demo .hero-video-frame { border-radius: 8px; }
.brand-demo-caption { margin: 18px 0 0; color: #505952; font-size: 14px; text-align: center; }
#whitelabel.brand-whitelabel-section { background: #f7f7f7; color: #161b18; border-top: 1px solid #dee4df; }
#whitelabel .brand-whitelabel.wl-wrap { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#whitelabel .brand-whitelabel .wl-grid h2, #whitelabel .brand-whitelabel .wl-grid h2 span { color: #161b18; letter-spacing: 0; }
#whitelabel .brand-whitelabel .wl-grid p.lead, #whitelabel .brand-whitelabel .wl-price .from { color: #505952; }
#whitelabel .brand-whitelabel .pill { background: #006039; color: #fff; }
#whitelabel .brand-whitelabel .wl-price .v { color: #006039; letter-spacing: 0; }
#whitelabel .brand-whitelabel .btn-ghost { color: #006039; border-color: #006039; }
.brand-whitelabel .wl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#whitelabel .brand-whitelabel .wl-feature { background: none; border: 0; border-top: 1px solid #cbd8cf; border-radius: 0; padding: 20px 0; }
#whitelabel .brand-whitelabel .wl-feature i { color: #006039; }
#whitelabel .brand-whitelabel .wl-feature h4 { color: #161b18; }
#whitelabel .brand-whitelabel .wl-feature p { color: #505952; }
.brand-demo-link:focus-visible { outline: 2px solid #006039; outline-offset: 5px; }
.progress-showcase.section { background: #f7f7f7; color: #161b18; padding: 72px 0; }
.progress-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: 48px; }
.progress-copy h2 { font-size: 36px; line-height: 1.15; letter-spacing: 0; margin: 18px 0 14px; }
.progress-copy p { color: #505952; font-size: 16px; line-height: 1.6; }
.progress-comparison { display: block; width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 1024px) {
    .brand-hero h1.display { font-size: 42px; }
    .brand-hero .hero-form-row { grid-template-columns: 1fr; }
    .brand-hero-media > img { width: 140%; margin-left: -20%; }
    .brand-whitelabel .wl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .brand-hero { padding: 24px 0; }
    .brand-hero .hero-grid { display: flex; flex-direction: column; padding-top: 0; gap: 0; }
    .brand-hero .hero-copy { display: contents; }
    .brand-hero .pill { color: #fff; background: #006039; border: 0; letter-spacing: 0; align-self: flex-start; }
    .brand-hero h1.display { width: 100%; font-size: 34px; margin: 14px 0 12px; }
    .brand-hero p.lead { width: 100%; font-size: 14px; margin-bottom: 16px; }
    .brand-hero .hero-trial-form { order: 2; width: 100%; max-width: 560px; }
    .brand-hero .hero-form-note { order: 3; width: 100%; max-width: 560px; }
    .brand-hero .hero-form-status { order: 3; min-height: 0; margin: 0; }
    .brand-hero .hero-form-status:not(:empty) { padding: 8px 0; color: #a8321c; }
    .brand-hero .hero-stage { order: 5; width: 100%; }
    .brand-hero .hero-secondary-actions { order: 4; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 560px; margin: 4px 0 0; }
    .brand-hero .hero-secondary-actions .btn { color: #253a2f; border-color: #c4d1c9; }
    .brand-hero-media > img { width: 100%; max-width: 360px; height: 200px; object-fit: cover; margin: 0 auto; }
    .brand-demo-link { margin: -12px 0 4px; font-size: 12px; }
    .brand-hero #reviews.hero-reviews { order: 6; width: 100%; margin-top: 8px; }
    .brand-hero #reviews.hero-reviews h2 { color: #505952; }
    .brand-hero #reviews.hero-reviews .testimonial-card { background: #ffffffa6; border-color: #fff; color: #253a2f; flex-basis: 88%; }
    .brand-hero #reviews .testimonial-person strong { color: #15251d; }
    .brand-hero #reviews .testimonial-person span { color: #43564b; }
    .brand-hero #reviews .testimonial-person > i { color: #006039; }
    .brand-hero #reviews .testimonial-quote { color: #23362c; }
    .brand-story { padding: 42px 0; }
    .brand-story-layout { grid-template-columns: 1fr; gap: 28px; }
    .brand-story-heading { width: 100%; margin: auto; }
    .brand-story-heading h2 { font-size: 28px; }
    .brand-story-heading p { font-size: 14px; }
    .brand-signature { width: 180px; margin-top: 14px; }
    .brand-story-media { max-width: 400px; margin: auto; }
    .brand-demo .hero-video-card { max-width: 280px; }
    .brand-whitelabel .wl-grid { grid-template-columns: 1fr; }
    .brand-whitelabel .wl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .progress-showcase.section { padding: 48px 0; }
    .progress-layout { grid-template-columns: 1fr; gap: 28px; }
    .progress-copy h2 { font-size: 28px; }
    .progress-copy p { font-size: 14px; }
}
@media (max-width: 380px) {
    .brand-hero h1.display { font-size: 30px; }
    .brand-hero .hero-secondary-actions { grid-template-columns: 1fr; }
    .brand-whitelabel .wl-features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .brand-signature video { display: none; }
    .brand-signature.is-playing img { visibility: visible; }
}

#app-preview.client-preview { background: #f7f7f7; color: #161b18; padding: 80px 0; }
.client-preview-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: center; }
.client-preview-copy { max-width: 590px; }
#app-preview .section-head { margin-bottom: 28px; }
#app-preview .section-head h2 { font-size: 42px; line-height: 1.12; color: #161b18; letter-spacing: 0; }
#app-preview .section-head h2 .grad { color: #006039; }
#app-preview .section-head p { color: #505952; font-size: 16px; }
.client-preview-tabs { display: grid; }
.client-preview-tabs button {
    display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 18px; align-items: center;
    min-height: 90px; width: 100%; padding: 18px 16px; border: 0; border-bottom: 1px solid #dce3de;
    background: transparent; color: #53645a; text-align: left; cursor: pointer; font: inherit;
}
.client-preview-tabs button[aria-selected="true"] { background: #e8efea; color: #006039; border-radius: 8px; border-bottom-color: transparent; }
.client-preview-tabs button:hover { background: #edf2ee; }
.client-preview-tabs strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.client-tab-description { display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; color: #505952; }
.client-tab-arrow { opacity: 0; font-size: 13px; }
[aria-selected="true"] .client-tab-arrow { opacity: 1; }
.client-preview-stage { min-width: 0; }
.client-preview-panel { width: 100%; }
.client-preview-panel[hidden] { display: none; }
/* An iPhone-style frame around the client screens: titanium edge, black bezel,
   status bar with the island, home indicator. Built in CSS rather than as a
   picture so it stays sharp at any size and every tab shares it. */
.client-preview-device {
    position: relative; width: 290px; max-width: 100%; margin: auto; padding: 3px; border-radius: 48px;
    background: linear-gradient(135deg, #f4f5f7 0%, #c9ccd1 18%, #9da1a8 36%, #eceef1 52%, #b3b7bd 72%, #e4e6e9 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 30px 50px -24px rgba(22, 39, 29, 0.45), 0 12px 24px -16px rgba(0, 0, 0, 0.35);
}
/* action and volume buttons on the left, drawn as one strip with gaps; power on the right */
.client-preview-device::before, .client-preview-device::after { content: ""; position: absolute; width: 3px; border-radius: 2px; }
.client-preview-device::before { left: -2px; top: 19%; height: 27%; background: linear-gradient(180deg, #b3b7bd 0 13%, transparent 13% 28%, #b3b7bd 28% 60%, transparent 60% 68%, #b3b7bd 68% 100%); }
.client-preview-device::after { right: -2px; top: 28%; height: 13%; background: #b3b7bd; }
.cp-screen { position: relative; overflow: hidden; border: 8px solid #050608; border-radius: 45px; background: #0c0e1a; }
.cp-status {
    position: relative; display: flex; align-items: center; justify-content: space-between; aspect-ratio: 274 / 40; padding: 0 22px 0 26px;
    color: #fff; font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0;
}
.cp-status::after { content: ""; position: absolute; left: 50%; top: 50%; width: 33%; height: 62%; transform: translate(-50%, -50%); border-radius: 999px; background: #000; }
.cp-status-icons { display: flex; align-items: center; gap: 5px; font-size: 10px; }
/* one height for all three screenshots, so switching tabs does not resize the phone */
.client-preview-device img { display: block; width: 100%; height: auto; aspect-ratio: 528 / 968; object-fit: cover; object-position: top; }
.cp-home { position: relative; aspect-ratio: 274 / 20; }
.cp-home::after { content: ""; position: absolute; left: 50%; top: 40%; width: 36%; height: 4px; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, 0.88); }
.client-preview-description { display: none; }
.client-preview-tabs button:focus-visible, .client-preview-panel:focus-visible { outline: 2px solid #006039; outline-offset: 4px; }
@media (max-width: 900px) {
    #app-preview.client-preview { padding: 48px 0; }
    .client-preview-layout { grid-template-columns: 1fr; gap: 28px; }
    .client-preview-copy { width: 100%; max-width: 590px; margin: auto; }
    #app-preview .section-head h2 { font-size: 28px; }
    #app-preview .section-head p { font-size: 14px; }
    .client-preview-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
    .client-preview-tabs button { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 12px 4px; min-height: 76px; text-align: center; }
    .client-preview-tabs strong { font-size: 13px; overflow-wrap: anywhere; }
    .client-tab-description, .client-tab-arrow { display: none; }
    .client-preview-device { width: 270px; }
    .client-preview-description { display: block; max-width: 310px; min-height: 44px; margin: 18px auto 0; text-align: center; color: #505952; font-size: 13px; line-height: 1.6; }
}
