:root {
  --sky: #76b9f0;
  --sky-soft: #dceefd;
  --cream: #f4f1ed;
  --paper: #fffdf8;
  --ink: #18323e;
  --navy: #113d5e;
  --accent: #287dc1;
  --aqua: #93d7e4;
  --sage: #a7d3b2;
  --line: rgba(24, 50, 62, 0.14);
  --shadow: 0 26px 70px rgba(17, 61, 94, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  background: rgba(244, 241, 237, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.logo-mark {
  background: var(--navy);
  border-radius: 12px;
  display: block;
  height: 38px;
  overflow: hidden;
  position: relative;
  width: 38px;
}

.logo-mark::before {
  background: url("assets/capinora-logo.png") center / 90% auto no-repeat;
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  position: absolute;
}

.wordmark {
  font-size: 1.08rem;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.94rem;
}

.nav-links a {
  color: rgba(24, 50, 62, 0.72);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a[href="#pricing"] {
  color: var(--navy);
  font-weight: 800;
}

.nav-cta,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
}

.nav-cta {
  background: var(--ink);
  color: white;
}

.button.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 16px 30px rgba(17, 61, 94, 0.24);
}

.button.secondary {
  border: 1px solid rgba(24, 50, 62, 0.22);
  color: var(--navy);
}

.hero {
  align-items: center;
  background:
    linear-gradient(125deg, rgba(118, 185, 240, 0.96), rgba(118, 185, 240, 0.82) 66%, rgba(244, 241, 237, 0.92) 66%),
    var(--sky);
  display: grid;
  gap: clamp(28px, 5vw, 78px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  min-height: 730px;
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 72px) 64px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: white;
  font-size: clamp(4.6rem, 11vw, 10rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-subtitle {
  color: white;
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 22px;
  max-width: 700px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.62;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-trust span {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 12px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.laptop-frame {
  margin-inline: auto;
  max-width: 720px;
  position: relative;
}

.laptop-top {
  background: #162b38;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px 28px 12px 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 10px;
}

.browser-bar {
  align-items: center;
  background: #eef6fb;
  border-radius: 18px 18px 0 0;
  display: flex;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
}

.browser-bar span {
  background: var(--sky);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.browser-bar span:nth-child(2) {
  background: var(--sage);
}

.browser-bar span:nth-child(3) {
  background: var(--aqua);
}

.browser-bar strong {
  color: rgba(24, 50, 62, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
  margin-left: 10px;
}

.desktop-screen {
  background: var(--paper);
  border-radius: 0 0 18px 18px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 420px;
  overflow: hidden;
}

.mock-sidebar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 14px;
  grid-auto-rows: min-content;
  padding: 22px 18px;
}

.mock-sidebar b {
  border-radius: 12px;
  font-size: 0.82rem;
  padding: 9px 10px;
}

.mock-sidebar b:first-of-type {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.mini-logo {
  background: var(--sky);
  border-radius: 50%;
  height: 30px;
  margin-bottom: 10px;
  width: 30px;
}

.mock-dashboard {
  padding: 18px;
}

.dashboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.4fr 0.8fr;
  margin-top: 14px;
}

.dashboard-grid .net-worth {
  grid-row: span 2;
  margin: 0;
}

.asset-card {
  background: var(--sky-soft);
  border-radius: 18px;
  padding: 18px;
}

.asset-card span {
  display: block;
  opacity: 0.7;
}

.asset-card strong {
  color: var(--navy);
  display: block;
  font-size: 1.8rem;
  margin-top: 6px;
}

.laptop-base {
  background: linear-gradient(90deg, #cfdce6, #f8fbfd 45%, #c7d8e4);
  border-radius: 0 0 28px 28px;
  height: 24px;
  margin-inline: auto;
  width: 84%;
}

.app-bar,
.net-worth,
.ask-card,
.floating-panel,
.feature-card,
.benefit-list div,
.faq details {
  border: 1px solid var(--line);
}

.app-bar {
  align-items: center;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.status-pill {
  background: var(--sage);
  border-radius: 999px;
  color: #19442b;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
}

.net-worth {
  background: var(--navy);
  border-radius: 24px;
  color: white;
  margin: 18px 0;
  padding: 24px;
}

.net-worth span,
.net-worth small,
.ask-card span,
.floating-panel span,
.benefit-list span {
  display: block;
  opacity: 0.72;
}

.net-worth strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 8px 0;
}

.allocation {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.allocation div {
  background: rgba(24, 50, 62, 0.08);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.allocation div::before {
  background: var(--c);
  border-radius: inherit;
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
}

.ask-card {
  background: #f8faf8;
  border-radius: 22px;
  padding: 20px;
}

.ask-card p {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ask-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.floating-panel {
  background: rgba(255, 253, 248, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  position: absolute;
}

.floating-panel strong {
  color: var(--navy);
  display: block;
  font-size: 1.55rem;
}

.panel-one {
  left: -2%;
  top: 9%;
}

.panel-two {
  bottom: 8%;
  right: -1%;
}

.intro-band,
.trust-band {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro-band {
  background: var(--paper);
}

.intro-band h2,
.security-section h2,
.pricing-section h2,
.section-heading h2,
.trust-band h2,
.workplace h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

.intro-band p:last-child,
.security-section .section-heading p,
.trust-band p,
.workplace-copy p,
.pricing-heading p {
  color: rgba(24, 50, 62, 0.74);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.pricing-section,
.security-section,
.feature-section,
.workplace,
.faq {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.security-section {
  background: var(--cream);
}

.security-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.security-card {
  background: var(--navy);
  border-radius: 24px;
  color: white;
  min-height: 280px;
  padding: 30px;
}

.security-card span {
  color: var(--sky);
  display: block;
  font-weight: 900;
  margin-bottom: 52px;
}

.security-card h3 {
  font-size: 1.36rem;
  margin-bottom: 14px;
}

.security-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 0;
}

.pricing-section {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.pricing-heading {
  max-width: 760px;
}

.pricing-grid {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  max-width: 1040px;
}

.pricing-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 58px rgba(17, 61, 94, 0.12);
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
  min-height: 520px;
  padding: 34px;
}

.pricing-card.unified {
  max-width: 900px;
  min-height: auto;
}

.billing-toggle {
  align-items: center;
  align-self: flex-start;
  background: var(--sky-soft);
  border: 1px solid rgba(17, 61, 94, 0.12);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  gap: 12px;
  padding: 7px 10px 7px 16px;
}

.billing-choice {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(17, 61, 94, 0.72);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.billing-choice.active {
  color: var(--navy);
}

.billing-choice:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.toggle-track {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  display: inline-flex;
  height: 28px;
  justify-content: flex-end;
  padding: 3px;
  width: 54px;
}

.billing-toggle[data-active="monthly"] .toggle-track {
  justify-content: flex-start;
}

.toggle-track span {
  background: white;
  border-radius: 50%;
  display: block;
  height: 22px;
  width: 22px;
}

.pricing-card-top {
  align-items: start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.saving-badge {
  align-self: flex-start;
  background: var(--sky);
  border-radius: 999px;
  color: white;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 8px 13px;
}

.plan-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.pricing-card h3 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 16px;
}

.plan-copy {
  color: rgba(24, 50, 62, 0.72);
  line-height: 1.7;
  margin-bottom: 0;
}

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

.price-option {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.price-option.highlighted,
.price-option.active {
  background: linear-gradient(160deg, var(--navy), #1d6da8);
  color: white;
}

.billing-label {
  color: var(--accent);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.price-option.highlighted .billing-label,
.price-option.active .billing-label {
  color: var(--sky);
}

.price-row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.price-row strong {
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.3rem);
  letter-spacing: 0;
  line-height: 0.9;
}

.price-option.highlighted .price-row strong,
.price-option.active .price-row strong {
  color: white;
}

.price-row span {
  color: rgba(24, 50, 62, 0.62);
  font-weight: 800;
  padding-bottom: 8px;
}

.price-option.highlighted .price-row span,
.price-option.active .price-row span {
  color: rgba(255, 255, 255, 0.76);
}

.price-option.highlighted p,
.price-option.active p {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  margin: 16px 0 0;
}

.price-option:not(.active):not(.highlighted) p {
  color: rgba(24, 50, 62, 0.72);
  margin: 16px 0 0;
}

.discount-line {
  background: var(--sky-soft);
  border: 1px solid rgba(17, 61, 94, 0.12);
  border-radius: 16px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.55;
  margin: -8px 0 0;
  padding: 14px 16px;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-card li {
  color: rgba(24, 50, 62, 0.76);
  line-height: 1.45;
  padding-left: 28px;
  position: relative;
}

.pricing-card li::before {
  background: var(--sky);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 0.45em;
  width: 10px;
}

.pricing-card .button {
  width: 100%;
}

.section-heading {
  max-width: 780px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.feature-card {
  background: rgba(255, 253, 248, 0.72);
  border-radius: 24px;
  min-height: 260px;
  padding: 28px;
}

.feature-icon {
  color: var(--accent);
  display: block;
  font-weight: 900;
  margin-bottom: 44px;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 1.38rem;
  margin-bottom: 14px;
}

.feature-card p,
.faq p {
  color: rgba(24, 50, 62, 0.72);
  line-height: 1.72;
  margin-bottom: 0;
}

.trust-band {
  background: var(--navy);
  color: white;
}

.trust-band h2 {
  color: white;
}

.trust-band .eyebrow {
  color: var(--sky);
}

.trust-band p {
  color: rgba(255, 255, 255, 0.78);
}

.trust-band a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.workplace {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: 46px;
  grid-template-columns: 1fr 0.8fr;
}

.workplace-copy .button {
  margin-top: 28px;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list div {
  background: var(--cream);
  border-radius: 22px;
  padding: 24px;
}

.benefit-list strong {
  color: var(--navy);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  max-width: 920px;
}

.faq details {
  background: rgba(255, 253, 248, 0.7);
  border-radius: 18px;
  padding: 22px 24px;
}

.faq summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
}

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

.contact-section {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 42px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.contact-copy h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(24, 50, 62, 0.74);
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-copy a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  color: var(--navy);
  display: grid;
  font-size: 0.9rem;
  font-weight: 850;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  background: var(--paper);
  border: 1px solid rgba(24, 50, 62, 0.18);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
  outline: 3px solid rgba(118, 185, 240, 0.24);
}

.site-footer {
  align-items: start;
  background: var(--ink);
  color: white;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: 46px clamp(20px, 5vw, 72px);
}

.footer-brand {
  color: white;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  justify-self: end;
  min-width: min(620px, 100%);
}

.footer-links div {
  display: grid;
  gap: 10px;
}

.footer-links span {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.35;
}

.footer-links a:hover {
  color: white;
}

.fine-print {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  grid-column: 1 / -1;
  line-height: 1.6;
  padding-top: 22px;
}

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

  .hero,
  .intro-band,
  .pricing-section,
  .contact-section,
  .trust-band,
  .workplace,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    color: white;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .price-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .site-header .wordmark {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .desktop-screen {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .mock-sidebar {
    display: none;
  }

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

  .dashboard-grid .net-worth {
    grid-row: auto;
  }

  .panel-one {
    left: 0;
    top: 4%;
  }

  .panel-two {
    bottom: 0;
  }

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

  .pricing-card-top {
    display: grid;
  }

  .billing-toggle {
    width: 100%;
    justify-content: center;
  }

  .price-options {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .security-section,
  .pricing-section,
  .feature-section,
  .trust-band,
  .workplace,
  .contact-section,
  .faq {
    padding-inline: 16px;
  }

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-self: stretch;
    min-width: 0;
  }
}
