/* Feather Widgets home, revamp 2026-11-26: "Your apps on top, Feather underneath". The page is an app window that
   scrolls up over a sea-at-blue-hour wallpaper (made with Gemini); glass only on the widgets (that is the product); mint only on the
   Store button and focus; gold only for Pro. Brief settled by two designers; see docs in the app repo. */
@font-face { font-family: "Geist"; src: url("geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0B0B0D;            /* the page window */
  --raise: #1E1F24;          /* raised surfaces inside it */
  --text: #F2F2F4;
  --text2: #A1A3AB;
  --line: rgb(255 255 255 / 0.09);
  --mint: #8EF0C4;           /* Store button and focus only */
  --gold: #F2C27A;           /* Pro: text and a 1 px outline */
  --ground: #0D1626;         /* the wallpaper's deep water */
  --font: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1120px;
  --quint: cubic-bezier(.22, 1, .36, 1);
  /* the two wallpaper widgets: 444 px when there is room beside the hero text (at least 24 px apart), never under 404 */
  --wcard: clamp(404px, calc(100vw - 2 * var(--gutter) - 600px), 444px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 17px/1.55 var(--font); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: underline; text-decoration-color: rgb(242 242 244 / .4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
/* on the wallpaper (light haze) mint fails 3:1: a dark ring inside a light one */
.stage :focus-visible, .outro :focus-visible { outline: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--text); outline-offset: 2px; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--text); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- the Store button (the one action colour) ---------- */
.get {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 600; text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
  transition: scale .1s ease-out, filter .15s ease-out;
}
.get.small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.get:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .get:hover { filter: brightness(1.06); text-decoration: none; } }

/* ---------- the wallpaper stage ---------- */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; isolation: isolate; }
.wall, .wall img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall img { object-fit: cover; object-position: 70% 50%; }
/* on wider screens the picture is 125 % tall and pinned to the top, so the horizon sits at about 62 %, under the
   hero's note, not through the Store button */
@media (min-width: 761px) { .wall { overflow: hidden; } .wall img { height: 125%; object-position: 70% 0; } }
.top { position: absolute; left: var(--gutter); right: var(--gutter); top: 20px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.mark { color: var(--text); display: block; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.toplink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--text);
  text-decoration: none; text-shadow: 0 1px 10px rgb(0 0 0 / .45); }
@media (hover: hover) and (pointer: fine) { .toplink:hover { text-decoration: underline; text-decoration-color: rgb(242 242 244 / .6); } }
.top .mark svg { height: 58px; width: auto; }
.hero { position: absolute; left: var(--gutter); top: clamp(108px, 18vh, 190px); width: min(560px, 100% - 2 * var(--gutter)); z-index: 3; transition: opacity .3s, visibility .3s; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; margin-bottom: 18px; }
.hero p { font-size: 19px; color: rgb(242 242 244 / .86); max-width: 46ch; }
.hero .get { margin-top: 8px; }
.note { font-size: 14px; color: var(--text); margin-top: 14px; }
.stage.past .hero, .stage.past .top { opacity: 0; visibility: hidden; }

/* glass widgets: the product's look, drawn in HTML (Geist, the app's own font) */
.w {
  position: absolute; z-index: 2; border-radius: 10px; color: #fff;
  background: rgb(255 255 255 / .10); border: 1px solid rgb(255 255 255 / .20);
  -webkit-backdrop-filter: blur(26px) saturate(140%); backdrop-filter: blur(26px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18);
  font-variant-numeric: tabular-nums;
}
.w-clock { right: var(--gutter); top: clamp(108px, 18vh, 190px); width: var(--wcard); height: 160px; gap: 16px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 28px; }
.clock-time { display: flex; align-items: flex-start; gap: 6px; flex: none; }
.clock-time #hm { font-size: 72px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.clock-time .ap { font-size: 17px; font-weight: 600; margin-top: 6px; opacity: .9; }
.clock-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.clock-side .wd { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .78; }   /* as the widget draws it */
.clock-side .dt { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.secs { width: 132px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .22); margin-top: 10px; overflow: hidden; }
.secs i { display: block; height: 100%; width: 0; background: #fff; border-radius: 2px; }
.w-prog { right: var(--gutter); top: calc(clamp(108px, 18vh, 190px) + 176px); width: var(--wcard); padding: 18px 22px; display: grid; gap: 10px; }
.w-prog .row { display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 12px; font-size: 15px; }
.w-prog .bar { height: 6px; border-radius: 3px; background: rgb(255 255 255 / .2); overflow: hidden; }
.w-prog .bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.w-prog b { font-weight: 600; text-align: right; }
.w.paused { box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); }
/* you can move them and change their glass, as in the app: drag (mouse) or tap/click (cycles the app's four glass looks) */
.w { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; transition: background-color .2s, border-color .2s, box-shadow .2s; }
/* press: the glass brightens at once (no change of size, so a drag never starts with a twitch); while dragging it rides
   above the other widget on its own layer */
.w.pressed { border-color: rgb(255 255 255 / .34); transition: border-color .08s ease-out; }
.w.dragging { cursor: grabbing; z-index: 4; will-change: transform; border-color: rgb(255 255 255 / .30); transition: none; }
.w:focus-visible { outline: 2px solid #0B0B0D; box-shadow: 0 0 0 4px #fff; }
.w.g-lighter { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(255 255 255 / .16); }
.w.g-text { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; text-shadow: 0 1px 2px rgb(0 0 0 / .35), 0 2px 14px rgb(0 0 0 / .45); }   /* CSS text-shadow is fine on the web (the no-Effect rule is WPF's) */
.w.g-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(30 31 36 / .96); border-color: rgb(255 255 255 / .08); }
.glass-tip { position: absolute; z-index: 3; pointer-events: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; background: rgb(15 20 36 / .78); opacity: 0; white-space: nowrap; }

/* the island: a pill at the bottom edge; its panel grows upward from it */
.island { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; z-index: 4; display: flex; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .16); background: rgb(11 11 13 / .62); color: var(--text);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font: 600 14px var(--font); cursor: pointer;
  font-variant-numeric: tabular-nums; transition: scale .1s ease-out; white-space: nowrap;
}
.pill:active { scale: .97; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text); opacity: .8; }
.pill .pl { color: var(--text2); font-weight: 500; }
.panel {
  position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: min(660px, calc(100vw - 2 * var(--gutter)));
  border-radius: 22px; padding: 14px 16px 16px; background: rgb(14 14 16 / .82);
  border: 1px solid rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%);
  transform-origin: 50% 100%; visibility: hidden; opacity: 0;
}
.island.open .panel { visibility: visible; opacity: 1; }
.island.open .pill { visibility: hidden; }
.panel .tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--text2); margin-bottom: 12px; }
.panel .tabs span { padding: 5px 10px; border-radius: 999px; }
.panel .tabs .on { background: rgb(255 255 255 / .12); color: var(--text); }
.cal { display: grid; grid-template-columns: 180px 1fr; gap: 10px; }
.cal > div { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .07); border-radius: 14px; padding: 14px; }
.today { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.today .dname { color: var(--mint); font-weight: 600; font-size: 14px; }
.today b { font-size: 52px; line-height: 1; letter-spacing: -0.03em; }
.today span { font-size: 14px; }
.today .wk { color: var(--text2); }
.month .mh { font-size: 14px; margin-bottom: 8px; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: 12.5px; text-align: center; font-variant-numeric: tabular-nums; }
.grid span { padding: 3px 0; border-radius: 999px; }
.grid .h { color: var(--text2); }
.grid .out { color: rgb(242 242 244 / .35); }
.grid .now { background: var(--mint); color: var(--ink); font-weight: 700; }

/* ---------- the page window ---------- */
.window { position: relative; z-index: 5; background: var(--ink); border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 rgb(255 255 255 / .08), 0 -24px 64px rgb(0 0 0 / .45); }
.titlebar {
  position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 24px; height: 64px;
  padding: 0 var(--gutter); background: var(--ink); border-bottom: 1px solid var(--line); border-radius: 22px 22px 0 0;
}
.titlebar .mark svg { height: 38px; width: auto; }
.titlebar nav { display: flex; gap: 22px; }
.titlebar nav a { text-decoration: none; color: var(--text2); font-size: 15px; padding: 10px 0; }
.titlebar nav a:hover { color: var(--text); }
.status { margin: 0 0 0 auto; font-size: 14px; color: var(--text2); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.status.paused::before { background: var(--text2); }

.sec { max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter) 24px; }
.sec h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 20px; }
.lead { font-size: 19px; color: var(--text2); max-width: 62ch; margin-bottom: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split p, .split li { color: var(--text2); }
.split p.quiet { font-size: 15px; }
.split img, .shot { border-radius: 14px; border: 1px solid var(--line); width: 100%; height: auto; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the demo video: a still poster until it scrolls into view; one round pause/play button over its corner */
.demo { margin: 0; }
.demo-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--ground); }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: pointer; }
.demo-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; color: var(--text); cursor: pointer;
  background: rgb(11 11 13 / .6); border: 1px solid rgb(255 255 255 / .18);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: scale .1s ease-out;
}
.demo-toggle:active { scale: .97; }
.demo-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.demo-toggle .i-play { translate: 8% 0; }
.demo-toggle .i-play, .demo-toggle.is-paused .i-pause { display: none; }
.demo-toggle.is-paused .i-play { display: block; }
.demo figcaption { margin-top: 12px; font-size: 14px; color: var(--text2); }
@media (hover: hover) and (pointer: fine) { .demo-toggle:hover { background: rgb(11 11 13 / .78); } }

ul.plain { margin: 0 0 1em; padding-left: 1.1em; }
ul.plain li { margin: .35em 0; }

/* the group chips: one light pill slides to the chip you pick (as in the app's gallery) */
.chips { position: relative; display: flex; gap: 8px; margin: 40px 0 24px; overflow-x: auto; padding: 2px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.chips::-webkit-scrollbar { display: none; }
/* ten groups since 0.1.8: slightly tighter chips so they fit one row at 1280 px */
@media (min-width: 761px) { .chips { gap: 6px; } .chips button[role="tab"] { padding: 0 13px; } }
.chips button {
  position: relative; z-index: 1; flex: none; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid rgb(255 255 255 / .14);
  background: transparent; color: var(--text2); font: 500 15px var(--font); cursor: pointer; transition: scale .1s ease-out;
}
.chips button:active { scale: .97; }
.chips button[aria-selected="true"] { color: var(--ink); border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .chips button:hover { color: var(--text); border-color: rgb(255 255 255 / .3); } .chips button[aria-selected="true"]:hover { color: var(--ink); } }
.chip-pill { position: absolute; top: 2px; left: 0; height: 44px; border-radius: 22px; background: var(--text); z-index: 0; pointer-events: none; }
.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 40px; }
.list h3 { font-size: 15px; color: var(--text2); font-weight: 600; letter-spacing: 0; margin: 8px 0 6px; }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.list [hidden] { display: none; }
.pro { color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 1px 8px; }
.legend { color: var(--text2); font-size: 15px; margin-top: 24px; }

/* before you install: a ledger of three answers */
.ledger { border-top: 1px solid var(--line); margin-top: 12px; }
.entry { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.entry h3 { font-size: 24px; }
.entry p { color: var(--text2); max-width: 66ch; }
.spec { border-collapse: collapse; width: 100%; max-width: 560px; margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.spec thead th { color: var(--text2); font-size: 14px; }
.spec td { text-align: right; }
.spec thead th:not(:first-child) { text-align: right; }
.fine { font-size: 13.5px; color: var(--text2); }

/* the comparison: scrolls sideways on phones, with faded edges to show there's more; our column only in bold */
.cmp-wrap { overflow-x: auto; margin: 0 0 12px; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
.cmp-wrap:focus-visible { outline-offset: 2px; }
.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--text2); }
.cmp thead th { font-size: 14px; color: var(--text2); }
.cmp tbody th { color: var(--text); width: 170px; }
.cmp .us { color: var(--text); font-weight: 600; }
@media (min-width: 1100px) { .cmp-wrap { -webkit-mask-image: none; mask-image: none; } }

.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--text2); border-bottom: 2px solid var(--text2); rotate: 45deg; transition: rotate .2s var(--quint); }
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq .a { padding: 0 0 18px; color: var(--text2); max-width: 68ch; }
code { font-size: .92em; background: var(--raise); padding: 1px 6px; border-radius: 6px; }
.window::after { content: ""; display: block; height: 96px; }

/* the window ends; the wallpaper (still behind everything) shows again */
.outro { position: relative; z-index: 4; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.outro-in { padding: 0 var(--gutter); width: min(600px, 100%); }
.outro h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-bottom: 24px; }
.foot { position: relative; z-index: 5; background: var(--ink); padding: 40px var(--gutter) 48px; font-size: 14px; color: var(--text2); }
.foot .cols { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 18px; }
.foot .cols a { color: var(--text); }
.foot p { margin: 0 0 6px; max-width: 90ch; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .w-prog { display: none; }
  .titlebar nav { display: none; }
}
/* between the phone layout and the side-by-side one the clock would sit on the hero text: it moves under it, bottom left,
   as on phones, and steps aside on short windows where it would still touch the text */
@media (min-width: 761px) and (max-width: 1100px) {
  .w-clock { left: var(--gutter); right: auto; top: auto; bottom: 76px; width: 404px; }
}
@media (min-width: 761px) and (max-width: 1100px) and (max-height: 759px) { .w-clock { display: none; } }
@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 28px; }
  .split.rev img { order: 2; }
  .entry { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  /* on a phone the horizon's warm glow sits right behind the hero text: a soft scrim keeps it at 4.5:1 or more */
  .stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgb(10 16 30 / .2) 0%, rgb(10 16 30 / .5) 36%, rgb(10 16 30 / .66) 52%, rgb(10 16 30 / 0) 70%); }
  .top .mark svg { height: 46px; }
  .hero { top: 92px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .w-clock { left: var(--gutter); right: auto; top: auto; bottom: 76px; width: min(340px, calc(100% - 2 * var(--gutter))); height: 132px; padding: 0 18px 0 20px; }
  .clock-time #hm { font-size: 58px; }
  .clock-side .dt { font-size: 19px; }
  .secs { width: 96px; }
  .cal { grid-template-columns: 1fr; }
  .cal .today { display: none; }
  .pill .pl { display: none; }
  .status { font-size: 13px; }
  .titlebar { gap: 14px; }
  .titlebar .mark svg { height: 32px; }
  .titlebar .get.small { display: none; }
  .sec { padding-top: 72px; }
}
@media (max-width: 760px) and (max-height: 700px) { .w-clock { display: none; } }

/* ---------- comfort settings ---------- */
@media (prefers-reduced-transparency: reduce) {
  .w, .pill, .panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(30 31 36 / .96); }
  .demo-toggle { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(11 11 13 / .92); }
}
@media (prefers-contrast: more) {
  .w, .pill, .panel { border-color: rgb(255 255 255 / .6); }
  .lead, .split p, .entry p, .faq .a, .status { color: var(--text); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
