/* Shared staging pages use the same four-theme token set as the approved homepage. */
.skip{position:absolute;left:16px;top:-80px;z-index:20;padding:12px;background:var(--tile)}.skip:focus{top:12px}.staging-banner{display:flex;justify-content:space-between;gap:15px;padding:8px 24px;background:var(--panel);border-bottom:1px solid var(--border);font-size:11px;color:var(--muted)}.header-tools{display:flex;align-items:center;gap:20px}.site-appearance{position:relative;font-size:12px}.site-appearance summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:9px;padding:10px 12px;background:var(--tile)}.appearance-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:5;display:grid;gap:15px;width:240px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--bg);box-shadow:0 12px 32px #10261920}.appearance-panel label{display:grid;gap:6px}.appearance-panel select{width:100%;max-width:none}.appearance-panel small{font-size:10px;color:var(--muted)}.site-footer nav{display:flex;flex-wrap:wrap;gap:12px 20px}.site-footer p{font-size:10px}.site-footer .lockup{width:140px;height:60px}.popup-footer a{font-size:10px}.popup-footer .lockup{width:105px;height:44px}.document-hero{padding-block:55px 30px}.document-hero h1{font-size:clamp(38px,6vw,68px)}.document-hero p{color:var(--muted);max-width:65ch}.document-body{padding-bottom:65px}.document-body h2{font-size:25px;letter-spacing:-.02em;margin-top:30px}.document-body p{max-width:76ch;color:var(--muted);margin-bottom:16px}.document-body ul{padding-left:20px;color:var(--muted)}.small{font-size:12px}.plans{display:grid;grid-template-columns:1fr 1fr;gap:25px}.plan{border:1px solid var(--border);padding:30px;border-radius:16px}.plan.pro{background:var(--panel)}.plan .price{font-size:40px;color:var(--text)}.price span{font-size:15px}.plan-state{font-size:12px}.faq details{border-bottom:1px solid var(--border);padding:18px 0}.faq summary{font-weight:550;cursor:pointer}.faq details p{padding-top:15px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--selected-border);border-radius:9px;background:var(--button);color:var(--button-text);padding:12px 18px}.ed-browser{border:1px solid var(--border);border-radius:18px;background:var(--bg);overflow:hidden;margin-top:20px}.staging-selection-toolbar{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border)}.ed-review{display:grid;grid-template-columns:minmax(0,1fr) 290px}.ed-transcript{padding:25px}.ed-message{display:flex;gap:14px;border-bottom:1px solid var(--border);padding:24px 0;font-size:14px}.ed-message:first-child{padding-top:0}.ed-message strong{display:flex;gap:7px;align-items:center;margin-bottom:12px}.ed-message p{line-height:1.7;margin:0}.ed-message-muted{opacity:.5}.ed-review-actions{padding:25px;border-left:1px solid var(--border);background:var(--panel)}.ed-review-actions h2{margin-top:0;font-size:23px}.ed-review-actions .button{width:100%;margin:8px 0 20px}.staging-format-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;margin-bottom:20px}.staging-selection input{accent-color:var(--focus);width:16px;height:16px}.staging-selection.wide-selection .document-body{width:calc(100% - 36px);max-width:1550px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.staging-banner{font-size:9px;padding:8px 18px;flex-wrap:wrap;gap:3px}.site-header{flex-wrap:wrap;padding-block:18px;gap:14px}.site-header .lockup{width:120px;height:54px}.site-header nav{margin-left:auto}.header-tools{margin-left:auto}.site-appearance summary{padding:8px 10px}.site-footer{flex-wrap:wrap}.site-footer nav{gap:15px}.site-footer p{display:none}.document-hero{padding-top:30px}.plans,.ed-review{grid-template-columns:minmax(0,1fr)}.ed-review-actions{border-left:0;border-top:1px solid var(--border)}.ed-transcript{padding:18px}.staging-selection-toolbar{padding:16px}.staging-selection-toolbar button{font-size:11px}.document-hero h1{font-size:42px}}
/* Website sample aligned with current extension controls; no extension APIs. */
.popup .selection-icon svg{width:18px;height:18px}
.popup-head>.mascot{width:25px;height:25px}
.popup .formats.four-shortcuts button{grid-column:span 3}
.popup .copy-menu{position:relative;flex:0 0 auto;color:var(--muted);text-align:left}
.popup .copy-menu summary{cursor:pointer;list-style:none;font-size:10px;display:flex;align-items:center;gap:6px}
.popup .copy-menu summary::-webkit-details-marker{display:none}
.popup .copy-menu summary:after{content:'';width:5px;height:5px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin-top:-3px}
.popup .copy-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:8;width:195px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);box-shadow:0 8px 20px #182d2220}
.popup .copy-menu-panel p{font-size:10px;color:var(--muted);margin-bottom:8px}
.popup .copy-menu-panel button{display:flex;gap:8px;align-items:center;width:100%;margin:5px 0;padding:7px 9px;font-size:11px;text-align:left}
.popup .copy-menu-panel label{display:flex;align-items:start;gap:7px;font-size:10px;border-top:1px solid var(--border);padding-top:10px;margin-top:10px}
.popup .copy-menu-panel input{accent-color:var(--focus)}
.popup .notion>.destination{margin-top:10px;width:100%;font-size:11px;padding:10px}
.popup .popup-footer .lockup{width:90px;height:38px}

/* Homepage copy: a quiet aside and readable owner-supplied small print. */
.file-section .copy-aside{color:var(--text);margin-block:1.5em 0}.copy-aside sup{font-size:.65em;margin-left:2px}.file-section .copy-footnote{max-width:52ch;margin-top:14px;font-size:13px;line-height:1.6}.copy-footnote small{font-size:inherit}
.legal-document h3{font-size:19px;margin-top:24px}.legal-document ol{padding-left:20px;color:var(--muted)}.legal-document li{max-width:76ch;margin-bottom:6px}.legal-document code{font-size:.9em;overflow-wrap:anywhere}.legal-url{overflow-wrap:anywhere}.legal-table{overflow-x:auto;margin:0 0 20px;max-width:100%}.legal-table table{border-collapse:collapse;font-size:13px;color:var(--muted);min-width:520px}.legal-table th,.legal-table td{border:1px solid var(--border);padding:8px 10px;text-align:left;vertical-align:top}.legal-table th{color:var(--text);background:var(--panel)}.legal-gate{padding:1px 4px;border-radius:4px;font-size:.92em;overflow-wrap:anywhere}.owner-gate{background:#ffe08a;color:#3a2a00;outline:1px solid #c79a00}.main-gate{background:var(--panel);color:var(--muted);outline:1px dashed var(--border)}
.tally-form{display:grid;gap:12px;margin:0 0 24px;max-width:76ch}.tally-form p{margin:0}.tally-form .button{justify-self:start;cursor:pointer}.tally-form-context{color:var(--text)}
.known-issues{margin:0 0 24px;max-width:76ch}.known-issues-empty{padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.document-body .known-issues-empty{margin:0}.known-issues-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}.known-issue{padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.legal-document .known-issue h3{margin:0 0 6px;font-size:17px}.document-body .known-issue p{margin:0 0 6px}.document-body .known-issue p:last-child{margin-bottom:0}.known-issue-meta{font-size:12px}.known-issue-status{color:var(--text);font-weight:550}
.faq-page{max-width:76ch}.faq-known{padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.faq-nav ul{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0;margin:0 0 24px;list-style:none}.faq-group{margin-top:32px}.faq-entry{border-bottom:1px solid var(--border);padding:16px 0;scroll-margin-top:24px}.faq-entry summary{font-weight:550;cursor:pointer}.faq-answer{padding-top:12px}.faq-label{margin:0 0 6px;font-size:13px;font-weight:550;color:var(--text)}.faq-quotes{margin:0 0 14px;padding-left:20px}.faq-quotes li{margin-bottom:6px;color:var(--text);overflow-wrap:anywhere}.faq-quotes var{font-style:italic;font-family:inherit}.faq-answer dl{margin:0}.faq-answer dt{font-weight:550;color:var(--text);margin-top:10px}.faq-answer dd{margin:2px 0 0}.faq-more{margin-top:14px;font-size:13px}

.transfer-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:step}.transfer-steps li{counter-increment:step;border:1px solid var(--border);border-radius:12px;padding:16px 18px 16px 56px;position:relative;display:grid;gap:4px}.transfer-steps li::before{content:counter(step);position:absolute;left:18px;top:16px;width:26px;height:26px;border-radius:50%;border:1px solid var(--border);display:grid;place-items:center;font-size:13px}.transfer-steps b{color:var(--text)}.transfer-steps span{color:var(--muted);font-size:14px}.transfer-section .fine{margin-top:14px;font-size:13px}
.checkout-return .site-footer .lockup{width:96px;height:39px}

/* Homepage export examples and options. */
.feature-detail, .feature-options {
  border-top: 1px solid var(--border);
  padding-block: clamp(40px, 6.2vw, 78px);
}
.feature-heading, .feature-detail, .example-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}
.feature-heading { align-items: end; margin-bottom: clamp(22px, 3.5vw, 42px); }
.feature-heading h2, .feature-intro h2 { margin: 0; text-wrap: balance; }
.feature-heading p, .feature-intro p, .example-copy p {
  max-width: 52ch;
  color: var(--muted);
}
.feature-intro p, .example-copy p { margin-top: 12px; }
.feature-intro .button { margin-top: 22px; gap: 16px; }
.feature-intro .button:hover { background: var(--button-hover); }
.feature-options h3 { margin: 0; line-height: 1.2; letter-spacing: -.025em; }
.document-examples, .math-examples {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}
.document-examples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.document-examples figure, .math-examples figure, .code-example figure { margin: 0; min-width: 0; }
.document-example {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  cursor: zoom-in;
}
.document-sheet {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: clamp(18px, 2.4vw, 30px);
}
.document-sheet img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  width: auto;
  height: auto;
  box-shadow: 0 2px 8px #10261924;
  border-radius: 8px;
}
.enlarge-mark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: var(--tile);
  font-size: 21px;
  line-height: 1;
}
.document-example:hover, .math-examples button:hover { border-color: var(--selected-border); }
.document-example:hover .enlarge-mark, .document-example:focus-visible .enlarge-mark {
  background: var(--button);
  color: var(--button-text);
}
.document-examples figcaption { padding: 14px 2px 0; }
.document-examples h3, .math-examples h3 { font-size: 20px; }
.document-examples figcaption p, .math-examples figcaption p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.example-row {
  margin-top: clamp(24px, 3.6vw, 44px);
  padding-top: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--border);
}
.example-copy h3 { font-size: clamp(23px, 2.4vw, 30px); }
.example-copy a { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }
.text-examples, .option-groups {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--tile);
}
.text-examples details + details, .option-groups details + details { border-top: 1px solid var(--border); }
.text-examples summary, .option-groups summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 18px;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}
.text-examples summary::-webkit-details-marker, .option-groups summary::-webkit-details-marker { display: none; }
.text-examples summary::after, .option-groups summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 2px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translate(-2px, -2px);
}
.text-examples details[open] summary::after, .option-groups details[open] summary::after { transform: rotate(225deg); }
.text-examples summary:hover, .option-groups summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.text-examples pre {
  margin: 0 14px 14px;
  padding: 14px;
  max-height: 21rem;
  overflow: auto;
  border-radius: 8px;
  background: var(--panel);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-example { align-items: center; }
.code-paper {
  display: grid;
  place-items: center;
  padding: clamp(12px, 2.2vw, 26px);
  border-radius: 14px;
  background: #fff;
}
.code-image { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.code-image:hover .example-enlarge, .math-examples button:hover .example-enlarge { text-decoration: underline; text-underline-offset: .2em; }
.code-example img { display: block; width: min(100%, 590px); height: auto; }
.math-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.math-examples figure { display: flex; flex-direction: column; }
.math-examples figcaption { margin: 0 2px 12px; }
.math-examples button {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  cursor: zoom-in;
}
.math-examples img { display: block; width: 100%; height: auto; border-radius: 8px; }
.example-enlarge { display: flex; align-items: center; align-self: flex-end; justify-self: end; gap: 8px; font-weight: 600; font-size: 13px; }
.example-enlarge > span { font-size: 18px; line-height: 1; }
.document-example, .code-image, .math-examples button { color: var(--text); font: inherit; }
:is(.export-image-preview, .privacy-preview) {
  width: min(1120px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; border: 1px solid var(--border); border-radius: 16px;
  background: var(--panel); color: var(--text); overflow: auto; overscroll-behavior: contain;
}
:is(.export-image-preview, .privacy-preview)::backdrop { background: #101913b8; }
:root:has(.export-image-preview[open], .privacy-preview[open]) { overflow: hidden; }
:is(.export-image-preview, .privacy-preview) header {
  position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--panel);
}
:is(.export-image-preview, .privacy-preview) h2 { margin: 0; font-size: clamp(16px, 3vw, 22px); }
:is(.export-image-preview, .privacy-preview) button { flex: none; min-height: 44px; }
.export-image-view { padding: clamp(10px, 3vw, 28px); }
.export-image-view img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: 8px; }
#notion-title { display: flex; align-items: center; gap: clamp(9px, 1.2vw, 14px); }
#notion-title img { display: block; flex: none; width: clamp(26px, 0.75em, 38px); height: auto; }
.notion-route {
  padding: clamp(20px, 3.5vw, 38px);
  border-radius: 16px;
  background: var(--selected);
}
.notion-route ol { padding: 0 0 0 1.6em; margin: 0; }
.notion-route li { padding-left: 8px; }
.notion-route li + li { margin-top: 18px; }
.notion-route li::marker { color: var(--muted); font-weight: 600; }
.notion-route li p, .feature-note, .feature-points dd { margin: 4px 0 0; color: var(--muted); }
.feature-note { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 16px; font-size: 14px; }
.feature-note strong, .feature-points dd strong { color: var(--text); font-weight: 550; }
.feature-points { margin: 0; }
.feature-points dt { font-weight: 650; }
.feature-points > div + div { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; }
.file-routes .feature-points dt { font-size: 18px; }
.file-routes .feature-points > div + div { margin-top: 20px; padding-top: 20px; }
.option-groups .feature-points { margin: 0 18px 18px; padding: 16px; border-radius: 8px; }
.option-groups .feature-points dd { font-size: 14px; }
@media (max-width: 760px) {
  .feature-heading, .feature-detail, .example-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature-heading { gap: 12px; }
  .document-examples { gap: 14px; }
}
@media (max-width: 600px) {
  .document-examples, .math-examples { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .document-sheet { aspect-ratio: 5 / 4; }
}

.privacy-preview { width: min(760px, calc(100% - 24px)); }
.privacy-preview header { z-index: 1; }
.privacy-preview-body { padding: clamp(16px, 4vw, 36px); font-size: 15px; line-height: 1.65; }
.privacy-preview-body section { margin-top: 28px; }
.privacy-preview-body section h2 { margin: 0 0 8px; }
.privacy-preview-body p { margin: 0 0 12px; }
.privacy-preview-body a { text-decoration: underline; }
.privacy-preview-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.privacy-preview-body th, .privacy-preview-body td { padding: 6px 10px; border: 1px solid var(--border); text-align: left; }

/* Keep the descriptor aligned with the lettering beside the leaf. */
.site-header .lockup,
.site-footer .lockup {
  display: grid;
  width: 182px;
  height: auto;
  color: var(--text);
}
.site-footer .lockup { width: 157px; }
.lockup .brand-art { height: auto; aspect-ratio: 1640 / 660; }
.brand-descriptor,
.about-brand-descriptor {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .025em;
}
.brand-descriptor {
  margin: -.48em 0 0 37%;
  white-space: nowrap;
}
.about-brand-descriptor { margin-top: .3em; font-size: 17px; }
.checkout-return .site-footer .lockup { width: 142px; height: auto; }

.hero-copy h1 { margin-top: 0; }
.hero-copy .hero-aside { margin: -8px 0 14px; font-size: 15px; font-style: italic; }
.hero-providers { margin-top: 24px; }
.hero-providers h2 {
  margin: 0 0 7px;
  font: 650 13px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
}
.hero-providers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-providers li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 15px;
  font-weight: 530;
}
.hero-providers li::before {
  content: "";
  align-self: center;
  width: 5px;
  height: 5px;
  background: var(--focus);
  border-radius: 70% 0 70% 0;
}
.file-privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  padding-block: 20px;
  border-block: 1px solid var(--border);
  font-size: 14px;
}
.file-privacy p { color: var(--muted); }
.file-privacy strong { color: var(--text); }
.file-privacy a { flex-shrink: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .site-header .lockup, .site-footer .lockup { width: 143px; }
  .brand-descriptor { font-size: 11px; }
  .hero-providers { margin-top: 18px; }
  .hero-providers li { font-size: 14px; }
  .file-privacy { flex-direction: column; align-items: flex-start; }
}

/* Store-inspired treatment for the opening and featured examples. */
.site-header.wrap { min-height: 88px; padding-block: 16px 20px; border-bottom: 0; }
.site-header .install:disabled { display: none; }
.lockup .brand-art { aspect-ratio: 1640 / 742; }
.wordmark-descriptor {
  fill: currentColor;
  font: 500 136px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.vertical-example { height: 251px; }
.store-mast {
  --paper: #f5f6eb;
  --pale-leaf: #dbed9e;
  --subtle: #d1dfcd;
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  border-radius: 26px;
  background: radial-gradient(ellipse at 78% 24%, #496346 0%, #304c36 36%, #1d3629 72%, #152d23 100%);
  color: var(--paper);
}
.store-layout {
  --store-popup-height: 630px;
  --store-caption-gap: 8px;
  --store-controls-gap: 8px;
  --store-demo-height: calc(var(--store-popup-height) + 44px + var(--store-caption-gap) + var(--store-controls-gap));
  --store-padding-top: clamp(12px, calc(12px + (100svh - 900px) * .17), 36px);
  --store-padding-bottom: clamp(9px, calc(9px + (100svh - 900px) * .11), 27px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(34px, 5.3vw, 84px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding-block: var(--store-padding-top) var(--store-padding-bottom);
  padding-inline: clamp(32px, 5.6vw, 88px);
}
@media (min-width: 701px) {
  .store-layout { min-height: calc(var(--store-demo-height) + var(--store-padding-top) + var(--store-padding-bottom)); }
}
.store-copy { min-width: 0; }
.store-kicker { display: flex; align-items: center; gap: 10px; color: #e0ead9; font-size: 13px; font-weight: 560; }
.store-kicker .wave-target {
  --leaf-opening-width: min(305px, 100%);
  width: 45px;
  height: 46px;
  flex-shrink: 0;
  margin-left: -3px;
}
@media (prefers-reduced-motion: no-preference) {
  .store-kicker .wave-target {
    transition:
      width 440ms cubic-bezier(.22,.7,.26,1),
      height 440ms cubic-bezier(.22,.7,.26,1),
      margin-left 440ms cubic-bezier(.22,.7,.26,1),
      transform 300ms cubic-bezier(.2,.75,.3,1);
  }
  .store-kicker .wave-target[data-greeting] {
    width: var(--leaf-opening-width);
    height: calc(var(--leaf-opening-width) * 320 / 305);
    margin-left: max(0px, calc((100% - var(--leaf-opening-width) - 10px) / 2));
  }
  .store-kicker > span { min-width: 0; transition: opacity 140ms ease 240ms; }
  .store-kicker .wave-target[data-greeting] + span { opacity: 0; overflow: hidden; transition: none; }
  .store-demo { transition: opacity 460ms ease 65ms; }
  .store-layout:has(.wave-target[data-greeting]) .store-demo:not(:focus-within) {
    opacity: 0;
    pointer-events: none;
    transition: none;
  }
}
.store-copy h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.015;
  letter-spacing: -.053em;
  color: var(--paper);
  margin: 21px 0 20px;
}
.store-copy h1 em { font-style: normal; color: var(--pale-leaf); }
.store-intro { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: #e3eadd; max-width: 40ch; }
.store-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 27px 0 0; }
.store-actions a { display: inline-flex; gap: 9px; align-items: center; justify-content: center; font-size: 14px; line-height: 1.3; font-weight: 600; min-height: 44px; }
.store-primary { padding: 12px 16px; border-radius: 9px; background: #e7f3bc; color: #1c3927; }
.store-primary:hover { background: white; }
.store-secondary { color: var(--paper); text-decoration: underline; text-decoration-color: #9cae94; text-underline-offset: 5px; }
.store-secondary:hover { text-decoration-color: white; }
.store-mast .store-actions a:focus-visible, .store-controls-toggle:focus-visible, .store-kicker .wave-target:focus-visible { outline: 3px solid #ecffb7; outline-offset: 4px; }
.store-providers { margin-top: clamp(28px, 4vw, 58px); padding-top: 19px; border-top: 1px solid #ffffff32; max-width: 470px; }
.store-providers h2, .store-demo-label { font: 610 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing: .015em; margin: 0 0 6px; color: var(--pale-leaf); }
.store-providers ul { display: flex; flex-wrap: wrap; list-style: none; gap: 0; margin: 0; padding: 0; max-width: 440px; }
.store-providers li { color: var(--subtle); font-size: 13px; line-height: 1.75; white-space: nowrap; }
.store-providers li:not(:last-child)::after { content: "·"; color: #aabd9b; padding: 0 7px; }
.store-demo { min-width: 0; min-height: var(--store-demo-height); align-self: start; scroll-margin: 18px; }
.store-demo .store-demo-label { text-align: center; color: var(--subtle); font-weight: 500; line-height: 18px; margin-bottom: var(--store-caption-gap); }
.store-demo .popup-stage { margin: 0 auto; padding: 0; background: transparent; border: 0; border-radius: 0; max-width: 360px; }
.store-demo .release-popup { height: var(--store-popup-height); border-radius: 15px; border-color: color-mix(in srgb, var(--border) 74%, #47664b); box-shadow: 0 22px 42px -20px #06110cc4; }
.store-popup-placeholder { height: var(--store-popup-height); }
.store-controls-toggle {
  display: block; margin: var(--store-controls-gap) auto 0; padding: 4px 5px; border: 0; border-radius: 4px;
  cursor: pointer; background: transparent; color: #e1e9dc; font: inherit; font-size: 12px; line-height: 18px;
}
.store-controls-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.store-controls-dialog {
  width: min(710px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; border: 1px solid var(--border); border-radius: 16px;
  background: var(--panel); color: var(--text); overflow: auto; overscroll-behavior: contain;
}
.store-controls-dialog::backdrop { background: #101913b8; }
.store-controls-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px; border-bottom: 1px solid var(--border);
}
.store-controls-header h2 { margin: 0; font-size: 18px; }
.store-controls-close {
  min-height: 44px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text); cursor: pointer; font: inherit; font-size: 13px;
}
.store-controls-layout {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 18px;
  align-items: start; padding: 16px;
}
.store-demo .store-controls-popup .release-popup {
  height: min(var(--store-popup-height), calc(100dvh - 122px)); min-height: 265px;
  box-shadow: 0 5px 18px #10191330;
}
.store-controls-panel {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg); color: var(--text);
}
.store-controls-panel .rp-scenario { order: -1; margin: 0; justify-content: flex-start; }
.store-controls-panel .fine, .store-controls-panel .text-link { margin: 0; }
.store-controls-panel .text-link { font-size: 13px; color: var(--text); }
@media (max-width: 620px) {
  .store-controls-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
  .store-controls-panel { grid-row: 1; padding: 10px; gap: 6px; }
  .store-demo .store-controls-popup .release-popup {
    height: min(var(--store-popup-height), calc(100dvh - 235px));
  }
}
.store-mast + .file-privacy { padding-block: 8px; border-top: 0; }
#main {
  --feature-wash: radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--selected) 65%, var(--panel)), transparent 74%),
    linear-gradient(148deg, var(--panel), var(--bg));
}
#export-examples .document-examples { padding: clamp(15px, 2.5vw, 32px); border: 1px solid var(--border); border-radius: 19px; }
#export-examples .document-examples figure { display: flex; flex-direction: column; }
#export-examples .document-examples figcaption { order: -1; padding: 0 0 15px; }
#export-examples .document-example { box-shadow: 0 9px 23px -16px #142d2390; }
:is(.document-example, .code-paper, .math-examples button, .export-image-view) {
  background: var(--feature-wash);
}
.code-paper, #notion .notion-route { border: 1px solid var(--border); }
#notion .notion-route, #export-options .feature-points { background: color-mix(in srgb, var(--bg) 72%, var(--panel)); }
.transfer-section .transfer-subtitle {
  margin: 14px 0 16px; color: var(--text); font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 650; line-height: 1.25;
}
.transfer-preview {
  display: grid; justify-items: center; width: min(100%, 460px); margin: 0; justify-self: end;
  padding: clamp(12px, 2.5vw, 26px); border: 1px solid var(--border); border-radius: 16px;
  background: var(--feature-wash);
}
.transfer-preview img { display: block; width: min(100%, 360px); height: auto; border-radius: 9px; box-shadow: 0 5px 18px #10191324; }
@media (max-width: 760px) { .transfer-preview { justify-self: start; } }
.math-disclosure > summary {
  width: fit-content; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--panel); color: var(--text);
  cursor: pointer; font-size: 14px; font-weight: 600;
}
.math-disclosure > summary:hover { border-color: var(--selected-border); }
.math-disclosure > p { margin: 14px 0; color: var(--muted); font-size: 14px; }
.math-disclosure .math-examples { margin-top: 0; }
@media(max-width: 860px) {
 .store-layout { gap: 26px; padding-inline: 28px; grid-template-columns: minmax(0, 1fr) minmax(280px, .86fr); }
 .store-copy h1 { font-size: clamp(43px, 6.15vw, 53px); }
 .store-actions { gap: 6px 16px; }
}
@media(max-width: 700px) {
 .site-header.wrap { min-height: auto; }
 .store-mast { width: calc(100% - 20px); border-radius: 19px; }
 .store-layout { grid-template-columns: minmax(0,1fr); gap: 31px; padding: 22px clamp(16px,5vw,35px) 16px; }
 .store-copy, .store-demo { width: min(100%, 500px); margin-inline: auto; }
  .store-kicker .wave-target { --leaf-opening-width: min(250px, 100%, max(50px, calc(100svh - 235px))); }
 .store-copy h1 { font-size: clamp(46px, 9.4vw, 66px); margin: 18px 0 16px; }
 .store-intro { max-width: 43ch; }
 .store-actions { margin-top: 18px; gap: 5px 17px; }
 .store-actions a { font-size: 13px; }
 .store-providers { margin-top: 17px; padding-top: 13px; }
}
@media(max-width: 375px) {
 .store-actions { align-items: start; flex-direction: column; }
 .store-copy h1 { font-size: clamp(38px, 11.8vw, 45px); }
}

@media (max-width: 700px) {
  .site-header.wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding-block: 16px 22px; }
  .site-header > a { justify-self: start; }
  .site-header .lockup { width: 115px; height: auto; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; margin: 0; gap: 8px; }
  .site-header nav a { display: inline-flex; min-height: 36px; align-items: center; }
  .site-header .header-tools { grid-row: 1; grid-column: 2; }
  .store-layout { gap: 0; }
  .store-copy { display: contents; }
  .store-demo { order: 1; margin-top: 20px; }
  .store-providers { order: 2; margin-top: 20px; }
}

@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  .store-kicker .wave-target {
    z-index: 3;
    transform-origin: top left;
    transition: transform 440ms cubic-bezier(.22,.7,.26,1);
  }

  .store-kicker .wave-target[data-greeting] {
    width: 45px;
    height: 46px;
    margin-left: -3px;
    transform: translate(var(--greeting-x, 0px), var(--greeting-y, 0px)) scale(var(--greeting-scale, 1));
    transition: none;
    pointer-events: none;
  }
  .store-kicker .wave-target[data-greeting]:not([data-greeting-positioned]) { visibility: hidden; }

  .store-kicker > span,
  .store-kicker .wave-target[data-greeting] + span {
    opacity: 1;
    transition: none;
  }
}
