/* Recto — ink-blue night, paper-blue light, one highlighter glint (the app icon). Layout from the Rocky Stone Labs template (Kitlight, Stillwater). */
:root {
  --night: #0a0e1b;
  --ink: #0d1222;
  --pine: #1a2550;
  --cloud: #f1f3f9;
  --mist: rgba(241, 243, 249, 0.68);
  --faint: rgba(241, 243, 249, 0.42);
  --celadon: #a9bcff;
  --foam: #c2cdf0;
  --apricot: #ffd54a;
  --gold: #ffcf5c;
  --hair: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.035);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter,
    system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cloud);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(
      1100px 700px at 50% -10%,
      rgba(46, 84, 200, 0.42),
      transparent 70%
    ),
    radial-gradient(
      700px 500px at 92% 2%,
      rgba(255, 213, 74, 0.14),
      transparent 70%
    );
  background-repeat: no-repeat;
}
a {
  color: var(--celadon);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img,
video {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  background: rgba(10, 14, 27, 0.72);
  border-bottom: 1px solid var(--hair);
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cloud);
  font-weight: 600;
  font-size: 18px;
}
.brand img {
  width: 28px;
  height: 28px;
}
.brand:hover {
  text-decoration: none;
}
nav .links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
nav .links a {
  color: var(--mist);
}
nav .links a:hover {
  color: var(--cloud);
  text-decoration: none;
}
@media (max-width: 720px) {
  nav .links a:not(.btn) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 650;
  font-size: 18px;
  line-height: 1.2;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn small {
  font-weight: 450;
  font-size: 13px;
  opacity: 0.72;
  margin-top: 3px;
}
.btn-primary {
  background: linear-gradient(100deg, var(--celadon), var(--foam));
  color: var(--ink);
  box-shadow:
    0 12px 40px rgba(169, 188, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover {
  box-shadow:
    0 16px 50px rgba(169, 188, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-ghost {
  border: 1.5px solid rgba(169, 188, 255, 0.55);
  color: var(--cloud);
}
nav .btn {
  padding: 8px 18px;
  font-size: 14px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 84px 0 40px;
}
.hero img.icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 40px rgba(255, 213, 74, 0.25));
}
h1 {
  font: 600 clamp(38px, 6vw, 68px)/1.06 var(--serif);
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 21ch;
}
h1 em {
  color: var(--apricot);
}
.lede {
  color: var(--mist);
  font-size: clamp(18px, 2.2vw, 21px);
  max-width: 40ch;
  margin: 18px auto 34px;
}
.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust {
  margin-top: 18px;
  font-size: 14px;
  color: var(--faint);
}
.trust span + span::before {
  content: "·";
  margin: 0 10px;
}
.shot {
  margin: 56px auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  max-width: 1040px;
}

/* Sections */
section {
  padding: 88px 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--celadon);
}
h2 {
  font: 600 clamp(30px, 4vw, 44px)/1.12 var(--serif);
  letter-spacing: -0.015em;
  margin: 10px 0 16px;
}
h2 em {
  color: var(--celadon);
}
.sub {
  color: var(--mist);
  max-width: 56ch;
  margin: 0;
}
.center {
  text-align: center;
}
.center .sub {
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 26px;
}
.pillar h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.pillar p {
  margin: 0;
  color: var(--mist);
  font-size: 16px;
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.film {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  background: #000;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 54px;
  align-items: center;
  padding: 46px 0;
}
.feature.flip {
  grid-template-columns: 1.25fr 1fr;
}
.feature.flip .text {
  order: 2;
}
.feature img {
  border-radius: 14px;
  border: 1px solid var(--hair);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.feature h3 {
  font: 600 30px/1.15 var(--serif);
  margin: 8px 0 12px;
}
.feature p {
  color: var(--mist);
  margin: 0 0 10px;
}
.pro-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255, 213, 74, 0.15);
  border-radius: 999px;
  padding: 2px 9px;
  vertical-align: middle;
  margin-left: 8px;
}
@media (max-width: 860px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature.flip .text {
    order: 0;
  }
}

.finds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}
.finds div {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 22px;
}
.finds b {
  display: block;
  margin-bottom: 6px;
}
.finds span {
  color: var(--mist);
  font-size: 15px;
}
@media (max-width: 960px) {
  .finds {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .finds {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.plan {
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 32px;
  background: var(--card);
}
.plan.pro {
  border-color: rgba(255, 213, 74, 0.45);
  background: linear-gradient(
    160deg,
    rgba(255, 213, 74, 0.08),
    rgba(255, 255, 255, 0.02)
  );
}
.plan h3 {
  margin: 0;
  font-size: 22px;
}
.price {
  font: 600 40px/1 var(--serif);
  margin: 14px 0 4px;
}
.price small {
  font: 500 16px var(--sans);
  color: var(--mist);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}
.plan li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--mist);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--celadon);
  font-weight: 700;
}
.plan.pro li::before {
  color: var(--gold);
}
.alt-price {
  margin: 6px 0 0;
  color: var(--mist);
}
.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.plan .note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plan .note {
  font-size: 14px;
  color: var(--faint);
  margin-top: 14px;
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  counter-reset: s;
}
.step {
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 24px 24px 24px 72px;
  position: relative;
  background: var(--card);
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(169, 188, 255, 0.16);
  color: var(--celadon);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step b {
  display: block;
}
.step span {
  color: var(--mist);
  font-size: 15px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

details {
  border-bottom: 1px solid var(--hair);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  float: right;
  color: var(--celadon);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after {
  content: "–";
}
details p {
  color: var(--mist);
  margin: 10px 0 0;
}
.faq {
  max-width: 760px;
  margin: 30px auto 0;
}

.final {
  text-align: center;
  padding: 100px 0 110px;
}
.final h2 {
  margin-bottom: 26px;
}

footer {
  border-top: 1px solid var(--hair);
  padding: 34px 0 50px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
footer a {
  color: var(--mist);
}
footer .right {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

/* Docs pages */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.doc h1 {
  max-width: none;
  font-size: 46px;
  margin-bottom: 10px;
  text-align: left;
}
.doc h2 {
  font-size: 28px;
  margin-top: 46px;
}
.doc p,
.doc li {
  color: var(--mist);
}
.doc code {
  font:
    14.5px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--cloud);
}
.doc pre {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 18px;
  overflow-x: auto;
}
.doc pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}
.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.doc th {
  color: var(--cloud);
}

/* Download buttons: maximum contrast (the nav link colour used to override the button's text colour). */
.btn-primary, nav .links a.btn-primary, nav .links a.btn-primary:hover {
  background: #cbd8ff; color: #08102e; font-weight: 750;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 14px 44px rgba(169, 188, 255, .42);
}
.btn-primary:hover { background: #e2e9ff; }
.btn-primary small { opacity: 1; color: #25336a; font-weight: 600; font-size: 13.5px; }
.btn-primary::before { content: ""; }
.hero .btn, .final .btn { font-size: 20px; padding: 16px 36px; min-width: 260px; }
nav .links a.btn-primary { font-size: 15px; padding: 9px 20px; }
.btn-ghost { color: var(--cloud); border-color: rgba(190, 206, 255, .7); }
.btn-ghost small { opacity: .85; }

/* `.wrap` (padding: 0 24px) outranks `section` (padding: 88px 0), which left stacked sections touching. */
section.wrap { padding-top: 88px; padding-bottom: 88px; }
section.wrap + section.wrap { padding-top: 24px; }
@media (max-width: 700px) { section.wrap { padding-top: 56px; padding-bottom: 56px; } section.wrap + section.wrap { padding-top: 16px; } }
/* Same clash in the hero: `.hero` (padding: 84px 0 40px) drops the side margins on phones. */
header.hero.wrap { padding-left: 24px; padding-right: 24px; }
@media (max-width: 560px) { h1 { font-size: 34px; } .hero .btn { min-width: 0; width: 100%; } }
footer .right { flex-wrap: wrap; row-gap: 8px; }
/* The eight languages under Install, each in its own script (as on Stillwater's site). */
.langs { margin-top: 8px; font-size: 14px; color: var(--mist); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.langs span { white-space: nowrap; }
