  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

  :root{
    --ink: #16202B;
    --blueprint: #1F3A5F;
    --paper: #F1EEE6;
    --signal: #E8623A;
    --steel: #6B7887;
    --line: #C9D3DC;
    --white: #FFFFFF;
    --good: #2F7A4F;
    --bad: #C24D3A;
    --radius: 2px;
  }

  *{ box-sizing: border-box; margin:0; padding:0; }

  html{ scroll-behavior: smooth; }

  body{
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .display{
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .mono{
    font-family: 'IBM Plex Mono', monospace;
  }

  a{ color: inherit; }

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

  @media (max-width: 640px){
    .wrap{ padding: 0 20px; }
  }

  /* ---------- Nav ---------- */
  header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(241,238,230,0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }

  nav.wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
  }

  .logo{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .logo span{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--signal);
    font-weight: 500;
  }

  .navlinks{
    display: flex;
    gap: 32px;
    font-size: 0.94rem;
    color: var(--blueprint);
  }
  .navlinks a{ text-decoration: none; }
  .navlinks a:hover{ color: var(--signal); }

  .navcta{
    background: var(--ink);
    color: var(--paper);
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
  }
  .navcta:hover{ background: var(--signal); }

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

  /* ---------- Hero ---------- */
  .hero{
    padding: 88px 0 96px;
  }

  .hero-grid{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }

  @media (max-width: 900px){
    .hero-grid{ grid-template-columns: 1fr; gap: 48px; }
  }

  .hero h1{
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    max-width: 15ch;
  }

  .hero p.lede{
    margin-top: 22px;
    font-size: 1.15rem;
    color: var(--blueprint);
    max-width: 46ch;
  }

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

  .btn-primary{
    background: var(--signal);
    color: var(--white);
    padding: 15px 26px;
    border: none;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }
  .btn-primary:hover{ background: #cf5230; }

  .btn-ghost{
    background: transparent;
    color: var(--ink);
    padding: 15px 26px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }
  .btn-ghost:hover{ border-color: var(--signal); color: var(--signal); }

  .hero-note{
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--steel);
  }

  /* ---------- Score panel ---------- */
  .panel{
    background: var(--white);
    border: 1px solid var(--line);
    position: relative;
    padding: 28px;
  }
  .panel::before, .panel::after,
  .panel .tick-br, .panel .tick-bl{
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--blueprint);
  }
  .panel::before{ top: -1px; left: -1px; border-right: none; border-bottom: none; }
  .panel::after{ top: -1px; right: -1px; border-left: none; border-bottom: none; }
  .panel .tick-br{ bottom: -1px; right: -1px; border-left: none; border-top: none; }
  .panel .tick-bl{ bottom: -1px; left: -1px; border-right: none; border-top: none; }

  .panel-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  .panel-head .label{
    font-size: 0.78rem;
    color: var(--steel);
  }

  .toggle{
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .toggle button{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    padding: 6px 12px;
    border: none;
    background: var(--paper);
    color: var(--steel);
    cursor: pointer;
  }
  .toggle button.active{
    background: var(--ink);
    color: var(--paper);
  }

  .score-row{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }
  .score-row:last-of-type{ border-bottom: none; }
  .score-row .name{ font-size: 0.92rem; color: var(--blueprint); }
  .score-row .val{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s ease;
  }
  .val.bad{ color: var(--bad); }
  .val.good{ color: var(--good); }

  .score-overall{
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .score-overall .name{ font-weight: 600; }
  .score-overall .val{ font-size: 1.5rem; }

  /* ---------- Problem band ---------- */
  .band{
    background: var(--ink);
    color: var(--paper);
    padding: 64px 0;
  }
  .band p{
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    max-width: 34ch;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    line-height: 1.35;
  }
  .band p em{
    color: var(--signal);
    font-style: normal;
  }

  /* ---------- How it works ---------- */
  .section{ padding: 96px 0; }
  .section-head{ max-width: 52ch; margin-bottom: 56px; }
  .section-head .label{
    font-size: 0.85rem;
    color: var(--signal);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }
  .section-head p{ color: var(--blueprint); margin-top: 14px; font-size: 1.05rem; }

  .steps{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  @media (max-width: 900px){
    .steps{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px){
    .steps{ grid-template-columns: 1fr; }
  }

  .step{
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 24px;
  }
  .step .num{
    font-family: 'IBM Plex Mono', monospace;
    color: var(--signal);
    font-size: 0.85rem;
    margin-bottom: 14px;
  }
  .step h3{ font-size: 1.05rem; margin-bottom: 8px; }
  .step p{ color: var(--blueprint); font-size: 0.92rem; }

  /* ---------- Plans ---------- */
  .plans-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 900px){
    .plans-grid{ grid-template-columns: 1fr; }
  }

  .plan{
    background: var(--white);
    border: 1px solid var(--line);
    position: relative;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
  }
  .plan::before, .plan::after{
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--blueprint);
  }
  .plan::before{ top: -1px; left: -1px; border-right: none; border-bottom: none; }
  .plan::after{ bottom: -1px; right: -1px; border-left: none; border-top: none; }

  .plan.featured{
    border-color: var(--signal);
    box-shadow: 0 0 0 1px var(--signal);
  }
  .plan.featured::before, .plan.featured::after{
    border-color: var(--signal);
  }

  .plan-tag{
    font-size: 0.72rem;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--signal);
    margin-bottom: 14px;
  }

  .plan h3{ font-size: 1.3rem; margin-bottom: 6px; }
  .plan .price{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    font-weight: 600;
    margin: 12px 0 4px;
  }
  .plan .price-note{ font-size: 0.82rem; color: var(--steel); margin-bottom: 20px; }

  .plan ul{
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
  }
  .plan li{
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--blueprint);
    display: flex;
    gap: 10px;
  }
  .plan li:last-child{ border-bottom: none; }
  .plan li::before{
    content: "—";
    color: var(--signal);
    flex-shrink: 0;
  }

  .plan .btn-primary, .plan .btn-ghost{
    text-align: center;
    width: 100%;
  }

  /* ---------- Care band ---------- */
  .care{
    background: var(--blueprint);
    color: var(--paper);
    padding: 56px 0;
  }
  .care-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .care h3{ color: var(--paper); font-size: 1.4rem; }
  .care .price{
    font-family: 'IBM Plex Mono', monospace;
    color: var(--signal);
    font-weight: 600;
  }
  .care p{ color: #C9D3DC; max-width: 46ch; margin-top: 8px; font-size: 0.95rem; }

  /* ---------- Final CTA ---------- */
  .cta-section{
    padding: 96px 0;
  }
  .cta-box{
    background: var(--white);
    border: 1px solid var(--line);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  @media (max-width: 800px){
    .cta-box{ grid-template-columns: 1fr; padding: 32px 24px; }
  }

  .cta-box h2{ font-size: 1.8rem; margin-bottom: 14px; }
  .cta-box p{ color: var(--blueprint); }

  form{ display: flex; flex-direction: column; gap: 14px; }
  label{ font-size: 0.82rem; color: var(--steel); margin-bottom: 4px; display: block; }
  input{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--paper);
  }
  input:focus{
    outline: none;
    border-color: var(--signal);
  }
  form button{ margin-top: 6px; }

  .form-status{
    font-size: 0.85rem;
    color: var(--good);
    display: none;
  }

  /* ---------- Footer ---------- */
  footer{
    border-top: 1px solid var(--line);
    padding: 40px 0;
  }
  .footer-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  footer .logo{ font-size: 1rem; }
  footer .foot-note{ font-size: 0.85rem; color: var(--steel); }

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

  @media (prefers-reduced-motion: reduce){
    *{ transition: none !important; scroll-behavior: auto !important; }
  }

  /* ================= Added in index4 ================= */

  .logo{ text-decoration: none; color: inherit; }
  .navlinks a.current{ color: var(--signal); }

  /* ---------- Two paths (new site vs rebuild) ---------- */
  .paths{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  @media (max-width: 800px){ .paths{ grid-template-columns: 1fr; } }
  .path{
    background: var(--white);
    border: 1px solid var(--line);
    padding: 32px 28px;
    position: relative;
  }
  .path .plan-tag{ margin-bottom: 10px; }
  .path h3{ font-size: 1.35rem; margin-bottom: 10px; }
  .path p{ color: var(--blueprint); font-size: 0.97rem; }
  .path ul{ list-style: none; margin: 18px 0 24px; }
  .path li{
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--blueprint);
    display: flex; gap: 10px;
  }
  .path li:last-child{ border-bottom: none; }
  .path li::before{ content: "—"; color: var(--signal); flex-shrink: 0; }

  /* ---------- Monthly plan band ---------- */
  .monthly{
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--ink);
    padding: 28px;
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 28px;
    align-items: center;
  }
  @media (max-width: 900px){ .monthly{ grid-template-columns: 1fr; } }
  .monthly h3{ font-size: 1.3rem; }
  .monthly p{ color: var(--blueprint); font-size: 0.93rem; margin-top: 6px; }
  .monthly .price{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.8rem; font-weight: 600;
  }
  .monthly .price small{ font-size: 0.9rem; color: var(--steel); font-weight: 500; }
  .monthly .price-note{ font-size: 0.82rem; color: var(--steel); }

  /* ---------- Work / case studies ---------- */
  .work-card{
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 32px;
    text-decoration: none;
    color: inherit;
  }
  @media (max-width: 900px){ .work-card{ grid-template-columns: 1fr; gap: 24px; padding: 24px; } }
  .shots{ position: relative; padding-right: 70px; padding-bottom: 30px; }
  .shot-desktop{
    width: 100%; height: auto; display: block;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(22,32,43,0.12);
  }
  .shot-mobile{
    position: absolute; right: 0; bottom: 0;
    width: 24%; height: auto; aspect-ratio: 375 / 700;
    object-fit: cover; object-position: top;
    border-radius: 14px;
    border: 4px solid var(--ink);
    box-shadow: 0 10px 30px rgba(22,32,43,0.25);
  }
  .work-meta .plan-tag{ margin-bottom: 8px; }
  .work-meta h3{ font-size: 1.5rem; margin-bottom: 10px; }
  .work-meta p{ color: var(--blueprint); font-size: 0.95rem; }
  .facts{ margin: 18px 0 22px; border-top: 1px solid var(--line); }
  .facts div{
    display: flex; justify-content: space-between; gap: 16px;
    padding: 9px 0; border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }
  .facts dt{ color: var(--steel); }
  .facts dd{ color: var(--ink); font-weight: 500; text-align: right; }
  .slot{
    border: 1.5px dashed var(--line);
    padding: 40px 28px;
    text-align: center;
    color: var(--steel);
    margin-top: 24px;
  }
  .slot h3{ color: var(--ink); font-size: 1.2rem; margin-bottom: 8px; }
  .slot p{ max-width: 48ch; margin: 0 auto 20px; }

  /* ---------- Page hero (inner pages) ---------- */
  .page-hero{ padding: 80px 0 48px; }
  .page-hero .label{ font-size: 0.85rem; color: var(--signal); font-weight: 600; margin-bottom: 10px; }
  .page-hero h1{ font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; }
  .page-hero p{ margin-top: 18px; font-size: 1.12rem; color: var(--blueprint); max-width: 54ch; }

  /* ---------- Recruiters ---------- */
  .earn-grid{
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  }
  @media (max-width: 900px){ .earn-grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px){ .earn-grid{ grid-template-columns: 1fr; } }
  .earn{
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 24px; background: var(--white);
  }
  .earn .name{ font-size: 0.85rem; color: var(--steel); }
  .earn .amt{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.7rem; font-weight: 600; color: var(--good);
    margin: 6px 0 4px;
  }
  .earn .of{ font-size: 0.82rem; color: var(--blueprint); }
  .fineprint{ font-size: 0.85rem; color: var(--steel); margin-top: 16px; max-width: 70ch; }

  .two-col{
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  }
  @media (max-width: 800px){ .two-col{ grid-template-columns: 1fr; gap: 32px; } }
  .checklist{ list-style: none; }
  .checklist li{
    padding: 10px 0; border-bottom: 1px solid var(--line);
    color: var(--blueprint); display: flex; gap: 10px;
  }
  .checklist li::before{ content: "—"; color: var(--signal); flex-shrink: 0; }
  .two-col h3{ font-size: 1.2rem; margin-bottom: 12px; }

  select, textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--paper);
    color: var(--ink);
  }
  textarea{ min-height: 110px; resize: vertical; }
  select:focus, textarea:focus{ outline: none; border-color: var(--signal); }
  .hint{ font-size: 0.78rem; color: var(--steel); margin-top: 4px; }
  .is-hidden{ display: none; }

  .footer-links{ display: flex; gap: 20px; font-size: 0.85rem; }
  .footer-links a{ color: var(--blueprint); text-decoration: none; }
  .footer-links a:hover{ color: var(--signal); }


/* About section */
.about{
  display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
}
.about-photo{
  width: 160px; height: 160px; border-radius: var(--radius); overflow: hidden;
  background: var(--blueprint); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 600; letter-spacing: 0.04em;
}
.about-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.about-label{ font-size: 0.85rem; color: var(--signal); font-weight: 600; margin-bottom: 10px; }
.about h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 26ch; margin-bottom: 6px; }
.about p{ color: var(--blueprint); max-width: 60ch; margin-top: 12px; }
.about-facts{ list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.about-facts li{ display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.about-facts span{ color: var(--steel); min-width: 80px; }
.about-facts a{ color: var(--signal); text-decoration: none; overflow-wrap: anywhere; }
.about-facts a:hover{ text-decoration: underline; }
@media (max-width: 700px){
  .about{ grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .about-photo{ width: 112px; height: 112px; font-size: 1.9rem; }
}

/* Footer additions */
.footer-links{ flex-wrap: wrap; }
.foot-note a{ color: inherit; }

/* Terms page */
.terms{ max-width: 68ch; }
.terms .updated{ font-size: 0.85rem; color: var(--steel); }
.terms h2{ font-size: 1.25rem; margin: 40px 0 10px; }
.terms p, .terms li{ color: var(--blueprint); font-size: 0.98rem; }
.terms p + p{ margin-top: 10px; }
.terms ul{ margin: 10px 0 0 20px; }
.terms li{ margin: 6px 0; }
.terms a{ color: var(--signal); }
#about{ scroll-margin-top: 80px; }

/* About: click to open */
.about-toggle{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.about-toggle summary{
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  padding: 22px 28px;
}
.about-toggle summary::-webkit-details-marker{ display: none; }
.about-toggle summary .about-label{ margin: 0; flex-basis: 100%; }
.about-toggle summary strong{ font-size: 1.15rem; color: var(--ink); flex: 1; }
.about-toggle summary em{ font-style: normal; font-size: 1.6rem; line-height: 1; color: var(--signal); transition: transform .2s; }
.about-toggle[open] summary em{ transform: rotate(45deg); }
.about-toggle summary:hover strong{ color: var(--signal); }
.about-toggle summary:focus-visible{ outline: 2px solid var(--signal); outline-offset: 2px; }
.about-toggle .about{ border: none; border-top: 1px solid var(--line); border-radius: 0; }
.about-wrap{ padding-top: 0; }
.about-toggle .about .about-label{ display: none; }
