@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/site/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/site/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/site/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --porcelain: #fff5e8;
  --porcelain-2: #fbeedd;
  --surface: #ffffff;
  --ink: #101b3a;
  --ink-2: #526079;
  --line: rgba(16, 27, 58, 0.1);
  --cobalt: #123fe8;
  --cobalt-soft: #93b5ff;
  --night: #0b1020;
  --night-2: #151e33;
  --night-line: rgba(169, 180, 204, 0.16);
  --mist: #a9b4cc;
  --radius: 28px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); line-height: 1.02; }
h1 { font-size: clamp(3rem, 7.2vw, 5.9rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
h1 em, h2 em { font-style: italic; color: var(--cobalt); }
h3 { font-family: var(--sans); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.lede { margin: 22px 0 0; font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 34em; }
.lede.narrow { max-width: 32em; margin-left: auto; margin-right: auto; }
.fine { margin: 18px 0 0; font-size: 0.88rem; color: var(--ink-2); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-cobalt { background: var(--cobalt); color: #fff; box-shadow: 0 10px 30px -10px rgba(18, 63, 232, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(16, 27, 58, 0.3); }
.link-arrow { font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; }
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 16px;
  background: var(--ink); color: #fff;
  transition: transform 0.25s var(--ease);
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { width: 22px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; font-size: 1.18rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.store-badge small { font-size: 0.68rem; font-weight: 500; opacity: 0.8; letter-spacing: 0.01em; }
.store-badge-lg { height: 62px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 245, 232, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 34px; font-size: 0.94rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }

.hero-stage { position: relative; height: clamp(520px, 52vw, 660px); }
.glow {
  position: absolute; inset: 8% 4% 4%;
  background:
    radial-gradient(closest-side, rgba(18, 63, 232, 0.28), transparent 70%),
    radial-gradient(closest-side at 70% 70%, rgba(147, 181, 255, 0.45), transparent 70%);
  filter: blur(30px);
}

.device {
  margin: 0;
  background: #05070d;
  padding: 9px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 0 1px #2a2f3d,
    0 40px 80px -30px rgba(11, 16, 32, 0.55),
    0 18px 30px -18px rgba(11, 16, 32, 0.35);
}
.device img { width: 100%; }
.phone { border-radius: 50px; aspect-ratio: 720 / 1565; }
.phone img { border-radius: 42px; height: 100%; object-fit: cover; }
.tablet { border-radius: 34px; padding: 12px; }
.tablet img { border-radius: 24px; }

.hero-stage .phone { position: absolute; width: min(290px, 46%); }
.phone-front { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; animation: float 9s ease-in-out infinite; }
.phone-back { top: 9%; opacity: 0.96; z-index: 1; }
.phone-left { left: 4%; transform: rotate(-7deg) scale(0.9); }
.phone-right { right: 4%; transform: rotate(7deg) scale(0.9); }

.seal-chip {
  position: absolute; z-index: 4; left: 50%; bottom: 3%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(11, 16, 32, 0.86); color: #fff; font-size: 0.84rem; font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(11, 16, 32, 0.6);
  white-space: nowrap;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Promise */
.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise p { margin: 0; padding: 30px 28px; display: flex; flex-direction: column; gap: 2px; }
.promise p + p { border-left: 1px solid var(--line); }
.promise strong { font-weight: 600; }
.promise span { color: var(--ink-2); font-size: 0.95rem; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { text-align: center; margin-bottom: clamp(48px, 7vw, 80px); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); }
.mode .phone { width: min(300px, 88%); margin: 0 auto; }
.mode-copy { margin-top: 34px; text-align: center; padding: 0 6px; }
.mode-copy p { color: var(--ink-2); margin: 10px auto 0; max-width: 22em; }
.mode-tag {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt); background: rgba(18, 63, 232, 0.08);
}

/* Security */
.security {
  background: var(--night);
  color: #f4f6ff;
  padding: clamp(90px, 12vw, 150px) 0;
  position: relative;
  overflow: hidden;
}
.security::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(18, 63, 232, 0.35), transparent);
  pointer-events: none;
}
.security .wrap { position: relative; }
.security h2 em { color: var(--cobalt-soft); }
.on-dark { color: var(--mist); }
.eyebrow.on-dark { color: var(--cobalt-soft); }

.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sec-link { display: block; transition: border-color 0.3s, transform 0.3s var(--ease); }
.sec-link:hover { border-color: rgba(147, 181, 255, 0.45); transform: translateY(-2px); }
.inline-arrow { display: inline-block; margin-left: 4px; color: var(--cobalt-soft); font-weight: 600; white-space: nowrap; }
.sec-card {
  background: linear-gradient(180deg, rgba(21, 30, 51, 0.9), rgba(21, 30, 51, 0.55));
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  padding: 30px;
}
.sec-card p { margin: 10px 0 0; color: var(--mist); font-size: 0.98rem; }
.sec-wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: 40px;
}
.sec-wide h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.05; }
.sec-wide p { font-size: 1.06rem; max-width: 30em; }
.sec-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 14px; background: rgba(147, 181, 255, 0.1); color: var(--cobalt-soft);
}
.sec-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.sec-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cipher {
  position: relative; border-radius: 20px; overflow: hidden;
  background: #070b16; border: 1px solid var(--night-line);
  aspect-ratio: 3 / 4; padding: 18px;
}
.cipher code {
  display: block; margin-top: 30px;
  font: 500 0.82rem/1.9 ui-monospace, "SF Mono", Menlo, monospace;
  color: rgba(147, 181, 255, 0.75); overflow-wrap: anywhere; letter-spacing: 0.04em;
}
.cipher.plain { padding: 0; }
.cipher.plain img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cipher-label {
  position: absolute; z-index: 1; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(11, 16, 32, 0.8); color: var(--mist);
}

.honest {
  margin: 48px auto 0; max-width: 40em; text-align: center; color: var(--mist); font-size: 1.02rem;
}
.honest strong { color: #fff; font-weight: 600; }

/* Self-destruct */
.destruct-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.destruct-card {
  background: var(--surface); border-radius: var(--radius); padding: 34px;
  box-shadow: 0 0 0 1px var(--line);
}
.destruct-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.05; }
.destruct-card > p { color: var(--ink-2); margin: 12px 0 0; }
.destruct-visual {
  position: relative; height: 210px; margin-bottom: 28px; border-radius: 22px;
  background: var(--night); color: #f4f6ff; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.destruct-visual::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(18, 63, 232, 0.35), transparent);
}
.key-field {
  position: relative; width: min(280px, 78%); padding: 12px 16px; border-radius: 14px;
  background: var(--night-2); border: 1px solid var(--night-line);
  display: flex; flex-direction: column; gap: 2px;
}
.key-label { font-size: 0.7rem; color: var(--mist); letter-spacing: 0.06em; text-transform: uppercase; }
.key-dots { font-size: 1.1rem; letter-spacing: 0.18em; animation: shake 4.8s var(--ease) infinite; }
.key-wrong { position: relative; margin: 0; font-size: 0.82rem; color: #ffb4b4; }
.erase-bar {
  position: relative; width: min(280px, 78%); height: 3px; border-radius: 3px; background: rgba(169, 180, 204, 0.15); overflow: hidden;
}
.erase-bar span { position: absolute; inset: 0; transform-origin: left; background: var(--cobalt-soft); animation: erase 4.8s ease-in-out infinite; }
.erase-note { position: relative; margin: 0; font-size: 0.72rem; color: var(--mist); letter-spacing: 0.04em; }
.countdown { position: relative; width: 140px; height: 140px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(169, 180, 204, 0.15); stroke-width: 6; }
.ring-fill {
  fill: none; stroke: var(--cobalt-soft); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 0; animation: countdown 6s ease-in-out infinite;
}
.countdown-label {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.countdown-label strong { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.countdown-label span { font-size: 0.74rem; color: var(--mist); letter-spacing: 0.12em; text-transform: uppercase; }
.steps { list-style: none; counter-reset: step; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 38px; color: var(--ink-2); font-size: 0.97rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05em;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.76rem; font-weight: 700; color: var(--cobalt); background: rgba(18, 63, 232, 0.1);
}
.steps strong { color: var(--ink); font-weight: 600; }

@keyframes shake {
  0%, 28%, 44%, 100% { transform: none; }
  32% { transform: translateX(-6px); }
  36% { transform: translateX(5px); }
  40% { transform: translateX(-3px); }
}
@keyframes erase {
  0%, 30% { transform: scaleX(0); opacity: 1; }
  80% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
@keyframes countdown {
  0% { stroke-dashoffset: 0; }
  85% { stroke-dashoffset: 327; }
  100% { stroke-dashoffset: 327; }
}

/* iPad */
.ipad-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tablet { max-width: 560px; justify-self: end; transform: rotate(2deg); }

/* Pricing */
.pricing { background: var(--porcelain-2); }
.billing {
  display: flex; width: max-content; margin: -36px auto 40px; padding: 5px; border-radius: 999px;
  background: rgba(16, 27, 58, 0.06);
}
.billing button {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 0.94rem; font-weight: 600;
  padding: 10px 20px; border-radius: 999px; background: transparent; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.billing button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 4px 14px -6px rgba(16, 27, 58, 0.3); }
.save { font-size: 0.74rem; color: var(--cobalt); background: rgba(18, 63, 232, 0.1); padding: 2px 8px; border-radius: 999px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); padding: 38px 34px 34px;
  box-shadow: 0 0 0 1px var(--line);
}
.plan h3 { font-size: 1.05rem; }
.price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 8px; }
.amount { font-family: var(--serif); font-size: 3.6rem; line-height: 1; letter-spacing: -0.02em; }
.per { color: var(--ink-2); }
.plan-note { margin: 10px 0 0; color: var(--ink-2); font-size: 0.95rem; min-height: 1.5em; }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 13px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 0.97rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(18, 63, 232, 0.1)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23123FE8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
.plan li:has(strong)::before { display: none; }
.plan li:has(strong) { padding-left: 0; }
.plan-plus { box-shadow: 0 0 0 2px var(--cobalt), 0 30px 60px -30px rgba(18, 63, 232, 0.45); }
.plan-badge {
  position: absolute; top: -13px; left: 34px; padding: 5px 12px; border-radius: 999px;
  background: var(--cobalt); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
}

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.8px solid var(--ink-2); border-bottom: 1.8px solid var(--ink-2);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -6px 0 26px; color: var(--ink-2); max-width: 40em; }

/* Final */
.final { padding: clamp(80px, 11vw, 140px) 0; text-align: center; border-top: 1px solid var(--line); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { margin-bottom: 30px; }
.final h2 { max-width: 14em; }
.final .store-badge { margin-top: 36px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 0.9rem; color: var(--ink-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 26px; }
.footer nav a:hover { color: var(--ink); }
.footer p { margin: 0; }
.footer .brand { color: var(--ink); font-size: 1rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-stage { height: clamp(480px, 110vw, 620px); }
  .modes { grid-template-columns: 1fr; gap: 72px; }
  .mode .phone { width: min(290px, 74%); }
  .sec-wide { grid-template-columns: 1fr; }
  .destruct-grid { grid-template-columns: 1fr; }
  .ipad-grid { grid-template-columns: 1fr; text-align: center; }
  .ipad-grid .lede { margin-left: auto; margin-right: auto; }
  .tablet { justify-self: center; transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .nav-links { display: none; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise p { padding: 20px 4px; text-align: center; }
  .promise p + p { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stage .phone { width: 52%; }
  .phone-left { left: -2%; }
  .phone-right { right: -2%; }
  .phone { border-radius: 40px; padding: 7px; }
  .phone img { border-radius: 34px; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-card, .sec-wide, .destruct-card { padding: 26px; }
  .destruct-visual { height: 180px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 34px 26px 28px; }
  .billing { margin-top: -24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-front, .key-dots, .erase-bar span, .ring-fill { animation: none; }
  .ring-fill { stroke-dashoffset: 82; }
}
