:root {
  color-scheme: light;
  --paper: #f6f8fd;
  --paper-raise: #eef2fa;
  --sheet: #ffffff;
  --ink: #101623;
  --ink-soft: #47536b;
  --ink-faint: #6b7891;
  --blue: #2b63d9;
  --blue-deep: #2454bd;
  --blue-darker: #1b3f92;
  --blue-pale: #c8d8ff;
  --blue-wash: #e4ecfd;
  --teal: #0d6f7d;
  --line: #d8e0f0;
  --line-strong: #c2cee6;
  --on-blue-soft: #d9e3fb;
  --container: 1160px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sheet: 0 1px 2px rgba(16, 22, 35, 0.05), 0 12px 32px rgba(16, 22, 35, 0.07);
  --shadow-lift: 0 2px 6px rgba(16, 22, 35, 0.07), 0 26px 60px rgba(16, 22, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 60;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-200%);
  transition: transform 220ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 253, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.app-brand img {
  width: 30px;
  height: 30px;
  border-radius: 24%;
}

.brand-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1.1rem;
  font-size: 0.92rem;
}

.brand-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.brand-links a:hover,
.brand-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
}

.brand-links .nav-cta {
  color: #fff;
  background: var(--blue-deep);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.brand-links .nav-cta:hover {
  background: var(--blue-darker);
  color: #fff;
  text-decoration: none;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.2rem, 8vw, 6.5rem) 1.25rem;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.12;
}

.section-lede {
  margin: 0 0 2.4rem;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary:hover {
  background: var(--blue-darker);
  text-decoration: none;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--sheet);
}

.button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-darker);
  text-decoration: none;
}

/* On the blue bands the buttons invert */

.band-blue .button-primary {
  background: #fff;
  color: var(--blue-darker);
}

.band-blue .button-primary:hover {
  background: var(--blue-pale);
}

.band-blue .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.band-blue .button-secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Blue bands ---------- */

.band-blue {
  background: var(--blue-deep);
  color: #fff;
}

.band-blue h1,
.band-blue h2,
.band-blue h3 {
  color: #fff;
}

.band-blue p {
  color: var(--on-blue-soft);
}

.band-blue strong {
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-kicker {
  margin: 0 0 1rem;
  color: var(--blue-pale);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.03;
}

.hero-lede {
  margin: 0 0 1.5rem;
  max-width: 50ch;
  font-size: 1.14rem;
}

.availability {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--blue-pale);
}

.availability::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Hero composition: a sheet of paper with the phone resting on it */

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-stack {
  position: relative;
  width: min(430px, 100%);
  margin-bottom: clamp(2rem, 8vw, 4.5rem);
}

.hero-sheet {
  width: 100%;
  border-radius: 22px;
  rotate: -2.5deg;
  box-shadow: 0 30px 70px rgba(6, 18, 48, 0.45);
  animation: sheet-settle 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-phone {
  position: absolute;
  right: -5%;
  bottom: -18%;
  width: 47%;
  animation: sheet-settle 900ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.hero-phone .phone {
  width: 100%;
  border-radius: 30px;
  padding: 7px;
}

.hero-phone .phone img {
  border-radius: 24px;
}

@keyframes sheet-settle {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  width: min(300px, 74vw);
  border-radius: 40px;
  padding: 9px;
  background: #0b1020;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    var(--shadow-lift);
}

.phone img,
.phone video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.phone video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #06131c;
}

/* ---------- Lead feature ---------- */

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.lead-copy h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.lead-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

.lead-copy p strong {
  color: var(--ink);
}

.lead-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.lead-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: baseline;
  color: var(--ink-soft);
}

.lead-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  transform: translateY(-2px);
}

/* Stacked-paper decoration */

.paper-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.paper-stack .sheet-deco {
  position: absolute;
  width: min(230px, 62vw);
  aspect-ratio: 3 / 4;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sheet);
}

.paper-stack .sheet-deco:nth-child(1) {
  rotate: -8deg;
  translate: -14px 8px;
}

.paper-stack .sheet-deco:nth-child(2) {
  rotate: 4deg;
  translate: 12px -4px;
}

.paper-stack .sheet-front {
  position: relative;
  width: min(230px, 62vw);
  aspect-ratio: 3 / 4;
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
}

.paper-stack .rule {
  height: 8px;
  border-radius: 4px;
  background: var(--blue-wash);
}

.paper-stack .rule.short {
  width: 55%;
}

.paper-stack .rule.mid {
  width: 78%;
}

.paper-stack .rule.accent {
  background: var(--blue);
  width: 42%;
}

.paper-stack .keyhole {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--blue-deep);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lift);
}

.paper-stack .keyhole svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sheet);
}

.feature.wide {
  grid-column: span 2;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature p + p {
  margin-top: 0.7rem;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 111, 125, 0.35);
  background: rgba(13, 111, 125, 0.07);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.feature-note {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ---------- Vault band ---------- */

.vault-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.vault-grid h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
}

.vault-grid > div > p {
  max-width: 52ch;
  font-size: 1.06rem;
}

.privacy-claims {
  margin: 1.4rem 0 1.7rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.privacy-claims li {
  display: block;
  padding-left: 1.5rem;
  position: relative;
  color: #fff;
}

.privacy-claims li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-pale);
  font-weight: 700;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.vault-media {
  display: flex;
  justify-content: center;
}

.vault-media .phone {
  width: min(280px, 72vw);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 30px 70px rgba(6, 18, 48, 0.45);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.plan {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sheet);
}

.plan.plan-pro {
  border-color: var(--blue);
  box-shadow: var(--shadow-lift);
}

.plan h3 {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
}

.plan-price {
  margin: 0 0 1.2rem;
  color: var(--ink-faint);
  font-size: 0.98rem;
}

.plan-price strong {
  color: var(--ink);
  font-weight: 700;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.plan li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.plan li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
}

.plan-pro li::before {
  color: var(--blue);
}

.pricing-note {
  margin: 1.6rem 0 0;
  color: var(--ink-faint);
  font-size: 0.92rem;
}

/* ---------- Legal / support shared ---------- */

.legal-main,
.support-main {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 4rem;
}

.legal-header h1,
.support-intro h1 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.1;
}

.page-kicker {
  margin: 0;
  color: var(--teal);
  font-weight: 650;
  font-size: 0.95rem;
}

.legal-summary {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.effective-date {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.legal-document section {
  margin-top: 2.4rem;
}

.legal-document h2 {
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
}

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

.legal-document a {
  color: var(--ink);
  text-decoration-color: var(--blue);
}

.legal-document ul {
  padding-left: 1.2rem;
}

.legal-document li {
  margin-bottom: 0.4rem;
}

/* Support */

.support-intro p {
  color: var(--ink-soft);
  max-width: 58ch;
}

.support-intro .button {
  margin-top: 0.5rem;
}

.support-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.support-list {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.support-list article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sheet);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sheet);
}

.support-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.support-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.support-content {
  margin-top: 3rem;
}

.support-content h2 {
  font-size: 1.5rem;
  margin: 0;
}

.support-footer-band {
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-raise);
  padding: 1.8rem;
}

.support-footer-band h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.support-footer-band p {
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 1.25rem 5.5rem;
  background: var(--paper);
}

.site-footer .inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.site-footer .links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

/* Studio return pill */

.bc-return {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 9px;
  background: rgba(16, 19, 26, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 234, 217, 0.16);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #f2ead9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.bc-return:hover {
  border-color: #e8541e;
  color: #e8541e;
  text-decoration: none;
}

.bc-return img {
  width: 22px;
  height: 22px;
}

/* ---------- Responsive ---------- */

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

  .feature.wide {
    grid-column: span 2;
  }
}

@media (max-width: 880px) {
  .hero-grid,
  .lead-grid,
  .vault-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .feature.wide {
    grid-column: span 1;
  }

  .hero-media {
    order: -1;
  }

  .hero-stack {
    width: min(360px, 84%);
  }

  .paper-stack {
    min-height: 340px;
  }

  .brand-links {
    gap: 0.8rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .bc-return {
    padding: 8px;
  }

  .bc-return .bc-return-label {
    display: none;
  }

  .brand-links {
    gap: 0.65rem;
    font-size: 0.82rem;
  }

  .site-header .inner {
    flex-wrap: wrap;
  }
}

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

  .hero-sheet,
  .hero-phone {
    animation: none;
  }

  .button {
    transition: none;
  }
}
