/* investive.co. Colours come from the brand palette
 * (https://coolors.co/775b68-8f5d67-fbb276-f48268-d76562-faf8fb-2d2c2f).
 * Plum carries white text (6.0:1) and peach carries ink (7.8:1); coral and
 * brick are for illustration only because white on them fails contrast. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --plum: #775b68;
  --plum-dark: #634b56;
  --plum-deep: #4a3a43;
  --plum-night: #3b2f36;
  --rose: #8f5d67;
  --peach: #fbb276;
  --coral: #f48268;
  --mist: #faf8fb;
  --white: #ffffff;
  --ink: #2d2c2f;
  --muted: #5f565c;
  --line: #ebe3e8;
  --on-plum: #f3eaef;
  --on-plum-muted: #d9c9d1;
  --radius: 10px;
  --shadow: 0 24px 60px rgba(74, 58, 67, 0.18), 0 2px 8px rgba(74, 58, 67, 0.08);
  --gutter: clamp(20px, 5vw, 40px);
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.centered {
  text-align: center;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}
.skip:focus {
  top: 12px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 16px;
}
.btn-primary {
  background: var(--plum);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--plum-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--plum);
  box-shadow: inset 0 0 0 1.5px var(--plum);
}
.btn-ghost:hover {
  background: rgba(119, 91, 104, 0.08);
}
.btn-peach {
  background: var(--peach);
  color: var(--ink);
}
.btn-peach:hover {
  background: #f9a35d;
}

/* ------------------------------------------------------------- Navigation */

.nav {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1160px;
  margin-inline: auto;
  padding: 12px var(--gutter);
}
.nav-logo img {
  width: 76px;
  height: 44px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a,
.nav-menu-panel a {
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}
.nav-menu {
  display: none;
  position: relative;
}
.nav-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
}
.nav-menu summary::-webkit-details-marker {
  display: none;
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
}
.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav-menu-panel a {
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.nav-menu-panel a:hover {
  background: var(--mist);
}

@media (max-width: 47.99em) {
  .nav-inner {
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }
  .nav-menu {
    display: block;
  }
}

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

.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 34rem;
}
.display {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.display strong {
  display: block;
  font-weight: 600;
  color: var(--plum);
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.checks li::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 700;
  color: var(--plum);
}
.hero-visual {
  position: relative;
  padding: 24px 0 0 24px;
}
.blob {
  position: absolute;
  inset: -6% 14% 22% -4%;
  border-radius: 46% 54% 38% 62% / 52% 40% 60% 48%;
  background: radial-gradient(circle at 30% 30%, var(--peach), var(--coral) 70%);
  opacity: 0.85;
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #f1ecef;
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8cbd2;
}
.frame-bar span {
  margin-left: 10px;
  font-size: 11px;
  color: var(--muted);
}

@media (min-width: 62em) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
  .hero-visual {
    margin-right: calc(-1 * var(--gutter) - 40px);
  }
}

/* --------------------------------------------------------------- Features */

.features {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--white);
}
.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-title.left {
  text-align: left;
}
.section-lead {
  margin: 12px auto 0;
  max-width: 40rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 48em) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 14px;
  background: var(--mist);
}
.card-art {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 6px;
}
.card h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 600;
}
.card p {
  font-size: 15px;
  color: var(--muted);
}

/* ----------------------------------------------------------- How it works */

.how {
  padding-block: clamp(56px, 8vw, 96px);
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 62em) {
  .how-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
  }
}
.steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--ink);
  font-weight: 700;
}
.steps h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 40px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- Updates */

.updates {
  padding-block: clamp(48px, 7vw, 72px);
  background: var(--plum-deep);
  color: var(--white);
}
.updates a {
  color: var(--white);
}
.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 62em) {
  .updates-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 72px;
  }
}
.updates h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.2;
  font-weight: 600;
}
.updates p {
  margin-top: 8px;
  color: var(--on-plum);
  max-width: 36rem;
}
.updates .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-plum-muted);
}
.updates-side p {
  font-size: 15px;
}
.subscribe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
  max-width: 32rem;
}
.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--on-plum);
}
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.input {
  flex: 1 1 220px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  font: 15px var(--font);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #9d8894;
  border-radius: 8px;
}
.input::placeholder {
  color: #7b6f76;
}
.field-row .btn {
  height: 46px;
}
.updates .notice {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.updates .notice-success {
  background: #e6f6ec;
  color: #1f5133;
}
.updates .notice-error {
  background: #fff0ed;
  color: #8a2a22;
}

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

.footer {
  background: var(--plum-night);
  color: var(--on-plum-muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer a {
  color: var(--on-plum-muted);
}
.footer a:hover {
  color: var(--white);
}

/* -------------------------------------------------------------------- FAQ */

.faq {
  padding-block: clamp(48px, 7vw, 80px);
}
.faq-inner {
  max-width: 820px;
}
.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 20px;
  line-height: 1;
  color: var(--plum);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item h2 {
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 600;
}
.faq-item p {
  padding-bottom: 22px;
  max-width: 44rem;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
