/* Match the desktop's navy frame, blue accents and shaded surfaces. */
:root { --frame:#e8edf5; --panel:#eef2f7; --control:#e1e7f0; --raised:#f8faff; --active:#dce7ff; }
body { background:#f8f9fc; }
.site-header { border:0; }
.site-header nav .nav-license { border:0; background:var(--active); }
.hero { border:0; }
.hero-preview { padding-bottom:60px; }
.features { border:0; padding-top:64px; }
.hero-preview .product-stage { border:0; border-radius:12px; background:var(--frame); padding:8px; }
.product-window { border:0; border-radius:9px; background:var(--frame); }
.window-bar { border:0; background:var(--control); height:32px; }
.product-app-body { grid-template-columns:180px minmax(0,1fr); min-height:650px; background:#101b35; }
.product-sidebar { padding:16px 10px 70px; }
.preview-brand { gap:8px; margin-bottom:16px; }
.preview-brand img { width:26px; height:26px; border-radius:6px; }
.preview-brand strong { font-size:12px; }
.product-sidebar .preview-nav { animation:none; gap:8px; padding:6px 8px; min-height:25px; font-size:10px; font-weight:500; border-radius:5px; }
.preview-nav svg { width:13px; height:13px; flex-shrink:0; color:#8499bd; }
.preview-nav-group { margin:12px 8px 5px; color:#7f91b2; font-size:9px; }
.product-sidebar .preview-nav.is-active { background:#22385f; color:#e5edff; }
.preview-nav.is-active svg { color:#89adff; }
.preview-credit { border:0; background:#162440; border-radius:6px; padding:10px; bottom:12px; left:10px; right:10px; }
.demo-workspace { background:var(--frame); }
.product-window .demo-scene { inset:6px 6px 6px 0; padding:0 18px 18px; border-radius:8px; background:#f8f9fc; animation:none; opacity:0; visibility:hidden; transform:translateY(5px); transition:opacity .25s ease,transform .25s ease; }
.product-window .demo-scene.is-active { display:block; visibility:visible; opacity:1; transform:none; }
.preview-page-head { margin:0 -18px 16px; padding:16px 18px; min-height:65px; align-items:center; gap:12px; background:#f1f4f9; }
.preview-page-head strong { font-size:16px; font-weight:600; }
.preview-page-head small { font-size:8px; }
.preview-page-head button { font-size:9px; padding:8px 10px; font-weight:550; border:0; box-shadow:none; }
.preview-alert { border:0; border-radius:6px; background:#fbefdb; animation:none; }
.preview-metrics article { border:0!important; background:var(--panel); padding:13px; border-radius:7px; }
.preview-metrics article:first-child { background:#e9f3ef; }
.preview-metrics article:nth-child(2),.preview-metrics article:nth-child(5) { background:#f8eae7; }
.preview-metrics article:nth-child(4) { background:#f8efdf; }
.preview-chart-card,.preview-lower-grid>article,.demo-panel,.demo-form-card { border:0; background:var(--panel); border-radius:7px; }
.preview-card-head,.demo-panel-head { border:0; background:#e7edf5; }
.preview-lower-grid>article>p { border:0; background:var(--raised); margin:4px; border-radius:5px; padding:10px; }
.preview-chart .chart-grid { background:#dce3ee; }
.trend-bars>span>b { animation:none; }
.demo-counter-grid { margin-top:0; height:460px; }
.demo-search { background:var(--control); border:0; }
.demo-product-grid article { border:0; border-radius:6px; background:var(--raised); padding:10px; min-height:185px; }
.demo-product-image { height:75px; display:grid; place-items:center; background:#e5ecf6; color:#7d96c3; font-size:24px; border-radius:5px; margin-bottom:12px; }
.demo-cart-row,.account-row,.ledger-row { border:0; background:var(--raised); margin:4px; border-radius:5px; }
.demo-cart-total,.demo-total-row { border:0; background:var(--active); border-radius:5px; padding:12px; }
.demo-form-card { margin-top:14px; }
.demo-fields label { text-transform:none; font-size:8px; font-weight:500; }
.demo-fields label>span { border:0; background:var(--control); font-size:9px; min-height:33px; }
.demo-table-head { border:0; background:#e1e8f2; text-transform:none; font-size:8px; padding:12px; }
.demo-table-row { border:0; background:var(--raised); margin:4px; border-radius:5px; font-size:9px; }
.demo-total-row { margin-top:66px; }
.contact-summary article,.books-summary article { border:0; border-radius:7px; background:var(--panel); }
.expense-row i { background:var(--control); }
.demo-receipt-layout { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
.demo-receipt-layout .demo-form-card { padding:0; margin:0; }
.receipt-fields { grid-template-columns:1fr; padding:18px; }
.demo-receipt-note { padding:14px; color:#667389; font-size:9px; line-height:1.7; }
.demo-receipt-preview { padding:20px; background:var(--control); border-radius:7px; }
.demo-receipt-paper { padding:24px 18px; background:white; font:10px/1.6 ui-monospace,SFMono-Regular,monospace; text-align:center; color:#172033; }
.demo-receipt-paper>strong,.demo-receipt-paper>small { display:block; }
.demo-receipt-paper>strong { font-size:15px; }
.demo-receipt-paper p { display:flex; justify-content:space-between; gap:8px; margin:20px 0; font-size:9px; }
.demo-receipt-paper .receipt-total { background:#eef2f7; padding:12px 8px; }
.gst-demo-fields { grid-template-columns:1fr 1fr; }
.gst-demo-card { margin-top:18px; }
.gst-demo-card>.demo-fields { padding:18px; }
.demo-gst-result { padding:18px; margin:0 18px 18px; background:#dceee4; border-radius:6px; }
.demo-gst-result small,.demo-gst-result strong,.demo-gst-result span { display:block; }
.demo-gst-result small,.demo-gst-result span { font-size:9px; color:#536b60; }
.demo-gst-result strong { margin:8px 0; color:#087e5b; font-size:28px; }
.feature-stories { display:grid; gap:24px; }
.feature-story { background:var(--panel); border:0; padding:40px; border-radius:12px; gap:48px; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
.feature-story:nth-child(even) { background:#e9eff7; }
.feature-symbol { border:0; background:#dce7fa; border-radius:8px; }
.feature-symbol svg { display:block; width:24px; height:24px; }
.record-icon svg { display:block; width:18px; height:18px; }
.feature-visual { border:0; border-radius:9px; background:#f8faff; padding:18px; }
.visual-title { border:0; background:#e5ecf6; margin:-18px -18px 14px; padding:18px; }
.visual-line,.stock-row { border:0; border-radius:6px; background:var(--panel); margin-top:5px; padding:17px 12px; }
.visual-action { border-radius:6px; background:var(--active); }
.report-metrics>span { border:0; border-radius:6px; background:var(--panel); }
.report-bars { border:0; background:#eef3fa; padding-bottom:5px; border-radius:6px; }
.offline-visual { background:#e0e8f5; }
.offline-visual::before { display:none; }
.local-vault { border:0; background:#edf3fd; box-shadow:none; }
.vault-mark svg { box-shadow:none; }
.download-card { border:0; background:var(--panel); border-radius:9px; }
.download-card:hover { border:0; background:#e0e8f5; transform:translateY(-2px); }
.license-details { border:0; background:var(--panel); padding:28px; border-radius:10px; }
.license-details li { border:0; margin-bottom:5px; padding:13px; background:#f8faff; border-radius:6px; }
.store-card { border:0; background:var(--panel); box-shadow:none; border-radius:10px; }
.store-form input,.store-form select,.store-form textarea { border:0; background:var(--control); border-radius:6px; }
.store-form input:focus,.store-form select:focus,.store-form textarea:focus { background:#dce5f4; }
.store-password button { background:var(--control); border-radius:4px; }
.store-button { border:0; border-radius:6px; }
.store-button.secondary { background:var(--control); }
.store-message { border:0; background:#dceee4; }
.store-total { border:0; padding:20px 14px; background:var(--active); border-radius:6px; }
.store-aside li { border:0; background:var(--panel); padding:16px; margin-bottom:5px; border-radius:6px; }
.store-key { border:0; background:var(--control); }
.store-metrics>div { border:0; background:var(--panel); border-radius:8px; }
.store-table th,.store-table td { border:0; }
.store-table th { background:#e1e8f2; }
.store-table td { background:var(--raised); }
.store-table tbody tr:nth-child(even) td { background:#e8eef7; }
.legal-details { background:var(--panel); }
footer { border:0; border-radius:10px 10px 0 0; background:var(--panel); padding:28px; }
@media(max-width:900px) {
  .feature-story { grid-template-columns:1fr; gap:30px; padding:28px; }
  .hero-preview .product-stage { position:relative; overflow:hidden; aspect-ratio:auto; height:calc(682px * var(--preview-scale,.6) + 16px); }
  .product-stage .product-window { position:absolute; top:8px; left:8px; width:1100px; transform:scale(var(--preview-scale,.6)); transform-origin:top left; }
}
@media(max-width:680px) {
  .hero-preview .product-stage { padding:8px; }
  .product-app-body { grid-template-columns:180px minmax(0,1fr); }
  .product-sidebar .preview-nav span { display:inline; }
  .preview-brand strong { display:block; }
  .preview-credit { display:block; }
  .demo-workspace { padding:0; }
  .demo-fields label:nth-child(n+3) { display:block; }
  .demo-fields { grid-template-columns:1.4fr 1fr 1fr 1fr; }
  .feature-story { padding:22px; }
  .feature-copy h3 { font-size:30px; }
  .demo-receipt-layout .receipt-fields { grid-template-columns:1fr; }
  .demo-gst .gst-demo-fields { grid-template-columns:1fr 1fr; }
  footer { padding:22px; }
}
@media(prefers-reduced-motion:reduce) {
  .product-window .demo-scene { transition:none; }
  .product-window .demo-scene:not(.is-active) { display:none; }
}

/* The sample app is navigated through its own controls. */
.hero-preview .product-stage { height:auto; aspect-ratio:auto; overflow:hidden; }
.product-stage .product-window { position:relative; top:auto; left:auto; width:100%; transform:none; }
.product-app-body { grid-template-columns:180px minmax(0,1fr); }
.product-sidebar .preview-nav { width:100%; min-height:40px; border:0; background:transparent; color:#b6c2d8; font-family:inherit; text-align:left; cursor:pointer; }
.product-sidebar .preview-nav:hover { background:#1c3053; color:white; }
.hero-preview button:focus-visible,.hero-preview input:focus-visible,.hero-preview select:focus-visible { outline:2px solid #538aff; outline-offset:3px; }
.product-workspace.demo-workspace { padding:0; min-width:0; overflow:auto; position:relative; }
.product-window .demo-scene { position:relative; inset:auto; display:none; min-height:570px; margin:6px; padding-bottom:20px; }
.product-window .demo-scene.is-active { display:block; pointer-events:auto; }
.demo-feedback { min-height:24px; margin:8px 20px 16px; color:#24614e; font-size:12px; }
.demo-label { font-weight:400; opacity:.6; margin-left:8px; }
.window-bar .demo-reset { margin-left:auto; border:0; background:transparent; color:#43536b; font:inherit; font-size:11px; cursor:pointer; padding:6px 10px; }
.preview-card-head button,.preview-alert button { background:transparent; border:0; color:#2858bd; font:inherit; font-size:10px; cursor:pointer; }
.demo-product-grid article[hidden] { display:none; }
.demo-product-grid button { margin-top:14px; width:100%; padding:10px 4px; border:0; border-radius:5px; background:#dce7ff; color:#234b9f; font:inherit; font-size:11px; cursor:pointer; }
.demo-search input { width:100%; background:transparent; border:0; padding:10px 0; font:inherit; font-size:12px; color:#17243c; }
.demo-fields input,.demo-fields select,.demo-table-row input { width:100%; min-width:0; border:1px solid #c4cfdf; background:#fff; color:#17243c; border-radius:5px; font:inherit; font-size:12px; padding:9px; margin-top:5px; }
.demo-table-row input { max-width:64px; margin:0; padding:6px; }
.demo-cart .demo-cart-row button { width:28px; height:28px; margin:0; padding:0; flex-shrink:0; background:#e2e8f2; color:#334664; font-size:18px; cursor:pointer; }
.demo-cart-total { margin-top:25px; }
.hero-preview button { cursor:pointer; }
.hero-preview button:disabled { opacity:.55; cursor:default; }
.demo-counter-grid { height:auto; min-height:430px; }
@media(max-width:800px) {
  .product-app-body { grid-template-columns:120px minmax(0,1fr); min-height:620px; }
  .product-sidebar { padding:12px 6px 80px; }
  .product-sidebar .preview-nav { min-height:44px; padding:8px 5px; font-size:11px; gap:5px; }
  .product-sidebar .preview-nav span { display:inline; }
  .preview-brand strong { font-size:11px; }
  .preview-brand img { width:20px; height:20px; }
  .product-window .demo-scene { min-width:520px; min-height:550px; }
  .demo-feedback { min-width:280px; }
  .window-bar .demo-label { display:none; }
  .demo-counter-grid { grid-template-columns:1.25fr .8fr; }
  .demo-cart { display:block; }
}

/* A local invoice being completed on a disconnected laptop. */
.offline-visual { padding:34px 26px 22px; }
.offline-computer { width:100%; max-width:440px; margin:0 auto; }
.offline-screen { padding:9px; background:#17243c; border-radius:14px 14px 5px 5px; box-shadow:0 15px 30px #20385a18; }
.offline-appbar { display:flex; align-items:center; justify-content:space-between; gap:12px; background:#edf1f7; padding:12px 14px; border-radius:6px 6px 0 0; font-size:11px; color:#25354f; }
.offline-appbar>span { display:flex; gap:6px; align-items:center; color:#69768b; font-size:9px; }
.offline-appbar svg { width:17px; height:17px; }
.offline-document { padding:22px 22px 16px; background:#fff; border-radius:0 0 3px 3px; }
.offline-document-title { display:flex; justify-content:space-between; align-items:center; font-size:12px; margin-bottom:22px; }
.offline-document-title>span { font-size:9px; letter-spacing:.08em; color:#68778d; }
.offline-document-title small { display:block; margin-top:5px; letter-spacing:0; font-size:9px; }
.offline-line { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0; padding:10px; background:#f3f6fa; font-size:11px; animation:local-entry 8s ease infinite; }
.offline-line small { display:block; margin-top:4px; color:#7b8799; font-size:9px; }
.offline-line-two { animation-name:local-entry-second; }
.offline-total { display:flex; justify-content:space-between; margin:19px 0; font-size:12px; }
.offline-saved { display:flex; gap:7px; align-items:center; color:#35715c; font-size:10px; animation:local-save 8s ease infinite; }
.offline-saved svg { width:17px; height:17px; }
.offline-laptop-base { height:11px; margin:0 -12px; background:#aab8cb; border-radius:2px 2px 70% 70%; box-shadow:0 9px 14px #263d5912; }
.offline-caption { text-align:center; font-size:11px; color:#65748a; margin:23px 0 0; }
@keyframes local-entry { 0%,8% { opacity:0; transform:translateY(6px); } 18%,92% { opacity:1; transform:none; } 100% { opacity:0; } }
@keyframes local-entry-second { 0%,25% { opacity:0; transform:translateY(6px); } 35%,92% { opacity:1; transform:none; } 100% { opacity:0; } }
@keyframes local-save { 0%,45% { opacity:0; } 55%,92% { opacity:1; } 100% { opacity:0; } }
@media(prefers-reduced-motion:reduce) { .offline-line,.offline-saved { animation:none; } }
@media(max-width:550px) { .offline-visual { padding:24px 18px; }.offline-document { padding:18px 12px; } }
@media(max-width:600px) {
  .product-app-body { display:block; min-height:0; }
  .product-sidebar { display:flex; align-items:center; gap:4px; overflow-x:auto; padding:8px; }
  .product-sidebar .preview-brand,.product-sidebar .preview-nav-group,.product-sidebar .preview-credit { display:none; }
  .product-sidebar .preview-nav { flex:0 0 auto; width:auto; padding:9px 12px; }
  .product-workspace.demo-workspace { max-height:620px; }
  .product-window .demo-scene { min-width:0; padding:0 12px 16px; min-height:560px; }
  .preview-page-head { margin:0 -12px 14px; padding:14px 12px; flex-wrap:wrap; }
  .preview-page-head strong { font-size:16px; line-height:1.4; }
  .preview-page-head small { font-size:10px; }
  .preview-page-head button { font-size:11px; min-height:36px; }
  .preview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .preview-lower-grid,.demo-counter-grid,.demo-contact-grid,.demo-receipt-layout { grid-template-columns:1fr; height:auto; }
  .demo-cart { padding-bottom:16px; }
  .demo-product-grid { gap:5px; padding:0 8px 8px; }
  .demo-product-grid article { padding:7px; }
  .demo-product-grid button { font-size:10px; }
  .demo-product-grid strong { white-space:normal; font-size:10px; }
  .demo-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .demo-table-head,.demo-table-row { gap:5px; padding:8px; font-size:8px; }
  .demo-table-row input { padding:6px 2px; }
  .demo-total-row { margin-top:24px; }
  .demo-feedback { min-width:0; }
}
