/* Editorial product page and local journey simulator. */
.zf {
  --ink: #17251f;
  --paper: #f8f7f0;
  --forest: #172e26;
  --lime: #d7fa88;
  --violet: #584495;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, sans-serif;
}
.zf-wrap { width: min(1180px, 90%); margin-inline: auto; }
.zf h1, .zf h2, .zf h3, .zf-product, .zf-ticket b { font-family: "Bricolage Grotesque", Inter, sans-serif; }
.zf h1, .zf h2 { text-wrap: balance; }
.zf p { line-height: 1.65; text-wrap: pretty; }
.zf h2 { font-size: clamp(2.25rem, 4.7vw, 4.2rem); line-height: 1.01; letter-spacing: -.045em; font-weight: 620; }
.zf :is(a, summary, input):focus-visible { outline: 3px solid #9877f5; outline-offset: 4px; }
.zf-hero { padding: clamp(128px, 11.4vw, 172px) 0 clamp(44px, 6vw, 88px); }
.zf-intro { display: grid; grid-template-columns: .9fr 1.12fr; align-items: center; gap: clamp(24px, 4.4vw, 70px); }
.zf-copy { min-width: 0; container-type: inline-size; }
.zf-copy h1 { white-space: nowrap; text-wrap: nowrap; font-size: min(10.5cqi, 3.2rem); line-height: .97; letter-spacing: -.055em; font-weight: 640; }
.zf-product {
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  align-items: center;
  font-size: clamp(2.4rem, 4.4vw, 4.3rem);
  font-weight: 720;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}
.zf-mark { width: clamp(48px, 5.4vw, 76px); height: auto; flex: none; }
.zf-copy > p, .zf-split > div:first-child > p, .zf-close p { font-size: clamp(1rem, 1.4vw, 1.16rem); color: #415449; margin-top: 22px; max-width: 52ch; }
.zf-actions { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 30px; }
.zf-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 21px; border-radius: 9px; background: var(--forest); color: white; font-size: .94rem; font-weight: 650; }
.zf-button:hover { background: #294d3c; }
.zf-link, .zf-examples a { color: var(--ink); font-size: .93rem; font-weight: 640; text-decoration: underline; text-underline-offset: .34em; }
.zf-cover { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(at 25% 0%,#f0e9ff,transparent 60%),linear-gradient(130deg,#c3b7dd,#dbd3e9 55%,#b9addb); border: 1px solid #c8bed7; border-radius: 6px 42px 6px 6px; }
.zf-plate { position: relative; aspect-ratio: 600 / 395; }
.zf-art-label { position: absolute; z-index: 2; inset: 19px 25px auto; display: flex; justify-content: space-between; font: 600 .72rem/1.45 ui-monospace,monospace; color: #4c415f; }
.zf-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.zf-ticket { position: absolute; left: 8%; top: 23%; width: 32%; padding: 4% 3% 5%; transform: rotate(-9deg); background: #fffdf3; color: #2e342c; display: grid; justify-items: center; text-align: center; filter: drop-shadow(3px 9px 4px #41304d30); }
.zf-ticket::after { content: ""; position: absolute; inset: auto 0 -6px; height: 7px; background: linear-gradient(135deg,#fffdf3 25%,transparent 25%) -6px 0 / 12px 12px,linear-gradient(225deg,#fffdf3 25%,transparent 25%) -6px 0 / 12px 12px; }
.zf-ticket b { font-size: clamp(1rem,1.85vw,1.65rem); letter-spacing: -.055em; }
.zf-ticket > span { font: .68rem/1.6 ui-monospace,monospace; }
.zf-shirt { width: 34%; height: auto; margin: 0 0 7%; }
.zf-ticket hr { width: 100%; border: 0; border-top: 1px dashed #9a988b; margin: 12% 0 10%; }
.zf-bars { width: 72%; height: 17px; background: repeating-linear-gradient(90deg,#30372e 0 2px,transparent 2px 4px,#30372e 4px 5px,transparent 5px 8px,#30372e 8px 11px,transparent 11px 13px); }
.zf-tile { position: absolute; right: 9%; width: 22%; aspect-ratio: 1.18; display: grid; place-content: center; justify-items: center; gap: 4px; border: 1px solid #ffffff80; border-radius: 17%; font: 650 clamp(.68rem,1.2vw,.95rem)/1.2 Inter,sans-serif; }
.zf-tile-mail { top: 13%; transform: rotate(7deg); color: #362660; background: linear-gradient(145deg,#efe8ff,#b7a1ed); box-shadow: 2px 4px #927fbb, 4px 12px 13px #49326328; }
.zf-tile-chat { bottom: 11%; transform: rotate(-7deg); color: #24432d; background: linear-gradient(145deg,#e2fbaa,#b6dd7d); box-shadow: 2px 4px #849c68, 4px 12px 13px #49326328; }
.zf-tile-icon { font: 2.7em/1 Georgia,serif; }
.zf-bubble { position: relative; border: 2px solid; border-radius: 8px 8px 8px 0; font: bold 1.6em/.7 Georgia,serif; padding: 0 3px 6px; }
.zf-studio { background: var(--forest); color: white; padding: clamp(44px, 6vw, 84px) 0; scroll-margin-top: 94px; }
.zf-preamble { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 28px; }
.zf-preamble h2 { max-width: 15ch; }
.zf-preamble p { max-width: 37ch; color: #d0ddcf; font-size: 1rem; }
.zf-browser { overflow: hidden; background: #fdfdf9; color: var(--ink); border-radius: 13px; box-shadow: 0 22px 48px #07150d38; border: 1px solid #8a9a8f; }
.zf-chrome { display:flex; align-items:center; gap:14px; padding: 10px 18px; background:#e5e8df; font: 550 .72rem/1.6 ui-monospace,monospace; color:#49554a; }
.zf-chrome > :last-child { margin-left:auto; }
.zf-dots { display:inline-flex; gap: 4px; }
.zf-dots i { width: 7px; height: 7px; background:#849184; border-radius:50%; }
.zf-apphead { display:flex; align-items:center; gap: 10px; padding: 13px 20px; border-bottom:1px solid #d8dcd4; }
.zf-appmark { border-radius:6px; width: 26px; height:26px; line-height:26px; text-align:center; font-weight:750; color: var(--lime); background:var(--forest); }
.zf-appmeta { margin-left:auto; color:#5b665d; font-size:.78rem; }
.zf-workspace { display:grid; grid-template-columns: 1.8fr 1fr; }
.zf-canvas { padding: 28px clamp(10px, 3vw, 44px) 20px; display:flex; flex-direction:column; align-items:center; background-color:#f0f1e9; background-image:radial-gradient(#b6c1b4 .9px,transparent 1px); background-size:16px 16px; }
.zf-node { padding:9px 14px; min-width:0; border-radius:9px; background:#fff; border:1px solid #b8c5bb; box-shadow:0 3px 0 #22382a0a; }
.zf-node small, .zf-message > span { display:block; text-transform:uppercase; font:650 .64rem/1.45 ui-monospace,monospace; letter-spacing:.06em; }
.zf-node strong { display:block; font-size:.94rem; line-height:1.35; margin-top:2px; }
.zf-event,.zf-rule { width:min(206px,80%); }
.zf-event { border-left:4px solid #6a9846; }
.zf-rule { border-left:4px solid #8a73c0; }
.zf-down { height:22px; border-left:2px solid #7c8b80; }
.zf-branches { display:flex; justify-content:center; width:min(460px,100%); }
.zf-branch { width:50%; display:grid; justify-items:center; align-content:start; text-align:center; }
.zf-line { width:50%; height:20px; border-top:2px solid #86978a; margin-top:14px; position:relative; }
.zf-no .zf-line {justify-self:end; border-left:2px solid #86978a; border-top-left-radius:9px;}
.zf-yes .zf-line {justify-self:start; border-right:2px solid #86978a; border-top-right-radius:9px;}
.zf-no .zf-line::before {content:"";position:absolute;right:-1px;top:-16px;height:15px;border-left:2px solid #86978a;}
.zf-route,.zf-end {font: 600 .68rem/1.4 ui-monospace,monospace;}
.zf-branch .zf-node {margin:5px 3px 0;width:calc(100% - 8px);max-width:200px;min-height:62px;display:grid;align-content:center;}
.zf-end::before {content:"";display:block;height:12px;width:1px;background:#849089;margin:auto;}
.zf-browser[data-profile="novo"] .zf-no .zf-node,.zf-browser[data-profile="leal"] .zf-yes .zf-node {background:#e5f4ce;border-color:#597c43;box-shadow:0 0 0 1px #597c43;}
.zf-inspector {padding:clamp(19px,3vw,40px);border-left:1px solid #d8dcd4;}
.zf-inspector h3 {font-size:1.45rem;line-height:1.2;letter-spacing:-.045em;font-weight:680;}
.zf-picker {display:grid; gap:5px; margin:16px 0;}
.zf-picker legend {font-size:.83rem;color:#4b5b50;margin-bottom:5px;}
.zf-picker label {display:flex;align-items:center;gap:9px;font-weight:600;font-size:.88rem; min-height:32px;cursor:pointer;}
.zf-picker input {accent-color:#35663f; width:17px;height:17px;}
.zf-message {border-left:3px solid #aa98d6;padding:4px 0 4px 14px;}
.zf-message > span {color:#59437d;}
.zf-message p {font-size:.87rem;margin-top:6px;}
.zf-caption {font-size:.8rem;color:#bccdbc;margin-top:14px;}
.zf-split {display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,8vw,120px);align-items:start;}
.zf-analysis,.zf-library,.zf-close {padding:clamp(52px,7vw,100px) 0;}
.zf-ledger {background:#e4dfef;border-top:4px solid #726091;padding:clamp(16px,2.8vw,36px);border-radius:0 0 6px 6px;}
.zf-ledger-title {display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;}
.zf-ledger-title span {color:#574b69;font: .7rem/1.4 ui-monospace,monospace;}
.zf-ledger dl {display:grid;grid-template-columns:repeat(3,1fr);margin-top:24px;border-block:1px solid #beb5cc;}
.zf-ledger dl > div {display:flex;flex-direction:column-reverse;justify-content:end;padding:12px 8px 12px 0;}
.zf-ledger dd {font: 560 clamp(2rem,4vw,3.5rem)/1.1 "Bricolage Grotesque",sans-serif;letter-spacing:-.06em;}
.zf-ledger dt {font-size:.78rem;line-height:1.4;}
.zf-track { height: 9px; margin-top: 18px; background: #b4a5cc; border-radius: 3px; overflow: hidden; }
.zf-track i { display:block; width:75%; height:100%; background:#674b83; }
.zf-ledger p {font-size:.86rem;color:#50485c;margin-top:16px;}
.zf-library {border-top:1px solid #cfd3c7;background:#f0f1e9;}
.zf-library {scroll-margin-top:90px;}
.zf-library-intro {position:relative;isolation:isolate;padding-bottom:clamp(96px,12vw,166px);}
.zf-texture {position:absolute;z-index:-1;pointer-events:none;width:min(100%,520px);height:auto;left:0;bottom:-5px;opacity:.24;}
.zf-topic-icon {width:32px;height:32px;padding:6px;border-radius:9px;background:#e0e7d7;color:#496348;fill:currentColor;}
.zf-examples details:nth-child(even) .zf-topic-icon {background:#e6e1ed;color:#6b5681;}
.zf-library .zf-link {display:inline-block;margin-top:24px;}
.zf-examples details {border-bottom:1px solid #bac6b7;padding:16px 0;}
.zf-examples details:first-child {border-top:1px solid #bac6b7;}
.zf-examples summary {cursor:pointer;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:15px;font-weight:650;}
.zf-examples summary::-webkit-details-marker {display:none;}
.zf-examples summary::after {content:"+";font:1.4rem/1 monospace;}
.zf-examples [open] summary::after {content:"−";}
.zf-examples p {font-size:.93rem;color:#435247;margin-top:14px;}
.zf-examples a {display:inline-block;margin-top:12px;}
.zf-close {background:var(--lime);}
.zf-close .zf-wrap {display:grid;grid-template-columns:1fr .8fr;gap:clamp(30px,8vw,120px);align-items:center;}
.zf-close p {margin:0 0 18px;}
@media (max-width: 850px) {
  .zf-intro {grid-template-columns:1fr 1fr;gap:22px;}
  .zf-workspace {grid-template-columns:1.35fr 1fr;}
}
@media (max-width: 700px) {
  .zf-wrap {width: min(92%, 540px);}
  .zf-hero {padding-top:114px;}
  .zf-intro,.zf-split,.zf-close .zf-wrap,.zf-workspace {grid-template-columns:1fr;}
  .zf-intro {gap:30px;}
  .zf-product {margin-bottom:16px;}
  .zf-ticket {top:20%;width:36%;padding:3% 2% 4%;}
  .zf-ticket > span {font-size:.56rem;}
  .zf-bars {height:13px;}

  .zf-actions {margin-top:22px;}
  .zf-inspector {border-left:0;border-top:1px solid #d8dcd4;}
  .zf-picker {display:flex;flex-wrap:wrap;gap:5px 20px;}
  .zf-preamble {display:block;}
  .zf-preamble p {margin-top:14px;}
  .zf-split {gap:27px;}
  .zf-apphead {padding:12px;}
  .zf-canvas {padding-block:20px;}
  .zf-art-label {inset:12px 16px auto;font-size:.62rem;}
}
@media (max-width:360px) {
  .zf-art-label {font-size:.58rem;}
  .zf-node {padding:8px;}
  .zf-branch .zf-node strong {font-size:.81rem;}
  .zf-ticket > span {font-size:.57rem;}
}
