 :root {
    --ink:      #16150f;
    --paper:    #f5f0e8;
    --rust:     #c94a24;
    --rust-dim: #a33a18;
    --fog:      #e8e0d0;
    --muted:    #7a7260;
    --charcoal: #2b2820;
    --highlight:#f0c87a;

    --r-blob:   60% 40% 30% 70% / 60% 30% 70% 40%;
    --r-card:   3px 18px 4px 14px / 16px 4px 18px 3px;

    --serif:    'DM Serif Display', Georgia, serif;
    --mono:     'IBM Plex Mono', monospace;
    --sans:     'Instrument Sans', sans-serif;

    --shadow-soft:
      0 2px 4px rgba(22,21,15,.06),
      0 8px 24px rgba(22,21,15,.09),
      0 32px 64px rgba(22,21,15,.07);
    --shadow-card:
      2px 4px 0px rgba(22,21,15,.12),
      6px 12px 32px rgba(22,21,15,.10);
  }

  /* ── RESET ────────────────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.65;
    overflow-x: hidden;
  }

  /* ── GRAIN OVERLAY ───────────────────────────────────────── */
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999;
    opacity: .55;
  }

  /* ── NAV ──────────────────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem clamp(1.5rem, 5vw, 4rem);
    background: rgba(245,240,232,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22,21,15,.07);
  }
  .nav-logo {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    letter-spacing: -.01em;
    color: var(--ink);
    text-decoration: none;
    display: flex; align-items: center; gap: .5rem;
  }
  .nav-logo .dot {
    width: 8px; height: 8px;
    background: var(--rust);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,100% { transform: scale(1); opacity:1; }
    50% { transform: scale(1.5); opacity:.7; }
  }
  .nav-links {
    display: flex; gap: 2rem; list-style: none;
  }
  .nav-links a {
    font-family: var(--mono);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--rust); }
  .nav-cta {
    font-family: var(--mono);
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--paper);
    border: none; cursor: pointer;
    padding: .55rem 1.2rem;
    border-radius: 2px;
    transition: background .2s, transform .15s;
  }
  .nav-cta:hover { background: var(--rust); transform: translateY(-1px); }

  /* ── HERO ─────────────────────────────────────────────────── */
  .hero {
    min-height: 100dvh;
    padding: clamp(6rem,14vw,10rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem,8vw,6rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
  }
  .hero::after {
    content: '';
    position: absolute;
    right: -8vw; top: 15%;
    width: clamp(280px, 40vw, 560px);
    aspect-ratio: 1;
    background: radial-gradient(ellipse, rgba(201,74,36,.13) 0%, transparent 70%);
    border-radius: var(--r-blob);
    animation: morphBlob 12s ease-in-out infinite alternate;
    pointer-events: none;
  }
  @keyframes morphBlob {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    33%  { border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; }
    66%  { border-radius: 50% 50% 40% 60% / 30% 60% 40% 70%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  }

  .hero-text { position: relative; z-index: 2; }
  .hero-eyebrow {
    font-family: var(--mono);
    font-size: 1.5rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 1.4rem;
    display: flex; align-items: center; gap: .8rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: block; width: 32px; height: 1px;
    background: var(--rust);
  }

  h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 1.6rem;
  }
  h1 em {
    font-style: italic;
    color: var(--rust);
    position: relative;
  }
  h1 em::after {
    content: '';
    position: absolute;
    left: 0; bottom: .05em;
    width: 100%; height: 3px;
    background: var(--highlight);
    opacity: .7;
  }

  .hero-sub {
    font-size: clamp(.9rem, 1.4vw, 1.1rem);
    color: var(--muted);
    max-width: 42ch;
    margin-bottom: 2.8rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  }
  .btn-primary {
    font-family: var(--mono);
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--rust);
    color: var(--paper);
    border: none; cursor: pointer;
    padding: .9rem 2rem;
    border-radius: 2px;
    box-shadow: 3px 4px 0 var(--rust-dim);
    transition: transform .15s, box-shadow .15s;
    text-decoration: none; display: inline-block;
  }
  .btn-primary:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 6px 0 var(--rust-dim);
  }
  .btn-ghost {
    font-family: var(--mono);
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(22,21,15,.25);
    cursor: pointer;
    padding: .9rem 1.8rem;
    border-radius: 2px;
    transition: border-color .2s, color .2s;
    text-decoration: none; display: inline-block;
  }
  .btn-ghost:hover { border-color: var(--rust); color: var(--rust); }

  /* ── HERO STATS WIDGET ──────────────────────────────────── */
  .hero-widget {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; gap: 1.2rem;
    padding-left: 4vw;
  }
  .stat-card {
    background: var(--charcoal);
    color: var(--paper);
    padding: 1.4rem 1.8rem;
    border-radius: var(--r-card);
    box-shadow: var(--shadow-card);
    display: flex; gap: 1.2rem; align-items: flex-start;
    transition: transform .25s;
    animation: slideIn .6s ease both;
  }
  .stat-card:nth-child(1) { animation-delay: .1s; margin-left: 0; }
  .stat-card:nth-child(2) { animation-delay: .22s; margin-left: 2rem; }
  .stat-card:nth-child(3) { animation-delay: .34s; margin-left: .6rem; }
  @keyframes slideIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .stat-card:hover { transform: translateY(-3px) rotate(.3deg); }
  .stat-icon {
    font-size: 1.6rem; flex-shrink: 0;
    margin-top: .1rem;
  }
  .stat-label {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(245,240,232,.5);
    margin-bottom: .25rem;
  }
  .stat-val {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1;
  }
  .stat-val span {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--highlight);
    margin-left: .3rem;
  }
 /* ── MARQUEE ──────────────────────────────────────────────── */
  .marquee-wrap {
    background: var(--ink);
    padding: .85rem 0;
    overflow: hidden;
    position: relative;
  }
  .marquee-track {
    display: flex; gap: 3rem;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
  }
  .marquee-track span {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(245,240,232,.5);
    flex-shrink: 0;
  }
  .marquee-track .accent { color: var(--rust); }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* section shell  */
  section{
    padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  }
  .section-label{
    font-family: var(--mono);
    font-size: 1.5rem;
    letter-spacing: .14rem;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .8rem;
    display: flex; align-items: center; gap: .6rem;
  }
  .section-h {
    color: #fff;
  }
.section-label::after {
    content: '';
    display: block; height: 1px; width: 40px;
    background: currentColor;
    opacity: .4;
}
h2{
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

/* how it works  */

.how{
    background: var(--fog);
}
    .how-grid{
        display: grid;
        align-items: start;
        margin-top: 3rem;
        gap: clamp(2rem, 5vw, 5rem);
        grid-template-columns: 38% 1fr;
    }
.how-intro p{
    color: var(--muted);
    max-width: 38ch;
    font-size: .95rem;
    line-height: 1.8;
}
.steps {
    display: flex; flex-direction: column; gap: 0;
}
.step{
    display: flex;
    gap: 1.4rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(22,21,15,.1);
    position: relative;
    transition: padding-left .3s;
}

/* testimonials  */

.testimonials{
  background: var();
}
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.testi-card{
 background: var(--fog);
 padding: 1.8rem;
 border-radius: var(--r-card);
 box-shadow: var(--shadow-soft);
 border: 1px solid rgba(22,21,15,.07);
 position: relative;
}
.testi-author strong{

  display: block; color: var(--ink); font-weight: 500; margin-bottom: .1rem;
}
.testi-author {
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--mono);
}
 
  .testi-author strong {
    display: block;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: .1rem;
  }
.testi-card:nth-child(2) { transform: translateY(1.2rem); }
  .testi-card blockquote {
    font-family: var(--serif);
    font-size: clamp(.95rem, 1.3vw, 1.1rem);
    line-height: 1.65;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 1.2rem;
  }

  /* cta  */
  .cta-section {
    text-align: center;
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
    position: relative; overflow: hidden;
    background: var(--fog);
  }
  .cta-section::before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vw;
    background: radial-gradient(ellipse, rgba(37, 11, 4, 0.09), transparent 70%);
    border-radius: var(--r-blob);
    animation: morphBlob 14s ease-in-out infinite alternate;
    pointer-events: none;
  }
  .cta-section h2 {
    max-width: 18ch;
    margin: 0 auto 1.2rem;
  }
  .cta-sub {
    color: var(--muted);
    max-width: 45ch;
    margin: 0 auto 2.5rem;
  }
  .cta-actions {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
  }
  /* ── FEATURES ─────────────────────────────────────────────── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.6rem;
    margin-top: 3.5rem;
  }
  .feat-card {
    background: var(--paper);
    border: 1px solid rgba(22,21,15,.09);
    border-radius: var(--r-card);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-soft);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
  }
  .feat-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 100px; height: 100px;
    background: var(--rust);
    border-radius: 50%;
    opacity: .04;
    transition: transform .4s, opacity .4s;
  }
  .feat-card:hover::before { transform: scale(3); opacity: .07; }
  .feat-card:hover {
    transform: translateY(-5px) rotate(-.4deg);
    box-shadow: 4px 16px 48px rgba(22,21,15,.12);
  }
  .feat-emoji { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
  .feat-card h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    letter-spacing: -.01em;
    margin-bottom: .5rem;
  }
  .feat-card p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.75;
  }
  .feat-tag {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rust);
    background: rgba(201,74,36,.08);
    padding: .2rem .6rem;
    border-radius: 2px;
  }
  /* ── FOOTER ─────────────────────────────────────────────── */
  footer {
    background: var(--ink);
    color: rgba(245,240,232,.45);
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-logo {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: rgba(245,240,232,.8);
  }
  .footer-mono {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  footer a { color: var(--rust); text-decoration: none; }
  footer a:hover { text-decoration: underline; }

  /* ── RESPONSIVE ─────────────────────────────────────────── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero::after { display: none; }
    .hero-widget { padding-left: 0; }
    .stat-card:nth-child(2) { margin-left: 1rem; }
    .how-grid { grid-template-columns: 1fr; }
    .mockup-layout { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-card:nth-child(2) { transform: none; }
    .nav-links { display: none; }
  }
 /* ── RESPONSIVE ─────────────────────────────────────────── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero::after { display: none; }
    .hero-widget { padding-left: 0; }
    .stat-card:nth-child(2) { margin-left: 1rem; }
    .how-grid { grid-template-columns: 1fr; }
    .mockup-layout { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-card:nth-child(2) { transform: none; }
    .nav-links { display: none; }
  }


/* ── FAQ ── */
.faq-section {
  background: var(--ink); /* Dark background */
  border-top: 1px solid var(--charcoal);
  font-family: var(--sans);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.faq-item {
  background: var(--charcoal); /* Darker surface for contrast */
  border: 1px solid var(--muted);
  border-radius: var(--r-card); /* Applied your custom card radius */
  padding: 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.faq-item:hover {
  border-color: var(--highlight);
  background: #363228; /* Slight lighten on hover */
}

.faq-item.open {
  border-color: var(--rust);
  background: var(--charcoal);
}

.faq-q {
  font-family: var(--serif); /* Using serif for the questions */
  font-size: 17px; /* Increased slightly for serif readability */
  font-weight: 600;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  transition: all 0.2s;
  font-size: 16px;
}

.faq-item.open .faq-toggle {
  background: var(--rust);
  color: var(--paper);
  transform: rotate(45deg);
}

.faq-a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fog); /* Softer off-white for body text */
  line-height: 1.7;
  margin-top: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s;
  opacity: 0;
}

.faq-item.open .faq-a {
  max-height: 300px; /* Increased slightly for long answers */
  opacity: 1;
}
