/* Metrono's white studio direction. Shared across every homepage section. */
:root {
  --ink: #1d1d1f;
  --paper: #fff;
  --muted: #626267;
  --line: #1d1d1f1c;
  --orange: #ff4d00;
  --zc-bg: #fff;
  --zc-surface: #f5f5f7;
  --zc-border: #d2d2d7;
  --zc-text: #1d1d1f;
  --zc-text-muted: #626267;
  --zc-font-sans: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}
body.zc-body { background: var(--paper); color: var(--ink); font-family: var(--zc-font-sans); }
.zc-topbar, .zc-topbar.is-scrolled {
  color: var(--ink); background: #ffffffdd; backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); border-bottom: 1px solid #1d1d1f0a;
}
.zc-topbar button, .zc-btn { color: var(--ink); border: 1px solid #d2d2d7; border-radius: 999px; }
.zc-topbar button:hover, .zc-btn:hover { background: var(--ink); color: white; }
.zc-topbar nav>a { opacity: 1; color: #424245; }
.zc-topbar nav>a:hover { color: var(--orange); }

/* Keep the header focused on access, with a compact signed-in state. */
.zc-topbar .home-nav { min-width:0; justify-content:flex-end; gap:10px; }
.zc-topbar .nav-signed-in { display:flex; align-items:center; gap:10px; min-width:0; }
.zc-topbar .nav-signed-in a, .zc-topbar #navRequest, .zc-topbar .nav-login {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding:11px 19px; border:1px solid #d2d2d7; border-radius:999px;
  font-size:13px; line-height:20px; font-weight:500; white-space:nowrap;
}
.zc-topbar .nav-greeting { min-width:0; max-width:220px; color:#626267; font-size:13px; line-height:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-right:6px; }
.zc-topbar .nav-studio, .zc-topbar #navRequest { flex-shrink:0; background:var(--ink); color:white; border-color:var(--ink); }
.zc-topbar .nav-studio:hover, .zc-topbar #navRequest:hover { background:#38383b; color:white; }
.zc-topbar .home-nav :is(a,button):focus-visible { outline:2px solid var(--orange); outline-offset:4px; }
@media(max-width:700px) {
  .zc-topbar .zc-logo { flex-shrink:0; }
  .zc-topbar .home-nav { flex:1; gap:6px; }
  .zc-topbar .nav-signed-in { gap:7px; }
  .zc-topbar .nav-signed-in a, .zc-topbar #navRequest, .zc-topbar .nav-login { padding:10px 12px; font-size:12px; }
  .zc-topbar .nav-greeting { max-width:150px; font-size:12px; margin-right:2px; }
}
@media(max-width:380px) {
  .zc-topbar { gap:8px; padding-inline:14px; }
  .zc-topbar .zc-logo { font-size:23px!important; }
  .zc-topbar .nav-login, .zc-topbar #navRequest { padding-inline:10px; }
}
.film-playback-status { max-width:1200px; margin:14px auto 0; font-size:14px; color:var(--muted); }

/* A white stage keeps the content itself at the center of the story. */
.content-journey { background: #fff; }
.content-journey .cinema-stage { color: var(--ink); background: #fff; }
.content-journey .cinema-shade {
  background: radial-gradient(ellipse at 74% 60%, #e8e8ed88, transparent 56%), linear-gradient(180deg, #fff 5%, #fafafa 100%);
}
.flow-copy h1 { font-weight: 500; letter-spacing: -.065em; }
.flow-copy>p:not(.cinema-label), .flow-agent span { color: var(--muted); }
.cinema-label { color: #6e6e73; }
.flow-film-link { color: var(--ink); border-color: #1d1d1f40; }
.flow-film-link:hover { color: var(--orange); border-color: var(--orange); }
.flow-agent>img { border: 2px solid #fff; box-shadow: 0 3px 14px #1d1d1f14; }
.source-card {
  padding: 6px; border: 1px solid #fff; border-radius: 18px;
  background: #fff; box-shadow: 0 28px 70px #1d1d1f1a, 0 2px 5px #1d1d1f0a;
}
.source-card video { border-radius: 13px; }
/* Keep a real image visible until the browser has rendered a video frame. */
.source-media { position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:13px; }
.source-media>img { display:block; width:100%; height:100%; object-fit:cover; object-position:58% 48%; }
.source-media>video { position:absolute; inset:0; width:100%; height:100%; opacity:0; }
.source-media.is-video-ready>video { opacity:1; }
.source-float { top:48%; }
.source-label { color: #fff; }
.source-card:after { background: radial-gradient(ellipse, #1d1d1f18, transparent 66%); }
.source-edge { background: #ff4d0022; box-shadow: 0 7px 18px 3px #ff4d0015; }
.edit-timeline, .learning-card, .next-recording {
  background: #fffffff2; color: var(--ink); border: 1px solid #1d1d1f12;
  box-shadow: 0 24px 65px #1d1d1f15; border-radius: 18px;
}
.timeline-caption, .learning-top, .learning-metrics, .learning-card small { color: var(--muted); }
.timeline-frames>img { opacity: .85; }
.timeline-playhead { background: var(--orange); box-shadow: 0 0 10px #ff4d0044; }
.timeline-wave { filter: brightness(.2); opacity: .55; }
.output-card { background: #fff; color: var(--ink); border: 1px solid #1d1d1f14; box-shadow: 0 25px 60px #1d1d1f18; border-radius: 16px; }
.output-media { border-radius: 10px; }
.output-hook, .format-mark, .story-art { color: white; }
.output-kind, .output-foot { color: #515154; }
.carousel-body { background: #f5f5f7; color: #1d1d1f; border-radius: 10px; }
.carousel-body p em, .sect-head h2 em, .transparency-hero h2 em, .ask-band h2 em, .benefit-range em {
  font-family: inherit; font-style: normal; font-weight: inherit;
}
.format-details, .platform-node { color: #626267; text-shadow: none; }
.platform-node>span:first-child {
  color: #1d1d1f; border-color: #1d1d1f14; background: #fff;
  box-shadow: 0 8px 24px #1d1d1f0e;
}
.distribution-paths path { stroke: #1d1d1f2b; }
.distribution-paths path.flow-pulse { stroke: var(--orange); }
.publish-note div>span { color: var(--muted); }
.activity-chart, .learning-insight { border-color: var(--line); }
.activity-chart>span { background: linear-gradient(#ff7033, #ff4d00); }
.learning-insight span:last-child { color: var(--orange); }
.flow-chapter-nav button { color: #6e6e73; }
.flow-chapter-nav button[aria-current] { color: var(--ink); border-color: var(--orange); }
.flow-chapter-nav button:focus-visible { outline-color: var(--orange); }
.cinema-foot { color: #626267; }
.cinema-progress { background: #1d1d1f15; }
.cinema-progress i { background: var(--orange); }

/* One palette, from the film through the invitation. */
.film-section, .sect, .team-section, .audience-section, .foot { background: #fff; color: var(--ink); }
.film-section { background: #f5f5f7; }
.film-heading h2, .sect-head h2, .transparency-hero h2 { font-weight: 500; }
.film-heading>p, .sect-head p, .pain-card p, .crew-card p, .crew-card b small { color: var(--muted); }
.film-player { border-radius: 24px; box-shadow: 0 24px 65px #1d1d1f12; }
.film-player>button, .film-player.is-preview>button {
  inset:50% auto auto 50%; transform:translate(-50%,-50%); width:max-content;
  max-width:calc(100% - 32px); padding:12px 20px; gap:14px; border:1px solid #fff;
  border-radius:999px; background:#ffffffeb; color:var(--ink); font-size:15px;
  text-shadow:none; box-shadow:0 5px 25px #0002;
}
.film-player .film-play-icon, .film-player.is-preview .film-play-icon { width:44px; height:44px; flex-shrink:0; border:0; font-size:17px; color:white; background:var(--ink); }
.film-player>button:focus-visible { outline:3px solid var(--orange); outline-offset:5px; }
@media(max-width:700px) {
  .film-player>button, .film-player.is-preview>button { padding:9px 15px; gap:10px; font-size:13px; }
  .film-player .film-play-icon, .film-player.is-preview .film-play-icon { width:34px; height:34px; font-size:14px; }
}
.crew-wrap { color: var(--ink); }
.team-section { background: #f5f5f7; }
.crew-face { border-radius: 18px; background: #e8e8ed; }
.crew-card b { font-weight: 500; }
.crew-foot { border-color: var(--line); }
.team-motion-toggle { color: var(--ink); border-color: #1d1d1f40; }
.pain-tag, .sect-head .kicker { color: #6e6e73; }
.benefit-art { background: #f5f5f7; border: 1px solid #1d1d1f08; border-radius: 20px; }
.benefit-cadence>span { color: #6e6e73; border-color: var(--line); }
.benefit-cadence>i { background: #fff; color: var(--ink); box-shadow: 0 6px 18px #1d1d1f10; border-radius: 8px; }
.benefit-cadence>i:nth-last-child(2) { background: #ff4d00; color: #fff; }
.benefit-cadence>i:last-child { background: #e8e8ed; color: var(--ink); }
.benefit-brand { color: var(--ink); }
.benefit-brand i { background: var(--ink); }
.benefit-brand i:nth-child(2) { background: #d2d2d7; }
.benefit-brand i:nth-child(3) { background: var(--orange); }
.benefit-range>img { opacity: 1; }
.benefit-range>span { color: var(--ink); text-shadow: none; right: 0; padding: 13px 15px; width: 54%; background: #f5f5f7ed; border-radius: 14px 0 0 14px; }

#record.transparency-section { background: #fff; color: var(--ink); }
#record.transparency-section:before { background: radial-gradient(ellipse at 80% 32%, #f5f5f7, transparent 62%); }
.transparency-since, .transparency-hero p, .live-connection, .reach-total>span,
.public-metrics article>span, .public-metrics article>small,
.transparency-bottom, .stats-method p { color: var(--muted); }
.live-dot { background: var(--orange); box-shadow: 0 0 0 5px #ff4d000d; animation: white-studio-pulse 3s ease-in-out infinite; }
.live-connection.is-connected:before { background: #248a3d; box-shadow: 0 0 0 3px #248a3d12; }
.reach-day b, .public-metrics article>small strong { color: #26773a; }
.orbit-rings i { border-color: #1d1d1f14; }
.orbit-rings i:nth-child(3) { border-color: #ff4d0033; }
.orbit-rings span:after { background: var(--orange); box-shadow: 0 0 20px 4px #ff4d0022; }
.public-metrics article, .transparency-bottom, .stats-method { border-color: var(--line); }
.transparency-bottom button, .stats-method summary { color: var(--ink); }

.comparison-table { color: #515154; }
.comparison-table th, .comparison-table td { border-color: #1d1d1f16; }
.comparison-table thead th { background: #fff; border-top-color: #1d1d1f20; }
.comparison-table thead th>span, .comparison-table tbody th, .comparison-table strong { color: var(--ink); }
.comparison-table thead .comparison-row-heading, .comparison-table small { color: #6e6e73; }
.comparison-table [data-option="metrono"] { background: #fff4ee; color: var(--ink); border-bottom-color: #1d1d1f16; }
.comparison-table [data-option="metrono"] small { color: #765544; }
.comparison-table [data-option="metrono"]:is(th) { border-top-color: var(--orange); }
.comparison-table thead th>span.zc-logo { color: var(--ink)!important; }
.comparison-table .comparison-price { color: var(--ink); }
.comparison-picker>span, .comparison-picker button { color: var(--muted); }
.comparison-picker>div { border-color: #1d1d1f16; background: #f5f5f7; border-radius: 12px; }
.comparison-picker button { border-radius: 9px; }
.comparison-picker button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px #1d1d1f0a; }
.comparison-section .experience-note { border-color: var(--line); }
.experience-note p, .tool-logos>span { color: var(--muted); }
.tool-logos>a, .tool-logos>a.tool-dark { background: #f5f5f7; border-radius: 9px; }

.audience-section { background: #f5f5f7; }
.audience-visual { border-radius: 22px; background: #e8e8ed; }
.audience-copy>span, .audience-copy p { color: var(--muted); }
.audience-copy button, .audience-copy>a { color: var(--ink); border-color: #1d1d1f40; }
.audience-archive { background: radial-gradient(ellipse at 50% 80%, #fff, #e8e8ed 85%); }
.audience-archive .audience-label { color: var(--muted); }
.archive-sheet { border-color: #fff; background: #fff; border-radius: 9px; box-shadow: 0 12px 32px #1d1d1f15; }
.archive-sheet span { color: var(--ink); }
.archive-line { background: #1d1d1f33; }
.archive-line:after, .archive-destination { color: var(--ink); }
.ask-band { background: #fff; color: var(--ink); }
.ask-meta, .ask-band p, .ask-seats, .foot small { color: var(--muted); }
.ask-cta { background: var(--ink); color: #fff; }
.ask-cta:hover { background: #38383b; color: #fff; }
.foot { background: #f5f5f7; border-top: 1px solid var(--line); }
.ask-sheet { background: #fff; border-radius: 24px; box-shadow: 0 25px 100px #1d1d1f24; }
.ask-sheet input, .ask-affix, .ask-cad, .ask-x { border-width: 1px; }
.ask-affix i { background: #f5f5f7; border-width: 1px; }
.ask-cell input:focus, .ask-affix:focus-within { box-shadow: 0 0 0 3px #ff4d0022; }
@keyframes white-studio-pulse { 50% { box-shadow: 0 0 0 8px #ff4d0008; } }
@media(max-width:700px) {
  .film-player { margin-inline: 0; width: 100%; border-radius: 16px; }
  .crew-face { border-radius: 13px; }
  .flow-copy h1 { font-weight: 500; }
  .content-journey .cinema-shade { background: radial-gradient(ellipse at 50% 67%, #e8e8ed88, transparent 55%), #fff; }
  .ask-sheet { border-radius: 24px 24px 0 0; }
}
@media(prefers-reduced-motion:reduce) { .live-dot { animation: none; } }

/* Align the hero's two focal points, then keep the remaining sections compact. */
@media(min-width:701px) {
  .flow-copy { top:20%; transform:none; width:35%; }
  .content-journey[data-chapter="0"] .flow-copy { top:48%; transform:translateY(-50%); }
  .flow-copy>p:not(.cinema-label) { max-width:350px; margin-bottom:0; }
  .flow-copy h1 { font-size:clamp(54px,5.7vw,88px); line-height:1.02; }
  .film-heading { grid-template-columns:1.2fr 1fr; align-items:end; gap:20px 70px; max-width:1200px; }
  .film-heading .section-index { grid-column:1/-1; }
  .film-heading>p { grid-column:2; max-width:380px; justify-self:end; }
  .film-player { max-width:1200px; }
}
.cinema-foot { justify-content:space-between; }
#record.transparency-section { padding:70px 0 55px; }
.transparency-hero { min-height:0; margin:28px 0; gap:44px; }
.transparency-hero h2 { font-size:clamp(38px,4.3vw,64px); margin:0 0 16px; line-height:1.05; }
.transparency-hero p { max-width:400px; font-size:16px; margin:0; }
.reach-orbit { min-height:210px; transform:none; align-content:center; gap:18px; border:1px solid #e8e8ed; border-radius:24px; background:linear-gradient(140deg,#fafafa,#f1f1f4); }
.reach-eyebrow { font-size:10px; letter-spacing:.14em; color:#626267; }
.reach-total>b { font-size:clamp(72px,8vw,118px); font-weight:500; }
.reach-total>span { margin-top:6px; }
.reach-total .reach-day { max-width:none; margin:20px 0 0; padding:0 16px; }
.public-metrics { gap:14px; margin:0; }
.public-metrics article { padding:22px 16px; border:1px solid #e8e8ed; border-radius:16px; background:#fff; }
.public-metrics article>b { font-size:clamp(29px,3vw,45px); margin:16px 0 0; }
.public-metrics article>small { line-height:1.5; }
.affiliate-invitation { padding:90px 0; background:#fff; color:var(--ink); border-top:1px solid var(--line); }
.affiliate-invitation .band { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.affiliate-invitation h2 { font-size:clamp(34px,4vw,60px); font-weight:500; line-height:1.08; letter-spacing:-.05em; margin:20px 0; }
.affiliate-invitation p { color:var(--muted); max-width:460px; line-height:1.6; }
.site-button { display:inline-flex; align-items:center; justify-content:center; gap:24px; padding:17px 24px; border:0; border-radius:999px; background:var(--ink); color:#fff; font:500 14px var(--zc-font-sans); text-decoration:none; cursor:pointer; }
.site-button:hover { background:#38383b; }
.foot .band { display:grid; grid-template-columns:1fr auto; gap:22px 30px; align-items:center; }
.foot nav { display:flex; gap:12px 24px; flex-wrap:wrap; grid-column:1/-1; border-top:1px solid var(--line); padding-top:24px; }
.foot nav a { color:#515154; text-decoration:none; font-size:12px; line-height:1.8; }
.foot nav a:hover { color:var(--orange); }
.foot small:last-child { grid-column:1/-1; }
@media(max-width:700px) {
  #record.transparency-section { padding:60px 0 36px; }
  .transparency-top { flex-direction:row; flex-wrap:wrap; align-items:center; gap:12px; }
  .transparency-top .kicker { font-size:9px; letter-spacing:.09em; }
  .transparency-hero { margin:28px 0 18px; }
  .transparency-hero h2 { font-size:36px; margin-bottom:12px; }
  .transparency-hero p { font-size:15px; max-width:none; }
  .reach-orbit { min-height:175px; margin-top:22px; gap:12px; border-radius:20px; }
  .reach-total>b { font-size:76px; }
  .reach-total .reach-day { margin-top:12px; }
  .public-metrics { gap:12px; }
  .public-metrics article { padding:18px 14px; }
  .public-metrics article>b { font-size:34px; margin:12px 0 0; }
  .public-metrics article:last-child { display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 12px; }
  .public-metrics article:last-child>b { grid-column:2; grid-row:1/3; margin:0; }
  .transparency-bottom { gap:8px; font-size:11px; }
  .transparency-bottom button { padding:12px 0; }
  .affiliate-invitation { padding:60px 0; }
  .affiliate-invitation .band { display:block; }
  .affiliate-invitation .site-button { margin-top:15px; font-size:13px; gap:12px; }
  .foot .band { grid-template-columns:1fr; gap:18px; }
  .foot nav { display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; }
}

.transparency-since { font-size:12px; padding:8px 12px; border-radius:999px; background:#f5f5f7; color:#626267; white-space:nowrap; }
.stats-status { font-size:12px; color:var(--muted); margin:18px 0 0; }
@media(max-width:700px) { .transparency-since { font-size:11px; padding:7px 10px; } }

/* On phones, fit the whole scene into the space between the copy and controls.
   svh includes the space taken by the browser's address and navigation bars. */
@media(max-width:700px) {
  .content-journey .cinema-stage { height:100svh; min-height:0; }
  .content-journey.is-static { height:100svh; min-height:0; }
  .flow-copy { top:82px; transform:none; }
  .flow-copy h1 { font-size:clamp(28px,4.8svh,40px); margin-bottom:14px; }
  .flow-copy .cinema-label { font-size:9px; margin-bottom:10px; }
  .flow-copy>p:not(.cinema-label) { display:block; font-size:13px; line-height:1.45; margin:0; max-width:340px; }
  .flow-agent { margin-top:12px; }
  .flow-world {
    inset:var(--flow-canvas-top,40svh) 0 auto; height:var(--flow-canvas-height,78vw);
    transform:scale(var(--flow-canvas-scale,1)); transform-origin:center top;
  }
  .source-float { left:50%; top:50%; }
  .format-details { bottom:1%; }
  .flow-chapter-nav { bottom:calc(54px + env(safe-area-inset-bottom)); }
  .content-journey .cinema-foot { bottom:calc(12px + env(safe-area-inset-bottom)); }
}
@media(max-width:700px) and (max-height:600px) {
  .flow-copy { top:72px; }
  .flow-copy h1 { font-size:28px; margin-bottom:10px; }
  .flow-copy>p:not(.cinema-label) { font-size:12px; }
  .flow-agent { margin-top:8px; }
  .flow-agent>img { width:24px; height:24px; }
}
