:root{
    --bg:       #ffffff;
    --bg-soft:  #f2f0ec;
    --bg-warm:  #e8e0cf;
    --fg:       #1c1c1c;
    --fg-2:     #4a4a4a;
    --fg-3:     #757575;
    --line:     #dcd9d1;
    --line-2:   #eceae4;
    --accent:   #111111;
    --accent-2: #4a4a4a;
    --sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
    --radius: 14px;
    --maxw: 1120px;
  }

  .wrap{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
  }
  .wrap-narrow{ max-width: 760px; margin: 0 auto; padding: 0 28px; }
  @media (max-width: 640px){
    .wrap, .wrap-narrow{ padding: 0 20px; }
  }

  /* ---------- Top bar ---------- */
  .topbar{
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    position: sticky; top: 0; z-index: 40;
  }
  .topbar-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }
  .brand{
    display: flex; align-items: center; gap: 12px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fg);
  }
  .brand-mark{
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
  }
  .brand-mark::after{
    content: "";
    position: absolute;
    width: 9px; height: 9px;
    background: #fff;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .brand-mark::before{
    content: "";
    position: absolute;
    width: 12px; height: 12px;
    background: var(--accent-2);
    border-radius: 50%;
    top: 5px; right: -4px;
  }
  .back-link{
    font-size: 14px;
    color: var(--fg-2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s, gap 0.15s;
  }
  .back-link:hover{ color: var(--accent); gap: 12px; }
  .back-link::before{ content: "←"; font-size: 16px; }

  /* ---------- Hero ---------- */
  .hero{
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
  }
  .hero-eyebrow{
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 28px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--bg-soft);
  }
  .hero-eyebrow .dot{
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
    transform: translateY(-1px);
  }
  .hero h1{
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 600;
    margin-bottom: 28px;
    max-width: 16ch;
    margin-left: auto; margin-right: auto;
    text-wrap: balance;
  }
  .hero .lead{
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.4;
    color: var(--fg-2);
    max-width: 58ch;
    margin: 0 auto;
    font-weight: 400;
    text-wrap: pretty;
  }

  /* hero screenshot */
  .hero-visual{
    margin-top: 80px;
    padding: 0 28px;
  }
  .hero-screen{
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-soft);
    border-radius: 18px;
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    box-shadow:
      0 1px 0 rgba(0,0,0,0.04),
      0 30px 80px -20px rgba(0,0,0,0.2),
      0 10px 30px -10px rgba(0,0,0,0.1);
  }
  .hero-screen img{ width: 100%; height: auto; display: block; }
  .hero-screen-placeholder{
    position: absolute; inset: 0;
    display: grid;
    place-items: center;
    color: var(--fg-3);
    font-size: 14px;
    letter-spacing: 0.04em;
    font-weight: 500;
    text-align: center;
    padding: 24px;
    background:
      linear-gradient(180deg, #fafaf7, #f2f0ec);
  }
  .hero-screen-placeholder .label{
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 100px;
    color: var(--fg-3);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .hero-screen-placeholder .label + p{
    margin-top: 18px;
    font-size: 15px;
    color: var(--fg-2);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    max-width: 48ch;
  }
  .hero-screen img{ width: 100%; height: 100%; object-fit: cover; }

  @media (max-width: 640px){
    .hero{ padding: 72px 0 40px; }
    .hero-visual{ margin-top: 48px; padding: 0 16px; }
  }

  /* ---------- Section chrome ---------- */
  section{ padding: 100px 0; }
  @media (max-width: 640px){ section{ padding: 72px 0; } }

  .section-eyebrow{
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 20px;
    display: block;
  }
  .section-title{
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 22ch;
    text-wrap: balance;
  }
  .section-intro{
    font-size: 19px;
    line-height: 1.55;
    color: var(--fg-2);
    max-width: 60ch;
  }

  /* ---------- Manifesto (one-liner big) ---------- */
  .manifesto{
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .manifesto-body{
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 500;
    max-width: 22ch;
    text-wrap: balance;
  }
  .manifesto-body em{
    font-style: normal;
    color: var(--fg-3);
  }

  /* ---------- Features grid ---------- */
  .features-head{
    margin-bottom: 80px;
    max-width: 720px;
  }
  .features-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .feature{
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px 40px 44px;
    display: flex;
    flex-direction: column;
  }
  .feature-illus{
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: #e8e4d7 center/cover no-repeat;
    margin-bottom: 32px;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .feature-illus.has-img{
    aspect-ratio: 16/10;
  }
  .feature-illus.placeholder::after{
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--fg-3);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
  }
  .feature h3{
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .feature p{
    font-size: 17px;
    color: var(--fg-2);
    line-height: 1.55;
  }
  @media (max-width: 720px){
    .features-grid{ grid-template-columns: 1fr; }
    .feature{ padding: 28px 26px 32px; }
  }

  /* ---------- FAQ ---------- */
  .faq{
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .faq-head{
    text-align: center;
    margin-bottom: 60px;
  }
  .faq-head .section-title{ margin-left: auto; margin-right: auto; }
  .faq-list{
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
  }
  .faq-item{
    border-bottom: 1px solid var(--line);
  }
  .faq-q{
    width: 100%;
    text-align: left;
    padding: 26px 8px;
    font-family: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--fg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.15s;
  }
  .faq-q:hover{ color: var(--accent); }
  .faq-q .icon{
    width: 24px; height: 24px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.25s ease;
  }
  .faq-q .icon::before,
  .faq-q .icon::after{
    content: "";
    position: absolute;
    background: var(--fg-2);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .faq-q .icon::before{ width: 12px; height: 1.5px; }
  .faq-q .icon::after{ width: 1.5px; height: 12px; transition: transform 0.25s ease; }
  .faq-item.open .faq-q .icon::after{ transform: translate(-50%, -50%) rotate(90deg); }
  .faq-a{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 8px;
  }
  .faq-item.open .faq-a{
    max-height: 400px;
    padding: 0 8px 28px;
  }
  .faq-a p{
    font-size: 17px;
    line-height: 1.55;
    color: var(--fg-2);
    max-width: 62ch;
  }

  /* ---------- CTA ---------- */
  .cta{
    text-align: center;
    padding: 140px 0 160px;
  }
  .cta h2{
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 16ch;
    margin-left: auto; margin-right: auto;
    text-wrap: balance;
  }
  .cta .lead{
    font-size: 19px;
    line-height: 1.55;
    color: var(--fg-2);
    max-width: 52ch;
    margin: 0 auto 48px;
  }
  .waitlist{
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
  }
  .waitlist input{
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: inherit;
    font-size: 16px;
    background: var(--bg-soft);
    color: var(--fg);
    outline: none;
    transition: border-color 0.15s, background 0.15s;
  }
  .waitlist input:focus{
    border-color: var(--accent);
    background: #fff;
  }
  .waitlist button{
    padding: 16px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
  }
  .waitlist button:hover{
    background: #000;
  }
  .waitlist button:active{ transform: scale(0.98); }
  .waitlist-note{
    font-size: 13px;
    color: var(--fg-3);
    margin-top: 16px;
    letter-spacing: 0.01em;
  }
  .waitlist-success{
    display: none;
    font-size: 17px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 8px;
  }
  .waitlist-success.show{ display: block; }

  @media (max-width: 560px){
    .waitlist{ flex-direction: column; }
    .waitlist input, .waitlist button{ width: 100%; border-radius: 12px; }
  }

  /* ---------- Footer ---------- */
  footer{
    border-top: 1px solid var(--line);
    padding: 40px 0;
    background: #fff;
  }
  .foot-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--fg-3);
  }
  .foot-inner a{ color: var(--fg-2); transition: color 0.15s; }
  .foot-inner a:hover{ color: var(--accent); }


.feature-illus.feature-owner{ background-image: url('../assets/images/tasks-feature-1.png?v=2'); }
.feature-illus.feature-project{ background-image: url('../assets/images/tasks-feature-2.png?v=2'); }
.feature-illus.feature-history{ background-image: url('../assets/images/tasks-feature-3.png?v=1'); }
.feature-illus.feature-context{ background-image: url('../assets/images/tasks-feature-4.png?v=1'); }
.section-title.inverse{ color: #fff; }
