/* Public site shell, ported from the prototype's «site» host (.claude/redesign/src/shell.html, site header C2 + footer).
   Page sections use ds.css (.sec, .sec-head, .lead, .tag, .card …); each page adds its own sheet (site-<page>.css). */
.public-site.site { background: var(--bg); min-width: 0; }
.public-site .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hide-sm {}
@media (max-width: 720px) { .hide-sm { display: none !important; } }

/* page column with hairlines left and right */
.site-inner { max-width: 1200px; margin: 0 auto; border-left: 1px solid var(--hair); border-right: 1px solid var(--hair); }
.dots-bg { background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px); background-size: 12px 12px; }
.sec-head.left { justify-items: start; text-align: left; }
.h-card { font: 500 17px/1.3 var(--f-display); letter-spacing: -0.02em; }
.cta-dark { background: #171717; color: #f5f5f5; border-radius: 14px; padding: 48px 40px; position: relative; overflow: hidden; }
.cta-dark h2 { color: #f5f5f5; }
.cta-dark .dim { color: #8a8a8a; }
.cta-dark .btn-secondary { background: #ffffff; color: #171717; box-shadow: none; }
.cta-dark .btn-ghost { color: #e5e5e5; background: rgba(255, 255, 255, .06); }
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 22px 16px; align-items: center; justify-items: center; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.faq { display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hair); padding: 0 4px; }
.faq summary { cursor: pointer; font-size: 15.5px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: -4px 0 0; padding-bottom: 18px; color: var(--ink-3); font-size: 14.5px; max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .site-inner > .sec:first-child > * { animation: rise .55s var(--ease) backwards; }
  .site-inner > .sec:first-child > *:nth-child(2) { animation-delay: .06s; }
  .site-inner > .sec:first-child > *:nth-child(3) { animation-delay: .12s; }
  .site-inner > .sec:first-child > *:nth-child(n+4) { animation-delay: .18s; }
}

/* header */
.pub-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.pub-nav .in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 20px; }
.pub-logo { display: inline-flex; align-items: center; gap: 8px; font: 600 19px/1 var(--f-display); letter-spacing: -0.035em; color: var(--ink); }
.pub-logo svg { width: 22px; height: 22px; color: var(--brand); }
.pub-links { display: flex; gap: 2px; margin: 0 auto; }
.pub-links a { padding: 7px 11px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.pub-links a:hover, .pub-links a.on { background: var(--wash); color: var(--ink); }
.pub-actions { display: flex; gap: 8px; align-items: center; }
.pub-lang { display: inline-flex; align-items: center; gap: 2px; padding: 0 2px 0 6px; color: var(--ink-3); font-size: 12.5px; }
.pub-lang select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--ink-3); font: inherit; padding: 6px 4px; cursor: pointer; }
.pub-lang select:hover { color: var(--ink); }
.pub-nav .pub-cta-scan { transition: opacity .18s var(--ease, ease), visibility .18s; }
.pub-nav.hero-cta-off .pub-cta-scan { opacity: 0; visibility: hidden; pointer-events: none; }
.pub-menu { display: none; position: relative; }
.pub-menu > summary { list-style: none; cursor: pointer; }
.pub-menu > summary::-webkit-details-marker { display: none; }
.pub-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); padding: 6px; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--ring), var(--shadow-pop); }
.pub-pop nav { display: grid; gap: 1px; }
.pub-pop nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 9px; font-size: 15px; color: var(--ink); }
.pub-pop nav a:hover, .pub-pop nav a:focus-visible, .pub-pop nav a[aria-current="page"] { background: var(--wash); }
.pub-pop nav a > svg.lucide { color: var(--ink-4); }
.pub-pop-foot { display: grid; gap: 8px; padding: 8px 6px 4px; margin-top: 4px; border-top: 1px solid var(--hair); }
.pub-pop-lang { display: flex; flex-wrap: wrap; gap: 4px; }
.pub-pop-lang button { border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink-3); padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.pub-pop-lang button[aria-current="true"] { background: var(--wash); color: var(--ink); }
@media (max-width: 900px) {
  .pub-links { display: none; }
  .pub-nav .in { justify-content: space-between; }
  .pub-menu { display: block; }
}

/* footer */
.pub-foot { background: #000; color: #a3a3a3; padding: 56px 20px 28px; }
.pub-foot .in { max-width: 1200px; margin: 0 auto; display: grid; gap: 40px; }
.pub-foot-big { font: 400 clamp(40px, 9vw, 120px)/0.95 var(--f-display); letter-spacing: -0.05em; color: #f5f5f5; text-wrap: balance; }
.pub-foot-big .dim { color: #525252; }
.pub-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.pub-foot h2 { margin: 0 0 12px; font: 500 13px var(--f-ui); color: #f5f5f5; letter-spacing: 0; }
.pub-foot a, .pub-foot-lang button { display: block; font-size: 13.5px; padding: 3px 0; color: #a3a3a3; }
.pub-foot a:hover, .pub-foot-lang button:hover { color: #fff; }
.pub-foot-lang button { border: 0; background: none; font-family: inherit; cursor: pointer; text-align: left; }
.pub-foot-lang button[aria-current="true"] { color: #f5f5f5; }
.pub-foot-base { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; border-top: 1px solid #262626; padding-top: 18px; }
.pub-foot-base a { display: inline; font-size: inherit; padding: 0; }
.pub-foot a:focus-visible, .pub-foot button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* product shot: a fixed-width cabinet fragment scaled to its column (x-site.shot + public-site.js) */
.embed-shot { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg); box-shadow: var(--shadow-pop); max-width: 100%; margin: 0; }
.embed-shot[data-cut]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.embed-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.embed-shot:not([data-ready]) .embed-inner { position: relative; transform: none; width: auto !important; }
a.embed-link { display: block; border-radius: 14px; }
a.embed-link:hover .embed-shot, a.embed-link:focus-visible .embed-shot { box-shadow: 0 0 0 2px var(--focus), var(--shadow-pop); }
.shot-cap { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); text-align: center; text-wrap: balance; }

/* reCAPTCHA: the badge is hidden; forms that use it carry Google's notice instead (allowed by Google's FAQ) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { font-size: 11.5px; color: var(--ink-4); margin-top: 8px; }
.recaptcha-note a { text-decoration: underline; }

/* section and heading patterns of the prototype site (shell.html) — every public page uses them */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--panel); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.eyebrow svg.lucide { width: 14px; height: 14px; color: var(--ink-3); }
.sec { border-bottom: 1px solid var(--hair); padding: 72px 20px; position: relative; }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: 40px; }
.sec-head.left { justify-items: start; text-align: left; }
.h-hero { font: 400 clamp(36px, 6vw, 60px)/1.02 var(--f-display); letter-spacing: -0.035em; }
.h-hero .dim, .h-sec .dim { color: var(--ink-4); }
.h-sec { font: 400 clamp(28px, 4vw, 38px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.lead { font-size: 16px; line-height: 1.6; color: var(--ink-3); max-width: 60ch; }
.feature { background: var(--panel); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 10px; align-content: start; overflow: hidden; min-width: 0; }
.feature p { color: var(--ink-3); font-size: 14px; }
.h-hero { letter-spacing: -0.04em; }
@media (max-width: 720px) {
  .eyebrow { height: 32px; }
}
.h-hero, .h-sec { text-wrap: balance; }
.lead, .feature p, .sec-head p { text-wrap: balance; }
