:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* Dark, in the app's own colours (ios/CapSpark/Theme.swift). */
  --bg: #06070b;
  --ink: #f8fafc;
  --muted: #a3afc4;
  --blue: #4cc2ff;
  --paper: #0c1220;
  --line: rgba(150, 180, 220, 0.16);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 3px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
}
h1,
h2 {
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.03;
}
h2 {
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.12;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
p {
  line-height: 1.65;
}
main:focus {
  outline: none;
}
.container {
  width: min(1080px, calc(100% - 80px));
  margin-inline: auto;
}
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--blue);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.045em;
  min-height: 44px;
}
/* The neon wordmark (the app's launch-screen master) carries its glow inside the artwork. */
.brand .brand-wordmark {
  display: block;
  width: auto;
  height: 40px;
  margin-left: -7px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 550;
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.nav-links a:hover {
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 65px;
  padding-block: 56px 62px;
}
.hero-copy {
  max-width: 530px;
}
.hero h1 span {
  color: var(--blue);
}
.hero-description {
  max-width: 430px;
  margin-top: 26px;
  font-size: 17px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 30px;
}
/* Until the App Store listing exists the download button is disabled and says why. */
.download-pending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.button-disabled,
.button-disabled:hover {
  border: 0;
  font-family: inherit;
  background: rgba(150, 180, 220, 0.12);
  color: var(--muted);
  cursor: not-allowed;
}
.download-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.download-note::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.hero-visual {
  justify-self: center;
  text-align: center;
}
.phone-frame {
  width: 258px;
  border: 5px solid #23262e;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(150, 180, 220, 0.12);
  background: #06070b;
}
.phone-frame img {
  width: 100%;
  height: auto;
}
.hero-visual figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.02em;
}
.workflow {
  background: var(--paper);
  padding-block: 60px 64px;
  border-block: 1px solid var(--line);
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: 30px;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 40px 0 0;
  padding: 0;
}
.step-number {
  font-size: 12px;
  color: var(--blue);
  font-weight: 650;
  display: block;
  margin-bottom: 16px;
}
.steps p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.small-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.small-note a {
  white-space: normal;
}
.download-section {
  padding-block: 76px;
}
.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.download-inner > img {
  border-radius: 16px;
  margin-bottom: 24px;
}
.download-inner h2 {
  font-size: 38px;
}
.download-inner > p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 24px;
}
.download-inner > .text-link {
  margin-top: 10px;
}
.download-inner .download-pending {
  justify-content: center;
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  text-decoration: none;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.button-dark {
  background: var(--blue);
  color: var(--bg);
}
.button-dark:hover {
  background: #7fd4ff;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 38px;
  background: var(--paper);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: start;
}
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.footer-inner > div > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.footer-inner nav {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 28px;
}
.footer-inner nav a {
  font-size: 12px;
  text-decoration: none;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.footer-inner nav a:hover {
  text-decoration: underline;
}
.copyright {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  line-height: 1.8;
}
.legal-page,
.support-page {
  max-width: 740px;
  padding-block: 50px 80px;
}
.back-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 28px;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}
.legal-page h1,
.support-page h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
}
.legal-intro {
  font-size: 18px;
  color: var(--muted);
  margin-top: 22px;
}
.updated {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
.legal-content {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.legal-content section {
  margin-top: 34px;
}
.legal-content h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 14px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  color: #c9d2e0;
  line-height: 1.85;
}
.legal-content p + p {
  margin-top: 14px;
}
.legal-content a,
.support-faq a {
  color: var(--blue);
}
.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}
.legal-content li + li {
  margin-top: 9px;
}
.support-page {
  padding-top: 70px;
}
.support-email {
  margin-block: 28px 18px;
}
.support-page > .small-note {
  max-width: 520px;
}
.support-faq {
  margin-top: 52px;
}
.support-faq h2 {
  font-size: 26px;
  margin-bottom: 24px;
}
.support-faq details {
  border-top: 1px solid var(--line);
}
.support-faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.support-faq summary {
  cursor: pointer;
  padding: 21px 28px 21px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
  list-style: none;
}
.support-faq summary::-webkit-details-marker {
  display: none;
}
.support-faq summary:after {
  content: '+';
  position: absolute;
  right: 3px;
  font-size: 20px;
  font-weight: 400;
  top: 16px;
}
.support-faq details[open] summary:after {
  content: '−';
}
.support-faq details p {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 24px;
  padding-right: 26px;
}
.support-company {
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
}
.not-found {
  padding-block: 100px 130px;
  min-height: 60vh;
}
.not-found p {
  margin-block: 20px;
  color: var(--muted);
}
@media (min-width: 1400px) {
  .hero {
    gap: 110px;
  }
  .phone-frame {
    width: 280px;
  }
  .hero {
    padding-block: 54px;
  }
  .hero h1 {
    font-size: 74px;
  }
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 35px;
    grid-template-columns: 1.2fr 1fr;
  }
  .phone-frame {
    width: 240px;
  }
  .nav-links {
    gap: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }
  .copyright {
    grid-column: 1/-1;
    text-align: left;
  }
  .steps {
    gap: 25px;
  }
  .hero h1 {
    font-size: 56px;
  }
}
@media (max-width: 700px) {
  .nav {
    min-height: 74px;
    gap: 12px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand .brand-wordmark {
    height: 36px;
  }
  .nav-links {
    gap: 16px;
    font-size: 12px;
  }
  .nav-how {
    display: none !important;
  }
  .nav-download {
    padding-inline: 12px;
    gap: 6px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 46px;
  }
  .hero-copy {
    max-width: 470px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 370px;
    margin-top: 22px;
  }
  .hero-actions {
    gap: 6px;
    margin-top: 24px;
  }
  .hero-visual {
    justify-self: center;
  }
  .phone-frame {
    width: 250px;
    border-radius: 37px;
  }
  .hero-visual figcaption {
    margin-top: 12px;
  }
  .eyebrow {
    margin-bottom: 16px;
  }
  .workflow {
    padding-block: 42px;
  }
  .section-heading h2 {
    font-size: 29px;
    max-width: 360px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .steps li {
    position: relative;
    padding-left: 38px;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 4px;
  }
  .steps h3 {
    font-size: 19px;
  }
  .steps p {
    margin-top: 8px;
    max-width: 430px;
  }
  .download-section {
    padding-block: 52px;
  }
  .download-inner h2 {
    font-size: 34px;
  }
  .site-footer {
    padding-block: 30px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-inner nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
  }
  .footer-inner nav a {
    min-height: 44px;
  }
  .copyright {
    grid-column: auto;
  }
  .legal-page,
  .support-page {
    padding-block: 36px 55px;
  }
  .legal-intro {
    font-size: 17px;
  }
  .legal-page h1,
  .support-page h1 {
    font-size: 40px;
  }
  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }
  .back-link {
    margin-bottom: 22px;
  }
  .legal-content h2 {
    font-size: 22px;
  }
  .support-faq {
    margin-top: 38px;
  }
  .support-email {
    font-size: 14px;
  }
  .not-found {
    padding-block: 70px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-links {
    gap: 10px;
  }
  .nav-download {
    padding-inline: 10px;
  }
  .brand {
    font-size: 16px;
  }
  .brand .brand-wordmark {
    height: 23px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-description {
    font-size: 15px;
  }
  .legal-page h1,
  .support-page h1 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
/* Links styled as actions must keep their contrast inside legal copy. */
.legal-content a.button-dark {
  color: var(--bg);
}
