:root {
  --ink: #0F1E2E;
  --ink-soft: #1C2E42;
  --paper: #F5F7F7;
  --paper-raised: #FFFFFF;
  --text: #13212F;
  --text-muted: #4B5B69;
  --line: #DCE3E5;
  --teal: #1C8C7C;
  --teal-deep: #136459;
  --brass: #A8813A;
  --radius: 6px;
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 104px 0;
}

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

  .wrap {
    padding: 0 20px;
  }
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 247, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
}

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

.navlinks {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.navcta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deep);
}

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

.btn-ghost:hover {
  border-color: var(--ink);
}

.navtoggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.navtoggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 860px) {
  .navlinks {
    display: none;
  }

  .navtoggle {
    display: block;
  }
}

.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 29;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 0 32px;
  background: rgba(245, 247, 247, 0.98);
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.mobilemenu[data-open='false'] {
  opacity: 0;
  pointer-events: none;
}

/* hero */
.hero {
  padding: 88px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 940px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
}

.hero h1 {
  font-size: 52px;
  margin-top: 14px;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 36px;
  }
}

.hero .lede {
  margin-top: 22px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero .ctas {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trustrow {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
}

.trustrow span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trustrow svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--teal);
}

.vault-graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.vault-graphic svg {
  width: 100%;
  height: 100%;
}

/* problem */
.problem {
  background: var(--ink);
  color: #e7ecef;
}

.problem h2 {
  color: #fff;
  font-size: 36px;
  max-width: 20ch;
}

.problem .grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.problem .cell {
  background: var(--ink-soft);
  padding: 32px;
}

.problem .cell .num {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #7fd9cb;
  margin-bottom: 14px;
}

.problem .cell h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 10px;
}

.problem .cell p {
  color: #b7c2cb;
  font-size: 15px;
}

/* section headers */
.section-head {
  max-width: 640px;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
}

.section-head p.lede {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 17px;
}

/* features */
.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 72px;
}

.feature-row:first-of-type {
  margin-top: 56px;
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

@media (max-width: 820px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }
}

.feature-copy h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.feature-copy p {
  color: var(--text-muted);
}

.feature-copy ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-copy li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text);
}

.feature-copy li svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--teal);
  margin-top: 3px;
}

.feature-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  min-height: 220px;
}

.feature-panel svg {
  width: 100%;
  height: auto;
}

/* how it works */
.how {
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.step {
  position: relative;
  padding-right: 40px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 0;
  width: 1px;
  height: calc(100% - 14px);
  background: var(--line);
}

@media (max-width: 820px) {
  .step:not(:last-child)::after {
    display: none;
  }
}

.step .stepnum {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--brass);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* security */
.security .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

.security-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.security-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.security-item:last-child {
  border-bottom: 1px solid var(--line);
}

.security-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.security-item h3 svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.security-item p {
  color: var(--text-muted);
  font-size: 15px;
  margin-left: 28px;
}

.security-panel {
  background: var(--ink);
  border-radius: 12px;
  padding: 40px;
  color: #e7ecef;
}

.security-panel .kicker {
  font-size: 13px;
  color: #7fd9cb;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.security-panel h3 {
  color: #fff;
  font-size: 24px;
  margin-top: 12px;
}

.security-panel p {
  color: #b7c2cb;
  margin-top: 14px;
  font-size: 15px;
}

.cipher {
  margin-top: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: #5fbfae;
  line-height: 1.8;
  word-break: break-all;
  opacity: 0.85;
}

/* audience */
.audience .cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 940px) {
  .audience .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.audience .card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  background: var(--paper-raised);
}

.audience .card svg {
  width: 26px;
  height: 26px;
  color: var(--teal-deep);
  margin-bottom: 16px;
}

.audience .card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.audience .card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* faq */
.faq {
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
}

.faq-list {
  margin-top: 40px;
  max-width: 800px;
  border-top: 1px solid var(--line);
}

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

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-q svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 64ch;
}

/* cta band */
.ctaband {
  background: var(--ink);
  color: #fff;
  text-align: left;
}

.ctaband .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ctaband h2 {
  color: #fff;
  font-size: 30px;
  max-width: 22ch;
}

.ctaband p {
  color: #b7c2cb;
  margin-top: 12px;
  font-size: 15.5px;
  max-width: 46ch;
}

/* footer */
.site-footer {
  background: var(--ink-soft);
  color: #b7c2cb;
  padding: 64px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 820px) {
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  color: #fff;
}

.foot-brand svg {
  width: 24px;
  height: 24px;
}

.foot-tag {
  margin-top: 14px;
  font-size: 14px;
  max-width: 32ch;
}

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

.site-footer a:hover {
  color: #fff;
}

.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7c8996;
}

/* legal pages */
.legal-hero {
  padding: 64px 0 8px;
}

.legal-hero .updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.legal-copy {
  padding: 40px 0 96px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-copy h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.legal-copy p,
.legal-copy li {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-copy ul {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc;
}

.legal-copy a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-copy a:hover {
  opacity: 0.7;
}

/* contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 14px;
  min-height: 1.2em;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
}
