/* Generated by resors/build.py from the same CSS as index.html.
   Edit build.py, not this file. */

    :root {
      color-scheme: light dark;
      --paper:   #f2f0ea;
      --paper-2: #e8e5dc;
      --panel:   #fbfaf7;
      --ink:     #111114;
      --ink2:    #57554e;
      --ink3:    #8c8981;
      --rule:    rgba(0,0,0,0.16);
      --rule-2:  rgba(0,0,0,0.09);
      --night:   #0c0c10;
      --night-2: #15151b;
      --accent:  #0071e3;
      --plus-mark: #ef7b2e;
      --plus-a: #4fd1b9;
      --plus-b: #3d9fe6;
      --g-lead:  #2f7fe0;
      --g-trail: #d1483f;
      --g-h:     #35b6c9;
      --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
      --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --maxw: 1200px;
      --shadow: 0 1px 2px rgba(0,0,0,0.05), 0 14px 36px rgba(0,0,0,0.09);
      --shadow-lg: 0 2px 8px rgba(0,0,0,0.07), 0 34px 80px rgba(0,0,0,0.17);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --paper:   #0c0c10;
        --paper-2: #141419;
        --panel:   #16161c;
        --ink:     #f4f3f0;
        --ink2:    #a5a29b;
        --ink3:    #7c7a74;
        --rule:    rgba(255,255,255,0.18);
        --rule-2:  rgba(255,255,255,0.10);
        --accent:  #2997ff;
        --plus-mark: #ff8a3f;
        --plus-a: #56dcc2;
        --plus-b: #4aa9ef;
        --g-lead:  #4a9bf0;
        --g-trail: #ff6f61;
        --g-h:     #3fc9dc;
        --shadow: 0 1px 2px rgba(0,0,0,0.6), 0 14px 36px rgba(0,0,0,0.6);
        --shadow-lg: 0 2px 8px rgba(0,0,0,0.6), 0 34px 80px rgba(0,0,0,0.7);
      }
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    body {
      margin: 0; background: var(--paper); color: var(--ink);
      font-family: var(--sans); line-height: 1.5;
      -webkit-font-smoothing: antialiased; overflow-x: hidden;
    }
    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
    @media (max-width: 600px) { .wrap { padding: 0 20px; } }

    /* ---------- type ---------- */
    h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
    h1 { font-size: clamp(2.9rem, 8.2vw, 6.4rem); }
    h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
    h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
    .lede { font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: var(--ink2); line-height: 1.55; max-width: 56ch; }
    code { font-family: var(--mono); font-size: 0.88em; }

    /* ---------- stage headers (spec-sheet rules) ---------- */
    .stage-head {
      display: flex; align-items: center; gap: 14px;
      font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--ink3); margin-bottom: 1.8rem;
    }
    .stage-head .num { color: var(--ink); font-weight: 600; }
    .stage-head .line { flex: 1; height: 1px; background: var(--rule); }
    section.stage { padding: 7rem 0; border-top: 1px solid var(--rule-2); }
    section.stage:first-of-type { border-top: 0; }
    .stage-copy { max-width: 62ch; }
    .stage-copy .lede { margin: 1.2rem 0 0; }

    /* ---------- nav ---------- */
    /* The bar has no edge: two stacked backdrop layers, each masked with a
       gradient, so the blur and the paper tint both fall off to nothing below
       the links instead of ending on a line. Fallback is a plain tint. */
    .nav { position: sticky; top: 0; z-index: 60;
           background: color-mix(in srgb, var(--paper) 94%, transparent); }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      .nav { background: transparent; }
      .nav::before, .nav::after {
        content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -34px;
        pointer-events: none; z-index: -1;
        opacity: 0; transition: opacity 0.3s ease;
      }
      /* tighter, stronger blur nearest the top */
      .nav::before {
        backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 88%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 88%);
      }
      /* softer blur plus the paper wash, carried further down and faded out */
      .nav::after {
        backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
        background: linear-gradient(to bottom,
          color-mix(in srgb, var(--paper) 96%, transparent) 0%,
          color-mix(in srgb, var(--paper) 90%, transparent) 62%,
          transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
      }
      .nav.stuck::before, .nav.stuck::after { opacity: 1; }
    }
    @media (prefers-reduced-motion: reduce) {
      .nav::before, .nav::after { transition: none; }
    }
    .nav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; height: 56px; display: flex; align-items: center; gap: 24px; }
    .nav-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none;
                 font-weight: 600; font-size: 0.95rem; letter-spacing: -0.02em; margin-right: auto; }
    .nav-brand img { width: 22px; height: 22px; border-radius: 6px; }
    .nav-links { display: flex; gap: 22px; align-items: center; }
    .nav-links a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
                   color: var(--ink2); text-decoration: none; }
    .nav-links a:hover { color: var(--ink); }
    @media (max-width: 820px) { .nav-links { display: none; } }
    .nav-cta { font-size: 0.8rem; font-weight: 500; padding: 0.42rem 1rem; border-radius: 980px;
               background: var(--ink); color: var(--paper); text-decoration: none; }

    /* ---------- buttons ---------- */
    a.button { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
      font-family: inherit; font-weight: 500; font-size: 0.96rem; padding: 0.8rem 1.5rem;
      border-radius: 980px; border: 1px solid transparent; background: var(--ink); color: var(--paper);
      transition: opacity 0.18s ease; }
    a.button:hover { opacity: 0.85; }
    a.button.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
    a.button.ghost:hover { background: var(--paper-2); opacity: 1; }
    a.button.appstore { background: #000; color: #fff; padding: 0.55rem 1.3rem; }
    @media (prefers-color-scheme: dark) { a.button.appstore { background: #fff; color: #000; } }
    a.button.appstore .apple { width: 24px; height: 24px; flex-shrink: 0; }
    .as-txt { display: flex; flex-direction: column; line-height: 1; text-align: left; }
    .as-txt small { font-size: 0.6rem; opacity: 0.85; }
    .as-txt b { font-size: 1.08rem; font-weight: 500; margin-top: 3px; letter-spacing: -0.01em; }
    .cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }

    /* card header: the stage label, with the tier tag held to the right */
    .card-hd { display: flex; align-items: center; gap: 12px; }
    .card-hd .cap { flex: 1; }
    .tag { display: inline-flex; align-items: center; flex: none; white-space: nowrap;
           border-radius: 8px; padding: 0.22rem 0.58rem; line-height: 1.3; }
    /* the tier mark: a gradient stroke and an orange plus, as on the app icon */
    .tag--plus { font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
                 letter-spacing: -0.006em; text-transform: none; color: var(--ink);
                 border: 1.5px solid transparent;
                 --tag-bg: var(--panel);
                 background: linear-gradient(var(--tag-bg), var(--tag-bg)) padding-box,
                             linear-gradient(105deg, var(--plus-a), var(--plus-b)) border-box; }
    .tag--plus b { font-weight: 700; color: var(--plus-mark); margin-left: 0.05em; }
    .tag--soon { font-family: var(--mono); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em;
                 text-transform: uppercase; color: var(--ink3); background: var(--rule-2); }

    /* ---------- close ---------- */
    .close { padding: 8rem 0; text-align: center; border-top: 1px solid var(--rule-2); }
    .close h2 { max-width: 18ch; margin: 0 auto 1.4rem; }
    .close .cta-row { justify-content: center; }
    footer { padding: 2.5rem 0 4rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
             color: var(--ink3); display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
    footer a { color: var(--ink2); text-decoration: none; }
    footer a:hover { color: var(--ink); }
    .skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
    .skip-link:focus { left: 0; }

    /* ---------- furniture for the other pages (support, roadmap, privacy) ---------- */
    .wrap--narrow { max-width: 820px; }
    .page-head { padding: 4.4rem 0 2.4rem; }
    .page-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
    .page-head .lede { margin: 1.1rem 0 0; }
    .sec-head { margin: 3.4rem 0 1.2rem; }
    .panel { border: 1px solid var(--rule-2); border-radius: 14px;
             background: var(--panel); padding: 1.7rem 1.8rem; }

    /* prose */
    .doc h2 { font-size: 1.12rem; margin: 2.5rem 0 0.7rem; }
    .doc p { margin: 0 0 1rem; color: var(--ink2); font-size: 0.98rem; line-height: 1.68; }
    .doc a { color: var(--accent); text-decoration: none; }
    .doc a:hover { text-decoration: underline; }

    /* questions */
    .faq { display: grid; gap: 10px; }
    .faq details { border: 1px solid var(--rule-2); border-radius: 12px;
                   background: var(--panel); padding: 0 1.2rem; }
    .faq details[open] { border-color: var(--rule); }
    .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center;
                   justify-content: space-between; gap: 1rem; padding: 0.95rem 0;
                   font-size: 0.98rem; font-weight: 600; letter-spacing: -0.012em; }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: ""; flex: none; width: 8px; height: 8px;
                          border-right: 1.5px solid var(--ink3); border-bottom: 1.5px solid var(--ink3);
                          transform: rotate(45deg); transition: transform 0.2s ease; }
    .faq details[open] summary::after { transform: rotate(225deg); }
    .faq .body { padding: 0 0 1.15rem; color: var(--ink2); font-size: 0.94rem; line-height: 1.62; }
    .faq .body p { margin: 0 0 0.7rem; }
    .faq .body p:last-child { margin-bottom: 0; }
    code { background: var(--rule-2); padding: 0.12em 0.4em; border-radius: 5px; }

    /* the roadmap board */
    .board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
    @media (max-width: 860px) { .board { grid-template-columns: 1fr; gap: 26px; } }
    .col { display: flex; flex-direction: column; gap: 10px; }
    .col-head { display: flex; align-items: center; gap: 9px; margin-bottom: 0.5rem;
                font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
                text-transform: uppercase; color: var(--ink3); }
    .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
    .s-done { background: #35935a; }
    .s-prog { background: var(--accent); }
    .s-plan { background: #e0a82c; }
    .col-head .count { margin-left: auto; }
    .rm-card { border: 1px solid var(--rule-2); border-radius: 12px;
               background: var(--panel); padding: 1rem 1.1rem; }
    .rm-card h3 { font-size: 0.95rem; }
    .rm-card p { margin: 0.4rem 0 0; color: var(--ink2); font-size: 0.87rem; line-height: 1.55; }
    .rm-card .tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 0.8rem; }
    .tag--ok { font-family: var(--mono); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em;
               text-transform: uppercase; color: #2f7f4c; background: rgba(53,147,90,0.13); }
    @media (prefers-color-scheme: dark) {
      .tag--ok { color: #62cd8b; background: rgba(98,205,139,0.14); }
    }
    .legend { display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap;
              margin: 2.2rem auto 0; color: var(--ink2); font-size: 0.9rem; }

    /* the request form */
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
    .field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
    .field label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
                   text-transform: uppercase; color: var(--ink3); }
    input, select, textarea { font: inherit; font-size: 0.94rem; width: 100%;
                              padding: 0.65rem 0.8rem; border-radius: 10px;
                              border: 1px solid var(--rule); background: var(--paper);
                              color: var(--ink); outline: none;
                              transition: border-color 0.15s ease, box-shadow 0.15s ease; }
    input:focus, select:focus, textarea:focus { border-color: var(--accent);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
    textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
    button.button { cursor: pointer; font: inherit; font-weight: 500; font-size: 0.96rem;
                    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
                    width: 100%; padding: 0.8rem 1.5rem; border-radius: 980px;
                    border: 1px solid transparent; background: var(--ink); color: var(--paper);
                    transition: opacity 0.18s ease; }
    button.button:hover { opacity: 0.85; }
    .hint { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.05em;
            color: var(--ink3); text-align: center; margin: 1rem 0 0; }
