/* Lusardi Studio. Same "Quiet paper" palette and type as Marks Dictation, so the studio and its products read as one family.
   Layout: generous single column for statements, two-column editorial rows (heading left, text right), one dark product band.
   No web fonts, cookies or trackers. */
:root {
  --surface: #FAF9F6;
  --quiet: #F0EEE8;
  --ink: #272620;
  --muted: #5E5B53;
  --rule: #DEDBD3;
  --record: #A32D26;
  --on-ink: #FAF9F6;
  --band: #272620;       /* the dark product band */
  --band-text: #F3F1EB;
  --band-muted: #B9B4A9;
  --band-rule: #46443D;
  --display: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --surface: #242320; --quiet: #2E2C28; --ink: #F0EDE6; --muted: #B9B4A9; --rule: #4A4740;
    --record: #FFB6AA; --on-ink: #242320; --band: #33312C; --band-text: #F3F1EB; --band-muted: #C3BEB3; --band-rule: #55524A; color-scheme: dark; }
}
:root[data-theme="dark"] { --surface: #242320; --quiet: #2E2C28; --ink: #F0EDE6; --muted: #B9B4A9; --rule: #4A4740;
  --record: #FFB6AA; --on-ink: #242320; --band: #33312C; --band-text: #F3F1EB; --band-muted: #C3BEB3; --band-rule: #55524A; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.7; }
a { color: inherit; text-decoration-color: var(--muted); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: normal; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 6px; z-index: 5; }
.skip:focus { left: 12px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Header: brand, page links, and the Marks Dictation button at the far right */
.site-header { border-bottom: 1px solid var(--rule); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 22px; text-decoration: none; margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; }
.site-nav a { text-decoration: none; color: var(--muted); padding-block: 6px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; text-decoration-color: var(--ink); }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--ink); line-height: 1.3; }
.btn.primary { background: var(--ink); color: var(--on-ink); }
.btn.primary:hover { opacity: .88; }
.btn.ghost { border-color: var(--rule); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.small { padding: 9px 16px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Opening statement */
.opening { padding-block: 104px 88px; display: grid; gap: 28px; max-width: 54rem; }
.opening h1 { font-size: clamp(40px, 6.4vw, 70px); line-height: 1.06; letter-spacing: -.01em; }
.opening .lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 40rem; }
.page-opening { padding-block: 88px 56px; }
.page-opening h1 { font-size: clamp(38px, 5.6vw, 60px); }

/* Home hero: short statement left, Marks at work right */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 96px 88px; }
.hero > * { min-width: 0; }
.hero-text { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 62px); line-height: 1.06; letter-spacing: -.01em; }
.hero .lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); }
.hero .ctas { margin-top: 6px; }
.demo { min-width: 0; }
.hero .window { box-shadow: 0 18px 44px rgba(0,0,0,.14); border: 1px solid var(--rule); }

/* Editorial rows: heading on the left, text on the right */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px 64px; padding-block: 64px; border-top: 1px solid var(--rule); }
.row > * { min-width: 0; }
.row h2 { font-size: clamp(28px, 3.6vw, 38px); }
.row .body { display: grid; gap: 20px; max-width: 40rem; }
.row .body p.big { font-family: var(--display); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.5; }
.rules { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.rules li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.rules .n { font-family: var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.rules b { display: block; font-weight: 600; }
.rules span.d { color: var(--muted); }

/* Dark product band */
.product { background: var(--band); color: var(--band-text); margin-top: 24px; }
.product .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 96px; }
.product .inner > * { min-width: 0; }
.product .copy { display: grid; gap: 22px; }
.product .label { color: var(--band-muted); }
.product h2 { font-size: clamp(38px, 5vw, 56px); }
.product .sub { font-family: var(--display); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.45; }
.product p { color: var(--band-muted); }
.product .facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--band-text); }
.product .facts li { display: inline-flex; align-items: center; gap: 8px; }
.product .facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--band-muted); }
.product .btn.primary { background: var(--band-text); color: var(--band); border-color: var(--band-text); }
.product .btn.ghost { color: var(--band-text); border-color: var(--band-rule); }
.product .btn.ghost:hover { border-color: var(--band-text); }
.product :focus-visible { outline-color: var(--band-text); }

/* Marks key facts in the dark band */
.spec { margin: 0; display: grid; border-top: 1px solid var(--band-rule); }
.spec div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--band-rule); }
.spec dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); padding-top: 5px; }
.spec dd { margin: 0; font-family: var(--display); font-size: clamp(19px, 2vw, 22px); color: var(--band-text); }

/* Speed and value numbers, full width under the Marks copy */
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; padding-top: 48px; border-top: 1px solid var(--band-rule); }
.stat { display: grid; gap: 10px; align-content: start; min-width: 0; }
.stat .num { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--band-text); font-variant-numeric: tabular-nums; }
.stat p { color: var(--band-muted); }
.stat b { color: var(--band-text); font-weight: 600; }
.product .stats .source { grid-column: 1 / -1; font-size: 13px; color: var(--band-muted); opacity: .85; }

/* Product picture: a page being dictated into */
.window { container-type: inline-size; position: relative; background: #FAF9F6; color: #272620; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.window .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #F0EEE8; border-bottom: 1px solid #DEDBD3; font-size: 13px; color: #5E5B53; }
.window .dots { display: flex; gap: 6px; }
.window .dots i { width: 10px; height: 10px; border-radius: 50%; background: #DEDBD3; }
.window .doc { padding: 28px 30px; display: grid; align-content: start; gap: 14px; min-height: 320px; }
.window .doc .to { font-size: 14px; color: #5E5B53; padding-bottom: 12px; border-bottom: 1px solid #ECE9E2; }
.window .doc p.typed { color: #272620; font-family: var(--display); font-size: 19px; line-height: 1.6; }
.window .doc p.typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #272620; animation: blink 1s steps(1) infinite; }
.window .doc p.typed.landed { animation: land .5s ease-out; }
@keyframes land { from { background: rgba(163, 45, 38, .10); } to { background: transparent; } }

/* The real Marks recording bar and live preview, as they float over the app you're typing in */
.window .marks { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; justify-items: center; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.window.recording .marks { opacity: 1; transform: none; }
.marks .live-box { width: 100%; background: #2A2926; border: 1px solid #45433D; border-radius: 12px; padding: 14px 18px; min-height: 3.4em; }
.marks .live-box p { font-family: var(--display); font-size: 16px; line-height: 1.5; color: #F0EDE6; }
.marks .strip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; background: #2A2926; border: 1px solid #45433D; border-radius: 99px;
  padding: 6px 6px 6px 16px; font-size: 13px; color: #B9B4A9; white-space: nowrap; }
.marks .strip b { color: #F0EDE6; font-weight: 600; }
.marks .dot { width: 9px; height: 9px; border-radius: 50%; background: #F08A80; animation: pulse 1.4s ease-in-out infinite; flex: none; }
.marks .wave { display: inline-flex; align-items: center; gap: 3px; height: 14px; }
.marks .wave i { width: 2px; height: 2px; border-radius: 1px; background: #F0EDE6; animation: wave 1s ease-in-out infinite; }
.marks .wave i:nth-child(3n) { animation-delay: -.3s; } .marks .wave i:nth-child(3n+1) { animation-delay: -.6s; } .marks .wave i:nth-child(4n) { animation-delay: -.15s; }
@keyframes wave { 50% { height: 9px; } }
.marks .timer { font-variant-numeric: tabular-nums; color: #F0EDE6; }
.marks .key { border: 1px solid #45433D; border-radius: 8px; padding: 4px 10px; color: #F0EDE6; }
.marks .key.stop.pressed { background: #45433D; }
.window.no-preview .marks .live-box { display: none; }

/* Mini Marks settings card and pointer, for the "show my words" step */
.window .settings { position: absolute; left: 50%; top: 56%; width: min(340px, calc(100% - 32px)); transform: translate(-50%, -46%) scale(.96); opacity: 0;
  transition: opacity .25s, transform .25s; background: #2A2926; color: #F0EDE6; border: 1px solid #45433D; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.3); pointer-events: none; overflow: hidden; }
.window.show-settings .settings { opacity: 1; transform: translate(-50%, -50%); }
.settings .s-title { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 12px; color: #B9B4A9; border-bottom: 1px solid #45433D; }
.settings .s-body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.settings .s-head { font-family: var(--display); font-size: 17px; }
.settings .s-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.35; }
.settings .s-opt b { font-weight: 500; display: block; }
.settings .s-opt small { display: block; font-size: 12px; color: #B9B4A9; margin-top: 2px; }
.settings .box { width: 18px; height: 18px; border: 1.5px solid #B9B4A9; border-radius: 4px; display: grid; place-items: center; margin-top: 1px; transition: background .15s; }
.settings .box.on { background: #F0EDE6; border-color: #F0EDE6; }
.settings .box.on::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #2A2926; border-bottom: 2px solid #2A2926; transform: translateY(-1px) rotate(-45deg); }
.window .pointer { position: absolute; width: 22px; height: 22px; left: 85%; top: 92%; opacity: 0; transition: left .7s ease-in-out, top .7s ease-in-out, opacity .2s, transform .12s; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.window .pointer.on { opacity: 1; }
.window .pointer.click { transform: scale(.82); }
.demo-caption { margin-top: 14px; font-size: 15px; color: var(--muted); min-height: 3em; transition: opacity .3s; }
.demo-caption.fade { opacity: 0; }

@container (max-width: 600px) { .marks .hint { display: none; } }
@container (max-width: 380px) { .marks .key:not(.stop) { display: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .window .doc p.typed::after, .marks .dot, .marks .wave i { animation: none; } }

/* Closing note */
.closing { padding-block: 88px 0; display: grid; gap: 18px; max-width: 44rem; }
.closing h2 { font-size: clamp(28px, 3.6vw, 38px); }
.closing p { color: var(--muted); }

/* Products page */
.listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px 64px; padding-block: 56px; border-top: 1px solid var(--rule); }
.listing > * { min-width: 0; }
.listing .name { display: grid; gap: 8px; align-content: start; }
.listing h2 { font-size: clamp(30px, 4vw, 42px); }
.listing .status { font-size: 15px; color: var(--muted); }
.listing .status b { color: var(--ink); font-weight: 600; }
.listing .body { display: grid; gap: 20px; max-width: 40rem; }
.listing .body p.big { font-family: var(--display); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.5; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.points li { padding-left: 26px; position: relative; }
.points li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.price { font-size: 16px; color: var(--muted); }
.price b { color: var(--ink); font-weight: 600; }
.listing.soon h2, .listing.soon .big { color: var(--muted); }

/* Contact page */
.email-big { font-family: var(--display); font-size: clamp(24px, 4vw, 40px); word-break: break-word; }
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.contact-grid li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 64px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.contact-grid li > * { min-width: 0; }
.contact-grid h3 { font-size: 22px; }
.contact-grid p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); margin-top: 104px; padding-block: 48px 36px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.footer-grid h2 { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: var(--ink); }
.footer-grid .brand { color: var(--ink); font-size: 20px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 860px) {
  .row, .listing, .contact-grid li { grid-template-columns: 1fr; gap: 16px; padding-block: 48px; }
  .contact-grid li { padding-block: 22px; gap: 6px; }
  .product .inner { grid-template-columns: 1fr; gap: 44px; padding-block: 72px; }
  .stats { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; border-top: 0; }
  .opening { padding-block: 64px 56px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 64px; }
  .page-opening { padding-block: 56px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .header-row { gap: 12px 20px; }
  .site-nav { order: 3; flex-basis: 100%; }
  .brand { font-size: 19px; gap: 10px; }
  .brand svg { width: 28px; height: 28px; }
  .header-row .btn.small { padding: 8px 12px; font-size: 14px; }
  .site-nav ul { gap: 4px 18px; }
  .window .doc { padding: 22px 20px; min-height: 300px; }
  .window .marks { left: 10px; right: 10px; bottom: 10px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
}
