/* Public, fictional example of the real app. Natural overlapping tracks reserve
   the tallest screen without scroll containers, measurements or resize timers. */
.site-page .demo-stage.app-demo{display:grid;grid-template-columns:178px minmax(0,1fr);background:#f5f3ed;text-align:left;overflow:clip}
.app-demo,.app-demo *{box-sizing:border-box}
.app-demo button,.app-demo select{font:inherit;color:inherit;cursor:pointer}
.app-demo button:focus-visible,.app-demo select:focus-visible,.app-demo [tabindex]:focus-visible{outline:3px solid #a44f35;outline-offset:2px}
.app-demo button{border:0;background:none}
.app-demo h2,.app-demo h3,.app-demo p,.app-demo figure{margin:0}
.site-page .app-demo h2{font-size:25px;line-height:1.2;font-weight:600;letter-spacing:-.6px}
.site-page .app-demo h3{font-size:15px;line-height:1.4;font-weight:600;letter-spacing:-.2px}
.app-demo-sidebar{background:#202b35;color:#fffdf9;padding:24px 12px;display:flex;flex-direction:column;gap:28px;min-width:0}
.app-demo-brand{display:flex;gap:9px;align-items:center;padding:0 8px;font-size:20px}
.app-demo-navigation{display:flex;flex-direction:column;gap:7px}
.app-demo-navigation button{display:flex;gap:9px;align-items:center;min-height:46px;padding:10px;border-radius:9px;font-size:12px;text-align:left;min-width:0}
.app-demo-navigation .site-icon{width:19px;height:19px;flex:none}
.app-demo-navigation button[aria-selected=true]{background:#ffffff16;box-shadow:inset 2px 0 #db9b7e}
.app-demo-workspace{display:flex;align-items:center;gap:9px;margin-top:auto;font-size:11px;padding-top:20px;border-top:1px solid #ffffff22}
.app-demo-logo{width:46px;height:46px;object-fit:contain;border:1px solid #e5ded2;border-radius:10px;flex:none;background:#fff8e8}
.app-demo-workspace .app-demo-logo{width:34px;height:34px}
.app-demo-main{min-width:0;padding:0 22px 24px;background:#f5f3ed}
.app-demo-caption{display:flex;justify-content:space-between;gap:12px;padding:14px 0;font-size:10px;color:#62686b;border-bottom:1px solid #d9d7ce}
.app-demo-stack{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;min-width:0}
.app-demo-stack>*{grid-area:1/1;min-width:0;overflow:visible;align-self:start}
.app-demo .app-demo-stack>[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.app-demo-panel{padding-top:18px}
.app-demo-heading{display:flex;gap:12px;align-items:center;margin-bottom:22px;min-width:0}
.app-demo-heading>div{min-width:0;flex:1}
.app-demo-heading small{font-size:11px;display:block;margin-bottom:4px;color:#62686b}
.app-demo-heading .app-demo-action{margin-left:auto}
.app-demo-subtabs{display:flex;gap:18px;border-bottom:1px solid #d9d7ce;margin-bottom:20px}
.app-demo-subtabs button{min-height:44px;padding:10px 4px;font-size:13px;border-bottom:2px solid transparent}
.app-demo-subtabs button[aria-selected=true]{color:#a44f35;border-bottom-color:#a44f35;font-weight:600}
.app-demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px;font-size:12px}
.app-demo-segment{display:flex;gap:4px;padding:4px;background:#eae7df;border-radius:12px;align-items:center;font-size:12px}
.app-demo-segment>button,.app-demo-segment>span{min-height:40px;display:flex;align-items:center;justify-content:center;padding:8px 13px;gap:7px;border-radius:9px}
.app-demo-segment button[aria-pressed=true],.app-demo-segment .selected{background:#fffdf9;box-shadow:0 1px 4px #202b3510}
.app-demo-segment b{font-weight:400;font-size:10px}
.app-demo-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border-radius:9px;background:#a44f35;color:#fffdf9;font-size:12px;white-space:nowrap}
.app-demo-campaign-card{padding:18px;background:#fffdf9;border:1px solid #d9d7ce;border-radius:16px}
.app-demo-card-heading,.app-demo-card-meta{display:flex;gap:12px;align-items:center;justify-content:space-between}
.app-demo-status{background:#eae7df;padding:5px 8px;border-radius:7px;font-size:10px;flex:none}
.app-demo-filmstrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.app-demo-filmstrip img{width:100%;height:145px;object-fit:cover;border-radius:8px}
.app-demo-card-meta{font-size:12px;color:#62686b;margin-bottom:13px}
.app-demo-destinations{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:5px}
.app-demo .platform-brand{font-size:10px;gap:5px}
.app-demo .platform-logo{width:14px;height:14px}
.app-demo-progress{display:flex;align-items:center;gap:14px;margin-top:16px;font-size:11px}
.app-demo-progress progress{flex:1;height:5px;accent-color:#65756f;min-width:0}
.app-demo-album{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.app-demo-album img{display:block;width:100%;height:190px;object-fit:cover;border-radius:12px}
.app-demo-album figcaption{font-size:12px;margin-top:8px}
.app-demo-month{display:flex;gap:8px;align-items:center}
.app-demo-month button{width:36px;height:44px;font-size:25px}
.app-demo-month h3{min-width:140px;text-align:center}
.app-demo-legend{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin:0 0 16px;font-size:11px;color:#62686b}
.app-demo-legend>span{display:flex;align-items:center;gap:5px}
.app-demo-legend small{margin-left:auto;font-size:10px}
.app-demo-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#343238}
.app-demo-legend i[data-platform=Instagram]{background:#925d78}
.app-demo-schedule-stack{min-height:610px}
.app-demo-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d9d7ce;border-radius:12px;overflow:clip;background:#fffdf9}
.app-demo-weekday{text-align:center;font-size:11px;background:#eee9e2;padding:12px 0;border-bottom:1px solid #e5dbd6}
.app-demo-day{min-width:0;min-height:94px;border-right:1px solid #eae2dc;border-bottom:1px solid #eae2dc;padding:5px}
.app-demo-day:nth-child(7n){border-right:0}
.app-demo-day.outside{background:#f0ece5;color:#858782}
.app-demo-date{display:block;font-size:11px;padding:3px 5px;margin-bottom:4px}
.app-demo-calendar-event{display:flex;align-items:center;gap:3px;background:#925d7815;border-left:2px solid #925d78;border-radius:3px;font-size:10px;padding:4px 2px;margin-bottom:4px;min-width:0;color:#202b35}
.app-demo-calendar-event[data-platform=TikTok]{border-left-color:#343238;background:#34323810}
.app-demo-event-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.app-demo-calendar-event time,.app-demo-calendar-mark{flex:none}
.app-demo-agenda-day{margin-bottom:18px}
.app-demo-agenda-day h3{margin-bottom:10px}
.app-demo-post-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e3ded4;padding:12px 0;min-width:0}
.app-demo-post-row>img{width:48px;height:52px;object-fit:cover;border-radius:8px;flex:none}
.app-demo-post-row>div{flex:1;min-width:0}
.app-demo-post-row strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.app-demo-post-row small{display:block;font-size:10px;color:#62686b;margin-top:3px}
.app-demo-post-row>time{font-size:11px;white-space:nowrap}
.app-demo-period{justify-content:flex-start}
.app-demo-period>small{margin-left:auto}
.app-demo select{max-width:100%;border:1px solid #d9d7ce;border-radius:9px;background:#fffdf9;padding:8px;font-size:12px;min-height:40px}
.app-demo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.app-demo-metrics>button,.app-demo-metrics>div{text-align:left;min-width:0;border:1px solid #d9d7ce;border-radius:12px;background:#fffdf9;padding:12px}
.app-demo-metrics>button[aria-pressed=true]{border-color:#62686b;background:#eeece5}
.app-demo-metrics span,.app-demo-metrics strong,.app-demo-metrics small{display:block}
.app-demo-metrics span{font-size:11px;line-height:1.4}
.app-demo-metrics strong{font-size:27px;font-weight:500;line-height:1.4}
.app-demo-metrics small{font-size:10px;color:#62686b}
.app-demo-measure{display:flex;gap:14px;justify-content:space-between;align-items:center;margin:18px 0;font-size:11px}
.app-demo-measure label{display:flex;align-items:center;gap:8px}
.app-demo-analytics-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}
.app-demo-chart,.app-demo-top-posts{min-width:0}
.app-demo-bars{display:flex;gap:16px;height:240px;padding:36px 8px 30px;border-bottom:1px solid #d9d7ce;margin-top:12px}
.app-demo-bars>div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;min-width:0;height:100%}
.app-demo-bars i{width:75%;max-width:60px;background:linear-gradient(0deg,#4b555b,#90958f);border-radius:5px 5px 1px 1px;flex:none}
.app-demo-bars strong{font-size:11px;position:absolute;bottom:calc(var(--bar-height,100%) + 4px);font-weight:500}
.app-demo-bars small{position:absolute;top:100%;font-size:10px;white-space:nowrap;padding-top:8px}
.app-demo-post-count{font-size:15px;text-align:right;flex:none}
.app-demo-top-posts .app-demo-destinations{display:none}
.site-page .app-demo-updated{text-align:right;font-size:10px;margin:16px 0;color:#62686b}
.app-demo-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;margin-bottom:20px}
.app-demo-surface{padding:16px;border:1px solid #d9d7ce;background:#fffdf9;border-radius:12px;margin-bottom:16px}
.app-demo-surface p{font-size:12px;display:flex;align-items:center;gap:8px;margin-top:14px}
.app-demo-account{display:flex;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #e3ded4;min-width:0}
.app-demo-account:last-child{border:0}
.app-demo-account>div{flex:1;min-width:0}
.app-demo-account strong{font-size:11px;display:block}
.app-demo-account small{display:block;font-size:10px;color:#62686b}
.app-demo-account .app-demo-logo{width:36px;height:36px}
.app-demo-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:12px}
.app-demo-week>span{text-align:center;font-size:9px;padding:8px 2px;border-radius:8px;background:#f5f3ed}
.app-demo-week strong{display:block;font-size:12px;margin:5px 0}
.app-demo-week i{display:block;width:5px;height:5px;border-radius:50%;background:#a44f35;margin:auto}
@media(max-width:1023px){.app-demo-analytics-columns,.app-demo-dashboard-columns{grid-template-columns:minmax(0,1fr)}.app-demo-bars{height:210px}.app-demo-dashboard-columns>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.app-demo-account{flex-wrap:wrap}.app-demo-post-row .app-demo-status{font-size:9px}}
@media(max-width:1023px){
 .site-page .demo-stage.app-demo{display:flex;flex-direction:column;border-radius:15px}
 .app-demo-sidebar{order:2;padding:8px;background:#fffdf9;color:#202b35;border-top:1px solid #d9d7ce}
 .app-demo-brand,.app-demo-workspace,.app-demo-navigation #demo-tab-dashboard{display:none}
 .app-demo #demo-dashboard{display:none!important}
 .app-demo-navigation{flex-direction:row;gap:0;justify-content:space-around}
 .app-demo-navigation button{flex:1;min-width:0;padding:6px 2px;flex-direction:column;gap:4px;font-size:9px}
 .app-demo-navigation button[aria-selected=true]{color:#a44f35;background:#a44f350b;box-shadow:none}
 .app-demo-navigation .site-icon{width:19px;height:19px}
 .app-demo-main{padding:0 16px 20px}
 .app-demo-schedule-stack{min-height:514px}
 .app-demo-day{min-height:79px;padding:3px}
 .app-demo-event-title{display:none}
 .app-demo-heading{margin-bottom:18px}
 .site-page .app-demo h2{font-size:22px}
}
@media(max-width:600px){
 .app-demo-main{padding:0 12px 18px}
 .app-demo-caption{font-size:9px}
 .app-demo-heading{gap:9px}
 .app-demo-logo{width:42px;height:42px}
 .app-demo-heading .app-demo-action{font-size:10px;padding:7px;white-space:normal;max-width:100px}
 .app-demo-filmstrip{gap:5px}.app-demo-filmstrip img{height:105px}
 .app-demo-campaign-card{padding:12px}.app-demo-card-heading{align-items:flex-start;gap:8px}
 .app-demo-card-meta{font-size:10px}
 .app-demo-toolbar{gap:10px;font-size:11px}
 .app-demo-month{gap:0}.app-demo-month h3{min-width:130px;font-size:14px}
 .app-demo-month button{width:32px}
 .app-demo-segment>button,.app-demo-segment>span{padding:8px 10px;font-size:11px}
 .app-demo-album{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .app-demo-album img{height:135px}
 .app-demo-album figcaption{font-size:11px}
 .app-demo-legend{font-size:10px;gap:12px}.app-demo-legend small{width:100%;margin-left:0}
 .app-demo-calendar-event{gap:1px;font-size:8px;padding:4px 1px;letter-spacing:-.3px}
 .app-demo-calendar-mark{font-size:10px}.app-demo-day{padding:2px}
 .app-demo-date{font-size:10px;padding:4px 3px}
 .app-demo-weekday{font-size:9px}
 .app-demo-post-row{gap:8px}
 .app-demo-post-row>img{width:40px;height:48px}
 .app-demo-post-row strong{font-size:11px}
 .app-demo-post-row>time{font-size:10px}
 .app-demo-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .app-demo-metrics>button,.app-demo-metrics>div{padding:10px}
 .app-demo-metrics strong{font-size:25px}
 .app-demo-analytics-columns{gap:20px}
 .app-demo-period{gap:10px}.app-demo-period>small{width:100%;margin-left:0}
 .app-demo-bars{height:200px}
 .app-demo-measure{gap:8px;font-size:10px}
 .app-demo select{font-size:12px}
 .app-demo-account .app-demo-logo{width:38px;height:38px}
}

.app-demo-bars>[hidden],.app-demo-post-row[hidden]{display:none}

.app-demo-post-row.is-excluded{visibility:hidden}
.app-demo .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.app-demo-view-controls{display:flex;gap:10px;align-items:center}
.app-demo-today{border:1px solid #202b35!important;border-radius:10px;padding:7px 11px;min-height:36px;font-size:12px!important}
.app-demo-view-controls .app-demo-segment{border:1px solid #e5dbd6;border-radius:24px;background:#f6f2ee}
.app-demo-view-controls .app-demo-segment button{border-radius:20px;min-height:34px}
.app-demo-view-controls .app-demo-segment button[aria-pressed=true]{background:#a44f35;color:white}
.app-demo-calendar-event{background:#925d78;color:white;border:0;padding:5px;min-height:26px;border-radius:4px}
.app-demo-calendar-event[data-platform=TikTok]{background:#343238}
.app-demo-calendar-mark .platform-brand{display:flex;color:inherit}
.app-demo-calendar-mark .platform-logo{width:10px;height:10px}
#demo-analytics .app-demo-subtabs button[aria-selected=true]{color:#202b35;border-bottom-color:#4b555b}
@media(max-width:600px){.app-demo-calendar-event{padding:4px 1px}.app-demo-bars{height:140px}.app-demo-metrics strong{font-size:22px}.app-demo-metrics>button{padding:8px}.app-demo-heading{margin-bottom:14px}}

/* Reversible desktop preview trial: proportional 90% scale, tighter hero spacing. */
@media(min-width:1024px){
 .site-page .demo-stage.app-demo{zoom:.9}
 .site-page main>.home-hero{padding-top:8px;padding-bottom:24px;gap:12px}
 .site-page .home-hero h1{font-size:clamp(42px,4.2vw,56px);margin-bottom:8px}
 .site-page .home-hero .hero-copy>p{font-size:clamp(16px,1.4vw,18px);margin-bottom:8px}
 .site-page .home-hero .release-label{margin-bottom:4px}
 .site-page .home-hero .waitlist-status:empty{display:none}
 /* Before the handler is ready, the disabled controls reserve their normal
    space for the unavailable message instead of adding a row above the demo. */
 .site-page .home-hero .waitlist-form:where(:has(.waitlist-fields > input:disabled)){display:grid;grid-template-columns:minmax(0,1fr)}
 .site-page .home-hero .waitlist-form:where(:has(.waitlist-fields > input:disabled))>.waitlist-fields{grid-row:2;visibility:hidden}
 .site-page .home-hero .waitlist-form:where(:has(.waitlist-fields > input:disabled))>.waitlist-status:not(:empty){
  position:absolute;grid-row:2 / 3;grid-column:1 / 2;inset:0;margin:0;display:grid;place-items:center;overflow-wrap:anywhere;
 }
}

/* Preserve the tall-desktop preview clearance with visible waitlist privacy.
   Reflow the form, not the example: its scale and calendar height stay intact. */
@media(min-width:1920px) and (min-height:1080px){
 .site-page.page-home main>.home-hero{gap:8px}
 .site-page.page-home .home-hero .launch-entry{max-width:620px}
 .site-page.page-home .home-hero .waitlist-form{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:16px;row-gap:4px}
 .site-page.page-home .home-hero .release-label{grid-column:1;grid-row:1;align-self:end;margin-bottom:0}
 .site-page.page-home .home-hero .waitlist-form>small{grid-column:1;grid-row:2;align-self:start;margin-top:0}
 .site-page.page-home .home-hero .waitlist-fields{grid-column:2;grid-row:1 / 3;align-self:center}
 .site-page.page-home .home-hero .waitlist-fields input,
 .site-page.page-home .home-hero .waitlist-fields button{min-height:50px}
 .site-page.page-home .home-hero .waitlist-form:where(:has(.waitlist-fields > input:disabled))>.waitlist-status:not(:empty){grid-column:2;grid-row:1 / 3}
 .site-page.page-home .home-hero .waitlist-form:where(:has(.waitlist-fields > input:enabled))>.waitlist-status:not(:empty){grid-column:1 / -1;grid-row:1;margin:0 0 8px}
 .site-page.page-home .home-hero .waitlist-form:has(>.waitlist-status:not(:empty)):where(:has(.waitlist-fields > input:enabled)) .release-label{grid-row:2}
 .site-page.page-home .home-hero .waitlist-form:has(>.waitlist-status:not(:empty)):where(:has(.waitlist-fields > input:enabled))>small{grid-row:3}
 .site-page.page-home .home-hero .waitlist-form:has(>.waitlist-status:not(:empty)):where(:has(.waitlist-fields > input:enabled)) .waitlist-fields{grid-row:2 / 4}
}

.app-demo .example-activity-trend { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:8px 12px; margin-bottom:8px; border:1px solid #cfd9cf; border-radius:10px; background:#f0f4ed; font-size:11px; flex-wrap:wrap; }
.app-demo .example-activity-trend strong { margin-left:6px; font-size:15px; }
.app-demo .example-growth { color:#296047; font-weight:600; font-size:10px; }
.app-demo .example-activity-trend { display:grid; grid-template-columns:minmax(0,1fr); align-content:center; justify-content:start; gap:3px; height:58px; min-height:58px; line-height:16px; }
.app-demo .example-activity-trend>span { white-space:nowrap; }

/* Initial chart values match the fictional default data without inline styles.
   The content security policy blocks server-rendered style attributes. */
.app-demo-bars>[data-demo-bar="morning"]{--bar-height:78%}
.app-demo-bars>[data-demo-bar="oven"]{--bar-height:100%}
.app-demo-bars>[data-demo-bar="usual"]{--bar-height:51%}
.app-demo-bars i{height:var(--bar-height)}

/* Owner-approved mobile simplification; keep the full example on desktop. */
@media(max-width:1023px){
 .page-home .demo-stage.app-demo{display:none}
}
