/* Copyright (c) 2026 CPW Studio Co. All rights reserved. */
:root {
  --paper: #fffdf8;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #625f58;
  --line: #ded9ce;
  --blue: #176fce;
  --blue-dark: #0d559f;
  --navy: #071e42;
  --navy-soft: #0c2b5a;
  --yellow: #ffc326;
  --yellow-soft: #fff3bf;
  --lavender: #9a70e8;
  --sage: #65b95a;
  --orange: #ed8b2d;
  --teal: #35aaa6;
  --shadow: 0 30px 75px rgba(30, 37, 54, 0.19);
  --shadow-card: 0 16px 35px rgba(28, 37, 51, 0.08);
  --shell: min(1240px, calc(100% - 48px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 0.2em; }
a:hover { color: #0c477f; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 12px;
  top: 12px;
  translate: 0 -160%;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { translate: 0; }
:focus-visible { outline: 3px solid rgba(35, 111, 196, 0.36); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 217, 208, 0.86);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 760; letter-spacing: -0.02em; justify-self: start; }
.brand img { border-radius: 9px; box-shadow: 0 4px 12px rgba(93, 70, 10, 0.16); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 660; }
.site-nav a:hover { color: var(--blue-dark); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 27px rgba(23, 111, 206, 0.26); }
.button-primary:hover { color: white; background: var(--blue-dark); box-shadow: 0 15px 34px rgba(23, 111, 206, 0.32); }
.button-compact { min-height: 44px; padding: 10px 16px; font-size: 14px; justify-self: end; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 720; text-decoration: none; }
.text-link span { font-size: 1.3em; transition: translate 150ms ease; }
.text-link:hover span { translate: 3px 0; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ede9e0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 70% 38%, rgba(154, 112, 232, 0.13), transparent 24%),
    radial-gradient(circle at 92% 74%, rgba(53, 170, 166, 0.11), transparent 23%),
    radial-gradient(rgba(120, 111, 94, 0.15) 0.75px, transparent 0.75px);
  background-size: auto, auto, 20px 20px;
}
.hero::after { content: ""; position: absolute; inset: auto -8% -34% 40%; height: 62%; border-radius: 50%; background: rgba(255, 195, 38, 0.09); filter: blur(45px); pointer-events: none; }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: minmax(330px, 0.78fr) minmax(580px, 1.38fr); align-items: center; gap: 62px; padding-block: 72px 80px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 550px; margin: 0 0 27px; font-size: clamp(46px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.052em; font-weight: 810; }
.marker-underline { position: relative; display: inline; z-index: 0; }
.marker-underline::after { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.03em; bottom: 0.02em; height: 0.17em; border-radius: 999px 54% 999px 45%; background: var(--yellow); rotate: -1.2deg; opacity: 0.95; }
.hero-lede { max-width: 510px; margin: 0; color: #474642; font-size: 19px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 32px; flex-wrap: wrap; }
.release-status { max-width: 515px; margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.release-status[data-state="ready"] { color: #2e6b2b; }
.product-stage { position: relative; z-index: 1; padding: 42px 14px 54px 26px; perspective: 1300px; }
.product-stage::after {
  content: "© CPW Studio Co • Jot & Pin";
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 61px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(7, 30, 66, 0.78);
  color: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
}
.product-window { position: relative; z-index: 2; overflow: hidden; border: 9px solid #23262c; border-radius: 16px; background: #fbfaf7; box-shadow: var(--shadow); rotate: -0.65deg; transition: translate 260ms ease, rotate 260ms ease, box-shadow 260ms ease; }
.product-stage:hover .product-window { translate: 0 -4px; rotate: -0.2deg; box-shadow: 0 36px 88px rgba(30, 37, 54, 0.23); }
.stage-note { position: absolute; z-index: 1; display: block; border-radius: 8px 8px 18px 8px; box-shadow: 0 17px 32px rgba(31, 38, 55, 0.13); }
.stage-note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: #246bb6; box-shadow: 0 4px 7px rgba(17, 37, 66, 0.3); }
.stage-note-lavender { width: 170px; height: 135px; left: 4%; top: 1%; background: #d9c0ff; rotate: -8deg; }
.stage-note-teal { width: 150px; height: 142px; right: -4%; top: 34%; background: #a8eee9; rotate: 8deg; }
.stage-note-yellow { width: 175px; height: 130px; right: 3%; bottom: 2%; background: #ffe16b; rotate: -8deg; }
.window-bar { height: 25px; display: flex; align-items: center; gap: 6px; padding-inline: 9px; background: #292b2f; color: #e8e8e8; font-size: 9px; }
.window-bar i { width: 7px; height: 7px; border-radius: 999px; background: #75787e; }
.window-bar span { margin-left: 5px; font-style: normal; }
.product-window > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: left top; }
.sample-workspace { min-height: 370px; display: grid; grid-template-columns: 142px 172px minmax(250px, 1fr); background: #fbfaf7; color: #2d2d2d; font-size: 11px; line-height: 1.4; }
.sample-sidebar { display: flex; flex-direction: column; gap: 5px; padding: 14px 10px; border-right: 1px solid #ddd8ce; background: #f2efe8; }
.sample-brand { display: flex; align-items: center; gap: 7px; margin: 0 3px 10px; font-size: 12px; }
.sample-brand img { width: 22px; height: 22px; border-radius: 5px; }
.sample-sidebar > span { display: flex; justify-content: space-between; gap: 5px; padding: 6px 8px; border-radius: 5px; }
.sample-sidebar b { color: #73706a; font-size: 9px; }
.sample-sidebar small { margin: 8px 8px 0; color: #5f5b55; font-size: 8px; font-weight: 750; letter-spacing: 0.08em; }
.sample-sidebar .sample-nav-active { background: #dcecff; color: #145594; font-weight: 720; }
.sample-list { display: flex; flex-direction: column; border-right: 1px solid #ddd8ce; background: #fff; }
.sample-list > strong { padding: 15px 12px 10px; font-size: 13px; }
.sample-list > span { display: grid; gap: 3px; padding: 10px 12px; border-top: 1px solid #eeeae3; }
.sample-list small { color: #76716a; font-size: 9px; }
.sample-list .sample-note-active { border-left: 3px solid #286fc4; background: #eef6ff; }
.sample-editor { padding: 25px 24px 20px; background: #fffdf8; }
.sample-editor h2 { margin: 14px 0 8px; font-size: 21px; line-height: 1.2; letter-spacing: -0.025em; }
.sample-editor p { margin: 0 0 16px; color: #5b5751; }
.sample-editor ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sample-editor li::before { content: ""; display: inline-grid; width: 12px; height: 12px; margin-right: 8px; border: 1px solid #a5a099; border-radius: 3px; vertical-align: -2px; }
.sample-editor li.done { color: #77726b; text-decoration: line-through; }
.sample-editor li.done::before { content: "✓"; place-items: center; border-color: #4d9a48; background: #e4f5df; color: #34772f; font-size: 9px; text-decoration: none; }
.sample-badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #fff0b5; color: #765b08; font-size: 9px; font-weight: 760; letter-spacing: 0.03em; text-transform: uppercase; }
.sample-tags { display: flex; gap: 5px; margin-top: 18px; flex-wrap: wrap; }
.sample-tags span { padding: 3px 7px; border-radius: 999px; background: #eee7fa; color: #6543a1; font-size: 8px; font-weight: 700; }
.stage-shadow { width: 76%; height: 34px; margin: 10px auto 0; border-radius: 999px; background: rgba(29, 35, 45, 0.18); filter: blur(20px); }

.section { padding-block: 104px; }
.section-heading { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.section-heading h2, .privacy-band h2, .support-cta h2, .document-hero h1, .download-panel h1 { margin: 0; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.16; letter-spacing: -0.035em; }
.section-heading h2::after { content: ""; display: block; width: 52px; height: 3px; margin: 22px auto; background: var(--yellow); }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.feature { position: relative; grid-column: span 6; min-height: 220px; padding: 42px 34px 32px; border: 1px solid #e6d9b8; border-radius: 20px; background: linear-gradient(145deg, #fffdf7, #fff8dc); box-shadow: var(--shadow-card); transition: translate 180ms ease, box-shadow 180ms ease; }
.feature:hover { translate: 0 -4px; box-shadow: 0 22px 45px rgba(28, 37, 51, 0.12); }
.feature-lavender { border-color: #ddd0f7; background: linear-gradient(145deg, #fff, #f5efff); }
.feature-sage { border-color: #cde5ce; background: linear-gradient(145deg, #fff, #eef9ef); }
.feature-orange { border-color: #f0cfba; background: linear-gradient(145deg, #fff, #fff1e7); }
.feature-teal { border-color: #bfe2e0; background: linear-gradient(145deg, #fff, #eaf9f8); }
.feature-blue { border-color: #c4d8f1; background: linear-gradient(145deg, #fff, #edf5ff); }
.feature-compact { grid-column: span 4; }
.feature-import { grid-column: span 8; }
.feature-mark { position: absolute; top: -18px; left: 28px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); color: #5a4100; box-shadow: 0 10px 20px rgba(145, 103, 0, 0.19); }
.feature-mark svg { width: 31px; height: 31px; stroke-width: 1.8; }
.feature-lavender .feature-mark { background: var(--lavender); color: white; box-shadow: 0 10px 20px rgba(100, 70, 165, 0.2); }
.feature-sage .feature-mark { background: var(--sage); color: white; box-shadow: 0 10px 20px rgba(52, 125, 44, 0.19); }
.feature-orange .feature-mark { background: var(--orange); color: white; box-shadow: 0 10px 20px rgba(175, 86, 20, 0.19); }
.feature-teal .feature-mark { background: var(--teal); color: white; box-shadow: 0 10px 20px rgba(28, 119, 115, 0.19); }
.feature-blue .feature-mark { background: #397bca; color: white; box-shadow: 0 10px 20px rgba(32, 94, 166, 0.19); }
.feature h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -0.018em; }
.feature p { margin: 0; color: #504e49; font-size: 15px; line-height: 1.68; }
.feature-details { margin-top: 18px; }
.feature-details summary { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); font-weight: 730; cursor: pointer; list-style: none; }
.feature-details summary::-webkit-details-marker { display: none; }
.feature-details summary span { transition: translate 160ms ease; }
.feature-details summary:hover span { translate: 3px 0; }
.feature-details[open] summary { margin-bottom: 13px; }

.workflow { padding-top: 18px; background: #fff; }
.workflow-shell { position: relative; overflow: hidden; padding: 58px 44px 46px; border: 1px solid #e3ddd1; border-radius: 24px; background-color: var(--paper); background-image: radial-gradient(rgba(116, 106, 88, 0.14) 0.7px, transparent 0.7px); background-size: 18px 18px; box-shadow: var(--shadow-card); }
.workflow-shell::before { content: ""; position: absolute; top: -10px; left: 34px; width: 18px; height: 36px; border-radius: 999px 999px 6px 6px; background: #f3b706; box-shadow: 0 5px 9px rgba(101, 74, 0, 0.25); rotate: -16deg; }
.workflow-heading { text-align: center; }
.workflow-heading h2 { margin: 0; font-size: clamp(31px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -0.04em; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; }
.workflow-step { min-width: 0; padding: 0 34px; }
.workflow-step + .workflow-step { border-left: 1px dashed #d8d0c1; }
.step-heading { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #132033; font-weight: 800; box-shadow: 0 5px 12px rgba(31, 38, 52, 0.1); }
.step-yellow { background: var(--yellow); }
.step-lavender { background: #c9a9ff; }
.step-teal { background: #79dcd5; }
.workflow-step h3 { margin: 0 0 5px; font-size: 19px; }
.workflow-step p { margin: 0; color: #55524d; font-size: 14px; line-height: 1.55; }
.step-visual { min-height: 150px; margin-top: 24px; border: 1px solid #cbc5ba; border-radius: 12px; background: white; box-shadow: 0 12px 28px rgba(38, 43, 53, 0.1); }
.sticky-preview { overflow: hidden; background: #fff0a7; rotate: -1deg; }
.mini-window-bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid rgba(102, 80, 12, 0.2); background: #ffe16a; font-size: 12px; }
.sticky-preview > p { padding: 23px 22px; color: #332d20; font-size: 15px; line-height: 1.7; }
.organize-preview { overflow: hidden; padding: 10px; background: #f4f1ea; }
.organize-preview > div { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 6px; background: #dcecff; color: #145594; font-size: 12px; }
.organize-preview p { margin: 5px 0 0; padding: 8px 10px; border-radius: 6px; background: white; color: #333; font-size: 12px; }
.organize-preview p.active { border-left: 3px solid var(--blue); background: #edf6ff; font-weight: 700; }
.search-preview { padding: 14px; background: #f4f1ea; }
.search-field { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid #d8d1c5; border-radius: 9px; background: white; color: #363430; font-size: 13px; }
.search-field b { margin-left: auto; }
.search-result { display: grid; gap: 3px; margin-top: 12px; padding: 14px; border-radius: 9px; background: #e9f7f2; color: #2f453e; }
.search-result small { color: #5b6b66; }

.privacy-band { position: relative; overflow: hidden; padding-block: 84px; background: var(--navy); color: white; border-block: 1px solid #08295b; }
.privacy-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(111, 158, 216, 0.22) 0.8px, transparent 0.8px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 65%, #000); pointer-events: none; }
.privacy-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 190px minmax(0, 1.25fr) minmax(310px, 0.85fr); align-items: center; gap: 52px; }
.privacy-visual { position: relative; min-height: 170px; }
.privacy-paper { position: absolute; inset: 12px 18px; border-radius: 9px 9px 22px 9px; box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28); }
.privacy-paper-back { background: #7f62d1; rotate: -9deg; }
.privacy-paper-middle { background: #2f7bd1; rotate: 7deg; }
.privacy-icon { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px 10px 28px 10px; background: var(--yellow); color: #4c3900; box-shadow: 0 20px 42px rgba(0, 0, 0, 0.33); rotate: -2deg; }
.privacy-icon::before { content: ""; position: absolute; top: -16px; left: 50%; width: 19px; height: 19px; border-radius: 50%; background: #e3a800; box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); }
.privacy-icon svg { width: 72px; height: 72px; stroke-width: 1.45; }
.privacy-band h2 { font-size: clamp(28px, 3vw, 40px); }
.privacy-band p { max-width: 640px; margin: 16px 0 0; color: #d8e4f3; }
.privacy-points { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.privacy-points li { display: flex; gap: 13px; align-items: center; padding-bottom: 15px; border-bottom: 1px dashed rgba(218, 230, 246, 0.24); font-weight: 690; }
.privacy-points span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); color: #3b310d; font-size: 13px; }

.support-cta { background-color: var(--paper); background-image: radial-gradient(rgba(120, 111, 94, 0.12) 0.7px, transparent 0.7px); background-size: 20px 20px; text-align: center; }
.support-inner { max-width: 760px; }
.support-inner > p { margin: 21px auto; color: var(--muted); }
.support-inner .button { margin-top: 8px; }
.support-inner .platform-note { margin-top: 14px; color: #4c4b47; font-size: 14px; }

.site-footer { padding-block: 32px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 7px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-size: 16px; }
.footer-brand span { color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { color: #4c4a45; font-size: 12px; text-decoration: none; }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.copyright-notice span:last-child { display: inline-block; max-width: 300px; }

/* Document, support, and download pages */
.subpage { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.subpage main { flex: 1; }
.document-hero { padding: 66px 0 42px; background: var(--paper); border-bottom: 1px solid var(--line); }
.document-hero .shell { max-width: 880px; }
.document-hero p { margin: 14px 0 0; color: var(--muted); }
.document { max-width: 880px; padding-block: 54px 84px; }
.document h2 { margin: 40px 0 10px; font-size: 23px; line-height: 1.3; }
.document h2:first-child { margin-top: 0; }
.document p, .document li { color: #474642; }
.document li + li { margin-top: 8px; }
.document .contact-box { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; text-decoration: none; }
.download-page { padding-block: 74px 92px; }
.download-panel { max-width: 780px; margin-inline: auto; padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 18px 50px rgba(38, 40, 44, 0.09); text-align: center; }
.download-panel .app-icon { width: 76px; height: 76px; margin: 0 auto 25px; border-radius: 14px; box-shadow: 0 8px 22px rgba(93, 70, 10, 0.18); }
.download-panel > p { max-width: 610px; margin: 18px auto; color: var(--muted); }
.download-panel .button { margin-top: 12px; }
.pre-release-box { margin: 28px auto 0; padding: 20px; border: 1px solid #ead08a; border-radius: 10px; background: #fff8df; text-align: left; }
.pre-release-box strong, .pre-release-box p { display: block; margin: 0; }
.pre-release-box p { margin-top: 6px; color: #5e5540; }
.privacy-preview-note { display: grid; gap: 4px; margin: 20px auto 0; padding: 16px 18px; border: 1px solid #cfe3ca; border-radius: 10px; background: #f1faee; color: #365b31; text-align: left; }
.privacy-preview-note span { color: #4d6449; font-size: 13px; }
.download-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 36px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.download-details div { padding: 16px; background: var(--paper); }
.download-details strong, .download-details span { display: block; }
.download-details span { color: var(--muted); font-size: 13px; }
.studio-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.studio-link:hover, .studio-link:focus-visible { color: var(--blue); }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; padding-bottom: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 60px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 720px; }
  .product-stage { max-width: 850px; width: 100%; margin-inline: auto; }
  .privacy-grid { grid-template-columns: 170px 1fr; }
  .privacy-points { grid-column: 2; }
}

@media (max-width: 900px) {
  .workflow-grid { grid-template-columns: 1fr; gap: 34px; }
  .workflow-step { padding: 0; }
  .workflow-step + .workflow-step { padding-top: 34px; border-top: 1px dashed #d8d0c1; border-left: 0; }
  .step-visual { max-width: 540px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 30px, 1240px); }
  .header-inner { min-height: 72px; gap: 14px; }
  .brand { font-size: 18px; }
  .brand img { width: 36px; height: 36px; }
  .button-compact { display: none; }
  .site-nav { width: 100%; justify-content: space-between; gap: 14px; padding-bottom: 14px; }
  .site-nav a { font-size: 13px; }
  .hero-grid { min-height: auto; gap: 18px; padding-block: 52px 56px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 52px); line-height: 1.06; }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .product-stage { padding: 62px 0 40px; }
  .product-window { border-width: 5px; border-radius: 10px; rotate: 0deg; }
  .product-stage:hover .product-window { translate: 0; rotate: 0deg; }
  .stage-note-lavender { width: 98px; height: 92px; left: auto; right: -4px; top: 13px; rotate: 5deg; }
  .stage-note-teal { display: none; }
  .stage-note-yellow { width: 105px; height: 84px; right: auto; left: -7px; bottom: 4px; rotate: -7deg; }
  .window-bar { display: none; }
  .sample-workspace { min-height: 330px; grid-template-columns: 112px minmax(220px, 1fr); }
  .sample-list { display: none; }
  .sample-editor { padding: 22px 16px; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature, .feature-compact, .feature-import { grid-column: 1 / -1; min-height: auto; padding: 38px 24px 27px; }
  .feature-mark { top: -15px; left: 22px; width: 50px; height: 50px; border-radius: 12px; }
  .feature-mark svg { width: 28px; height: 28px; }
  .workflow { padding-top: 0; }
  .workflow-shell { padding: 50px 22px 30px; border-radius: 18px; }
  .workflow-grid { margin-top: 34px; }
  .workflow-heading h2 { font-size: 34px; }
  .step-visual { min-height: 140px; }
  .privacy-grid { grid-template-columns: 1fr; text-align: left; }
  .privacy-band { padding-block: 68px; }
  .privacy-visual { width: 138px; min-height: 132px; margin-bottom: 8px; }
  .privacy-icon svg { width: 56px; height: 56px; }
  .privacy-points { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .site-footer p { text-align: center; }
  .download-panel { padding: 34px 20px; }
  .download-details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (forced-colors: active) {
  .button { border-color: ButtonText; }
  .product-window { border-color: CanvasText; }
  .privacy-points span { border: 1px solid CanvasText; }
}
