@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter+Tight:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #fbf9f3;
  --surface: #fffdf8;
  --surface-alt: #f1efe7;
  --ink: #181a18;
  --muted: #64685f;
  --line: #dcded3;
  --line-strong: #b9beb1;
  --blue: #3d5afe;
  --blue-hover: #2c46da;
  --on-blue: #fff;
  --blue-soft: #edf0ff;
  --finance-preview: #f1f2ee;
  --warm-soft: #f5eddc;
  --green-soft: #e9eee5;
  --header: rgba(251,249,243,.94);
  --glow: rgba(61,90,254,.10);
  --shadow: 0 18px 36px rgba(31,37,26,.09);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --display: 'Inter Tight', var(--sans);
  --mono: 'DM Mono', ui-monospace, monospace;
}
[data-theme='dark'] {
  color-scheme: dark;
  --bg: #171a18;
  --surface: #202620;
  --surface-alt: #262d27;
  --ink: #f6f8f1;
  --muted: #b1b9ae;
  --line: #394438;
  --line-strong: #60705c;
  --blue: #98aaff;
  --blue-hover: #b1beff;
  --on-blue: #151b33;
  --blue-soft: #242d44;
  --finance-preview: #292e2b;
  --warm-soft: #302d23;
  --green-soft: #263329;
  --header: rgba(23,26,24,.94);
  --glow: rgba(120,144,255,.15);
  --shadow: 0 18px 45px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
::selection { background: var(--blue); color: var(--on-blue); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(3.15rem, 6.3vw, 5.4rem); line-height: 1.02; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); line-height: 1.08; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.18; }
p { text-wrap: pretty; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.7425rem; letter-spacing: .055em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--blue); }
.section { padding-block: 92px; border-top: 1px solid var(--line); }
.section-label { display: flex; gap: 15px; align-items: center; color: var(--muted); margin-bottom: 35px; }
.section-label .number { color: var(--blue); }
.section-label::after { content: ''; width: 42px; height: 1px; background: var(--line-strong); }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 50; padding: 12px 18px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(18px); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 1.5rem/1 var(--display); letter-spacing: -.065em; }
.brand-dot { width: 9px; height: 9px; background: var(--blue); box-shadow: 0 0 18px var(--glow); }
.header-right { display: flex; align-items: center; gap: 30px; }
/* Keep the dropdown above the section indicator so it cannot intercept hover. */
.nav { display: flex; align-items: center; gap: 27px; position: relative; z-index: 4; }
.nav a { color: var(--muted); font: 0.7925rem var(--mono); transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav-tools { position: relative; }
.nav-tools-heading { display: flex; align-items: center; }
.tools-toggle { display: grid; place-items: center; width: 30px; height: 44px; margin-left: 3px; padding: 0; color: var(--muted); background: transparent; border: 0; }
.tools-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.tools-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.tools-toggle:is(:hover,:focus-visible) { color: var(--blue); }
.tools-products { position: absolute; z-index: 1; top: calc(100% - 1px); left: -16px; width: 275px; padding: 8px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.tools-products::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.tools-products[hidden] { display: none; }
.nav .tools-products a { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 44px; padding: 12px; color: var(--ink); }
.tools-products a span { font-size: .7rem; color: var(--muted); }
.nav .tools-products a:is(:hover,:focus-visible) { color: var(--blue); background: var(--blue-soft); }
.header-divider { width: 1px; height: 20px; background: var(--line); }
.theme-toggle,.menu-toggle { display: grid; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); width: 38px; height: 38px; transition: border-color .2s, color .2s; }
.theme-toggle:hover,.menu-toggle:hover { color: var(--blue); border-color: var(--blue); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; color: #181a18; filter: drop-shadow(0 0 3px rgba(0,0,0,.34)); }
.theme-toggle:is(:hover,:focus-visible) { color: #181a18; border-color: #74766f; box-shadow: 0 0 10px rgba(0,0,0,.08); }
.theme-toggle:is(:hover,:focus-visible) .icon-moon { filter: drop-shadow(0 0 4px rgba(0,0,0,.38)); }
[data-theme='dark'] .theme-toggle .icon-moon { display: none; }
[data-theme='dark'] .theme-toggle .icon-sun { display: block; color: #ffda69; filter: drop-shadow(0 0 4px rgba(255,209,74,.7)); }
[data-theme='dark'] .theme-toggle:is(:hover,:focus-visible) { color: #ffda69; border-color: #b59b49; box-shadow: 0 0 14px rgba(255,209,74,.12); }
[data-theme='dark'] .theme-toggle:is(:hover,:focus-visible) .icon-sun { filter: drop-shadow(0 0 5px rgba(255,209,74,.75)); }
.menu-toggle { display: none; }
.section-state { border-top: 1px solid var(--line); position: relative; z-index: 0; pointer-events: none; }
.section-state-inner { display: flex; justify-content: space-between; align-items: center; height: 27px; font-size: 0.6875rem; color: var(--muted); }
.reading-progress { height: 1px; position: absolute; bottom: -1px; left: 0; background: var(--blue); width: 0; transition: width .12s linear; }
.section-ruler { position: fixed; right: 24px; top: 50%; transform: translateY(-35%); z-index: 15; display: flex; flex-direction: column; width: 38px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 7px, var(--line) 7px, var(--line) 8px) right top/9px 100% no-repeat; }
.ruler-link { min-height: 64px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: var(--muted); position: relative; }
.ruler-link::after { content: ''; width: 19px; height: 1px; background: var(--line-strong); transition: width .2s, background .2s; }
.ruler-link .ruler-number { font: 0.6875rem var(--mono); background: var(--bg); padding: 4px 0; }
.ruler-link .ruler-text { position: absolute; right: 43px; white-space: nowrap; padding: 3px 7px; font: 0.7025rem var(--mono); color: var(--ink); background: var(--bg); opacity: 0; transform: translateX(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.ruler-link:hover .ruler-text,.ruler-link:focus-visible .ruler-text { opacity: 1; transform: none; }
.ruler-link.is-active { color: var(--blue); }
.ruler-link.is-active::after { width: 25px; height: 2px; background: var(--blue); box-shadow: 0 0 12px var(--glow); }
.hero { padding-top: 68px; padding-bottom: 48px; }
.hero .section-label { margin-bottom: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 30px; }
.hero-copy { max-width: 570px; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-description { max-width: 440px; color: var(--muted); margin-top: 25px; font-size: 1.0625rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; align-items: center; }
.btn { min-height: 47px; padding: 12px 18px; display: inline-flex; gap: 18px; justify-content: center; align-items: center; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 0.7825rem/1.4 var(--mono); transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn:hover svg { transform: translate(2px,-2px); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--on-blue); }
[data-theme='dark'] #hello .btn-primary { box-shadow: 0 0 18px rgba(120,144,255,.2), 0 4px 12px rgba(120,144,255,.08); }
[data-theme='dark'] #hello .btn-primary:hover,
[data-theme='dark'] #hello .btn-primary:focus-visible { box-shadow: 0 0 18px rgba(120,144,255,.22), 0 3px 10px rgba(120,144,255,.09); }
.btn[aria-disabled='true'],.btn:disabled { background: var(--surface-alt); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.text-link { font: 0.7825rem var(--mono); color: var(--muted); padding: 12px 0; display: inline-flex; align-items: center; gap: 9px; }
.text-link:hover { color: var(--blue); }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; width: 94%; height: 80%; z-index: -1; background: radial-gradient(ellipse, var(--glow), transparent 67%); }
.hero-art img { width: 100%; transform: rotate(-2deg); }
.art-note { position: absolute; right: 8%; bottom: 13px; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.6875rem; }
.art-note::before { content: '+'; color: var(--blue); font-size: 1.2rem; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.hero-bottom .scroll-hint { display: inline-flex; align-items: center; gap: 10px; }
.hero-bottom svg { width: 15px; height: 15px; color: var(--blue); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 44px; }
.section-heading p { max-width: 300px; font-size: 0.9725rem; color: var(--muted); }
.product-row { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 65px; padding: 40px 0; border-top: 1px solid var(--line); position: relative; }
.product-row::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-row:hover::after,.product-row:focus-visible::after { transform: scaleX(1); }
.product-row:last-child { border-bottom: 1px solid var(--line); }
.product-index { display: flex; align-items: center; gap: 10px; font-size: 0.7125rem; color: var(--muted); margin-bottom: 23px; }
.product-index span:first-child { color: var(--blue); }
.product-title-line { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin-bottom: 15px; }
.product-title-line h3 { font-size: clamp(1.8rem,3vw,2.65rem); }
.price-tag { font: 0.7425rem var(--mono); padding: 5px 9px; border: 1px solid var(--line-strong); white-space: nowrap; }
.product-copy>p { max-width: 375px; color: var(--muted); font-size: 1.0025rem; }
.product-features { list-style: none; margin: 20px 0 27px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 15px; color: var(--muted); font: 0.7025rem/1.8 var(--mono); }
.product-features li::before { content: '+'; margin-right: 6px; color: var(--blue); }
.explore { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 12px 15px; border: 1px solid var(--line-strong); font: 0.7525rem var(--mono); transition: background .2s,color .2s,border-color .2s,box-shadow .2s; }
.explore svg { width: 17px; height: 17px; }
.product-row:hover .explore,.product-row:focus-visible .explore { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
[data-theme='dark'] .product-row:hover .explore,
[data-theme='dark'] .product-row:focus-visible .explore { box-shadow: 0 0 14px rgba(120,144,255,.16), 0 3px 8px rgba(120,144,255,.06); }
.preview-stage { background: var(--blue-soft); position: relative; height: 410px; display: grid; grid-template-rows: auto minmax(0,1fr); gap: 22px; padding-block: 18px 24px; overflow: visible; margin-left: 25px; }
.preview-art { min-height: 0; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.preview-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 35px 35px; opacity: .3; mask-image: linear-gradient(150deg,black,transparent 80%); pointer-events: none; }
.stage-finance { background: var(--finance-preview); }
.stage-journal { background: var(--warm-soft); }
.stage-clipboard { background: var(--green-soft); }
.preview-screen { max-height: 310px; width: auto; max-width: 68%; transform: rotate(4deg); filter: drop-shadow(0 12px 9px rgba(0,0,0,.14)); transition: transform .45s cubic-bezier(.2,.7,.2,1); position: relative; z-index: 1; }
.product-row:nth-of-type(even) .preview-screen { transform: rotate(-4deg); }
.stage-label { position: relative; margin-inline: 20px; color: var(--muted); font-size: 0.6875rem; }
.stage-corner { position: absolute; bottom: 17px; right: 18px; width: 19px; height: 19px; border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.product-row:hover .preview-screen { transform: translateY(-5px) rotate(0); }
.values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; margin-top: 48px; }
.value { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.value .mono { color: var(--blue); margin-bottom: 23px; }
.value h3 { font-size: 1.4rem; letter-spacing: -.025em; margin-bottom: 12px; }
.value p { color: var(--muted); font-size: 0.9625rem; }
.maker { display: grid; grid-template-columns: .6fr 1fr; gap: 80px; align-items: center; }
.maker-art { width: 245px; max-width: 100%; padding: 17px 15px 0; background: transparent; border: 0; margin-inline: auto; position: relative; }
.maker-art img { width: 100%; }
.maker-art .mono { display: block; margin-bottom: 18px; font-size: 0.6875rem; color: var(--muted); }
.maker-copy h2 { max-width: 570px; }
.maker-copy>p { margin-top: 22px; color: var(--muted); max-width: 520px; font-size: 1.0225rem; }
.maker-copy .text-link { color: var(--blue); margin-top: 17px; }
.contact-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.contact-strip p { color: var(--muted); font-size: 0.9125rem; }
.site-footer { border-top: 1px solid var(--line); padding-top: 45px; }
.footer-top { display: flex; justify-content: space-between; gap: 25px; flex-wrap: wrap; }
.footer-top p { margin-top: 12px; font-size: 0.8625rem; color: var(--muted); }
.footer-links { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: flex-start; max-width: 500px; }
.footer-links a { font: 0.7125rem var(--mono); color: var(--muted); }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 35px; padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 0.6875rem; }
.footer-bottom a:hover { color: var(--blue); }
.product-hero { padding-top: 30px; padding-bottom: 54px; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; min-height: 38px; padding: 10px 13px; background: #373c38; border: 1px solid #4b534c; color: #f6f8f1; font: 0.7125rem var(--mono); margin-bottom: 36px; transition: background .2s,border-color .2s; }
.breadcrumb svg { width: 15px; height: 15px; }
.breadcrumb:hover { background: #454c46; border-color: var(--blue); }
.product-hero .hero-grid { gap: 60px; grid-template-columns: 1.08fr 1fr; }
.product-hero h1 { font-size: clamp(3.2rem,6.1vw,5.1rem); }
.product-hero .section-label { margin-bottom: 20px; }
.product-hero .hero-description { margin-top: 20px; }
.product-hero .preview-stage { height: 495px; margin: 25px 0 5px 25px; }
.product-hero .preview-screen { max-height: 390px; }
.product-price { font: 500 1.2rem var(--mono); margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.product-price span { font-size: 0.7125rem; color: var(--muted); font-weight: 400; }
.product-hero .hero-actions { margin-top: 20px; }
.requirements-note { margin-top: 16px; color: var(--muted); font: 0.7125rem/1.8 var(--mono); max-width: 440px; }
.requirements-note a { text-decoration: underline; text-underline-offset: 3px; }
.requirements-note a:hover { color: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; margin-top: 38px; counter-reset: steps; }
.step { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.step::before { counter-increment: steps; content: '0' counter(steps); color: var(--blue); font: 0.7625rem var(--mono); display: block; margin-bottom: 20px; }
.step h3 { font-size: 1.35rem; letter-spacing: -.03em; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.9625rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 55px; margin-top: 36px; }
.feature-item { border-top: 1px solid var(--line); padding: 24px 0; }
.feature-item h3 { font-size: 1.45rem; margin-bottom: 11px; }
.feature-item p { color: var(--muted); font-size: 0.9825rem; }
.feature-item .mono { display: inline-block; color: var(--blue); margin-bottom: 14px; }
.setup-note { padding: 25px 28px; border-left: 2px solid var(--blue); background: var(--surface-alt); margin-top: 24px; }
.setup-note h3 { font-size: 1.3rem; margin-bottom: 9px; }
.setup-note p { color: var(--muted); font-size: 0.9425rem; }
.weekday-list { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 18px 0 0; font: 0.7825rem var(--mono); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 30px 24px; margin-top: 35px; }
.gallery-grid.two-up { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 780px; margin-inline: auto; }
.gallery-grid.one-up { grid-template-columns: minmax(0,1fr); max-width: 430px; margin-inline: auto; }
.gallery-item { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; appearance: none; border: 0; padding: 0; background: transparent; text-align: left; color: var(--ink); min-width: 0; }
.gallery-image { flex: none; width: 100%; background: var(--surface-alt); padding: 22px 12px; height: 340px; display: flex; align-items: center; justify-content: center; position: relative; }
.gallery-canvas { flex: 0 1 auto; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-item img { flex: none; height: 100%; width: auto; max-width: none; max-height: none; object-fit: contain; transition: transform .25s; }
/* Square source canvases have wider transparent sides; fit their phones to the same height. */
.gallery-item img.gallery-square { height: 95.6%; }
.gallery-image.has-white { background: #fff; }
.gallery-item:hover img { transform: translateY(-3px); }
.gallery-expand { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.gallery-expand svg { width: 14px; height: 14px; }
.gallery-caption { display: flex; align-items: baseline; gap: 10px; margin-top: 13px; font-size: 0.8625rem; }
.gallery-caption .mono { color: var(--blue); font-size: 0.6875rem; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; }
.faq-intro p { color: var(--muted); margin-top: 20px; font-size: 0.9625rem; }
.faq-intro .text-link { color: var(--blue); margin-top: 15px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; padding: 22px 36px 22px 0; font-size: 0.9825rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 3px; color: var(--blue); font: 1.1625rem var(--mono); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--muted); font-size: 0.9325rem; padding: 0 20px 23px 0; }
.faq-list details a { text-decoration: underline; text-underline-offset: 3px; }
.closing { border-top: 1px solid var(--line); background: var(--blue-soft); padding-block: 48px; }
.closing-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.closing h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
.closing p { color: var(--muted); margin-top: 10px; font-size: 0.9425rem; }
.other-tools { padding-block: 50px; }
.other-tools>.mono { color: var(--muted); margin-bottom: 20px; }
.other-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.other-tool { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); }
.other-tool h3 { font-size: 1.3rem; margin-bottom: 6px; }
.other-tool .mono { color: var(--muted); font-size: 0.6875rem; }
.other-tool svg { color: var(--blue); }
.other-tool:hover h3 { color: var(--blue); }
.lightbox { max-width: min(1050px, calc(100vw - 36px)); width: 100%; max-height: calc(100dvh - 36px); padding: 0; background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.lightbox-top .mono { color: var(--muted); }
.icon-button { display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 38px; height: 38px; }
.icon-button:hover { border-color: var(--blue); color: var(--blue); }
.lightbox-image-area { display: flex; align-items: center; justify-content: center; padding: 20px; min-height: 150px; }
.lightbox-image-area img { max-height: calc(100dvh - 200px); max-width: 100%; width: auto; object-fit: contain; }
.lightbox-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 18px; }
.lightbox-caption { font-size: 0.8825rem; }
.lightbox-nav { display: flex; gap: 8px; }
.lightbox [hidden] { display: none; }
.reveal { transition: opacity .65s, transform .65s; }
.has-js .reveal:not(.visible) { opacity: 0; transform: translateY(15px); }
@media (min-width: 1500px) { .section-ruler { right: max(35px, calc((100vw - 1370px)/2)); } }
@media (max-width: 1250px) { .section-ruler { display: none; } }
@media (max-width: 950px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 20px; }
  .hero-art { min-height: 270px; }
  .hero-art img { width: 110%; max-width: 110%; }
  .art-note { right: 0; }
  .product-row { gap: 30px; }
  .preview-stage { margin-left: 12px; height: 380px; }
  .preview-screen { max-height: 280px; }
  .maker { gap: 40px; grid-template-columns: .7fr 1fr; }
  .values,.steps { gap: 25px; }
  .product-hero .hero-grid { gap: 30px; }
  .product-hero .preview-stage { height: 435px; }
  .product-hero .preview-screen { max-height: 330px; }
  .gallery-image { height: 290px; }
  .faq-layout { gap: 40px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 110px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 57px; }
  .header-inner { min-height: 64px; gap: 15px; }
  .brand { font-size: 1.4rem; }
  .header-right { gap: 9px; }
  .header-divider { display: none; }
  .theme-toggle,.menu-toggle { width: 38px; height: 38px; }
  .menu-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 20px; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); z-index: 3; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 13px 0; }
  .nav-tools-heading { justify-content: space-between; }
  .nav-tools-heading>a { flex: 1; }
  .tools-toggle { width: 44px; margin-left: 12px; border: 1px solid var(--line); }
  .tools-products { position: static; width: 100%; margin-bottom: 10px; box-shadow: none; }
  .tools-products::before { display: none; }
  .section-state-inner { font-size: 0.6875rem; height: 27px; }
  .hero { padding-top: 42px; padding-bottom: 26px; }
  .hero-grid,.product-hero .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-copy h1 { max-width: 520px; }
  .hero-description { max-width: 430px; font-size: 1.0125rem; }
  .hero-art { min-height: 0; padding: 34px 15px 37px; margin: 5px 0 0; }
  .hero-art img { width: 90%; max-width: 440px; }
  .art-note { bottom: 0; right: 20px; }
  .hero-bottom { margin-top: 30px; font-size: 0.6875rem; align-items: flex-start; }
  .hero-bottom>span:first-child { max-width: 210px; }
  .section-label { margin-bottom: 25px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .section-heading p { max-width: 380px; }
  .product-row { grid-template-columns: minmax(0,1fr); gap: 25px; padding: 32px 0; }
  .product-index { margin-bottom: 16px; }
  .product-title-line h3 { font-size: 2.05rem; }
  .product-copy>p { max-width: 460px; }
  .product-features { margin-block: 15px 20px; }
  .preview-stage { width: calc(100% - 20px); margin-left: 20px; height: 390px; }
  .preview-screen { max-height: 290px; }
  .values,.steps { grid-template-columns: minmax(0,1fr); gap: 27px; margin-top: 30px; }
  .value { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 15px; }
  .value .mono { grid-row: 1/3; margin: 3px 0 0; }
  .value h3 { margin-bottom: 9px; }
  .maker { grid-template-columns: minmax(0,1fr); gap: 35px; }
  .maker-art { width: 180px; margin-left: 0; }
  .maker-copy h2 { font-size: 2.5rem; }
  .contact-strip { padding-block: 23px; gap: 12px; }
  .footer-top { gap: 26px; }
  .footer-links { justify-content: flex-start; gap: 18px; }
  .footer-bottom { margin-top: 28px; }
  .product-hero { padding-top: 22px; padding-bottom: 42px; }
  .breadcrumb { margin-bottom: 28px; }
  .product-hero h1 { font-size: 3.55rem; }
  .product-hero .preview-stage { height: 455px; margin: 30px 0 0 20px; width: calc(100% - 20px); }
  .product-hero .preview-screen { max-height: 350px; }
  .feature-grid { grid-template-columns: minmax(0,1fr); margin-top: 25px; }
  .feature-item { padding-block: 22px; }
  .setup-note { padding: 20px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 13px; }
  .gallery-image { height: 260px; padding: 20px 5px; }
  .gallery-caption { font-size: 0.7925rem; gap: 6px; }
  .faq-layout { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 23px; }
  .closing { padding-block: 35px; }
  .other-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .other-tools { padding-block: 35px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 2.95rem; }
  .product-hero h1 { font-size: 3rem; }
  .preview-stage { height: 365px; }
  .preview-screen { max-height: 270px; }
  .gallery-image { height: 220px; }
  .gallery-caption { flex-direction: column; gap: 3px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-bottom .scroll-hint { white-space: nowrap; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .has-js .reveal:not(.visible) { opacity: 1; transform: none; }
}

/* Product illustrations stay inset, with room around the phone and the stage edges. */
.preview-stage { margin-left: 0; }
.preview-screen { max-width: 50%; }
.preview-mascot {
  position: absolute;
  width: clamp(130px,37%,185px);
  max-width: none;
  height: auto;
  z-index: 2;
  object-fit: contain;
  transform: translateY(var(--mascot-offset, 0px));
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.07));
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.stage-finance .mascot-cat { left: 24px; top: 18%; }
.stage-finance .mascot-dog { right: 24px; bottom: 24px; }
.stage-journal .mascot-dog { --mascot-offset: -50%; left: 24px; top: 54%; }
.stage-journal .mascot-cat { right: 24px; top: 29%; }
.stage-clipboard .mascot-cat { left: 24px; bottom: 24px; }
.stage-clipboard .mascot-dog { right: 24px; bottom: 24px; }
.product-row:is(:hover,:focus-visible) .preview-mascot { transform: translateY(calc(var(--mascot-offset, 0px) - 5px)) rotate(-2deg); }
.product-hero .preview-stage { margin-left: 0; }
.theme-toggle,.menu-toggle,.tools-toggle,.breadcrumb,.icon-button { transition: background .2s,border-color .2s,color .2s,box-shadow .2s; }
:is(.btn:not([aria-disabled='true']):not(:disabled),.menu-toggle,.tools-toggle,.breadcrumb,.icon-button):is(:hover,:focus-visible),
.product-row:is(:hover,:focus-visible) .explore,
.gallery-item:is(:hover,:focus-visible) .gallery-expand {
  box-shadow: 0 0 0 1px rgba(61,90,254,.08), 0 0 6px rgba(61,90,254,.07);
}
[data-theme='dark'] :is(.btn:not([aria-disabled='true']):not(:disabled),.menu-toggle,.tools-toggle,.breadcrumb,.icon-button):is(:hover,:focus-visible),
[data-theme='dark'] .product-row:is(:hover,:focus-visible) .explore,
[data-theme='dark'] .gallery-item:is(:hover,:focus-visible) .gallery-expand {
  box-shadow: 0 0 0 1px rgba(152,170,255,.14), 0 0 7px rgba(120,144,255,.12);
}
[data-theme='dark'] #hello .btn-primary:is(:hover,:focus-visible) {
  box-shadow: 0 0 0 1px rgba(152,170,255,.14), 0 0 7px rgba(120,144,255,.12);
}
[data-theme='dark'] .text-link:is(:hover,:focus-visible) { text-shadow: 0 0 8px rgba(152,170,255,.25); }
@media (max-width: 700px) {
  .preview-stage,.product-hero .preview-stage { width: 100%; margin-left: 0; }
  .preview-mascot { max-width: 41%; }
  .stage-finance .mascot-cat,.stage-journal .mascot-dog,.stage-clipboard .mascot-cat { left: 20px; }
  .stage-finance .mascot-dog,.stage-journal .mascot-cat,.stage-clipboard .mascot-dog { right: 20px; }
}
@media (max-width: 390px) {
  .preview-mascot { width: 118px; }
  .stage-finance .mascot-cat,.stage-journal .mascot-dog,.stage-clipboard .mascot-cat { left: 16px; }
  .stage-finance .mascot-dog,.stage-journal .mascot-cat,.stage-clipboard .mascot-dog { right: 16px; }
}
