/* CapCap: paired gestures, layered paper, and a precise capture frame. */
:root {
  --canvas: #f5faf8;
  --surface: #e9f4ef;
  --surface-card: #fff;
  --surface-strong: #d8eee5;
  --ink: #123d36;
  --body: #36564e;
  --muted: #607970;
  --hairline: #d8e6df;
  --accent: #0f766e;
  --accent-active: #095b54;
  --accent-bright: #2dd4bf;
  --dark: #103d35;
  --dark-elevated: #194c43;
  --on-dark: #f3fcf7;
  --on-dark-soft: #b8d5c9;
  --radius: 16px;
  --max: 1160px;
  --page-gutter: clamp(40px, 8vw, 120px);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}
body {
  background: var(--canvas);
}
::selection {
  background: #b5efdf;
  color: #103d35;
}
h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 650;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
.site-header {
  background: rgba(245, 250, 248, 0.94);
  border-color: var(--hairline);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 80px;
}
.brand {
  font-size: 23px;
  letter-spacing: -1px;
  gap: 9px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.nav-links {
  font-size: 13px;
}
.nav-actions {
  gap: 12px;
}
.language-switcher {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.language-menu {
  background: #fff;
  border-color: var(--hairline);
  font-family: inherit;
}
.language-menu a {
  font-size: 14px;
}
.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: var(--surface);
  color: var(--accent);
}
.button {
  min-height: 50px;
  border-radius: 9px;
  padding: 0 24px;
  font-size: 14px;
}
.button.primary {
  box-shadow: 0 5px 12px #0f766e18;
}
.button.secondary {
  background: #fff;
  border-color: var(--hairline);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--surface);
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  padding: 76px 0 64px;
  background:
    radial-gradient(ellipse at 50% 70%, #d7f1e6, transparent 64%), var(--canvas);
}
.hero::after {
  display: none;
}
.hero-inner {
  order: 0;
  width: calc(100% - var(--page-gutter));
  max-width: 900px;
  min-height: 0;
  padding: 0;
  margin: 0;
  text-align: center;
}
.hero-copy {
  max-width: none;
  color: var(--ink);
}
.gesture {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.gesture kbd {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #c0d8cd;
  border-radius: 12px;
  background: linear-gradient(#fff, #edf5f0);
  box-shadow:
    0 4px 0 #d9e7df,
    0 8px 14px #123d3608;
  color: var(--accent);
  font:
    28px -apple-system,
    sans-serif;
  transform: rotate(-7deg);
}
.gesture kbd + kbd {
  transform: rotate(7deg);
}
.hero h1 {
  max-width: none;
  font-size: clamp(42px, 5.3vw, 74px);
  line-height: 1.13;
  letter-spacing: -0.055em;
}
.hero h1 span {
  display: inline;
}
.hero h1 span:last-child {
  color: var(--accent);
}
.hero-copy p {
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 660px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-actions {
  justify-content: center;
  margin-top: 28px;
}
.hero-facts {
  justify-content: center;
  max-width: none;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
  gap: 10px 20px;
}
.hero-facts dt {
  width: 5px;
  height: 5px;
  background: var(--accent);
}
.hero-media {
  position: relative;
  inset: auto;
  order: 1;
  display: block;
  width: calc(100% - var(--page-gutter) - 32px);
  max-width: 1040px;
  height: auto;
  margin: 60px 0 0;
  border: 1px solid #a4cbbb;
  border-radius: 18px;
  padding: 10px;
  background: #fff9;
  box-shadow: 0 24px 60px #0c4a3620;
  outline: 1px dashed #70b49e;
  outline-offset: 12px;
  transform: rotate(-1deg);
}
.hero-media img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}
.section {
  padding: 96px 0;
}
.section-head {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: 38px;
  line-height: 1.3;
}
.section-head p,
.lead {
  font-size: 15px;
  line-height: 1.9;
}
.mobile-break {
  display: inline;
}
#why {
  background: #fff;
}
.proof-strip {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  counter-reset: principle;
}
.proof-item {
  padding: 28px 24px;
  min-height: 185px;
  background: #fbfdfb;
  counter-increment: principle;
}
.proof-item::before {
  content: "0" counter(principle);
  display: block;
  color: #438774;
  font:
    12px ui-monospace,
    monospace;
  margin-bottom: 24px;
}
.proof-item strong {
  font-size: 17px;
}
.proof-item span {
  font-size: 13px;
  line-height: 1.8;
}
.dark-band {
  background: var(--dark);
  border-radius: 32px;
  margin: 24px;
  overflow: hidden;
}
.dark-band .section-head {
  gap: 18px;
  margin-bottom: 44px;
}
.dark-band .section-head h2 {
  max-width: 800px;
}
.dark-band .section-head p {
  max-width: 640px;
}
.marquee-shot.single-banner {
  max-width: 860px;
  margin: auto;
  border-radius: 14px;
  box-shadow: 0 24px 64px #001d2466;
}
.editor-notes {
  margin-top: 40px;
}
.editor-notes h3 {
  font-size: 18px;
}
.editor-notes p {
  font-size: 14px;
  line-height: 1.85;
}
.workflow {
  gap: 72px;
}
.workflow-row {
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--hairline);
}
.workflow-row:last-child {
  padding-bottom: 0;
  border: 0;
}
.workflow-copy h3 {
  font-size: 30px;
  line-height: 1.35;
}
.workflow-copy p {
  font-size: 15px;
  line-height: 1.9;
}
.workflow-list {
  font-size: 13px;
}
.media-banner {
  border-radius: 16px;
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 32px #123d3610;
}
.banner-track {
  animation: none;
  display: block;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.banner-group {
  width: max-content;
  height: 100%;
}
.banner-group[aria-hidden="true"] {
  display: none;
}
.banner-item {
  scroll-snap-align: start;
}
.previewable-frame::after {
  background-color: #0f766ee6;
}
.install-band {
  background: #e3f1e9;
  border-top: 1px solid var(--hairline);
  padding: 80px 0;
}
.install-panel {
  gap: 56px;
}
.install-panel h2 {
  font-size: 36px;
  line-height: 1.3;
}
.install-panel p {
  font-size: 15px;
  line-height: 1.85;
}
.terminal {
  border: 1px solid #356355;
  border-radius: 14px;
  background: #123d36;
  box-shadow: 0 16px 30px #123d3614;
}
.terminal-top {
  background: #194b40;
}
.copy-command {
  border-radius: 6px;
}
.final-cta {
  padding: 88px 0;
  background: var(--canvas);
}
.final-cta h2 {
  font-size: 42px;
  line-height: 1.3;
  color: var(--ink);
}
.final-cta p {
  font-size: 16px;
  color: var(--muted);
}
.final-cta .button {
  background: var(--accent);
  color: #fff;
}
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  min-height: 80px;
  font-size: 12px;
}
.not-found-page {
  background: var(--canvas);
  color: var(--ink);
}
.not-found-shell {
  width: min(900px, calc(100% - 48px));
  min-height: 100svh;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.not-found-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.not-found-brand img {
  width: 48px;
}
.not-found-code {
  font-size: 120px;
  color: var(--accent);
}
.not-found-copy h1 {
  font-size: 48px;
}
.not-found-copy p {
  line-height: 1.8;
}

@media (max-width: 960px) {
  .section-head {
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 56px;
  }
  .hero h1 span {
    display: block;
  }
  .hero-media {
    margin-top: 46px;
  }
  .dark-band {
    margin: 16px;
    border-radius: 24px;
  }
  .workflow-row,
  .workflow-row.reverse {
    gap: 30px;
  }
  .section {
    padding: 64px 0;
  }
  .install-panel {
    gap: 32px;
  }
}
@media (max-width: 620px) {
  :root {
    --page-gutter: 40px;
  }
  .nav {
    min-height: 68px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .nav-actions {
    gap: 6px;
  }
  .language-switcher {
    font-size: 12px;
  }
  .icon-link {
    width: 32px;
  }
  .hero {
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 42px;
    line-height: 1.22;
  }
  .hero-copy p {
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.85;
  }
  .gesture {
    margin-bottom: 24px;
  }
  .hero-actions {
    display: flex;
    gap: 10px;
  }
  .hero-actions .button {
    width: auto;
    flex: 1;
    padding: 0 13px;
    font-size: 13px;
  }
  .hero-facts {
    gap: 10px 15px;
    font-size: 10px;
  }
  .hero-media {
    width: calc(100% - 64px);
    padding: 6px;
    border-radius: 12px;
    outline-offset: 8px;
  }
  .hero-media img {
    border-radius: 7px;
  }
  .section-head h2,
  .install-panel h2 {
    font-size: 29px;
  }
  .section-head p {
    font-size: 14px;
  }
  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }
  .proof-item {
    padding: 22px 18px;
    border-bottom: 1px solid var(--hairline);
  }
  .proof-item:nth-child(odd) {
    border-right: 1px solid var(--hairline);
  }
  .proof-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .proof-item strong {
    font-size: 16px;
  }
  .proof-item span {
    font-size: 12px;
  }
  .dark-band .section-inner {
    width: calc(100% - 32px);
  }
  .editor-notes {
    margin-top: 24px;
  }
  .workflow-copy h3 {
    font-size: 25px;
  }
  .workflow-row {
    padding-bottom: 36px;
  }
  .workflow {
    gap: 40px;
  }
  .final-cta {
    padding: 60px 0;
  }
  .final-cta h2 {
    font-size: 32px;
  }
  .footer-inner {
    padding: 24px 0;
    gap: 16px;
  }
  .terminal-top {
    flex-direction: row;
    align-items: center;
  }
  pre {
    font-size: 12px;
    padding: 20px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
