 :root {
    --ink: #100626;
    --cream: #F7F5FF;
    --lavender: #C4ACFC;
    --rule: rgba(16,6,38,0.14);

    --bg: var(--cream);
    --fg: var(--ink);
    --fg-muted: rgba(16,6,38,0.62);
    --surface: rgba(16,6,38,0.03);
    --accent: var(--lavender);
    --accent-contrast: var(--ink);
    --rule-color: var(--rule);
  }

  [data-theme="dark"] {
    --bg: var(--ink);
    --fg: var(--cream);
    --fg-muted: rgba(247,245,255,0.62);
    --surface: rgba(247,245,255,0.045);
    --accent: var(--lavender);
    --accent-contrast: var(--ink);
    --rule-color: rgba(247,245,255,0.16);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: 'Instrument Sans', -apple-system, sans-serif;
    transition: background 0.35s ease, color 0.35s ease;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .display {
    font-family: 'Instrument Serif', Georgia, serif;
    font-optical-sizing: auto;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0;
  }
  .eyebrow {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-muted);
    font-weight: 600;
  }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* Nav */
  header {
    border-bottom: 1px solid var(--rule-color);
    position: sticky; top: 0; z-index: 20;
    background: var(--bg);
  }
  nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
    max-width: 1080px; margin: 0 auto;
  }
  .logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .logo::after {
    content: "";
    display: block;
    width: 28px; height: 2px;
    background: var(--accent);
    margin-top: 4px;
  }
  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a {
    font-size: 0.88rem;
    color: var(--fg-muted);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--fg); }
  .nav-right { display: flex; align-items: center; gap: 18px; }

  .theme-toggle {
    border: 1px solid var(--rule-color);
    background: none;
    color: var(--fg);
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: border-color 0.2s;
  }
  .theme-toggle:hover { border-color: var(--accent); }

  .btn {
    display: inline-block;
    padding: 11px 22px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 23px;
    white-space: nowrap;

  }
  .btn-ghost {
    color: var(--fg);
    border-bottom: 1px solid var(--rule-color);
    padding-bottom: 2px;
    font-size: 0.88rem;
    font-weight: 500;
  }

  /* Hero */
  .hero {
    padding: 96px 24px 72px;
    text-align: center;
    border-bottom: 1px solid var(--rule-color);
  }
  .hero .eyebrow { margin-bottom: 22px; }
  .hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    max-width: 780px;
    margin: 0 auto 24px;
  }
  .hero p {
    max-width: 480px;
    margin: 0 auto 25px;
    color: var(--fg-muted);
    font-size: 1.08rem;
    line-height: 1.55;
  }
  .hero-ctas { display: flex; gap: 20px; justify-content: center; align-items: center; }

  .trust-bar {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--rule-color);
  }
  .trust-bar span {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-muted);
    font-weight: 600;
  }

  section { padding: 88px 24px; border-bottom: 1px solid var(--rule-color);}
  .section-head{
    max-width:620px;
    margin:0 auto 56px;
    text-align:center;
}

.section-head .eyebrow,
.section-head h2,
.section-head p{
    text-align:center;
}
  .section-head .eyebrow { margin-bottom: 14px; }
  .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
  .section-head p { color: var(--fg-muted); font-size: 1.02rem; line-height: 1.55; } 

  /* How it works */


#how-it-works{
    max-width: 1200px;   /* adjust as needed */
    margin: 0 auto;
    padding: 100px 24px;
    text-align: center;
}
  .flow{
    position:relative;
    display:flex;
    justify-content:space-between;
    gap:40px;
    margin-top:70px;
}



.flow-step{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;   /* Centers the circle */
    text-align:center;    /* Centers the text */
}

.circle{
    width:68px;
    height:68px;
    border-radius:50%;
    background:var(--lavender);
    border:2px solid var(--rule-color);
    display:flex;
    align-items:center;
    justify-content:center;

    font-family:'Instrument Serif', serif;
    font-size:2rem;
    color:var(--ink);

    margin:0 auto 24px;
}

.flow-step h3{
    margin-bottom:10px;
    font-size:1.05rem;
}

.flow-step p{
    color:var(--fg-muted);
    font-size:.95rem;
    line-height:1.6;
    max-width:240px;
}

/* Mobile */

@media(max-width:768px){

.flow{
    flex-direction:column;
    gap:60px;
}


}

  /* FAQ */
.faq-item{
    border-top:1px solid var(--rule-color);
    padding:22px 24px;
}

.faq-item:last-child{
    border-bottom:1px solid var(--rule-color);
}
  .faq-q {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%;
    font-size: 1.05rem; font-weight: 500;
    font-family: 'Instrument Serif', serif;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
  }
  .faq-q:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }
  .faq-icon {
    font-size: 1.3rem;
    color: var(--accent);
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 20px;
  }
  .faq-item.open .faq-icon { transform: rotate(45deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--fg-muted);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .faq-item.open .faq-a { max-height: 200px; padding-top: 14px; }

  /* Closing CTA */
  .closing {
    text-align: center;
    padding: 100px 24px;
    border-bottom: none;
  }
  .closing h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    max-width: 640px;
    margin: 0 auto 20px;
  }
  .closing p {
    color: var(--fg-muted);
    max-width: 460px;
    margin: 0 auto 34px;
    line-height: 1.55;
  }

  footer {
    padding: 32px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--fg-muted);
  }

  @media (max-width: 760px) {
    .nav-links { display: none; }
    .steps { grid-template-columns: 1fr; }
    .step { border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--rule-color); padding-top: 28px; }
    .step:first-child { border-top: none; }
    .hero-ctas { flex-direction: column; }
  }