@import url('./fonts.css');
@property --header-progress { syntax: '<number>'; inherits: true; initial-value: 0; }
:root { --ink:#1a1a1a; --paper:#fff; --muted:#737980; --line:#dedee9; --gutter:clamp(24px,5vw,88px); --title:clamp(36px,3.8vw,60px); --header-progress:0; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth;  scrollbar-width:none; }
html::-webkit-scrollbar { display:none; }
body { margin:0; font-family:'Geist',Arial,sans-serif; color:var(--ink); background:var(--paper); -webkit-font-smoothing:antialiased; }
h1,h2,h3,p,figure { margin:0; }
a { color:inherit; text-decoration:none; }
button { color:inherit; font:inherit; background:none; border:0; cursor:pointer; }
button:disabled { opacity:.25; cursor:default; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible,input:focus-visible,select:focus-visible { outline:2px solid #527b70; outline-offset:5px; }
img { display:block; max-width:100%; }
[hidden] { display:none!important; }
::selection { background:#d9eee7; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:100; background:white; padding:12px; }
.skip-link:focus { top:12px; }
.deck-header { position:fixed; inset:0 0 auto; z-index:30; height:86px; padding:0 var(--gutter); display:flex; align-items:center; justify-content:space-between; background-color:rgba(238,238,244,calc(.5 * var(--header-progress))); backdrop-filter:blur(calc(15px * var(--header-progress))); -webkit-backdrop-filter:blur(calc(15px * var(--header-progress))); border-bottom:1px solid rgba(255,255,255,calc(.25 * var(--header-progress))); }
.identity { display:flex; align-items:center; }
.wordmark { width:76px; height:33px; }
.header-demo { display:inline-flex; align-items:center; justify-content:center; padding:10px 16px; border-radius:6px; background:#000; color:#fff; font-size:16px; line-height:1.25; white-space:nowrap; }
.header-demo:hover { background:#292929; }
.contents-toggle { display:flex; flex:none; align-items:center; gap:8px; padding:10px 0; font-size:12px; white-space:nowrap; }
.contents-toggle>span { font-size:23px; line-height:1; }
.deck-footer { position:fixed; inset:auto 0 0; z-index:30; height:62px; padding:0 var(--gutter); display:flex; align-items:center; justify-content:space-between; gap:24px; background:rgba(255,255,255,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); font-size:12px; }
.nav-position { display:flex; min-width:0; gap:24px; align-items:center; }
.slide-count { flex:none; min-width:48px; font-variant-numeric:tabular-nums; }
#current-label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); }
.deck-controls { display:flex; flex:none; align-items:center; gap:22px; }
.nav-arrow { display:grid; place-items:center; width:32px; height:36px; }
.nav-arrow svg { width:22px; height:22px; }
.reseller-entry { padding:10px; margin-right:6px; color:#a5a9ad; }
.reseller-entry:hover { color:var(--ink); }
.slide { min-height:100svh; padding:112px var(--gutter) 88px; display:flex; align-items:center; position:relative;  overflow:clip; }
.slide-inner { width:100%; max-width:1480px; margin:auto; }
.slide h2 { font-size:var(--title); font-weight:400; letter-spacing:-.04em; line-height:1.1; text-wrap:balance; }
.welcome { background:#fff url('../media/brand-mint.svg') no-repeat right top / 100% auto; }
.welcome-layout { width:100%; max-width:1640px; margin:auto; display:grid; grid-template-columns:minmax(280px,.34fr) minmax(0,.66fr); gap:clamp(34px,4vw,72px); align-items:center; }
.welcome-copy { min-width:0; }
.welcome h1 { font-family:'Geist',Arial,sans-serif; font-size:clamp(46px,4.2vw,72px); font-weight:500; line-height:1.08; letter-spacing:-.045em; text-wrap:balance; max-width:12ch; }
.welcome-copy>p { font-size:clamp(20px,1.65vw,26px); line-height:1.4; letter-spacing:-.02em; margin-top:28px; max-width:25ch; }
.welcome-channels { display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; margin:26px 0 0; padding:0; list-style:none; color:#666666; }
.welcome-channels li { display:flex; align-items:center; gap:8px; font-size:clamp(14px,1.05vw,16px); line-height:1.3; white-space:nowrap; }
.welcome-channels svg { width:22px; height:22px; flex:none; }
.welcome-trust { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:28px 0 0; padding:0; list-style:none; }
.welcome-trust li { display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:6px 10px; border:1px solid rgba(26,26,26,.1); border-radius:7px; background:rgba(255,255,255,.72); color:#50565a; font-size:12px; font-weight:500; line-height:20px; letter-spacing:-.01em; white-space:nowrap; }
.welcome-trust img { width:20px; height:20px; flex:none; }
.welcome-trust .trust-flag { height:10px; border-radius:1px; box-shadow:0 0 0 1px rgba(26,26,26,.06); }
.welcome-product { min-width:0; width:100%; }
#workspace-inbox { display:block; width:100%; min-height:514px; }
.text-link { display:inline-flex; align-items:center; gap:24px; padding:10px 0; font-size:15px; line-height:1.4; }
.text-link:hover { color:#527b70; }
.text-link>span { transition:transform .16s ease; }
.text-link:hover>span { transform:translateX(3px); }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:36px; margin-bottom:24px; }
.section-head h2 { max-width:27ch; }
.section-head p { color:var(--muted); font-size:17px; line-height:1.5; flex-shrink:0; padding-bottom:4px; }
.product-slide .slide-inner { max-width:1440px; display:flex; flex-direction:column; height:calc(100svh - 188px); min-height:460px; }
.product-slide .section-head { flex-shrink:0; }
.product-slide { padding-top:106px; padding-bottom:82px; }
.product-slide h2 { font-size:clamp(34px,3.15vw,52px); }
.scene-window { width:100%; flex:1; min-height:0; display:flex; justify-content:center; margin:auto; overflow:auto; scrollbar-width:thin; }
.scene-viewport { height:100%; width:auto; max-width:100%; aspect-ratio:var(--scene-ratio,1.7333); position:relative; background:transparent; border-radius:0; overflow:hidden; }
.scene-viewport iframe { width:100%; height:100%; border:0; display:block; background:transparent; }
.scene-loading { position:absolute; inset:0; display:grid; place-items:center; color:var(--muted); font-size:14px; }
.scene-viewport[data-ready='true'] .scene-loading { display:none; }
.scene-retry { position:absolute; inset:auto 18px 18px auto; background:white; border:1px solid var(--line); border-radius:6px; padding:9px 14px; font-size:13px; }
.scene-story-tabs { --folder-font-size:15px; --folder-height:46px; --folder-headroom:4px; --folder-pad-left:20px; --folder-pad-right:48px; --folder-gap:8px; position:relative; z-index:1; margin-bottom:-1px; }
.product-slide .scene-viewport.scene-story-panel { z-index:2; border:1px solid var(--line); border-radius:0 14px 14px 14px; background:#fff; }
.scene-story-folder { position:relative; flex:none; }
.scene-story-tabs .yma-folder-tab { z-index:1; }
.scene-folder-replay { position:absolute; z-index:2; top:13px; right:20px; display:grid; place-items:center; width:24px; height:24px; padding:0; border-radius:5px; color:#777780; }
.scene-folder-replay:hover { color:#18181b; background:#00000008; }
.scene-story-tabs .yma-folder-tab.next .lbl { animation:none; color:#18181b; }
.scene-story-tabs .yma-folder-tab.next .shape path { animation:none; fill:#f1e8fa; stroke:#d6c5e6; }
.commercial-slide .slide-inner { max-width:1250px; }
.commercial-slide h2 { margin-bottom:36px; }
#s6 { align-items:flex-start; }
#s6 .slide-inner { margin:0 auto; }
.calculator-entry { margin-top:28px; border-top:1px solid var(--line); padding-top:20px; width:100%; justify-content:space-between; }
dialog { color:var(--ink); background:white; padding:32px; border:1px solid var(--line); }
dialog::backdrop { background:rgba(20,30,27,.3); backdrop-filter:blur(5px); }
.contents-dialog { width:min(780px,calc(100% - 32px)); max-height:calc(100dvh - 40px); }
.dialog-heading { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:20px; margin-bottom:24px; }
.dialog-heading h2 { font-weight:400; font-size:30px; letter-spacing:-.03em; }
.dialog-close { width:36px; height:36px; font-size:27px; }
.contents-list { display:grid; grid-template-columns:1fr 1fr; column-gap:32px; }
.contents-list a { display:flex; align-items:center; justify-content:space-between; padding:19px 0; border-top:1px solid var(--line); font-size:16px; }
.contents-list a::after { content:'↗'; color:#a4aaa6; }
.contents-list a[aria-current='true'] { font-weight:500; }
.audience-choice { justify-self:end; --folder-gap:8px; --folder-pad-left:18px; --folder-pad-right:34px; }
body:has(dialog[open]) { overflow:hidden; }
@media(min-width:901px) and (max-height:800px) {
  .deck-header { height:70px; } .deck-footer { height:54px; }
  .slide { padding-top:88px; padding-bottom:70px; }
  .product-slide h2 { font-size:36px; }
  .section-head { margin-bottom:15px; }
  .product-slide .slide-inner { height:calc(100svh - 158px); }
}
@media(max-width:1100px) {
  .welcome-layout { grid-template-columns:1fr; gap:36px; }
  .welcome-copy { display:grid; grid-template-columns:1fr .85fr; align-items:end; gap:20px 35px; }
  .welcome-copy h1 { grid-row:1 / span 2; }
  .welcome-channels { grid-column:2; grid-row:2; margin-top:0; align-self:start; }
  .welcome-trust { grid-column:1 / -1; margin-top:0; }
  .welcome h1 { font-size:clamp(42px,5.2vw,56px); max-width:15ch; }
  .welcome-copy>p { margin:0; font-size:21px; }
  .section-head { display:block; } .section-head p { margin-top:14px; }
  .scene-window { width:100%; }
  .product-slide .slide-inner { height:auto; min-height:0; display:block; }
  .scene-viewport { width:100%; height:auto; }
}
@media(max-width:700px) {
  :root { --gutter:24px; --title:36px; }
  .deck-header { height:68px; } .wordmark { width:64px; height:29px; }
  .deck-footer { height:58px; gap:16px; } .nav-position { gap:12px; } #current-label { display:none; }
  .deck-controls { gap:8px; } .reseller-entry { margin-right:0; padding:8px; }
  .slide { padding-top:94px; padding-bottom:84px; min-height:100svh; }
  .welcome { background-size:auto 650px; }
  .welcome-copy { display:block; }
  .welcome-channels { margin-top:24px; gap:14px 18px; }
  .welcome-trust { margin-top:24px; }
  .welcome h1 { font-size:clamp(40px,10vw,54px); max-width:13ch; }
  .welcome-copy>p { margin-top:22px; font-size:21px; }
  #workspace-inbox { min-height:566px; }
  .product-slide h2 { font-size:34px; }
  .scene-window { display:block; overflow-x:auto; width:calc(100% + 2 * var(--gutter)); margin-left:calc(-1 * var(--gutter)); padding:0 var(--gutter); }
  .scene-viewport { min-width:760px; max-width:none; }
  .contents-list { grid-template-columns:1fr; } .contents-list a { padding:14px 0; }
  .contents-dialog { padding:24px; }
  .dialog-heading { grid-template-columns:1fr auto; gap:12px; }
  .dialog-close { grid-column:2; grid-row:1; }
  .audience-choice { grid-column:1 / -1; grid-row:2; justify-self:start; --folder-font-size:14px; --folder-pad-left:14px; --folder-pad-right:32px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }


/* Product stories follow the welcome screen: value beside the actual product. */
.product-slide .slide-inner {
  max-width:1640px; height:auto; min-height:0; display:grid;
  grid-template-columns:minmax(280px,.29fr) minmax(0,.71fr);
  gap:clamp(32px,3.5vw,60px); align-items:center;
}
.product-slide .section-head { display:block; margin:0; min-width:0; }
.product-slide h2 { font-size:clamp(36px,3.2vw,56px); line-height:1.12; max-width:15ch; text-wrap:balance; }
.product-slide .section-head .scene-value {
  font-size:clamp(19px,1.45vw,24px); line-height:1.45; color:var(--ink);
  max-width:28ch; padding:0; margin-top:25px; min-height:6em; text-wrap:pretty;
}
.product-slide .scene-window { width:100%; display:block; overflow:visible; margin:0; }
.product-slide .scene-viewport { width:100%; height:auto; max-width:100%; background:transparent; border-radius:0; }
@media(max-width:1180px) {
  .product-slide .slide-inner { grid-template-columns:1fr; gap:28px; }
  .product-slide .section-head { display:grid; grid-template-columns:1fr 1fr; gap:12px 36px; align-items:center; }
  .product-slide h2 { font-size:36px; max-width:22ch; }
  .product-slide .section-head .scene-value { margin:0; min-height:0; max-width:34ch; font-size:19px; }
  .product-slide .scene-window { width:100%; }
}
@media(max-width:700px) {
  .product-slide .section-head { display:block; }
  .product-slide h2 { font-size:34px; max-width:22ch; }
  .product-slide .section-head .scene-value { margin-top:18px; min-height:5.8em; font-size:19px; }
  .product-slide .scene-window { overflow-x:auto; width:calc(100% + 2 * var(--gutter)); margin-left:calc(-1 * var(--gutter)); padding:0 var(--gutter); }
  .product-slide .scene-viewport { min-width:760px; max-width:none; }
  .scene-story-tabs { --folder-font-size:13px; --folder-pad-left:12px; --folder-pad-right:42px; --folder-gap:4px; }
  .scene-folder-replay { right:16px; }
}
