/* helixvault.particles.ca — one stylesheet for the landing page and the
   privacy policy. The same layout as tenure.particles.ca and
   billable.particles.ca, in Helix Vault's green, with the icon's teal-to-violet
   glow as the accent. No web fonts: Apple devices get San Francisco and New
   York, everything else gets the platform's system fonts. */

:root {
  color-scheme: light;
  --ink: #101626;
  --ink-soft: #3e4658;
  --muted: #5f687a;
  --bg: #f6f9f8;
  --surface: #ffffff;
  --tint: #e2f1ed;
  --line: rgba(16, 22, 38, 0.1);
  --brand: #0b7a68;
  --brand-hover: #086455;
  --brand-soft: #8fe3cc;
  --amber: #f0b3ff; /* icon accent on the dark band: the icon's violet */
  --glow-a: #19b394; /* the icon's teal */
  --glow-b: #b35ad6; /* the icon's violet */
  --deep: #0b6a5c; /* the App Store screenshots' background */
  --deep-2: #075045;
  --ok: #1f9d55;

  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: ui-serif, 'New York', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 64px;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 22, 38, 0.06), 0 12px 32px rgba(16, 22, 38, 0.08);
  --shadow-lg: 0 2px 6px rgba(16, 22, 38, 0.08), 0 30px 70px rgba(6, 70, 60, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-hover);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 22, 38, 0.22);
}

.btn-dark:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(16, 22, 38, 0.25);
}

.btn-light {
  background: #fff;
  color: var(--deep);
}

.btn-light:hover {
  background: var(--tint);
  color: var(--deep);
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}

/* --------------------------------------------------------------- header */
/* Fixed to the top of the window and the same at every scroll position. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 249, 248, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 20px/1 var(--serif);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(16, 22, 38, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  color: var(--ink);
  background: rgba(16, 22, 38, 0.05);
}

.nav .btn {
  margin-left: 8px;
}

@media (max-width: 640px) {
  .nav-link {
    display: none;
  }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(143, 227, 204, 0.45), transparent 70%),
    radial-gradient(45% 40% at 10% 90%, rgba(11, 122, 104, 0.12), transparent 70%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.eyebrow img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
}

.hero h1 em {
  font-style: italic;
  color: var(--brand);
  background: linear-gradient(90deg, var(--glow-a), var(--glow-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 19px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fine {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

/* Three App Store screenshots, fanned out. */
.fan {
  position: relative;
  height: 600px;
}

.fan figure {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--deep);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fan figure:nth-child(1) {
  transform: translate(-112%, -46%) rotate(-7deg);
}

.fan figure:nth-child(2) {
  z-index: 2;
  width: 290px;
  transform: translate(-50%, -52%);
}

.fan figure:nth-child(3) {
  transform: translate(12%, -46%) rotate(7deg);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fan:hover figure:nth-child(1) {
    transform: translate(-122%, -47%) rotate(-10deg);
  }

  .fan:hover figure:nth-child(3) {
    transform: translate(22%, -47%) rotate(10deg);
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 48px 0 64px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fan {
    height: 520px;
  }

  .fan figure {
    width: 220px;
  }

  .fan figure:nth-child(2) {
    width: 250px;
  }
}

@media (max-width: 520px) {
  .fan {
    height: 440px;
  }

  .fan figure {
    width: 168px;
    border-radius: 20px;
  }

  .fan figure:nth-child(1) {
    transform: translate(-100%, -46%) rotate(-7deg);
  }

  .fan figure:nth-child(2) {
    width: 200px;
  }

  .fan figure:nth-child(3) {
    transform: translate(0%, -46%) rotate(7deg);
  }
}

/* --------------------------------------------------------- moments strip */

.moments {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.moments ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.moments li {
  padding: 26px 20px;
  border-left: 1px solid var(--line);
}

.moments li:first-child {
  border-left: 0;
  padding-left: 0;
}

.moments b {
  display: block;
  font: 700 19px/1.25 var(--serif);
}

.moments span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .moments ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moments li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

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

/* ------------------------------------------------------------- sections */

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.feature h2 {
  font-size: clamp(32px, 4.2vw, 48px);
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 19px;
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }
}

.section-flush {
  padding-top: 0;
}

/* -------------------------------------------------------------- features */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.feature + .feature {
  margin-top: 112px;
}

.feature:nth-of-type(even) .feature-shot {
  order: -1;
}

.feature .sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 19px;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%230b7a68' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat,
    var(--tint);
}

.ticks b {
  color: var(--ink);
  font-weight: 600;
}

.feature-shot {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  border-radius: 32px;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(143, 227, 204, 0.5), transparent 75%),
    var(--tint);
}

.feature-shot img {
  width: min(300px, 72%);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature:nth-of-type(even) .feature-shot {
    order: 0;
  }

  .feature + .feature {
    margin-top: 80px;
  }
}

/* ---------------------------------------------- on-device intelligence */

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

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.card .quote {
  display: block;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--ink);
  font: 600 15px/1.4 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

.card h3 {
  font-size: 22px;
}

.card p {
  margin-top: 10px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .cards3 {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------- privacy */

.privacy-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(143, 227, 204, 0.28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(11, 122, 104, 0.45), transparent 70%),
    var(--deep);
  color: #fff;
}

.privacy-band .kicker {
  color: var(--brand-soft);
}

.privacy-band .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promises li {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promises svg {
  width: 26px;
  height: 26px;
  color: var(--amber);
}

.promises b {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.3;
}

.promises span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.privacy-band .cta-row {
  margin-top: 36px;
}

.privacy-band .shot {
  justify-self: center;
  width: min(320px, 80%);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 960px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .promises {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ platforms */

.platforms {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.ipad {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.device-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.device-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.device-list svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--brand);
}

.device-list b {
  display: block;
  font-size: 16px;
}

.device-list span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- pricing */

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

.price-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.price-card.pro {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(143, 227, 204, 0.35), transparent 70%),
    var(--surface);
  border-color: rgba(11, 122, 104, 0.35);
}

.price-card h3 {
  font-size: 28px;
}

.price-card .price {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.price-card .ticks {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- support */

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px;
  border-radius: var(--radius);
  background: var(--deep);
  color: #fff;
}

.contact-card .kicker {
  color: var(--brand-soft);
}

.contact-card h3 {
  font-size: 26px;
}

.contact-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card .btn {
  margin-top: 24px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  margin-top: -3px;
  transform: rotate(-135deg);
}

.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
}

.faq details p + p {
  margin-top: -10px;
}

@media (max-width: 860px) {
  .support {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-card {
    position: static;
  }
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  padding: 56px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--ink-soft);
  text-decoration: none;
}

.made-by svg {
  width: 20px;
  height: 20px;
}

.made-by:hover {
  color: var(--ink);
}

/* ----------------------------------------------------------- legal page */

.legal-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(143, 227, 204, 0.35), transparent 70%);
}

.legal-hero h1 {
  font-size: clamp(40px, 5.6vw, 60px);
}

.legal-hero .meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.legal {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 104px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 14px;
}

.toc b {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand);
}

.legal-body {
  max-width: 720px;
}

.summary-card {
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(11, 122, 104, 0.3);
  box-shadow: var(--shadow);
}

.summary-card h2 {
  font-size: 24px;
}

.summary-card .ticks {
  margin-top: 18px;
}

.legal-body section {
  margin-top: 48px;
}

.legal-body h2 {
  font-size: 28px;
}

.legal-body h3 {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: 0;
}

.legal-body p,
.legal-body ul {
  margin-top: 14px;
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 22px;
}

.legal-body li + li {
  margin-top: 8px;
}

.legal-body strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toc {
    position: static;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
    --header-h: 60px;
  }

  body {
    font-size: 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }
}

/* ------------------------------------------------- Helix+ tag, disclaimer */

.plus {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--glow-a), var(--glow-b));
  color: #fff;
  font: 700 11px/1.5 var(--sans);
  letter-spacing: 0.04em;
  vertical-align: 2px;
}

.disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

.disclaimer b {
  color: var(--ink);
}
