/* DeskSign app pages (/desksign/, /desksign/privacy, /desksign/support). */
:root { color-scheme: light dark; --busy: #d6293a; --free: #219e5c; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
       background: Canvas; color: CanvasText; }
main { max-width: 680px; margin: 0 auto; padding: 40px 22px 64px; }
.mark { display: inline-flex; border-radius: 10px; overflow: hidden; height: 14px; width: 44px; vertical-align: middle; margin-right: 10px; }
.mark span { flex: 1; } .mark span:first-child { background: var(--free); } .mark span:last-child { background: var(--busy); }
h1 { font-size: 30px; margin: 0 0 4px; } h2 { font-size: 20px; margin: 32px 0 6px; }
.sub { opacity: .7; margin: 0 0 28px; }
a { color: var(--free); }
li { margin: 4px 0; }
footer { margin-top: 48px; font-size: 14px; opacity: .6; }

/* ---- /desksign/ product page. One screen, no scrolling on desktop. ---- */
.landing { --wall: #ede6da; --desk: #936a47; --ink: #1d1d1f; background: Canvas; }
.lp { max-width: 1180px; min-height: 100vh; min-height: 100svh; box-sizing: border-box;
      padding: 32px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
      gap: 56px; align-items: center; }
.lp-copy { max-width: 470px; }
.lp-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.lp-icon { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 2px 10px rgb(0 0 0 / .15); }
.lp h1 { font-size: 44px; line-height: 1; margin: 0; letter-spacing: -.02em; }
.lp-kicker { margin: 4px 0 0; opacity: .6; font-size: 17px; }
.lp-pitch { font-size: 22px; line-height: 1.35; margin: 0 0 20px; font-weight: 500; }
.lp-points { list-style: none; padding: 0; margin: 0 0 16px; }
.lp-points li { position: relative; padding-left: 22px; margin: 0 0 10px; font-size: 16px; line-height: 1.45; }
.lp-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px;
                        border-radius: 50%; background: var(--free); }
.lp-points li:nth-child(2)::before { background: var(--busy); }
.lp-points li:nth-child(3)::before { background: #c98a1b; }
.lp-next { font-size: 14px; opacity: .7; margin: 0 0 22px; }
.lp-buy { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
/* Apple: preferred black badge, unmodified, >= 40px tall, clear space >= 1/4 badge height. */
.lp-badge { display: inline-block; padding: 12px; margin: -12px; line-height: 0; }
.lp-badge img { height: 48px; width: auto; }
.lp-price { margin: 0; font-size: 15px; line-height: 1.4; opacity: .85; }
.lp-nw { white-space: nowrap; }
.lp-foot { margin-top: 26px; font-size: 14px; opacity: 1; color: #6e6e73; }
.lp-foot a { color: #1a7f4e; }
.lp-legal { display: block; margin-top: 6px; font-size: 11px; opacity: 1; line-height: 1.4; }
@media (prefers-color-scheme: dark) {
  .lp-foot { color: #a1a1a6; }
  .lp-foot a { color: #3ecf82; }
}

.lp-hero { min-width: 0; }
.scene { display: block; width: 100%; height: auto; aspect-ratio: 10 / 7; max-height: calc(100svh - 64px);
         border-radius: 28px; object-fit: cover; }
.scene .wall { fill: var(--wall); } .scene .desk { fill: var(--desk); }
.scene .card { fill: #fbfaf6; }
.scene .fold { stroke: #fff; stroke-width: 4; }
.scene .s2, .scene .s3 { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .scene .s1 { animation: ds-cycle 12s infinite; }
  .scene .s2 { animation: ds-cycle 12s -8s infinite; }
  .scene .s3 { animation: ds-cycle 12s -4s infinite; }
}
@keyframes ds-cycle { 0%, 30% { opacity: 1; } 34%, 96% { opacity: 0; } 100% { opacity: 1; } }

/* Short desktop windows (1366x657, 1024x640, ~880x650): tighten so it still fits one screen. */
@media (min-width: 861px) and (max-height: 720px) {
  .lp { padding: 20px 40px; gap: 40px; }
  .lp-head { margin-bottom: 12px; }
  .lp-icon { width: 64px; height: 64px; border-radius: 14px; }
  .lp h1 { font-size: 38px; }
  .lp-pitch { font-size: 19px; margin-bottom: 14px; }
  .lp-points li { font-size: 15px; margin-bottom: 6px; }
  .lp-next { margin-bottom: 14px; }
  .lp-foot { margin-top: 14px; }
}

/* Narrow desktop windows (861-1000 wide): give the copy more of the width so it wraps less. */
@media (min-width: 861px) and (max-width: 1000px) {
  .lp { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; padding-left: 28px; padding-right: 28px; }
  .lp-buy { flex-wrap: nowrap; gap: 16px; }
}
@media (min-width: 861px) and (max-width: 1000px) and (max-height: 720px), (min-width: 861px) and (max-height: 620px) {
  .lp h1 { font-size: 34px; }
  .lp-icon { width: 56px; height: 56px; border-radius: 13px; }
  .lp-pitch { font-size: 17px; margin-bottom: 12px; }
  .lp-points li { font-size: 14px; line-height: 1.4; margin-bottom: 5px; }
  .lp-next { font-size: 13px; margin-bottom: 12px; }
  .lp-badge img { height: 44px; }
  .lp-price { font-size: 14px; }
  .lp-foot { font-size: 13px; margin-top: 12px; }
  .lp-legal { font-size: 10px; }
}

@media (max-width: 860px) {
  .lp { grid-template-columns: 1fr; gap: 14px; padding: 16px 18px 18px; align-content: start; }
  .lp-copy { display: contents; }
  .lp-head { order: 1; margin: 0; gap: 12px; }
  .lp-icon { width: 56px; height: 56px; border-radius: 13px; }
  .lp h1 { font-size: 32px; }
  .lp-kicker { font-size: 15px; margin-top: 2px; }
  .lp-pitch { order: 2; font-size: 17px; line-height: 1.35; margin: 0; }
  .lp-hero { order: 3; }
  .scene { aspect-ratio: auto; height: 27svh; min-height: 180px; border-radius: 20px; }
  .lp-points { order: 5; margin: 0; }
  .lp-points li { font-size: 14px; line-height: 1.4; margin-bottom: 6px; padding-left: 18px; }
  .lp-points li::before { width: 8px; height: 8px; }
  .lp-next { order: 6; margin: 0; font-size: 13px; }
  .lp-buy { order: 4; gap: 12px; flex-wrap: nowrap; }
  .lp-badge img { height: 44px; }
  .lp-price { font-size: 13px; }
  .lp-foot { order: 7; margin: 0; font-size: 13px; }
  .lp-legal { font-size: 10px; margin-top: 4px; }
}
