:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5b687c;
  --line: #d7dfec;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --navy: #101827;
  --blue: #2563eb;
  --teal: #0f766e;
  --amber: #b7791f;
  --red: #b42318;
  --shadow: 0 22px 60px rgba(16, 24, 39, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 24, 39, 0.16);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-header .nav-action {
  color: #ffffff;
  background: var(--blue);
  padding: 9px 14px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: min(760px, calc(100vh - 63px));
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 64px) 56px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 18%, rgba(15, 118, 110, 0.34), transparent 31%),
    linear-gradient(135deg, #101827 0%, #1b2740 54%, #122c2a 100%);
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #82d9cf; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 14px;
  font-size: clamp(56px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 650px;
  color: #dfe9f6;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.download-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

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

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
}

.button.full { width: 100%; }

.hero-notes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-notes span {
  padding: 7px 10px;
  color: #dce9f7;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  min-width: 0;
}

.window,
.mock-screen {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.window {
  transform: perspective(1400px) rotateY(-8deg) rotateX(2deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  color: #dbe5f2;
  background: #111827;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
}

.window-bar span:nth-child(2) { background: #f59e0b; }
.window-bar span:nth-child(3) { background: #22c55e; }
.window-bar strong {
  margin-left: 8px;
  font-size: 13px;
}

.app-shot,
.screenshot-card img,
.tour-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #eef3f8;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.app-shot,
.screenshot-card img,
.tour-grid img {
  cursor: zoom-in;
}

.app-shot:focus-visible,
.screenshot-card img:focus-visible,
.tour-grid img:focus-visible {
  outline: 4px solid rgba(37, 99, 235, 0.72);
  outline-offset: -4px;
}

.image-lightbox {
  width: min(96vw, 1800px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 46px 14px 14px;
  overflow: auto;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(5, 12, 24, 0.42);
}

.image-lightbox::backdrop {
  background: rgba(7, 13, 24, 0.82);
  backdrop-filter: blur(4px);
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(94vh - 92px);
  margin: 0 auto;
  object-fit: contain;
}

.image-lightbox p {
  margin: 10px 44px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.trust-band div {
  min-height: 116px;
  padding: 24px clamp(18px, 5vw, 64px);
  background: #ffffff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.section,
.pricing-section {
  padding: 76px clamp(18px, 5vw, 64px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.section-head p,
.privacy-copy p,
.privacy-copy li,
.pricing-section p,
.feature-grid p,
.showcase p,
.faq p,
.download-item span {
  color: var(--muted);
  line-height: 1.58;
}

.product-section {
  background: #ffffff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.showcase {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.showcase.large {
  grid-row: auto;
}

.screenshot-card {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #d8e1ed;
  border-radius: 8px;
  background: #f8fafc;
}

.screenshot-card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: top left;
  background: #eef3f8;
}

.showcase.large .screenshot-card img {
  aspect-ratio: 16 / 10;
}

.screenshot-tour {
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tour-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.tour-grid img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #eef3f8;
  border-bottom: 1px solid var(--line);
}

.tour-grid h3,
.tour-grid p {
  padding-inline: 20px;
}

.tour-grid h3 {
  margin-top: 18px;
}

.tour-grid p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.58;
}

.feature-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article {
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 38px;
  align-items: start;
  background: #ffffff;
}

.privacy-copy {
  padding: 24px;
  border-left: 5px solid var(--teal);
  background: #f3faf8;
}

.privacy-copy ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.price {
  margin-bottom: 14px;
  font-size: 56px;
  font-weight: 950;
  letter-spacing: 0;
}

.price span {
  color: var(--muted);
  font-size: 18px;
}

.tax-note {
  margin: -10px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.price-panel ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.founder-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.downloads {
  background: #ffffff;
}

.download-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  flex: 1 1 360px;
  min-width: min(100%, 330px);
  min-height: 116px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.download-copy > strong,
.download-copy > span {
  display: block;
}

.platform-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--ink);
}

.download-copy {
  min-width: 0;
}

.download-copy strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.macos-icon {
  align-content: center;
  gap: 0;
  border: 1px solid #c7ced8;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #eef1f5);
  box-shadow: 0 7px 16px rgba(16, 24, 39, 0.12);
  line-height: 0.82;
}

.macos-icon span {
  font-size: 16px;
  font-weight: 600;
}

.macos-icon strong {
  font-size: 29px;
  font-weight: 500;
}

.windows-icon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  padding: 8px;
  transform: none;
}

.windows-icon i {
  display: block;
  width: 100%;
  height: 100%;
  background: #0aa4df;
}

.download-item.disabled {
  cursor: not-allowed;
  background: #f9fbfd;
}

.download-item.interest {
  border-color: rgba(37, 99, 235, 0.45);
  background: #f5f8ff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.download-item.interest:hover,
.download-item.interest:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
  transform: translateY(-2px);
}

.availability-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.faq details {
  max-width: 900px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 850;
}

.faq p {
  max-width: 780px;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: #dbe5f2;
  background: var(--navy);
}

.site-footer div,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 6px;
  color: #a9b7ca;
  font-size: 13px;
}

.site-footer nav a { color: #dbe5f2; }

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 20px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 64px);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .hero,
  .showcase-grid,
  .tour-grid,
  .privacy-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .window {
    transform: none;
  }

  .showcase.large {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-header nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .trust-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
  }
}
