@font-face {
  font-family: Inter;
  src: url('./assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper:#f7f7f4;
  --on-image-fill:#ffffff24;
  --wash-spruce:#384a46;
  --wash-sage:#a5ae98;
  --wash-lichen:#a79966;
  --wash-granite:#d7b488;
  --surface:#f2f1ed;
  --wash:#ebeae5;
  --wash-hover:#e1e0db;
  --rule:color-mix(in oklab, var(--ink) 10%, transparent);
  --ink:#26251e;
  --muted:color-mix(in oklab, var(--ink) 69%, transparent);
  --ink-hover:#3b3a33;
  --accent:#f54e00;
  --display:Georgia, "Times New Roman", serif;
  --glide-ease:cubic-bezier(.22,.8,.24,1);
  --glide-time:300ms;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  color-scheme:light; font:100%/1.5 Inter, system-ui, sans-serif;
  color:var(--ink); background:var(--paper);
}
* { box-sizing: border-box; }
.icon {
  display:inline-block; flex:none; width:16px; height:16px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round; pointer-events:none;
}
body, h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2, .professions h3, .features dt { letter-spacing:-.012em; }
p, dd, .nav-panel small { font-weight:380; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, .button, summary { cursor: pointer; }
:where(a, button, summary) { -webkit-tap-highlight-color:color-mix(in srgb, currentColor 12%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.column { width: min(640px, calc(100% - 48px)); margin-inline: auto; }
.intro { width:min(820px, calc(100% - 48px)); padding-top:88px; text-align:center; }
.intro .subhead { max-width:53ch; margin:16px auto 0; text-wrap:balance; }
.intro .actions { justify-content:center; }
.subhead { text-wrap: pretty; }
.intro h2, .product-copy h2, .section h2 {
  font:400 clamp(2rem, 3vw, 2.875rem)/1.16 var(--display);
  text-wrap:balance;
}
.intro h2 { font-size:clamp(2.25rem, 4vw, 3.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.button { background:var(--surface); border:1px solid var(--rule); color:var(--ink); border-radius: 8px; padding: 9px 16px; font-size: .875rem; font-weight: 530; box-shadow: 0 1px 2px #00000005; }
.button:is(:hover,:focus-visible) { background: var(--wash); }
.actions .button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border:0; border-radius:99px; background:var(--wash); box-shadow:none; }
.actions .button:not(.primary):is(:hover,:focus-visible) { background:var(--wash-hover); }
.actions .button.primary { background:var(--ink); color:var(--paper); }
.actions .button.primary:is(:hover,:focus-visible) { background:var(--ink-hover); }
#workspace { scroll-margin-top: 20px; }
#workspace {
  padding: 62px 24px 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(to bottom, transparent, var(--wash));
  overflow: hidden;
}
/* The frame uses the same desktop and phone breakpoints as the real workspace. */
.chat-demo { width:min(100%, 1200px); margin:0 auto; }
.demo-stage { position:relative; height:clamp(500px, 70svh, 720px); overflow:hidden; border:1px solid var(--rule); border-radius:16px; background:var(--paper); }
.demo-stage iframe, .demo-poster, .demo-poster img { display:block; width:100%; height:100%; border:0; }
.demo-poster { position:absolute; inset:0; pointer-events:none; }
.demo-poster img { object-fit:cover; object-position:top center; }
.chat-demo[data-ready] .demo-poster { display:none; }
@media (max-width:820px) {
  .demo-stage { height:clamp(390px, 70svh, 600px); }
}
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#workspace { position: relative; isolation: isolate; }
#workspace::before {
  position:absolute; z-index:-1; inset:35% 0 0; content:""; pointer-events:none;
  background-image:radial-gradient(circle, var(--muted) 1px, transparent 1.4px);
  background-size:12px 12px; opacity:.34;
  mask-image:linear-gradient(to top, black, transparent);
}
.site-header {
  position:fixed; inset:0 0 auto; z-index:12; color:var(--paper);
  --nav-tint:transparent;
  --nav-highlight:var(--on-image-fill);
  --menu-bg:var(--ink);
  --menu-ink:var(--paper);
  --menu-muted:color-mix(in srgb, var(--paper) 72%, var(--ink));
  --menu-edge:color-mix(in srgb, var(--paper) 20%, var(--ink));
  --menu-active:var(--ink-hover);
}
.site-header[data-paper] { color:var(--ink); --nav-tint:color-mix(in srgb, var(--paper) 94%, transparent); --nav-highlight:var(--wash); }
.nav-backdrop { position:absolute; inset:0 0 -24px; pointer-events:none; }
.nav-backdrop > i,.nav-backdrop::after { position:absolute; inset:0; }
.nav-backdrop > i {
  -webkit-backdrop-filter:blur(var(--radius)); backdrop-filter:blur(var(--radius));
  -webkit-mask-image:var(--fade); mask-image:var(--fade);
}
.nav-backdrop > i:nth-child(1) { --radius:3px; --fade:linear-gradient(black 62%,transparent 100%); }
.nav-backdrop > i:nth-child(2) { --radius:8px; --fade:linear-gradient(black 40%,transparent 84%); }
.nav-backdrop > i:nth-child(3) { --radius:16px; --fade:linear-gradient(black 16%,transparent 68%); }
.nav-backdrop::after {
  content:""; background-color:var(--nav-tint);
  -webkit-mask-image:linear-gradient(black 12%,rgb(0 0 0 / 80%) 48%,transparent);
  mask-image:linear-gradient(black 12%,rgb(0 0 0 / 80%) 48%,transparent);
}
.site-nav {
  position:relative; max-width:1344px; margin:auto; padding:16px clamp(16px,3vw,40px);
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; font-size:.9rem; line-height:1.4;
}
.site-header[data-paper] .site-nav { max-width:1080px; }
.nav-brand { justify-self:start; display:inline-flex; align-items:center; gap:9px; font-size:1.35rem; font-weight:620; letter-spacing:-.045em; }
.nav-brand::before { content:""; flex:none; width:.85em; height:.85em; background:currentColor; mask:url("./assets/taiga.svg?v=2") center / contain no-repeat; }
.nav-sections,.nav-actions { display:flex; align-items:center; gap:5px; }
.nav-actions { justify-self:end; white-space:nowrap; gap:8px; }
.nav-sections > a,.nav-group > summary,.nav-actions a { display:inline-flex; align-items:center; padding:0 16px; min-height:40px; border-radius:32px; }
.nav-group > summary { gap:8px; font-weight:inherit; }
.nav-group > summary .icon { width:14px; height:14px; opacity:.65; }
.nav-group[open] > summary,.nav-sections > a:hover,.nav-signin { background:var(--nav-highlight); }
.nav-cta { background:var(--ink); color:var(--paper); }
.nav-cta:hover { background:var(--ink-hover); }
.nav-signin:hover { background:color-mix(in srgb, var(--nav-highlight) 90%, currentColor); }
.nav-toggle { display:none; }
.nav-panel {
  position:absolute; top:calc(100% - 10px); left:50%; transform:translateX(-50%);
  background:var(--menu-bg); color:var(--menu-ink); border-radius:16px; box-shadow:0 12px 36px #26251e30;
}
.product-menu { display:grid; grid-template-columns: .82fr 1.18fr; width:min(600px,94vw); overflow:hidden; }
.nav-preview { position:relative; margin:6px 6px 6px 0; overflow:hidden; border-radius:10px; background:var(--menu-active); }
.nav-preview img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; opacity:0; }
.product-menu:not([data-current]) [data-image="workspace"],
.product-menu[data-current="workspace"] [data-image="workspace"],
.product-menu[data-current="files"] [data-image="files"],
.product-menu[data-current="spaces"] [data-image="spaces"],
.product-menu[data-current="editor"] [data-image="editor"] { opacity:1; --preview-scale:1; }
.nav-surface { display:none; }
:where(.nav-list, footer nav) { position:relative; isolation:isolate; }
:where(.nav-list, footer nav)::before, .site-nav[data-enhanced]::before {
  content:""; position:absolute; z-index:-1; pointer-events:none;
  left:var(--highlight-left); top:var(--highlight-top); width:var(--highlight-width); height:var(--highlight-height);
  border-radius:var(--highlight-radius,32px); background:var(--highlight-fill); opacity:0;
}
.site-nav[data-enhanced]::before { display:none; }
.nav-list { --highlight-radius:8px; --highlight-fill:var(--menu-active); }
:where(.nav-list, footer nav)[data-highlight]::before { opacity:1; }
@media(min-width:901px) {
  .site-nav[data-enhanced] { isolation:isolate; }
  .site-nav[data-enhanced]::before { display:block; --highlight-fill:var(--nav-highlight); }
  .site-nav[data-panel]::before { opacity:1; }
  .site-nav[data-enhanced] .nav-group[open] > summary { background:transparent; }
  .site-nav[data-enhanced] :is(.nav-surface, .nav-panel) { left:var(--panel-left,50%); }
  .site-nav[data-enhanced] .nav-surface {
    display:block; position:absolute; pointer-events:none; top:calc(100% - 10px);
    width:var(--panel-width); height:var(--panel-height);
    border-radius:16px; box-shadow:0 12px 36px #26251e30;
    background:var(--menu-bg); opacity:0; translate:0 -4px;
  }
  .site-nav[data-panel] .nav-surface { opacity:1; translate:none; }
  .site-nav[data-enhanced] .nav-panel { transform:none; background:transparent; box-shadow:none; }
  .nav-group:not([open]) .nav-panel { pointer-events:none; }
  @supports selector(::details-content) {
    .site-nav[data-enhanced] .nav-group::details-content {
      position:absolute; top:calc(100% - 10px); left:var(--panel-left);
      width:var(--panel-width); height:var(--panel-height); overflow:clip; border-radius:16px;
    }
    .site-nav[data-enhanced] .nav-panel { position:relative; inset:auto; }
    .nav-group:not([open])::details-content { pointer-events:none; }
  }
}
.nav-panel small { display:block; color:var(--menu-muted); font-size:.81rem; margin-top:4px; line-height:1.45; }
.nav-list { padding:10px; display:grid; align-content:center; gap:2px; }
.nav-list a { padding:12px; display:flex; align-items:center; gap:12px; border-radius:8px; }
.nav-panel-foot { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; padding:12px 20px; border-top:1px solid var(--menu-edge); font-size:.85rem; }
.nav-panel a:focus-visible { outline:2px solid var(--accent); outline-offset:-3px; }
.nav-panel a:is(:hover,:focus-visible),
.product-menu:not([data-current]) [data-preview="workspace"],
.product-menu[data-current="workspace"] [data-preview="workspace"],
.product-menu[data-current="files"] [data-preview="files"],
.product-menu[data-current="spaces"] [data-preview="spaces"],
.product-menu[data-current="editor"] [data-preview="editor"] { background:var(--menu-active); }
.site-nav .nav-list[data-highlight] > a { background:transparent; }
.resource-menu { width:320px; }
@media(prefers-reduced-motion:no-preference) {
  .site-nav { transition:max-width 260ms ease; }
  .nav-backdrop::after { transition:background-color 220ms ease; }
  :where(.nav-list, footer nav)::before { transition:opacity 140ms ease; }
  :where(.nav-list, footer nav)[data-glide]::before {
    transition:left var(--glide-time) var(--glide-ease), top var(--glide-time) var(--glide-ease),
      width var(--glide-time) var(--glide-ease), height var(--glide-time) var(--glide-ease), opacity 140ms ease;
  }
  .nav-preview img {
    transform:scale(var(--preview-scale,1.018));
    transition:opacity 180ms ease, transform 240ms cubic-bezier(.2,.8,.2,1);
  }
  @media(min-width:901px) {
    .site-nav {
      --panel-travel:left var(--glide-time) var(--glide-ease), width var(--glide-time) var(--glide-ease), height var(--glide-time) var(--glide-ease);
    }
    .nav-surface { transition:opacity 140ms ease, translate 180ms ease-out; }
    .site-nav::before { transition:opacity 140ms ease; }
    .site-nav[data-morph]::before,
    .site-nav[data-morph] .nav-surface { transition:var(--panel-travel), opacity 140ms ease; }
    .nav-group::details-content {
      opacity:0;
      transition:opacity 100ms ease, content-visibility 100ms allow-discrete;
    }
    .nav-group[open]::details-content { opacity:1; transition-duration:180ms; }
    .site-nav[data-morph] .nav-group::details-content {
      transition:var(--panel-travel), opacity 100ms ease, content-visibility 100ms allow-discrete;
    }
    .site-nav[data-morph] .nav-group[open]::details-content {
      transition:var(--panel-travel), opacity 170ms ease 30ms, content-visibility 0s;
    }
    .nav-panel { translate:0 -4px; transition:translate 200ms var(--glide-ease); }
    .site-nav[data-morph] .nav-panel { translate:var(--content-offset) 0; }
    .site-nav .nav-group[open] .nav-panel { translate:0 0; }
    .nav-group[open] .nav-preview { animation:preview-enter 220ms ease-out; }
    @keyframes preview-enter { from { opacity:.72; translate:0 3px; } }
  }
}
@media(max-width:900px) {
  .site-nav { padding:10px 16px; grid-template-columns:1fr auto auto; gap:8px; }
  .nav-brand { grid-column:1; grid-row:1; }
  .nav-actions { grid-column:2; grid-row:1; font-size:.82rem; gap:5px; }
  .nav-actions a { min-height:44px; padding-inline:12px; }
  .nav-toggle { grid-column:3; grid-row:1; width:44px; height:44px; padding:0; color:inherit; background:none; border:0; }
  .site-nav[data-enhanced] .nav-toggle { display:grid; place-content:center; gap:5px; }
  .nav-toggle .icon { grid-area:1/1; width:20px; height:20px; }
  .nav-toggle[aria-expanded="false"] .icon:last-child,
  .nav-toggle[aria-expanded="true"] .icon:first-child { display:none; }
  .nav-sections { grid-column:1/-1; justify-content:center; }
  .site-nav[data-enhanced] .nav-sections { display:none; }
  .site-nav[data-menu] { height:100dvh; background:var(--menu-bg); color:var(--menu-ink); grid-template-rows:44px minmax(0,1fr) auto; padding:12px 20px max(20px,env(safe-area-inset-bottom)); gap:16px; }
  .site-nav[data-menu] .nav-sections { display:block; grid-row:2; align-self:stretch; min-height:0; overflow:auto; overscroll-behavior:contain; padding-top:12px; }
  .site-header .site-nav[data-menu] :is(.nav-sections > a,.nav-group > summary) { display:flex; width:100%; min-height:50px; padding:0; background:none; border-radius:0; font-size:1rem; }
  .site-nav[data-menu] .nav-panel { width:100%; position:static; transform:none; border:0; box-shadow:none; border-radius:0; }
  .site-nav[data-menu] .nav-preview { display:none; }
  .site-nav[data-menu] .product-menu { display:block; }
  .site-nav[data-menu] .nav-panel-foot { border:0; padding:10px 12px; }
  .site-nav[data-menu] .nav-list { position:relative; padding:0; }
  .site-nav[data-menu] .nav-actions { grid-row:3; grid-column:1/-1; justify-self:stretch; flex-direction:column-reverse; }
  .site-nav[data-menu] .nav-actions a { width:100%; min-height:44px; justify-content:center; }
  .site-header .site-nav[data-menu] .nav-signin { color:var(--menu-ink); background:transparent; }
  .site-nav[data-menu] .nav-cta { color:var(--menu-bg); background:var(--menu-ink); }
  .site-nav[data-menu] :focus-visible { outline-color:var(--accent); }
  .site-header:has(.site-nav[data-menu]) .nav-backdrop { display:none; }
  body:has(.site-nav[data-menu]) { overflow:hidden; }
}
@media(max-width:370px) {
  .site-nav { padding-inline:10px; gap:5px; }
  .nav-actions a { padding-inline:8px; }
}
#workspace, .section h2 { scroll-margin-top:80px; }
.section { padding-top:clamp(72px, 11vw, 144px); }
.section h2 { font-size:clamp(1.875rem, 3vw, 2.5rem); }
.subhead { margin-top:8px; font-size:clamp(1rem, 1.5vw, 1.125rem); line-height:1.5; color:var(--muted); }
dt { font-weight:550; }
dd, details p { color:var(--muted); }
dd { margin-top:4px; }
.features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(32px,5vw,56px) clamp(24px,5vw,52px); margin-top:clamp(32px,5vw,56px); }
.features dt .icon { display:block; width:24px; height:24px; margin-bottom:16px; color:var(--muted); }
.features dt { font:400 1.45rem/1.2 var(--display); -webkit-text-stroke:.012em currentColor; }
.features dd { margin-top:4px; }
.features .feature-action { margin-top:14px; }
.feature-action a { min-height:44px; display:inline-flex; gap:10px; align-items:center; }
@media(max-width:600px) {
  .features { grid-template-columns:1fr; gap:0; margin-inline:-24px; }
  .features > div { padding:32px 24px; }
  .features > div:nth-child(odd) { background:var(--surface); }
  .features dt { display:flex; align-items:center; gap:12px; }
  .features dt .icon { margin:0; width:21px; height:21px; }
  .features dd { margin-top:10px; }
  .features .feature-action { margin-top:16px; }
}
.professions {
  margin-top:clamp(80px, 9vw, 136px); padding-inline:clamp(16px, 2vw, 32px);
  scroll-margin-top:96px;
}
.professions h2 { font:400 clamp(2.25rem, 4vw, 3.25rem)/1.12 var(--display); }
.profession-grid {
  display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:32px clamp(16px, 1.5vw, 24px);
  margin:clamp(24px, 3vw, 40px) 0 0; padding:0; list-style:none;
}
.professions figure {
  position:relative; isolation:isolate; display:grid; align-items:end; aspect-ratio:4/5;
  overflow:hidden; border-radius:6px; background:var(--wash-spruce); color:var(--paper);
}
.professions img { position:absolute; inset:0; z-index:-1; width:100%; height:100%; object-fit:cover; }
@media (prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
  .professions img { transition:scale 560ms var(--glide-ease); }
  .professions figure:hover img { scale:1.035; }
}
.professions figcaption {
  position:relative;
  padding:clamp(36px, 4vw, 64px) clamp(16px, 1.45vw, 28px) clamp(18px, 1.6vw, 30px);
}
.professions figcaption::before, .professions figcaption::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  -webkit-backdrop-filter:blur(var(--radius)); backdrop-filter:blur(var(--radius));
  -webkit-mask-image:var(--fade); mask-image:var(--fade);
}
.professions figcaption::before {
  --radius:3px; --fade:linear-gradient(transparent, black 58%);
}
.professions figcaption::after {
  --radius:9px; --fade:linear-gradient(transparent 15%, black 88%);
  background:linear-gradient(transparent, rgb(18 24 20 / 75%) 52%, rgb(18 24 20 / 88%));
}
.professions figcaption > * { position:relative; z-index:1; }
.professions h3 {
  margin:0; font:400 clamp(1.125rem, 1.35vw, 1.375rem)/1.2 var(--display);
}
.professions figcaption p {
  margin-top:6px; max-width:35ch; color:color-mix(in srgb, var(--paper) 82%, transparent);
  font-size:clamp(.9375rem, 1.05vw, 1rem); line-height:1.45; text-wrap:pretty;
}
@media(max-width:1050px) {
  .profession-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media(max-width:750px) {
  .profession-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media(max-width:520px) {
  .profession-grid { grid-template-columns:1fr; }
}
.spaces-feature {
  width:min(1080px, calc(100% - 64px)); margin:clamp(80px,9vw,138px) auto;
  display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  grid-template-areas:"intro phone" "activity phone"; gap:clamp(28px,4vw,52px) clamp(28px,5vw,76px);
  align-items:center; scroll-margin-top:86px;
}
.spaces-intro { grid-area:intro; align-self:end; }
.spaces-intro h2 { font:400 clamp(2.25rem,4.6vw,4rem)/1.04 var(--display); }
.spaces-intro p { max-width:45ch; margin-top:16px; color:var(--muted); }
.spaces-feature figure { margin:0; min-width:0; }
.spaces-feature h3 { font:500 1.125rem/1.35 Inter, system-ui, sans-serif; }
.spaces-feature figcaption p { margin-top:5px; max-width:46ch; color:var(--muted); font-size:.9375rem; }
.spaces-feature img { display:block; height:auto; border:1px solid var(--rule); border-radius:10px; }
.space-activity-example { grid-area:activity; align-self:start; }
.space-activity-example img { width:100%; margin-top:18px; }
.space-phone-example {
  grid-area:phone; padding:clamp(20px,2.6vw,38px); border-radius:10px;
  background:linear-gradient(155deg,#e4dedf,#efede6 58%,#e0e6dc);
}
.space-phone-example img { width:100%; max-width:280px; margin:0 auto; box-shadow:0 6px 24px #302b3014; }
.space-phone-example figcaption { max-width:280px; margin:18px auto 0; }
@media(max-width:760px) {
  .spaces-feature { width:min(550px,calc(100% - 40px)); margin:60px auto; grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "activity" "phone"; gap:32px; }
  .spaces-intro p { margin-top:10px; }
  .space-phone-example { padding:22px; }
}
.product-row {
  width:min(1160px, calc(100% - 64px)); margin:clamp(88px, 10vw, 156px) auto 0;
  display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 3fr);
  gap:clamp(40px, 6vw, 104px); align-items:center; scroll-margin-top:80px;
}
.product-row.reversed { grid-template-columns:minmax(0, 3fr) minmax(0, 2fr); }
.reversed .product-stage { grid-column:1; grid-row:1; }
.reversed .product-copy { grid-column:2; grid-row:1; }
.product-copy p { max-width:34ch; margin-top:18px; font-size:1.0625rem; line-height:1.55; color:var(--muted); text-wrap:pretty; }
.product-link {
  display:inline-flex; align-items:center; gap:.65rem; margin-top:24px; border-radius:99px;
  padding:10px 17px; background:var(--wash); color:var(--ink); font-size:.875rem; font-weight:550;
}
.product-link .icon, .feature-action a .icon { color:var(--accent); }
.product-link:is(:hover,:focus-visible) { background:var(--wash-hover); }
.product-stage {
  display:flex; height:clamp(340px, 33vw, 420px); overflow:hidden; border-radius:6px;
  padding:clamp(22px, 3.2vw, 48px) 0 0 clamp(18px, 3.2vw, 48px);
}
.files-stage { background:radial-gradient(ellipse at 12% 95%, #c3bd99, transparent 70%), linear-gradient(150deg,#f1f0e6,#dcdcc8); }
.editor-stage { background:radial-gradient(ellipse at 4% 20%, #b6d4d3, transparent 70%), linear-gradient(135deg,#e2e9db,#aab79a); }
.files-stage, .editor-stage { height:auto; align-items:center; padding:clamp(18px, 3.2vw, 48px); }

@media(max-width:760px) {
  .product-row, .product-row.reversed { width:min(580px, calc(100% - 40px)); grid-template-columns:minmax(0,1fr); gap:24px; }
  .reversed .product-stage, .reversed .product-copy { grid-column:auto; grid-row:auto; }
  .product-copy p { max-width:44ch; margin-top:10px; }
  .product-link { margin-top:16px; }
  .product-stage { height:360px; }
}
.privacy-overview { display:grid; gap:16px; margin:22px 0 0; }
.privacy-overview dt { font-size:1rem; font-weight:600; }
.privacy-overview dd { margin:3px 0 0; max-width:44ch; color:var(--muted); line-height:1.5; text-wrap:pretty; }
.pricing-page {
  width:min(1100px, calc(100% - 48px)); margin-inline:auto;
  padding-top:clamp(108px, 12vw, 160px);
}
.pricing-page h1 { font:400 clamp(2.6rem,5vw,4.5rem)/1.08 var(--display); }
.pricing-switch { display:inline-flex; border:0; border-radius:99px; background:var(--wash); margin:28px 0 0; padding:4px; }
.pricing-switch label { position:relative; cursor:pointer; }
.pricing-switch span { display:grid; place-items:center; min-width:104px; min-height:44px; border-radius:99px; font-size:.9rem; }
.pricing-switch input:checked + span { background:var(--ink); color:var(--paper); }
.pricing-switch input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
.pricing-plans { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:24px; }
#team-plans { display:none; grid-template-columns:repeat(2,minmax(0,1fr)); }
.pricing-page:has([value="teams"]:checked) #individual-plans { display:none; }
.pricing-page:has([value="teams"]:checked) #team-plans { display:grid; }
.plan { display:grid; grid-template-rows:subgrid; grid-row:span 6; gap:0; min-width:0; padding:clamp(20px,2.5vw,32px); border:1px solid var(--rule); border-radius:12px; background:var(--surface); }
.team-plan, .plan:first-child { background:color-mix(in srgb,var(--wash-sage) 12%,var(--paper)); }
.plan h2 { font-size:1.1rem; font-weight:550; margin:0; }
.plan-price { margin-top:24px; font:400 clamp(2.5rem,4vw,3.4rem)/1.05 var(--display); letter-spacing:-.025em; }
.plan-unit,.pricing-note { color:var(--muted); font-size:.875rem; }
.plan-unit { margin-top:5px; }
.pricing-note { margin-top:16px; }
.plan-description { margin-top:20px; max-width:42ch; color:var(--muted); text-wrap:pretty; }
.plan .actions { align-self:end; margin:24px 0; }
.plan .button { gap:8px; }
.plan ul { list-style:none; border-top:1px solid var(--rule); margin:0; padding:20px 0 0; font-size:.9375rem; }
.plan li { padding-left:16px; position:relative; }
.plan li + li { margin-top:8px; }
.plan li::before { content:""; position:absolute; width:5px; height:5px; top:.62em; left:0; border-radius:50%; background:var(--wash-spruce); }
@media(max-width:740px) {
  .pricing-plans, #team-plans { grid-template-columns:1fr; }
  .plan { display:block; grid-row:auto; }
}
.security-page { width:min(1180px, calc(100% - 48px)); padding-top:clamp(108px,12vw,170px); }
.security-page :is(h1,h2,h3) { font-family:var(--display); font-weight:400; line-height:1.12; }
.security-page h1 { font-size:clamp(2.6rem,5vw,4.5rem); }
.security-page > header p { max-width:54ch; margin-top:14px; }
.security-page h2 { font-size:clamp(1.75rem,3vw,2.45rem); }
.security-page section { margin-top:clamp(48px,6vw,88px); scroll-margin-top:92px; }
.privacy-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,28px); margin-top:24px; }
.privacy-gallery h3 { margin:20px 0 8px; font-size:clamp(1.4rem,2vw,1.8rem); }
.privacy-gallery p, .security-note p { max-width:56ch; color:var(--muted); text-wrap:pretty; }
.privacy-detail { display:grid; place-items:center; padding:clamp(14px,1.7vw,26px); border-radius:8px; }
.privacy-gallery .privacy-detail { min-height:clamp(195px,18vw,250px); }
.attachment-detail { background:linear-gradient(118deg,#bbccc4,#dde3d4); }
.history-detail { background:linear-gradient(125deg,#cfafa5,#ebd9d2); }
.backup-detail { background:linear-gradient(125deg,#c7c4ae,#e6e0cb); }
.focus-control { width:100%; max-width:390px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:clamp(15px,1.5vw,22px); background:#fff; color:#292928; border-radius:12px; box-shadow:0 12px 30px -10px #413c3238,0 1px 3px #413c3210; font-size:.875rem; line-height:1.45; }
.focus-control small { display:block; margin-top:4px; color:#636362; font-size:.8rem; }
.focus-value, .focus-action { flex:none; font-size:.8125rem; }
.focus-value { color:#656564; }
.focus-action { padding:5px 9px; border-radius:6px; background:#ebebeb; }
.focus-switch { display:block; flex:none; width:32px; height:19px; border-radius:99px; background:var(--ink); padding:2px; }
.focus-switch::before { content:""; display:block; border-radius:50%; width:15px; height:15px; margin-left:auto; background:#fff; box-shadow:0 1px 3px #0002; }
.product-stage.home-history { display:grid; place-items:center; padding:clamp(18px,4vw,52px); min-height:190px; }
.section-art { position:relative; width:min(100%, 509px); aspect-ratio:509 / 390; margin-inline:auto; }
.home-history .section-art { width:100%; height:100%; aspect-ratio:auto; }
.section-art .art-poster { position:absolute; inset:0; }
.section-art iframe { position:absolute; inset:-16px; width:calc(100% + 32px); height:calc(100% + 32px); border:0; opacity:0; pointer-events:none; }
.section-art[data-ready] iframe { opacity:1; pointer-events:auto; }
.section-art[data-ready] .art-poster { display:none; }
.section-art img {
  position:absolute; display:block; height:auto; border-radius:12px;
  box-shadow:0 12px 30px -12px #302c2542, 0 1px 3px #302c2514;
}
.section-art .art-back { width:73%; right:0; top:46%; transform:translateY(-82%); }
.section-art .art-front { width:72%; left:0; top:54%; transform:translateY(-8%); }
.home-history .art-back { width:60%; }
.files-stage .art-front { border-radius:8% / 15%; }
.editor-stage .art-back { width:80%; top:50%; transform:translateY(-68%); }
.editor-stage .art-front { top:50%; transform:translateY(40%); }
@media(max-width:760px) {
  .files-stage, .editor-stage { height:auto; }
  .section-art { width:min(100%, 390px); }
  .files-stage .section-art { aspect-ratio:780 / 1270; }
  .editor-stage .section-art { aspect-ratio:780 / 1100; }
  .section-art .art-back { width:86%; }
  .section-art .art-front { width:91%; }
  .home-history .art-back { width:min(76%, 295px); }
  .home-history .art-front { width:min(91%, 360px); }
}
.security-note { display:grid; grid-template-columns:minmax(200px,1fr) minmax(0,1.5fr); align-items:start; gap:32px; border-top:1px solid var(--rule); padding-top:28px; }
.nav-sections > a[aria-current="page"] { background:var(--nav-highlight); }
@media(max-width:850px) {
  .privacy-gallery { grid-template-columns:1fr; gap:36px; }
  .privacy-gallery figure { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; }
  .privacy-gallery h3 { margin-top:0; }
}
@media(max-width:600px) {
  .privacy-gallery figure, .security-note { display:block; }
  .privacy-gallery h3, .security-note p { margin-top:16px; }
}
.faq h2 { margin-bottom:24px; }
.faq details + details { border-top:1px solid var(--rule); }
summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 4px 15px 0; font-weight:500; list-style:none; cursor:pointer; }
summary::-webkit-details-marker { display:none; }
.faq summary .icon { color:var(--muted); }
details[open] > summary .icon { transform:rotate(180deg); }
details p { padding-bottom:18px; }
.site-footer {
  position:relative; isolation:isolate; overflow:clip; margin-top:clamp(64px,9vw,144px);
  border-top:1px solid var(--rule); background:var(--paper);
}
.footer-inner {
  width:min(100%, 1440px); margin-inline:auto; padding:clamp(42px,6vw,88px) clamp(24px,6vw,88px) clamp(12px,2vw,32px);
  display:grid; grid-template-columns:minmax(0,1fr) repeat(2,minmax(112px,10rem)) minmax(150px,12rem); align-items:start; gap:clamp(24px,3vw,44px);
}
.footer-description { max-width:31ch; margin-top:20px; color:var(--muted); line-height:1.6; text-wrap:pretty; }
.footer-socials { display:flex; gap:2px; margin:12px 0 0 -10px; padding:0; list-style:none; }
.footer-socials :is(a,span) {
  display:grid; place-items:center; width:44px; height:44px; border-radius:50%; color:var(--muted);
}
.footer-socials a:is(:hover,:focus-visible) { color:var(--ink); background:var(--wash); }
.site-footer nav {
  display:grid; justify-items:start; align-content:start; margin-left:-12px;
  font-size:.9rem; --highlight-fill:var(--wash);
}
.site-footer nav h2 {
  margin:0 0 15px 12px; font-size:.875rem; line-height:1.5; font-weight:550;
  letter-spacing:normal; color:var(--muted);
}
.footer-meta { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 28px; margin-top:clamp(12px,3vw,44px); }
.footer-credit, .footer-origin { display:flex; align-items:center; }
.footer-credit { flex-wrap:wrap; gap:6px 18px; }
.footer-origin { gap:6px; }
.footer-meta small, .footer-return { font-size:.875rem; color:var(--muted); }
.footer-return { display:inline-flex; align-items:center; gap:.4em; min-height:44px; }
.footer-return:is(:hover,:focus-visible) { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.site-footer nav a { display:flex; align-items:center; padding:8px 12px; min-height:44px; border-radius:32px; }
.site-footer nav:not([data-highlight]) a:hover { background:var(--highlight-fill); }
.footer-wash { background:var(--paper); position:relative; height:clamp(160px,18vw,400px); overflow:hidden; }
.footer-wash canvas, .footer-wash::before { display:block; width:100%; height:100%; }
.footer-wash canvas { opacity:0; }
.footer-wash[data-painted] canvas { opacity:1; }
.footer-wash::before {
  content:""; position:absolute; inset:0; transform-origin:bottom;
  background:linear-gradient(108deg,var(--wash-spruce) 6%,var(--wash-sage) 58%,var(--wash-lichen) 88%,var(--wash-granite));
  mask-image:radial-gradient(ellipse 125% 100% at 24% 119%,black 96%,transparent 100%);
}
.footer-wash[data-painted]::before { display:none; }
@media(prefers-reduced-motion:no-preference) {
  .footer-wash canvas, .footer-wash::before { translate:0 var(--wash-offset,0px); }
  .footer-wash[data-entered]::before { transform:scaleY(var(--wash-growth,0)); }
  .footer-socials a { transition:background-color 160ms var(--glide-ease), color 160ms var(--glide-ease); }
}
.faq summary:is(:hover,:focus-visible) { background:var(--wash); }
.faq summary { padding-inline:8px; border-radius:8px; }
@media(max-width:840px) {
  .footer-inner { grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px 20px; }
  .footer-signature { grid-column:1/-1; }
}
@media(max-width:520px) {
  .footer-inner { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .site-footer nav:last-of-type { grid-column:1/-1; }
  .footer-credit { flex-direction:column; align-items:flex-start; }
}
@media(max-width:600px) {
  .intro { padding-top:76px; }

}
@media(prefers-reduced-motion:no-preference) {
  html { scroll-behavior:smooth; }
  .enter-view:not(:focus-within) { animation:view-enter 320ms cubic-bezier(.2,.8,.2,1); }
  .profession-grid > .enter-view:not(:focus-within) {
    animation-duration:480ms; animation-delay:var(--card-delay, 0ms); animation-fill-mode:backwards;
  }
  @keyframes view-enter { from { opacity:.78; transform:translateY(6px); } }
  .product-link .icon { transition:transform 160ms var(--glide-ease); }
  .product-link:is(:hover,:focus-visible) .icon { transform:translate(2px,-2px); }
  .button, .product-link, .nav-actions a, .faq summary {
    transition:background-color 160ms var(--glide-ease), transform 150ms var(--glide-ease);
  }
  .button:active { transform:scale(.96); }
  summary .icon { transition:transform 200ms var(--glide-ease); }
}

@media (max-width:1023px) {
  #workspace { padding-inline:16px; }
}
@media (max-width:600px) {
  #workspace { padding:42px 12px 0; }
}

@media (prefers-reduced-motion:no-preference) {
  @keyframes page-arrival {
    from { opacity:0; translate:0 var(--arrival-distance,0px); }
    to { opacity:1; translate:0 0; }
  }
  @keyframes title-arrival {
    from { opacity:.12; filter:blur(4px); }
    to { opacity:1; filter:blur(0); }
  }
  html:not(:has(:target:not(#top))) [data-arriving] {
    --arrival-ease:cubic-bezier(.22,.65,.24,1);
    & :is(.forest-heading, .security-page h1, .pricing-page h1) {
      animation:title-arrival 880ms var(--arrival-ease) backwards;
    }
    & .site-nav {
      --arrival-distance:-6px;
      animation:page-arrival 760ms var(--arrival-ease) 880ms backwards;
    }
    & :is(.forest-foot a, .security-page > header .subhead) {
      animation:page-arrival 700ms ease-out 990ms backwards;
    }
  }
}

.forest-intro { height:100svh; background:var(--paper); }
.forest-layer {
  position:relative; height:100svh; color:var(--paper); isolation:isolate;
  background:#374743;
}
.hero-poster, .hero-poster img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-poster { z-index:-1; }
.hero-film { display:none; width:100%; height:100%; object-fit:cover; }
.forest-layer::before { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#10191f30,transparent 32%,#10191f18 80%); }
.forest-layer canvas { display:none; width:100%; height:100%; }
.forest-copy { position:absolute; inset:0; display:grid; grid-template-rows:1fr auto 1fr; padding:clamp(20px,3vw,48px); }
.forest-foot a:hover { text-decoration:underline; text-underline-offset:4px; }
.forest-copy a:focus-visible { outline-color:currentColor; }
.forest-foot a { font-size:.85rem; font-weight:500; padding:8px 12px; color:var(--paper); text-shadow:0 1px 3px #26342f; display:inline-flex; flex-direction:column; align-items:center; gap:4px; }
.forest-heading { position:relative; grid-row:2; }
.forest-action { position:absolute; inset:100% 0 auto; padding-top:clamp(16px,2.3vh,24px); text-align:center; }
.forest-action .button { display:inline-flex; align-items:center; min-height:44px; padding:0 20px; border:0; border-radius:99px; background:var(--on-image-fill); color:var(--paper); font-size:.9rem; }
.forest-action .button:hover { background:#ffffff32; }
.forest-action .button:focus-visible { outline-color:var(--paper); }
.forest-copy h1 { text-align:center; margin:0; font:400 clamp(2.25rem,4.25vw,4.25rem)/1.09 var(--display); }
.forest-foot { grid-row:3; align-self:end; display:flex; justify-content:center; }
@media(prefers-reduced-motion:no-preference) {
  .forest-intro[data-scroll] { height:155svh; }
  .forest-intro[data-scroll] .forest-layer {
    position:fixed; inset:0 0 auto; z-index:8;
    clip-path:inset(0 0 var(--cut,0%) 0);
  }
  .forest-intro[data-scroll][data-gpu] .forest-layer { clip-path:inset(0 0 var(--clear,0%) 0); background:none; }
  .forest-intro[data-gpu] .hero-poster,
  .forest-intro[data-gpu] .forest-layer::before { display:none; }
  .forest-intro[data-gpu] canvas, .forest-intro[data-film-ready]:not([data-gpu]) .hero-film { display:block; }
  .forest-intro[data-scroll] .forest-copy { opacity:var(--hero-opacity,1); }
  .forest-intro[data-scroll] .forest-heading {
    --exit-progress:calc(1 - var(--hero-opacity,1));
    filter:blur(calc(var(--exit-progress) * 7px));
    scale:calc(1 - var(--exit-progress) * .045);
  }
  .forest-intro[data-complete] .forest-layer { visibility:hidden; }
}

@media (max-width:900px) {
  html:has(.forest-intro):not(:has(.site-header[data-paper])),
  body:has(.forest-intro):not(:has(.site-header[data-paper])),
  .site-header:not([data-paper]) { background-color:#263638; }
  main, .site-header[data-paper] { background-color:var(--paper); }
  .site-header:has(.site-nav[data-menu]) { background-color:var(--menu-bg); }
  /* Safari extends this in-flow colour behind its floating bottom toolbar. */
  .forest-intro:not([data-revealing]) { background-color:#596153; }
  .site-nav, .site-nav[data-menu] {
    padding-top:calc(10px + env(safe-area-inset-top));
    padding-left:max(16px,env(safe-area-inset-left));
    padding-right:max(16px,env(safe-area-inset-right));
  }
  .forest-layer { height:100dvh; }
  .forest-intro:not([data-scroll]) { height:100dvh; }
  .forest-copy {
    padding-top:calc(20px + env(safe-area-inset-top));
    padding-bottom:calc(20px + env(safe-area-inset-bottom));
  }
  #workspace, .section h2, .product-row, .professions, .security-page section {
    scroll-margin-top:calc(80px + env(safe-area-inset-top));
  }
  .intro { padding-top:calc(76px + env(safe-area-inset-top)); }
  .security-page { padding-top:calc(108px + env(safe-area-inset-top)); }
}
@media (max-width:600px) {
  .professions { margin-top:36px; padding:48px 20px; background:var(--surface); }
  .product-row, .product-row.reversed { margin-top:0; padding-block:48px; }
  .product-row + .product-row { border-top:1px solid var(--rule); }
  .faq { width:100%; padding:48px 24px; background:var(--surface); }
  body:has(.faq) .site-footer { margin-top:0; }
}
@media (max-width:600px) and (orientation:portrait) {
  .hero-poster img, .hero-film { object-position:84% center; }
}

@media (max-width:760px) {
  #workspace { padding:28px 20px 40px; }
}
