:root {
  --background: #090909;
  --surface: #171717;
  --pane: #111111;
  --line: #303030;
  --primary: #f5f5f5;
  --secondary: #a3a3a3;
  --tertiary: #7f7f7f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
}

body {
  background: var(--background);
  color: var(--primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

main.wide {
  max-width: 880px;
}

section {
  margin-top: 16px;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--tertiary);
  text-transform: uppercase;
}

.kicker a {
  color: var(--tertiary);
  text-decoration: none;
}

.kicker a:hover {
  color: var(--primary);
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 12px 0 8px;
}

h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

p,
li {
  color: var(--secondary);
}

p {
  margin: 12px 0;
}

strong {
  color: var(--primary);
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}

a:hover {
  text-decoration-color: var(--primary);
}

ul {
  margin: 12px 0;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

.updated {
  font-size: 14px;
  color: var(--tertiary);
  margin-bottom: 24px;
}

.summary {
  background: var(--pane);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
}

.summary p {
  color: var(--primary);
  margin: 0;
}

.lede {
  font-size: 20px;
  color: var(--secondary);
  margin: 8px 0 24px;
}

.meta-line {
  font-size: 14px;
  color: var(--tertiary);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  margin: 16px 0 32px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.button.primary {
  background: var(--primary);
  color: var(--background);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--primary);
}

footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--tertiary);
}

footer a {
  color: var(--tertiary);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary);
}

footer .spacer {
  flex: 1;
}

footer .publisher {
  display: grid;
  max-width: 460px;
  gap: 2px;
}

footer .publisher strong {
  color: var(--secondary);
  font-weight: 600;
}

footer .publisher small {
  color: var(--tertiary);
  font-size: 12px;
  line-height: 1.45;
}

dl dt {
  color: var(--primary);
  font-weight: 600;
  margin-top: 20px;
}

dl dd {
  color: var(--secondary);
  margin: 4px 0 0;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-lede {
  margin-top: 4px;
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.card {
  background: var(--pane);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.card p {
  margin: 0;
}

ul.features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}

ul.features li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.shots figure {
  margin: 0;
}

.shots img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: block;
}

.shots figcaption {
  font-size: 14px;
  color: var(--tertiary);
  margin-top: 10px;
}

.closing {
  text-align: left;
}

@media (max-width: 720px) {
  .audience,
  ul.features,
  .shots {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 32px;
  }
}

/* Marketing site */
body.marketing {
  --accent: #30d158;
  --accent-soft: rgba(48, 209, 88, 0.12);
  --accent-line: rgba(48, 209, 88, 0.34);
  background:
    radial-gradient(circle at 78% 5%, rgba(48, 209, 88, 0.13), transparent 28rem),
    var(--background);
  overflow-x: hidden;
}

.marketing a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.site-header .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  color: var(--primary);
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark-mark {
  color: var(--accent);
  font: 700 12px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.wordmark-image {
  width: 148px;
  height: 83px;
  display: block;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--primary);
}

.site-header > .button {
  justify-self: end;
}

.marketing .button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #07100a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(48, 209, 88, 0.13);
  transition: transform 160ms ease, background 160ms ease;
}

.marketing .button:hover {
  background: #43db68;
  text-decoration: none;
  transform: translateY(-1px);
}

.marketing .button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

.marketing .landing {
  max-width: none;
  margin: 0;
  padding: 0;
}

.marketing .landing section {
  margin-top: 0;
}

.hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 86px 0 108px;
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.marketing .eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font: 700 12px/1.2 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketing .hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--primary);
  font-size: clamp(56px, 6.2vw, 94px);
  font-weight: 690;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.marketing .hero h1 span {
  color: var(--accent);
}

.marketing .hero .lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: #c5c5c5;
  font-size: 20px;
  line-height: 1.55;
}

.cta-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--primary);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  margin-left: 4px;
  color: var(--accent);
}

.proof-row {
  margin: 38px 0 0;
  padding: 18px 0 0;
  display: flex;
  gap: 13px 22px;
  flex-wrap: wrap;
  list-style: none;
  border-top: 1px solid var(--line);
}

.proof-row li {
  margin: 0;
  color: var(--tertiary);
  font: 600 11px/1.4 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.proof-row li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.7);
}

.hero-product {
  position: relative;
  width: min(760px, 100%);
  justify-self: end;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.5));
}

.device {
  position: relative;
  width: 100%;
  padding: 15px;
  border: 1px solid #595959;
  border-radius: 38px;
  background: linear-gradient(145deg, #353535 0%, #0e0e0e 24%, #202020 72%, #444 100%);
  box-shadow:
    inset 0 0 0 2px #111,
    inset 0 0 0 3px rgba(255, 255, 255, 0.08),
    0 34px 80px rgba(0, 0, 0, 0.52);
}

.device::before,
.device::after {
  content: "";
  position: absolute;
  left: 26%;
  width: 8%;
  height: 2px;
  top: -2px;
  border-radius: 4px 4px 0 0;
  background: #666;
}

.device::after {
  left: 36%;
  width: 5%;
}

.device-camera {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 1px #3b3b3b, inset 0 0 2px #152c20;
}

.device-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #020202;
  border-radius: 25px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-callout {
  position: absolute;
  z-index: 5;
  min-width: 168px;
  padding: 12px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: rgba(9, 9, 9, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.product-callout strong,
.product-callout span {
  display: block;
}

.product-callout strong {
  color: var(--accent);
  font: 700 11px/1.2 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-callout span {
  margin-top: 5px;
  color: var(--primary);
  font-size: 13px;
  line-height: 1.3;
}

.callout-left {
  left: -34px;
  bottom: 48px;
}

.callout-right {
  right: -24px;
  top: 48px;
}

.audience-band {
  border-block: 1px solid var(--line);
  background: #0d0d0d;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.audience-band article {
  min-height: 210px;
  padding: 52px max(5vw, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 54px minmax(0, 520px);
  align-content: center;
  gap: 20px;
}

.audience-band article:first-child {
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  border-right: 1px solid var(--line);
}

.audience-number {
  color: var(--accent);
  font: 650 13px/1.6 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

.audience-band h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.15;
}

.audience-band p {
  margin: 10px 0 0;
  color: var(--secondary);
  line-height: 1.55;
}

.marketing .section {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: 126px 0;
}

.section-intro {
  max-width: 790px;
  margin-bottom: 52px;
}

.marketing .section h2,
.product-section h2,
.show-section h2,
.privacy-callout h2,
.final-cta h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--primary);
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-intro > p:last-child,
.product-copy > p,
.show-copy > p,
.privacy-callout p,
.final-cta > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.feature-card {
  min-height: 320px;
  padding: 34px;
  background: var(--pane);
}

.feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-icon {
  width: 29px;
  height: 29px;
  display: block;
  overflow: visible;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-step {
  margin-top: 38px;
  display: block;
  color: var(--accent);
  font: 650 11px/1.2 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.feature-card h3,
.tech-features h3,
.export-features h3 {
  margin: 12px 0 0;
  color: var(--primary);
  font-size: 21px;
  line-height: 1.2;
}

.feature-card p,
.tech-features p,
.export-features p {
  margin: 13px 0 0;
  color: var(--secondary);
  line-height: 1.6;
}

.product-section {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px max(24px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: 80px;
  border-block: 1px solid var(--line);
  background: #0c0c0c;
}

.product-copy {
  max-width: 500px;
}

.check-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  color: #c5c5c5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
}

.device-wrap {
  min-width: 0;
}

.device-wrap-accent {
  position: relative;
}

.device-wrap-accent::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  background: radial-gradient(circle, rgba(48, 209, 88, 0.18), transparent 64%);
  filter: blur(30px);
}

.tech-section {
  position: relative;
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(560px, 1.24fr);
  align-items: center;
  gap: 72px;
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tech-features article {
  min-height: 245px;
  padding: 28px;
  background: var(--pane);
}

.tech-features article:nth-child(even) {
  border-left: 1px solid var(--line);
}

.tech-features article:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.show-section {
  min-height: 580px;
  padding: 122px 24px;
  display: grid;
  place-items: center;
  border-block: 1px solid var(--accent-line);
  background:
    linear-gradient(rgba(9, 9, 9, 0.72), rgba(9, 9, 9, 0.93)),
    radial-gradient(circle at 50% 0%, rgba(48, 209, 88, 0.26), transparent 60%);
  text-align: center;
}

.show-copy {
  width: min(1020px, 100%);
}

.show-copy > p {
  margin-inline: auto;
}

.metric-row {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.metric-row div {
  padding: 28px 24px;
}

.metric-row div + div {
  border-left: 1px solid var(--line);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--accent);
  font: 700 12px/1.2 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-row span {
  margin-top: 8px;
  color: var(--secondary);
  font-size: 14px;
}

.export-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  align-items: center;
  gap: 64px;
}

.paper-proof {
  position: relative;
  width: min(340px, 100%);
  justify-self: center;
  padding: 8px;
  background: #ddd;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
  transform: rotate(1.5deg);
}

.paper-proof > img {
  width: 100%;
  height: auto;
  display: block;
  background: white;
}

.paper-caption {
  position: absolute;
  left: -38px;
  right: -38px;
  bottom: -68px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: rgba(9, 9, 9, 0.96);
  transform: rotate(-1.5deg);
}

.paper-caption .feature-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.paper-caption strong,
.paper-caption span {
  display: block;
}

.paper-caption strong {
  color: var(--primary);
  font-size: 13px;
}

.paper-caption span {
  margin-top: 2px;
  color: var(--tertiary);
  font-size: 11px;
}

.export-features {
  margin-top: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.export-features article {
  padding: 28px 24px 30px;
}

.export-features article + article {
  border-left: 1px solid var(--line);
}

.privacy-callout {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--accent-soft);
}

.privacy-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-callout p {
  max-width: 870px;
}

.final-cta {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 160px;
  text-align: center;
}

.final-cta > p {
  margin-inline: auto;
}

.final-cta .button {
  margin-top: 34px;
}

.marketing footer {
  max-width: 1240px;
  min-height: 92px;
  align-items: center;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-product {
    width: min(900px, 100%);
    justify-self: center;
  }

  .product-section,
  .tech-layout {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 740px;
  }

  .tech-layout .device-wrap {
    order: -1;
  }

  .export-layout {
    gap: 38px;
  }
}

@media (max-width: 800px) {
  .audience-band,
  .feature-grid,
  .export-layout {
    grid-template-columns: 1fr;
  }

  .audience-band article,
  .audience-band article:first-child {
    padding: 36px 24px;
    border-right: 0;
  }

  .audience-band article + article {
    border-top: 1px solid var(--line);
  }

  .feature-card + .feature-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-card {
    min-height: 0;
  }

  .export-layout {
    gap: 90px;
  }

  .paper-proof {
    width: min(420px, 80%);
  }

  .export-features {
    grid-template-columns: 1fr 1fr;
  }

  .export-features article:nth-child(odd) {
    border-left: 0;
  }

  .export-features article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric-row div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .marketing .section,
  .privacy-callout,
  .final-cta {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    min-height: 82px;
  }

  .wordmark-image {
    width: 116px;
    height: 65px;
  }

  .hero {
    min-height: 0;
    padding: 64px 0 78px;
    gap: 54px;
  }

  .marketing .hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 12.5vw, 52px);
    letter-spacing: -0.055em;
  }

  .marketing .hero .lede {
    font-size: 18px;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-row {
    display: grid;
  }

  .device {
    padding: 8px;
    border-radius: 23px;
  }

  .device-screen {
    border-radius: 16px;
  }

  .device-camera {
    top: 2px;
    width: 3px;
    height: 3px;
  }

  .product-callout {
    display: none;
  }

  .marketing .section,
  .product-section {
    padding-block: 88px;
  }

  .product-section {
    width: 100%;
    padding-inline: 16px;
    gap: 48px;
  }

  .marketing .section h2,
  .product-section h2,
  .show-section h2,
  .privacy-callout h2,
  .final-cta h2 {
    font-size: 38px;
  }

  .tech-features,
  .export-features {
    grid-template-columns: 1fr;
  }

  .tech-features article:nth-child(even),
  .export-features article + article {
    border-left: 0;
  }

  .tech-features article:nth-child(n + 2),
  .export-features article:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .show-section {
    padding: 88px 16px;
  }

  .paper-caption {
    left: -16px;
    right: -16px;
  }

  .privacy-callout {
    padding: 34px 26px;
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 110px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing .button {
    transition: none;
  }
}
