/* Infinity: neutral glass, a continuous black ground, restrained green light. */
:root {
  --dark: #060606;
  --deep: #060606;
  --dock: #151615e8;
  --ink: #ededeb;
  --muted: #a0a29d;
  --line: #ffffff1c;
  --ring: #c5e9a1;
  --paper-ink: var(--ink);
  --paper-muted: var(--muted);
  --paper-line: var(--line);
  --panel: #ffffff05;
  --panel-border: #ffffff1c;
}
:root[data-theme="light"] {
  --dark: #f5f5f3;
  --deep: #f5f5f3;
  --dock: #f6f7f4d9;
  --ink: #1b1e1a;
  --muted: #60665e;
  --line: #25342426;
  --ring: #4c7139;
  --panel: #ffffff87;
  --panel-border: #25342426;
}
html, body { background: var(--dark); }
body { position: relative; isolation: isolate; }
.page-current { position: fixed; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100dvh; }
/* Mobile browser bars animate the visible viewport during a reverse swipe.
   Keep the decorative drawing surface steady instead of reallocating it. */
@media (hover: none) and (pointer: coarse) {
  .page-current { height: 100vh; height: 100lvh; }
}
.hero, [data-theme="light"] .hero, .pricing, .site-footer { background: transparent; color: var(--ink); }
.hero { min-height: 0; padding-block: clamp(122px, 14vh, 152px) clamp(40px, 5vw, 68px); }
.hero-content { gap: clamp(30px, 3.4vw, 48px); }
.hero-line { color: #b9bcb5; }
[data-theme="light"] .hero-line { color: var(--muted); }
.hero h1 em { color: #c9e5ad; }
[data-theme="light"] .hero h1 em { color: #4e6b3c; }
.section { padding-block: clamp(46px, 5.8vw, 84px); }
.pricing { --ring: #c5e9a1; padding-bottom: 32px; }
[data-theme="light"] .pricing { --ring: #4c7139; }
.pricing .section-intro { max-width: 62ch; }
.dock {
  color: var(--ink); background: linear-gradient(160deg,#ffffff12,#ffffff02 42%), var(--dock);
  border-color: var(--panel-border); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 1px #ffffff1a, inset 0 -1px #00000014, 0 10px 32px -10px #0008;
}
.dock-mark, .dock.is-compact .dock-mark { padding: 0 2px; }
.dock-item { color: var(--ink); background: #ffffff04; }
.dock-item:hover, .dock-item:focus-visible, .dock-item[data-near="true"]:not(.dock-mark,.buy-link) { color: var(--ink); background: #ffffff0d; border-color: var(--line); }
.dock-item[aria-current="location"]:not(.buy-link) { color: #ddf1c5; background: #b7db8f1a; border-color: #c9e9a92e; }
.dock .buy-link { color: #20261b; background: linear-gradient(145deg,#edf3e5,#d5e2c6); border-color: #eff6e354; }
[data-theme="light"] .dock { box-shadow: inset 0 1px #fff, 0 10px 32px -10px #24311d33; }
[data-theme="light"] .dock-item { background: #23311f04; }
[data-theme="light"] .dock-item:hover, [data-theme="light"] .dock-item[data-near="true"]:not(.dock-mark,.buy-link) { background: #23311f0b; }
[data-theme="light"] .dock-item[aria-current="location"]:not(.buy-link) { color: #38552b; background: #56784116; border-color: #5573432b; }
.dock-mark img, .footer-brand img, .native-editor-loading img, .editor-purchase-card > img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
[data-theme="light"] .dock-mark img, [data-theme="light"] .footer-brand img,
.editor-purchase[data-editor-theme="light"] .editor-purchase-card > img { filter: grayscale(1); mix-blend-mode: multiply; }
.lang-showcase {
  --lang-ink: #ededeb; --lang-muted: #a0a69b;
  background: linear-gradient(135deg,#ffffff09,#ffffff02), #10120fe0;
  border-color: var(--panel-border); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 28px 64px -26px #0009, inset 0 1px #ffffff12;
}
.lang-showcase-picker { padding: 10px 8px; }
.lang-showcase-picker h2 { width: 100%; text-align: center; font-size: clamp(23px,2.35vw,32px); line-height: 1.2; margin-bottom: 21px; }
.lang-showcase-chip { border-color: #ffffff18; background: linear-gradient(#ffffff08,#ffffff03); }
.lang-showcase-chip[aria-pressed="true"] { background: linear-gradient(145deg,#e9f2dc,#bfd89d); border-color: #eaf6d67a; }
[data-theme="light"] .lang-showcase {
  --lang-ink: #283026; --lang-muted: #606a59; --lang-focus: #425d37;
  background: linear-gradient(135deg,#ffffffb5,#ffffff66); border-color: var(--panel-border);
  box-shadow: 0 22px 48px -28px #26371c30, inset 0 1px #fff;
}
[data-theme="light"] .lang-showcase-chip { border-color: #34482921; background: #30402104; }
[data-theme="light"] .lang-showcase-chip[aria-pressed="true"] { color: #29421d; border-color: #698d3b50; background: #d8e6c2; box-shadow: inset 0 1px #fff8, 0 2px 5px #26371c10; }
[data-theme="light"] .lang-showcase-chip:not([aria-pressed="true"]):hover { background: #425e2b0c; border-color: #425e2b47; }
.pricing-heading { margin-bottom: 28px; }
.plan { background: linear-gradient(135deg,#ffffff04,transparent),color-mix(in srgb,var(--dark) 66%,transparent); border-color: var(--panel-border); box-shadow: inset 0 1px #ffffff0a; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.plan-icon { color: #dce8d2; background: #ffffff05; border-color: var(--panel-border); }
[data-theme="light"] .plan-icon { color: #496238; background: #65834308; }
.plan .purchase-link { background: linear-gradient(150deg,#ffffff0d,#ffffff04); border-color: #ffffff25; color: var(--ink); box-shadow: inset 0 1px #ffffff0d; }
.plan .purchase-link:hover { background: #ffffff10; box-shadow: 0 8px 18px -10px #0008; }
[data-theme="light"] .plan .purchase-link { background: linear-gradient(150deg,#ffffffc9,#ffffff40); border-color: #3e56332e; box-shadow: inset 0 1px #fff; }
[data-theme="light"] .plan .purchase-link:hover { background: #fff; }
.plan-billing { display: flex; gap: 3px; align-items: center; align-self: flex-start; padding: 3px; margin-top: 24px; border: 1px solid var(--panel-border); border-radius: 999px; background: #ffffff03; }
.plan-billing[hidden] { display: none; }
.plan-billing button { min-height: 40px; padding: 7px 17px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; color: var(--muted); background: transparent; transition: color .2s,background .2s,transform .2s; }
.plan-billing button[aria-pressed="true"] { color: #263821; background: #d6e4bc; border-color: #ecf4dc29; box-shadow: inset 0 1px #ffffff35; }
.plan-billing button:hover { color: var(--ink); background: #afc39217; }
.plan-billing button[aria-pressed="true"]:hover { background: #e1edca; color: #263821; }
.plan-billing button:active { transform: scale(.97); }
.bundle-billing { align-self: flex-start; min-height: 48px; margin-top: 24px; display: flex; align-items: center; color: var(--muted); font-size: 12px; }
.plan .plan-price { margin-top: 0; padding-top: 24px; }
.plan .price-alt { margin-bottom: 25px; min-height: 44px; }
.plan .purchase-link { margin-top: auto; }
.plan > noscript { margin-top: 8px; }
.checkout-note { align-items: flex-start; max-width: 80ch; line-height: 1.7; margin-top: 16px; }
.checkout-note svg { margin-top: 2px; }
.faq { padding-top: 32px; padding-bottom: clamp(40px,5vw,72px); }
.faq > .wrap { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: clamp(28px,6vw,80px); }
.faq h2 { font-size: clamp(30px,3.4vw,48px); line-height: 1.12; max-width: 14ch; }
.faq .section-intro { font-size: 13px; margin-top: 20px; }
.faq-list { padding: 4px clamp(16px,2.2vw,28px); border: 1px solid var(--panel-border); border-radius: 20px; background: var(--panel); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { min-height: 65px; font-size: 14px; gap: 18px; }
.faq-list summary::after { font-weight: 300; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { padding: 0 20px 20px 0; font-size: 13px; line-height: 1.7; }
.faq-list details[open] p { animation: answer-in .35s ease both; }
.faq-list details p a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.site-footer { border-color: var(--line); }
.theme-toggle { background: var(--panel); transition: background .2s,transform .25s; overflow: hidden; }
.theme-toggle svg { transition: transform .45s cubic-bezier(.16,1,.3,1); }
.theme-toggle:hover { background: #a8c38b15; }
.theme-toggle:hover .sun { transform: rotate(90deg) scale(1.12); }
.theme-toggle:hover .moon { transform: rotate(-24deg) scale(1.12); }
.theme-toggle:active { transform: scale(.91); }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: theme-curtain .8s cubic-bezier(.76,0,.24,1) both; mix-blend-mode: normal; }
[data-theme-transition="up"]::view-transition-new(root) { animation-name: theme-curtain-up; }
::view-transition-group(root) { animation-duration: .8s; }
::view-transition { pointer-events: none; }
@keyframes theme-curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes theme-curtain-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.theme-crossfade body, .theme-crossfade .dock, .theme-crossfade .plan, .theme-crossfade .lang-showcase { transition: color .35s,background-color .35s,border-color .35s; }
@media (min-width: 768px) {
  .plan > h3 + p { min-height: 3.3em; }
  .plan .price-alt { min-height: 4.95em; }
}
@media (max-width: 740px) {
  .dock-mark { width: 50px; }
  .hero { padding-block: 116px 36px; }
  .section { padding-block: 42px; }
  .faq > .wrap { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .faq h2 { max-width: 18ch; font-size: clamp(30px,7.5vw,40px); }
  .faq .section-intro { margin-top: 12px; }
  .faq-list summary { min-height: 60px; }
  .lang-showcase-picker { padding: 8px 0; }
  .lang-showcase-picker h2 { margin-bottom: 16px; }
}
@media (max-width: 355px) { .dock-mark { width: 43px; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(root) { animation: none; }
  .faq-list details[open] p { animation: none; }
}
