:root {
    --bg: #0e0d0b;
    --bg-2: #161512;
    --ink: #f3efe7;
    --muted: #a49e93;
    --faint: #6b665d;
    --line: rgba(243, 239, 231, 0.10);
    --line-2: rgba(243, 239, 231, 0.18);
    --display: "Inter Tight", -apple-system, system-ui, sans-serif;
    --sans: Geist, -apple-system, system-ui, sans-serif;
    --mono: "Geist Mono", ui-monospace, Menlo, monospace;
    --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  /* Fine, still film grain over everything. */
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .12; mix-blend-mode: overlay;
  }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  .wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
  .mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  em { font-style: normal; color: var(--muted); }

  /* Liquid glass: a translucent pane with light catching its edges. */
  .glass {
    position: relative; isolation: isolate;
    background: linear-gradient(180deg, rgba(255, 250, 240, .075), rgba(255, 250, 240, .025));
    backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .03), 0 24px 60px -28px rgba(0, 0, 0, .75);
    border-radius: 26px;
  }
  .glass::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06) 32%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .16));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  /* Soft warm light behind a section, so the glass has something to bend. */
  .lit { position: relative; isolation: isolate; overflow-x: clip; }
  .lit::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 40%; width: min(1100px, 120%); height: 70%;
                 transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(243, 226, 196, .10), transparent); filter: blur(20px); }

  /* Nav: a glass pill floating in the hero. */
  nav { position: fixed; top: 18px; left: 0; right: 0; z-index: 20; pointer-events: none; }
  nav .wrap { pointer-events: auto; display: flex; align-items: center; justify-content: space-between;
              width: min(820px, 100% - 32px); height: 54px; padding: 0 8px 0 14px; border-radius: 999px; }
  nav .glass { background: linear-gradient(180deg, rgba(40, 37, 32, .62), rgba(26, 24, 21, .52)); }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
  .brand img { width: 26px; height: 26px; border-radius: 7px; }
  .nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; color: var(--muted); }
  .nav-links a { text-decoration: none; white-space: nowrap; }
  .brand { white-space: nowrap; }
  .nav-links a:hover { color: var(--ink); }

  /* A friend's code (price.js): one slim line pinned above the nav while scrolling. */
  #friend-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 21; height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px;
                padding: 0 16px; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; overflow: hidden;
                background: rgba(30, 27, 23, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  #friend-bar i { font-style: normal; opacity: .5; }
  #friend-bar b { font-weight: 500; color: var(--ink); }
  .has-friend nav { top: 46px; }
  .has-friend .hero { padding-top: 196px; }
  .has-friend #pricing { scroll-margin-top: 140px; }
  .plan .amount s.was { margin-right: 6px; opacity: .6; }

  /* Buttons: the app's own filled capsule, with its sheen. */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
         background: linear-gradient(#f8f5ef, #d9d4ca); color: #14120f; font: 500 14px var(--sans); border: 0; cursor: pointer; text-decoration: none;
         box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px -8px rgba(0, 0, 0, .6);
         white-space: nowrap; transition: transform .2s cubic-bezier(.34, 1.6, .5, 1), opacity .15s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.97); }
  .btn:disabled { opacity: .5; }
  .nav-links .btn { height: 38px; padding: 0 16px; }
  /* Phones: a menu button opens the links in a glass panel under the pill (nav.js). */
  .menu-btn { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
              flex-direction: column; align-items: center; justify-content: center; gap: 5px; -webkit-tap-highlight-color: transparent; }
  .menu-btn span { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .2s ease; }
  nav.open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
  nav.open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-menu { display: none; pointer-events: auto; flex-direction: column; width: min(820px, 100% - 32px); margin: 8px auto 0; padding: 6px; border-radius: 22px; }
  nav .nav-menu { background: linear-gradient(180deg, rgba(40, 37, 32, .86), rgba(26, 24, 21, .82)); }
  .nav-menu a { display: block; padding: 13px 14px; border-radius: 14px; text-decoration: none; font-size: 16px; color: var(--ink); }
  .nav-menu a:active { background: rgba(255, 255, 255, .06); }

  /* Hero */
  .hero { position: relative; padding: 168px 0 72px; text-align: center; isolation: isolate; }
  .hero::before, .hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 980px; z-index: -1; pointer-events: none; }
  .hero::before { background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(243, 232, 212, .13), transparent 70%); }
  .hero::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .9 0 0 0 1.1 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    opacity: .28;
    mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 78%);
  }
  .typing { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; }
  .typing b { color: var(--ink); font-weight: 500; }
  .caret { display: inline-block; width: 7px; height: 13px; background: var(--ink); animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  h1 { font: 600 clamp(44px, 7.4vw, 92px)/.96 var(--display); letter-spacing: -.035em; margin: 28px auto 24px; max-width: 14ch; }
  .lede { color: var(--muted); font-size: clamp(17px, 2vw, 19px); max-width: 40ch; margin: 0 auto 34px; text-wrap: balance; }
  .lede b { color: var(--ink); font-weight: 500; }

  .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .btn.big { height: 48px; padding: 0 24px; font-size: 16px; }
  .btn.ghost { background: rgba(243, 239, 231, .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(243, 239, 231, .14); }
  .note a { color: var(--ink); }
  .join { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; padding: 6px; border-radius: 999px; }
  .join input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: 16px var(--sans); padding: 0 14px; outline: none; }
  .join input::placeholder { color: var(--faint); }
  .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .note { min-height: 22px; margin-top: 12px; font-size: 13px; color: var(--faint); }
  .note.ok { color: var(--ink); }
  .demo-wrap { margin: 64px auto 0; max-width: 1180px; }

  /* Works with */
  .works { padding: 64px 0 24px; text-align: center; }
  .apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
  .app { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); padding: 7px 16px 7px 8px; border-radius: 999px; }
  .app img { width: 30px; height: 30px; }
  .app.more { color: var(--muted); padding-left: 16px; }

  /* Who it's for */
  .marquee { padding: 26px 0; margin: 48px 0 0; overflow: hidden;
             mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
             -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; }
  .marquee span { font: 500 clamp(24px, 3vw, 34px)/1 var(--display); letter-spacing: -.03em; color: var(--muted); white-space: nowrap; }
  .marquee span::after { content: "✦"; font-size: .45em; margin-left: 48px; vertical-align: middle; color: var(--faint); }
  @keyframes slide { to { transform: translateX(calc(-50% - 24px)); } }

  section { padding: 110px 0 0; scroll-margin-top: 40px; }
  #join { scroll-margin-top: 200px; }
  #pricing { scroll-margin-top: 110px; }
  .head { max-width: 680px; margin-bottom: 40px; }
  .head h2 { font: 600 clamp(34px, 4.6vw, 54px)/1.02 var(--display); letter-spacing: -.03em; margin-top: 14px; }
  .head p { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 52ch; }

  /* Steps, each with a piece of the real app */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .step { padding: 14px; display: flex; flex-direction: column; gap: 18px; }
  .stage { height: 260px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center;
           background: radial-gradient(120% 90% at 30% 0%, #3a342b, transparent 60%), radial-gradient(90% 80% at 100% 100%, #2a2621, transparent 60%), #1c1a17; }
  .stage::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .step .txt { padding: 0 8px 8px; }
  .step h3 { font: 600 19px/1.25 var(--display); letter-spacing: -.02em; }
  .step p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

  /* Pieces of the app, drawn like the app draws them. */
  .mac { font: 12px/1.35 var(--mac); color: #f2f2f4; text-align: left; -webkit-font-smoothing: antialiased; }
  .mac .dim { color: rgba(235, 235, 245, .62); }
  .mac .num { font-variant-numeric: tabular-nums; }
  .m-card { width: 88%; padding: 16px; border-radius: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1;
            background: rgba(40, 40, 46, .78); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
            border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
  .m-hd { display: flex; gap: 10px; align-items: center; }
  .m-hd img { width: 34px; height: 34px; }
  .m-hd b { display: block; font-size: 13px; font-weight: 600; }
  .m-btn { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; font-weight: 500;
           background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
  .m-btn img { width: 14px; height: 14px; }
  .m-btn .sp { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-btn.filled { background: linear-gradient(#f5f5f7, #d9d9de); color: #121214; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
  .m-btn.center { justify-content: center; }
  .m-new { display: flex; gap: 6px; }
  .m-new span:first-child { flex: 1; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(235, 235, 245, .32); }
  .m-new .m-btn { opacity: .45; }
  .m-links { display: flex; justify-content: space-between; color: rgba(235, 235, 245, .62); font-size: 11px; }

  .m-bar { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; align-items: center; gap: 12px;
           padding: 0 12px; background: rgba(20, 18, 16, .45); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 2; }
  .m-left { display: flex; align-items: center; flex: 1; }
  .m-apple { flex: none; margin-top: -2px; }
  .m-sys { display: flex; align-items: center; gap: 12px; opacity: .9; }
  .m-date { white-space: nowrap; }
  .m-anchor { position: relative; display: flex; }
  .m-item { display: flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, .18); }
  .m-panel { position: absolute; top: calc(100% + 9px); left: -40px; width: 236px; padding: 9px; border-radius: 16px;
             display: flex; flex-direction: column; gap: 8px; z-index: 1; font-size: 11px;
             background: rgba(38, 38, 44, .82); backdrop-filter: blur(36px); -webkit-backdrop-filter: blur(36px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 44px rgba(0, 0, 0, .5); }
  .m-now { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
  .m-now .row { display: flex; align-items: center; gap: 10px; }
  .m-badge { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(92, 140, 230, .18); flex: none; }
  .m-badge img { width: 17px; height: 17px; }
  .m-clock { font: 600 22px/1 ui-rounded, -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
  .m-circle { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
  .m-today { padding: 8px 10px; border-radius: 11px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; gap: 5px; }
  .m-today .r { display: flex; align-items: center; gap: 7px; }
  .m-today .r img { width: 13px; height: 13px; }
  .m-today .r span:nth-child(2) { flex: 1; }

  .m-budget { width: 86%; padding: 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 1;
              background: rgba(38, 38, 44, .82); backdrop-filter: blur(36px); -webkit-backdrop-filter: blur(36px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
  .m-budget .hd { display: flex; align-items: center; gap: 10px; }
  .m-budget .hd img { width: 26px; height: 26px; }
  .m-budget .hd b { font-size: 12.5px; }
  .m-budget .hd .dim { font-size: 10.5px; }
  .m-budget .nums { display: flex; justify-content: space-between; align-items: baseline; }
  .m-budget .nums b { font-size: 20px; font-weight: 600; }
  .m-budget .bar { position: relative; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
  .m-budget .bar i { position: absolute; inset: 0; border-radius: 99px; background: #e5534b; }
  .m-budget .bar s { position: absolute; top: -3px; bottom: -3px; left: 83.3%; width: 2px; border-radius: 1px; background: #f2f2f4; }
  .m-budget .over { color: #ff7a72; font-size: 11px; font-weight: 500; }
  .m-budget .sess { padding: 7px 10px; border-radius: 11px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; gap: 5px; font-size: 11px; }
  .m-budget .sess .r { display: flex; align-items: center; gap: 7px; }
  .m-budget .sess .r img { width: 13px; height: 13px; }
  .m-budget .sess .r span:nth-child(2) { flex: 1; white-space: nowrap; }

  /* What it does */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .feature { padding: 26px 24px; }
  .feature .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
                 background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
  .feature h3 { font: 600 19px/1.25 var(--display); letter-spacing: -.02em; }
  .feature p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

  /* Before and after */
  .vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .side { padding: 28px; }
  .side.plain { background: rgba(255, 255, 255, .025); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .side.plain::before { background: rgba(255, 255, 255, .08); }
  .side h3 { font: 600 24px/1.15 var(--display); letter-spacing: -.025em; margin: 10px 0 20px; }
  .log { display: grid; gap: 10px; font-size: 14.5px; }
  .log div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; color: var(--muted); }
  .log time { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 2px; }
  .side:not(.plain) .log div { color: var(--ink); }
  .strike { text-decoration: line-through; text-decoration-color: var(--faint); }

  /* Comparison */
  .table { overflow-x: auto; padding: 6px; }
  table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
  th, td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
  tr:last-child td { border-bottom: 0; }
  th { font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  th:first-child, td:first-child { text-align: left; color: var(--muted); }
  th.us, td.us { background: rgba(255, 250, 240, .07); color: var(--ink); }
  thead th.us { border-radius: 14px 14px 0 0; } tbody tr:last-child td.us { border-radius: 0 0 14px 14px; }
  td { color: var(--muted); }
  .yes { color: var(--ink); } .no { color: var(--faint); }

  /* Last call */
  .final { text-align: center; padding: 150px 0 130px; }
  .final h2 { font: 600 clamp(40px, 6.2vw, 78px)/.98 var(--display); letter-spacing: -.035em; margin: 18px auto 18px; max-width: 14ch; }
  .final .lede { margin-bottom: 30px; }

  /* "Your download has started": shown over the page after a Download button. */
  .started { margin: auto; width: min(480px, 100% - 32px); max-height: calc(100% - 32px); overflow: auto; padding: 30px 28px 24px;
             border: 0; color: var(--ink); background: linear-gradient(180deg, rgba(40, 37, 32, .92), rgba(22, 21, 18, .94)); text-align: left; }
  .started::backdrop { background: rgba(8, 7, 6, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .started h2 { font: 600 28px/1.08 var(--display); letter-spacing: -.025em; margin: 10px 0 18px; }
  .started .close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 999px; border: 0; cursor: pointer;
                    background: rgba(243, 239, 231, .08); color: var(--muted); font: 18px/1 var(--sans); }
  .started .close:hover { color: var(--ink); }
  .install { counter-reset: n; list-style: none; display: grid; gap: 10px; }
  .install li { counter-increment: n; display: flex; gap: 12px; font-size: 15px; color: var(--muted); }
  .install li::before { content: counter(n); flex: none; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center;
                        font: 12px var(--mono); color: var(--ink); background: rgba(243, 239, 231, .1); }
  .install b { color: var(--ink); font-weight: 500; }
  .started .again { margin-top: 16px; font-size: 14px; color: var(--muted); }
  .started .again a { color: var(--ink); }
  .updates { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
  .updates > p:first-child { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
  .updates b { color: var(--ink); font-weight: 500; }
  .signup { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
  .signup input { min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; outline: none;
                  background: rgba(243, 239, 231, .07); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 15px var(--sans); }
  .signup input:focus { box-shadow: inset 0 0 0 1px rgba(243, 239, 231, .4); }
  .signup input::placeholder { color: var(--faint); }
  .signup .btn { grid-column: 1 / -1; }
  .signup .also { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); cursor: pointer; }
  .signup .also input { width: 16px; height: 16px; padding: 0; accent-color: var(--ink); }
  #for-mac .signup, #windows .signup { grid-template-columns: 1fr; }
  #windows .lead { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
  #windows [data-vote] { width: 100%; }
  #windows [hidden] { display: none; }
  #windows [data-vote-note] { margin-top: 10px; }
  .updates .fine { font-size: 12px; color: var(--faint); }
  .updates .fine a { color: var(--muted); }
  @media (max-width: 420px) { .signup { grid-template-columns: 1fr; } }
  footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--faint); }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  footer a { text-decoration: none; } footer a:hover { color: var(--ink); }


  /* Only active time: what you do, and what the clock does. */
  .flow { max-width: 820px; padding: 8px 26px; }
  .f-row { display: grid; grid-template-columns: 1fr 28px minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .f-row:last-child { border-bottom: 0; }
  .f-do { font: 500 clamp(16px, 2vw, 19px)/1.3 var(--display); letter-spacing: -.015em; }
  .f-arrow { color: var(--faint); font-size: 18px; text-align: center; }
  .f-is { display: inline-flex; align-items: center; gap: 9px; justify-self: start; font-size: 14.5px; color: var(--muted); }
  .f-is::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
  .f-is.off::before { background: #e9a23b; }
  .f-is.on { color: var(--ink); }
  .f-is.on::before { background: var(--ink); box-shadow: 0 0 10px rgba(243, 239, 231, .6); }
  .flow-note { color: var(--muted); font-size: 15px; margin-top: 22px; max-width: 60ch; }
  @media (max-width: 620px) {
    .flow { padding: 4px 18px; }
    .f-row { grid-template-columns: 1fr; gap: 6px; }
    .f-arrow { display: none; }
  }

  /* One day, two ways: a timer's single bar against Paidtime's real minutes. */
  .day { padding: 30px 30px 66px; display: grid; gap: 34px; }
  .lane-hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
  .lane-hd span { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .lane-hd b { font: 600 clamp(28px, 4vw, 40px)/1 var(--display); letter-spacing: -.03em; }
  .lane:first-child .lane-hd b { color: var(--muted); }
  .track { position: relative; height: 44px; border-radius: 12px; background: rgba(243, 239, 231, .05); box-shadow: inset 0 0 0 1px var(--line); }
  .seg { position: absolute; top: 6px; bottom: 6px; border-radius: 7px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
  .day.in .seg { transform: scaleX(1); }
  .lane:nth-child(2) .seg { transition-delay: .5s; }
  .seg.timer { background: repeating-linear-gradient(135deg, rgba(243, 239, 231, .22) 0 6px, rgba(243, 239, 231, .13) 6px 12px); }
  .p1 { background: #5c8ce6; } .p2 { background: #d96180; } .p3 { background: #9475db; }
  /* A gap's name sits above the bar, on a hairline down into the empty stretch. */
  .gap { position: absolute; top: -26px; bottom: 10px; display: flex; flex-direction: column; align-items: center; font: 500 10.5px/1 var(--mono); color: var(--faint); white-space: nowrap; }
  .gap::after { content: ""; flex: 1; width: 1px; margin-top: 5px; background: var(--line-2); }
  .lane:nth-child(2) .lane-hd { margin-bottom: 38px; }
  /* What you worked on hangs below each block, mirroring the breaks above. */
  .work { position: absolute; top: calc(100% - 10px); height: 40px; display: flex; flex-direction: column; align-items: center; font-size: 12.5px; line-height: 1; color: var(--muted); white-space: nowrap; }
  .work::before { content: ""; flex: 1; width: 1px; margin-bottom: 5px; background: var(--line-2); }
  .work b { color: var(--ink); font-weight: 500; margin-left: 3px; }
  .ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 11px var(--mono); color: var(--faint); }
  .lane-note { margin-top: 6px; font-size: 14px; color: var(--muted); }
  .split { display: none; flex-wrap: wrap; gap: 10px 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
  .split b { color: var(--ink); font-weight: 500; margin-left: 6px; }
  .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

  /* Phases: one project, split by the apps you were in. */
  .phases { padding: 30px 30px 24px; }
  .ph-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
  .ph-hd img { width: 34px; height: 34px; }
  .ph-hd b { display: block; font: 600 17px/1.2 var(--display); letter-spacing: -.015em; }
  .ph-hd span { font-size: 13px; color: var(--muted); }
  .ph-bar { display: flex; gap: 4px; height: 14px; margin-bottom: 18px; }
  .ph-bar i { border-radius: 5px; }
  .c1 { background: #4da8b8; } .c2 { background: #dbb84d; } .c3 { background: #5c8ce6; } .c4 { background: #859e7a; }
  .ph-rows { display: grid; }
  .ph-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px; align-items: center; gap: 12px; padding: 12px 0 12px 20px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
  .ph-row .dot { position: absolute; left: 0; top: 50%; margin-top: -4.5px; }
  .ph-row .dim { color: var(--faint); font-size: 13.5px; }
  .ph-row b { font-weight: 500; font-size: 14px; text-align: right; }
  .ph-row b.over { color: #e9a23b; }
  .ph-row.sub { border-top: 0; padding-top: 0; grid-template-columns: 1fr; color: var(--muted); font-size: 13px; }
  .ph-foot { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
  @media (max-width: 620px) {
    .day, .phases { padding: 22px 18px 20px; }
    .day { gap: 26px; }
    .gap, .work { display: none; }
    .split { display: flex; }
    .lane:nth-child(2) .lane-hd { margin-bottom: 12px; }
    .ph-row { grid-template-columns: minmax(0, 1fr) auto; }
    .ph-row .dim { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { .seg { transform: none; transition: none; } }

  /* A handwritten note over the live demo, its arrow nudging toward the window. */
  .demo-wrap { position: relative; }
  .try { position: absolute; z-index: 2; right: max(0px, calc(50% - 560px)); top: -78px; display: flex; align-items: flex-start; gap: 4px;
         color: #f3d9a4; font: 600 26px/1.05 Caveat, "Bradley Hand", cursive; transform: rotate(-4deg); pointer-events: none; text-align: right; }
  .try svg { margin-top: 18px; animation: wiggle 1.6s ease-in-out infinite; transform-origin: 10% 10%; }
  @keyframes wiggle { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-3px, 5px) rotate(-6deg); } }
  @media (max-width: 720px) { .try { font-size: 20px; top: -62px; right: 6px; } .try svg { width: 40px; height: 46px; margin-top: 12px; } .demo-wrap { margin-top: 84px; } }

  /* Works with: one quiet row of icons. */
  .apps-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 44px; font-size: 14px; color: var(--muted); }
  .apps-row .icons { display: flex; gap: 10px; }
  .apps-row img { width: 30px; height: 30px; }

  .head p.setup b { color: var(--ink); font-weight: 500; }

  .rounds .side { padding: 30px; }
  .rounds .m-budget { width: 100%; }

  @media (max-width: 620px) {
    /* The comparison fits a phone: no sideways scroll, spreadsheet column left out. */
    .table { overflow: visible; padding: 4px; }
    table { min-width: 0; font-size: 12.5px; table-layout: fixed; }
    th, td { padding: 12px 6px; }
    th { font-size: 9.5px; letter-spacing: .03em; }
    th:first-child, td:first-child { width: 36%; padding-left: 10px; }
    th:last-child, td:last-child { display: none; }
    /* Works with: icons and one short line, nothing left dangling. */
    .apps-row { gap: 10px; }
    .apps-row .mono { display: none; }
    .apps-row img { width: 26px; height: 26px; }
    .apps-row .icons { gap: 8px; }
  }


  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }

  @media (max-width: 900px) {
    .steps, .vs, .features { grid-template-columns: 1fr; }
    .nav-links a:not(.pt-me) { display: none; }
    .nav-links { gap: 6px; margin-left: 12px; }
    .menu-btn { display: flex; }
    nav.open .nav-menu { display: flex; }
    .stage { height: 280px; }
  }
  @media (max-width: 520px) {
    .hero { padding-top: 128px; }
    .has-friend .hero { padding-top: 150px; }
    #friend-bar { height: 28px; font-size: 12.5px; gap: 6px; }
    #friend-bar .long { display: none; }
    .has-friend nav { top: 38px; }
    section { padding-top: 84px; }
    .join .btn { padding: 0 14px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee .track, .caret, .try svg { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
  }

/* A small tag for what's still in beta. */
.beta { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font: 600 10px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; color: #e9a23b; background: rgba(233, 162, 59, .14); }

/* People in a team, drawn like the app's round photos. */
.av { flex: none; object-fit: cover; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 600 8px/1 var(--mac); color: #fff; letter-spacing: .02em; }
.m-budget .hd .av { width: 26px; height: 26px; border-radius: 7px; font-size: 10px; }
.a1 { background: #3d5a80; } .a2 { background: #c07a4f; } .a3 { background: #5c8ce6; } .a4 { background: #859e7a; } .a5 { background: rgba(255, 255, 255, .16); } .a6 { background: #9475db; }
.m-budget .people { gap: 7px; }
.m-budget .people .r span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.tick { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.tick.on { background: #5c8ce6; box-shadow: none; color: #fff; }

/* Teams: who sees what. */
.who { margin-top: 14px; padding: 28px 30px 24px; }
.who h3 { font: 600 19px/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.who-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.who-row span:last-child { color: var(--muted); }
.who-foot { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 620px) { .who { padding: 22px 18px 18px; } .who-row { grid-template-columns: 1fr; gap: 2px; } }

/* Pricing: Personal once, Team yearly. */
.plans { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 18px; margin: 40px auto 20px; text-align: left; }
/* A wide, soft warm wash behind the cards for the glass to bend: no shape, just light. */
.plans::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: -30%; right: -30%; top: 8%; bottom: 8%;
                 background: linear-gradient(100deg, transparent 0%, rgba(243, 214, 172, .10) 30%, rgba(255, 220, 175, .16) 62%, transparent 100%); filter: blur(40px); }
.plan { padding: 26px 28px 26px; display: flex; flex-direction: column; }
.plan-hd { height: 44px; margin-bottom: 18px; display: flex; align-items: center; }
.plan-icon { width: 44px; height: 44px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.faces { display: flex; align-items: center; }
.faces > * { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px #1d1a16, 0 6px 14px -4px rgba(0, 0, 0, .6); }
.faces > * + * { margin-left: -9px; }
.faces span { display: grid; place-items: center; background: #2c2822; color: var(--muted); font: 500 12px/1 var(--sans); }
.plan .amount { margin-top: 12px; color: var(--muted); font-size: 17px; }
.plan .amount b { display: inline-block; font: 600 60px/1 var(--display); letter-spacing: -.04em; color: var(--ink); margin-right: 6px;
                  background: linear-gradient(180deg, #fffaf1 30%, #cfc5b4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan .amount b::first-letter { font-size: .5em; vertical-align: .82em; margin-right: .06em; letter-spacing: 0; }
.plan .for { margin-top: 12px; font-size: 15px; color: var(--ink); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center;
                   font-size: 9.5px; line-height: 1; color: var(--ink); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.plan .cta { justify-content: flex-start; }
.plan .note { margin-top: 10px; }
/* The team card catches more of the corona: a warm edge and glow. */
.plan.team { background: linear-gradient(180deg, rgba(255, 228, 190, .10), rgba(255, 240, 220, .025));
             box-shadow: inset 0 1px 0 rgba(255, 236, 205, .3), 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 90px -30px rgba(255, 206, 150, .28); }
.plan.team::before { background: linear-gradient(150deg, rgba(255, 222, 178, .7), rgba(255, 255, 255, .06) 34%, rgba(255, 255, 255, .02) 62%, rgba(255, 214, 165, .38)); }
.plan.team li::before { color: #1a1612; background: linear-gradient(#f6e6cc, #d9bf98); box-shadow: none; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.install a { color: var(--ink); }
.plan .once { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 10px; color: #14120f; background: linear-gradient(#f8f5ef, #d9d4ca); vertical-align: 1px; }

/* The live demo's Personal / Team switch: a small page control, just below the Mac. */
.demo-switch { display: flex; justify-content: center; margin: 22px 0 0; }
.demo-switch .segs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
                     background: linear-gradient(180deg, rgba(255, 250, 240, .08), rgba(255, 250, 240, .03));
                     box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(243, 239, 231, .10), 0 18px 40px -20px rgba(0, 0, 0, .8);
                     backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.demo-switch .segs > i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
                         background: linear-gradient(#f8f5ef, #d9d4ca); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); transition: transform .4s cubic-bezier(.34, 1.35, .5, 1); }
.demo-switch .segs.team > i { transform: translateX(100%); }
.demo-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 16px;
                      border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 13.5px/1 var(--sans); color: var(--muted); transition: color .25s ease; }
.demo-switch button:hover { color: var(--ink); }
.demo-switch button.on { color: #14120f; }
.demo-switch button svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .demo-switch .segs > i { transition: none; } }

/* Pricing: the Windows vote, for everyone. */
.win { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 738px; margin: 0 auto 8px; padding: 14px 14px 14px 22px;
       border-radius: 18px; text-align: left; font-size: 14.5px; color: var(--muted); }
.win b { color: var(--ink); font-weight: 500; }
.win .btn { flex: none; }
@media (max-width: 720px) { .win { flex-direction: column; align-items: flex-start; } }
.note s.was { margin-left: 5px; opacity: .6; }


/* Pricing: one quiet line that points to the Trustpilot reviews. */
.tp { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 13px; color: var(--faint); }
.tp svg { flex: none; }
.tp p { margin: 0; }
.tp a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.tp a:hover { text-decoration-color: currentColor; }
