/* site.css — shared styles for walterlauncher.com (homepage + /vs-* pages).
   Extracted from index.html so every page shares one source of truth. */

:root {
      --leather:   #0d0c0b;   /* near-black leather */
      --leather-2: #16140f;   /* raised leather */
      --panel:     #1b1813;   /* card surface */
      --thread:    #ece5d6;   /* cream stitching thread = primary text */
      --thread-dim:#a59d8c;   /* muted thread */
      --thread-faint:#6f685b;
      --brass:     #c8a876;   /* brass hardware accent */
      --brass-hi:  #e2c79b;
      --stitch:    rgba(236,229,214,.34); /* dashed stitching color */
      --hair:      rgba(236,229,214,.10);
      --warm-sel:  #3a2a1a;   /* the launcher's warm selection highlight */
      --radius:    18px;
      --maxw:      1180px;
      --serif: "Fraunces", Georgia, serif;
      --sans: "Hanken Grotesk", -apple-system, sans-serif;
      --mono: "JetBrains Mono", ui-monospace, monospace;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
    body {
      background: var(--leather);
      color: var(--thread);
      font-family: var(--sans);
      font-size: 17px;
      line-height: 1.6;
      overflow-x: hidden;
      /* leather grain: layered radial + fine noise */
      background-image:
        radial-gradient(120% 80% at 50% -10%, #1a1712 0%, transparent 60%),
        radial-gradient(90% 60% at 90% 10%, rgba(200,168,118,.05) 0%, transparent 55%);
      background-attachment: fixed;
    }
    /* fine grain overlay */
    body::before {
      content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
      opacity: .5; mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
    }
    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

    a { color: inherit; text-decoration: none; }
    .eyebrow {
      font-family: var(--mono); font-size: 12px; font-weight: 500;
      letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
    }

    /* ---- stitched border motif (the glove's white stitching) ---- */
    .stitched {
      position: relative;
      border: 1.5px dashed var(--stitch);
      border-radius: var(--radius);
      background: var(--panel);
    }
    .stitched::after { /* inner hairline so the stitch reads as a seam */
      content: ""; position: absolute; inset: 5px; border-radius: calc(var(--radius) - 6px);
      border: 1px solid var(--hair); pointer-events: none;
    }

    /* ---- nav ---- */
    header.nav {
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: blur(14px) saturate(120%);
      background: rgba(13,12,11,.7);
      border-bottom: 1px solid var(--hair);
    }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
    .brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
    .brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.6); }
    .nav-links { display: flex; align-items: center; gap: 30px; }
    .nav-links a { font-size: 14.5px; color: var(--thread-dim); transition: color .18s; }
    .nav-links a:hover { color: var(--thread); }
    .nav-links a.btn-primary { color: #1a140c; } /* override muted nav color so button label stays dark on brass */
    .nav-links a.btn-primary:hover { color: #1a140c; }
    .btn {
      font-family: var(--sans); font-weight: 600; font-size: 15px;
      padding: 11px 20px; border-radius: 11px; cursor: pointer; border: none;
      display: inline-flex; align-items: center; gap: 9px; transition: transform .16s, box-shadow .2s, background .2s;
    }
    .btn-primary { background: var(--brass); color: #1a140c; box-shadow: 0 6px 22px -8px rgba(200,168,118,.7); }
    .btn-primary:hover { background: var(--brass-hi); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(200,168,118,.6); }
    .btn-ghost { background: transparent; color: var(--thread); border: 1.5px dashed var(--stitch); }
    .btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
    .nav .btn { padding: 9px 17px; }
    .nav-links a.navlink-hide { }

    /* ---- hero ---- */
    .hero { padding: 84px 0 64px; }
    .hero-mark { position: relative; width: 82px; height: 82px; margin-bottom: 26px; }
    .hero-mark img { width: 82px; height: 82px; border-radius: 19px; position: relative; z-index: 1;
      box-shadow: 0 18px 42px -12px rgba(0,0,0,.9), 0 2px 0 rgba(255,255,255,.05) inset, 0 0 0 1px rgba(236,229,214,.08); }
    .hero-mark::after { content: ""; position: absolute; inset: -14px; z-index: 0; border-radius: 30px;
      background: radial-gradient(circle, rgba(200,168,118,.32), transparent 70%); filter: blur(16px); }
    .hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
    .hero h1 {
      font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 5.6vw, 76px);
      line-height: .98; letter-spacing: -.025em; margin: 20px 0 0;
    }
    .hero h1 .ital { font-style: italic; font-weight: 500; color: var(--brass-hi); }
    .hero .sub { font-size: 19px; color: var(--thread-dim); margin: 24px 0 0; max-width: 30em; }
    .hero .sub strong { color: var(--thread); font-weight: 600; }
    .cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
    .cta-row .btn { padding: 14px 26px; font-size: 16px; }
    .stat-row { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
    .stat { display: flex; flex-direction: column; gap: 2px; }
    .stat b { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--thread); line-height: 1; }
    .stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--thread-faint); margin-top: 6px; }
    .stat-div { width: 1px; background: var(--hair); }

    /* speed band */
    .speed-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .metric { padding: 36px 32px; }
    .metric b { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; color: var(--brass-hi); display: block; line-height: 1; letter-spacing: -.02em; }
    .metric span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--thread-faint); margin-top: 16px; display: block; }

    /* ---- the launcher mockup (CSS recreation) ---- */
    .launcher-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
    .launcher-stage::before {
      content: ""; position: absolute; width: 78%; height: 78%; top: 11%; left: 11%;
      background: radial-gradient(circle, rgba(200,168,118,.16), transparent 68%); filter: blur(34px); z-index: 0;
    }
    .launcher {
      position: relative; z-index: 1; width: 100%; max-width: 440px;
      background: rgba(20,18,16,.74); backdrop-filter: blur(40px) saturate(150%);
      border-radius: 20px; border: 1px solid rgba(236,229,214,.12);
      box-shadow: 0 40px 80px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
      overflow: hidden; animation: floaty 7s ease-in-out infinite;
    }
    @keyframes floaty { 0%,100% { transform: translateY(0) rotateX(2deg); } 50% { transform: translateY(-12px) rotateX(2deg); } }
    .l-search { display: flex; align-items: center; gap: 13px; padding: 19px 21px; border-bottom: 1px solid rgba(236,229,214,.08); }
    .l-search svg { width: 19px; height: 19px; color: var(--thread-dim); flex: none; }
    .l-query { font-family: var(--sans); font-size: 21px; color: var(--thread); font-weight: 500; }
    .l-caret { display: inline-block; width: 2px; height: 22px; background: var(--brass); margin-left: 1px; vertical-align: middle; animation: blink 1s steps(1) infinite; }
    @keyframes blink { 50% { opacity: 0; } }
    .l-results { padding: 8px; min-height: 256px; }
    .l-row { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 11px; }
    .l-row.sel { background: linear-gradient(90deg, var(--warm-sel), rgba(58,42,26,.35)); }
    .l-ico { width: 34px; height: 34px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 17px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
    .l-meta { flex: 1; min-width: 0; }
    .l-title { font-size: 15px; font-weight: 600; color: var(--thread); }
    .l-path { font-family: var(--mono); font-size: 11px; color: var(--thread-faint); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .l-hint { font-family: var(--mono); font-size: 11px; color: var(--thread-faint); border: 1px solid var(--hair); padding: 2px 6px; border-radius: 5px; }
    .l-answer { margin-left: auto; font-family: var(--mono); font-size: 15px; color: var(--brass-hi); font-weight: 700; }

    /* ---- sections ---- */
    section { padding: 78px 0; }
    .sec-head { max-width: 40em; margin-bottom: 48px; }
    .sec-head h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.04; margin: 14px 0 0; }
    .sec-head h2 .ital { font-style: italic; color: var(--brass-hi); font-weight: 500; }
    .sec-head p { color: var(--thread-dim); margin-top: 16px; font-size: 18px; }

    /* four-things grid */
    .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .card { padding: 26px 24px 28px; transition: transform .2s, border-color .2s; }
    .card:hover { transform: translateY(-4px); border-color: var(--brass); }
    .card .num { font-family: var(--mono); font-size: 12px; color: var(--brass); letter-spacing: .1em; }
    .card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 14px 0 8px; }
    .card p { font-size: 14.5px; color: var(--thread-dim); line-height: 1.55; }
    .card .ex { font-family: var(--mono); font-size: 12px; color: var(--thread-faint); margin-top: 12px; display: block; }

    /* not-list */
    .nots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .not { padding: 28px 26px; }
    .not .x { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 19px; }
    .not h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin: 10px 0 8px; }
    .not p { font-size: 14.5px; color: var(--thread-dim); }

    /* config-as-code */
    .config-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
    .code { padding: 0; overflow: hidden; }
    .code-bar { display: flex; align-items: center; gap: 8px; padding: 13px 17px; border-bottom: 1px solid var(--hair); }
    .code-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
    .code-bar .fname { font-family: var(--mono); font-size: 12px; color: var(--thread-faint); margin-left: 8px; }
    pre.code-body { font-family: var(--mono); font-size: 13.5px; line-height: 1.85; padding: 22px 24px; overflow-x: auto; color: var(--thread-dim); }
    .code-body .k { color: var(--brass-hi); }
    .code-body .s { color: #b6c79a; }
    .code-body .c { color: var(--thread-faint); font-style: italic; }
    .code-body .t { color: #8fb6c9; }

    /* comparison table */
    .cmp-scroll { overflow-x: auto; border-radius: var(--radius); }
    table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
    table.cmp th, table.cmp td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--hair); }
    table.cmp thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--thread-dim); font-weight: 500; }
    table.cmp thead th.walter { color: var(--brass); }
    table.cmp tbody td:first-child { color: var(--thread-dim); }
    table.cmp td.walter { color: var(--thread); font-weight: 600; background: rgba(200,168,118,.05); }
    table.cmp .yes { color: var(--brass-hi); }
    table.cmp .no { color: var(--thread-faint); }
    table.cmp tr:last-child td { border-bottom: none; }

    /* screenshots */
    .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    .shot { padding: 14px; }
    .shot img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 20px 40px -16px rgba(0,0,0,.7); }
    .shot figcaption { font-family: var(--mono); font-size: 12px; color: var(--thread-faint); margin-top: 14px; text-align: center; letter-spacing: .04em; }

    /* faq */
    .faq { max-width: 760px; margin: 0 auto; }
    details.q { border-bottom: 1px solid var(--hair); padding: 22px 4px; cursor: pointer; }
    details.q summary { font-family: var(--serif); font-size: 21px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    details.q summary::-webkit-details-marker { display: none; }
    details.q summary .plus { color: var(--brass); font-family: var(--mono); transition: transform .2s; flex: none; }
    details.q[open] summary .plus { transform: rotate(45deg); }
    details.q p { color: var(--thread-dim); margin-top: 14px; font-size: 16px; max-width: 62ch; }

    /* download band */
    .download { text-align: center; }
    .download-card { padding: 64px 40px; text-align: center; }
    .download-card img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
    .download-card h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); font-weight: 600; letter-spacing: -.02em; margin: 22px 0 0; }
    .download-card h2 .ital { font-style: italic; color: var(--brass-hi); }
    .download-card p { color: var(--thread-dim); margin: 16px auto 0; max-width: 34em; }
    .download-card .cta-row { justify-content: center; }
    .micro { font-family: var(--mono); font-size: 12px; color: var(--thread-faint); margin-top: 22px; letter-spacing: .04em; }

    /* footer */
    footer.foot { border-top: 1px solid var(--hair); padding: 50px 0 60px; margin-top: 40px; }
    .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
    .foot-brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 19px; }
    .foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
    .foot-links { display: flex; gap: 26px; font-size: 14px; color: var(--thread-dim); }
    .foot-links a:hover { color: var(--brass); }
    .foot-note { font-family: var(--mono); font-size: 12px; color: var(--thread-faint); margin-top: 20px; }

    /* reveal on load */
    .reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
    @keyframes rise { to { opacity: 1; transform: none; } }
    .d1{animation-delay:.05s}.d2{animation-delay:.15s}.d3{animation-delay:.28s}.d4{animation-delay:.42s}.d5{animation-delay:.56s}

    @media (max-width: 900px) {
      .hero-grid, .config-grid { grid-template-columns: 1fr; gap: 40px; }
      .cards, .nots { grid-template-columns: 1fr 1fr; }
      .shots { grid-template-columns: 1fr; }
      .nav-links a { display: none; }
      .nav-links .btn { display: inline-flex; }
    }
    @media (max-width: 560px) {
      .cards, .nots { grid-template-columns: 1fr; }
      .hero { padding: 52px 0 40px; }
      .stat-div { display: none; }
    }
    @media (prefers-reduced-motion: reduce) {
      .launcher { animation: none; } .reveal { animation: none; opacity: 1; transform: none; }
    }

/* ---- comparison pages (/vs-raycast, /vs-alfred, /vs-spotlight) ---- */
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--thread-faint); letter-spacing: .04em; padding-top: 30px; }
.breadcrumb a:hover { color: var(--brass); }
.vs-hero { padding: 26px 0 16px; }
.vs-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.025em; margin: 16px 0 0; }
.vs-hero h1 .ital { font-style: italic; color: var(--brass-hi); font-weight: 500; }
.vs-hero .sub { font-size: 19px; color: var(--thread-dim); margin: 22px 0 0; max-width: 42em; }
.vs-hero .sub strong { color: var(--thread); font-weight: 600; }
.prose { max-width: 72ch; }
.prose p { color: var(--thread-dim); margin-top: 18px; font-size: 17px; }
.prose h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin-top: 40px; letter-spacing: -.01em; color: var(--thread); }
.prose strong { color: var(--thread); }
.prose a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; }
.verdict { padding: 30px 32px; }
.verdict .eyebrow { margin-bottom: 12px; }
.verdict p { color: var(--thread); font-size: 18px; line-height: 1.55; margin: 0; }
table.cmp td.win { color: var(--brass-hi); font-weight: 600; }
.crosslinks { display: flex; gap: 16px; flex-wrap: wrap; }
.crosslink { flex: 1; min-width: 230px; padding: 24px 26px; transition: border-color .2s, transform .2s; }
.crosslink:hover { border-color: var(--brass); transform: translateY(-3px); }
.crosslink h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-top: 8px; color: var(--thread); }
.crosslink p { color: var(--thread-dim); font-size: 14px; margin-top: 6px; }
