/* ==========================================================================
   sugusearch: marketing site
   iromote's sister site: the same white base, type, buttons, highlighter and
   hand-written notes. Always light (the user's pick in the hero lab).
   ========================================================================== */

/* ---------- fonts (self-hosted, copied from iromote's site) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/BricolageGrotesque-latin-ext.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gochi Hand";
  src: url("../assets/fonts/GochiHand-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;   /* always light, whatever the visitor's system says */
  --red: #e34d3c;
  --orange: #f49b00;
  --blue: #4787e9;

  --bg: #fff;
  --ink: #121212;
  --ink-2: #5b5b5b;
  --line: #ececec;
  --soft: #f6f6f4;
  --marker: rgba(244, 155, 0, 0.38);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  /* the box is drawn like the app: Windows' UI font, then whatever the system has */
  --app: "Segoe UI", system-ui, -apple-system, "Noto Sans", "Yu Gothic UI", "Meiryo UI", "Malgun Gothic", "Microsoft JhengHei UI", "Leelawadee UI", sans-serif;

  --content: 1096px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
img, svg {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: calc(var(--content) + 64px); margin: 0 auto; padding: 0 32px; position: relative; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.lede { font-size: 20px; color: var(--ink-2); }
.small { margin-top: 14px; font-size: 14px; color: var(--ink-2); }   /* as iromote: a little air under the text above */
/* each download shows for its own computer (boot.js sets os-mac or os-win), "Also on ..." links to the other */
.os-mac [data-os="win"], .os-win [data-os="mac"] { display: none !important; }
.small a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* one emphasised phrase per headline, marked with a slightly crooked highlighter */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.1em;
  right: -0.12em;
  top: 0.5em;
  bottom: 0.02em;
  background: var(--marker);
  border-radius: 0.12em 0.3em 0.1em 0.35em;
  transform: rotate(-1.2deg);
}

/* a key as it looks on the keyboard, inside running text */
kbd.cap {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 0.38em;
  border-radius: 0.28em;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #d6d6d6, 0 2px 0 #d6d6d6;
  font: 600 0.9em/1.5 var(--body);
  color: var(--ink);
  text-align: center;
}

/* ---------- hand-written notes ---------- */
.note {
  position: absolute;
  z-index: 15;
  font: 25px/1.1 var(--hand);
  color: var(--blue);
  white-space: nowrap;
  pointer-events: none;
}
.note--red { color: var(--red); }
.note--orange { color: #d98600; }
.note svg { position: absolute; overflow: visible; }
.note path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* over the CSP window, a soft white halo keeps the letters readable */
.note span { text-shadow: 0 0 3px #fff, 0 0 8px #fff, 0 0 14px #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 600 16px var(--body);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1.5px #dedede; }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Floating header (iromote's): full width at the top, a floating pill once you scroll
   ========================================================================== */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none; }
.topbar-inner {
  pointer-events: auto;
  max-width: calc(var(--content) + 64px);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  transition: max-width 0.45s var(--ease-out), margin 0.45s var(--ease-out), padding 0.45s var(--ease-out), background-color 0.3s, box-shadow 0.3s;
}
.brand img { height: 30px; width: auto; transition: height 0.3s; }
.topbar.is-floating .topbar-inner {
  max-width: 820px;
  margin-top: 14px;
  padding: 9px 9px 9px 24px;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
}
.topbar.is-floating .brand img { height: 26px; }
.nav { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 500; }
.nav > a:not(.btn) { text-decoration: none; }
.nav > a:not(.btn):hover { color: var(--ink-2); }

/* ==========================================================================
   1 · Hero: the line, the buttons, and a live sugusearch box over a CSP window
   ========================================================================== */
.hero { text-align: center; }
/* The first screen is for the words: a headline big enough to own the space, one short line,
   the buttons, and one quiet line of requirements. The CSP window's top peeks in at the bottom
   so it's clear there's more, without competing with the headline. */
.hero-intro {
  min-height: clamp(600px, calc(100svh - 150px), 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 64px;
}
.hero h1 { font-size: 70px; max-width: 1100px; margin: 0 auto; }
.hero .lede { max-width: 760px; margin: 34px auto 0; font-size: 21px; }
.hero .lede-what, .hero .lede-how { display: block; text-wrap: balance; }
.hero .lede-how { margin-top: 2px; }   /* even with the two lines above; the key caps make this line a touch taller */
.hero .ctas { margin-top: 40px; }
.also { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-2); }
.also a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero .also { margin-top: 22px; font-size: 15px; }
.hero .small { margin-top: 8px; }
.price-card .also { margin-top: 6px; }
.price-card .mac-beta { margin: 10px 0 14px; text-align: center; font-size: 13px; }

/* The demo: everything inside is placed by hero.js (the lab's layout A, scaled to the column) */
.demo { position: relative; margin: 0 auto; height: 756px; text-align: left; }

/* ---------- CSP window sketch (iromote's .csp, light) ---------- */
.csp {
  position: absolute;
  left: 0;
  top: 0;
  width: 1100px;
  height: 700px;
  transform-origin: 0 0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --c-frame: #d4d4d4; --c-bar: #ececec; --c-panel: #e6e6e6; --c-head: #d9d9d9; --c-line: #c9c9c9;
  --c-text: #3d3d3d; --c-text-2: #8a8a8a; --c-canvas-area: #a9a9a9; --c-fill: #cfcfcf; --c-accent: #b9cdf0;
  background: var(--c-frame);
  color: var(--c-text);
  font: 500 13px var(--body);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 30px 60px rgba(0, 0, 0, 0.14);
  user-select: none;
}
.csp-title { display: flex; justify-content: center; position: relative; padding: 7px 14px; background: var(--c-bar); color: var(--c-text-2); font-size: 12px; flex: none; }
.csp-dots { position: absolute; right: 14px; top: 50%; display: flex; gap: 14px; translate: 0 -50%; }
.csp-dots i { width: 10px; height: 10px; border: 1.5px solid var(--c-text-2); border-radius: 2px; }
.csp-menu { display: flex; gap: 22px; padding: 7px 18px; background: var(--c-bar); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); font-size: 14px; flex: none; white-space: nowrap; }
.csp-body { flex: 1; display: grid; grid-template-columns: 46px 210px 1fr 220px; min-height: 0; }
.csp-body > * { border-right: 1px solid var(--c-line); min-height: 0; overflow: hidden; }
.csp-body > :last-child { border-right: 0; }
.csp-tools { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; background: var(--c-panel); }
.csp-tools i { width: 22px; height: 22px; border-radius: 6px; background: var(--c-fill); flex: none; }
.csp-tools i.on { background: var(--c-accent); }
.csp-side { display: flex; flex-direction: column; background: var(--c-panel); }
.csp-head { padding: 7px 12px; background: var(--c-head); border-bottom: 1px solid var(--c-line); color: var(--c-text-2); font-size: 12px; font-weight: 600; }
.csp-head--low { margin-top: auto; }
.csp-blocks { padding: 10px; display: grid; gap: 8px; }
.csp-blocks i { height: 14px; border-radius: 4px; background: var(--c-fill); opacity: 0.7; }
.csp-canvas { position: relative; background: var(--c-canvas-area); }
/* an empty white page, like a fresh canvas */
.paper { position: absolute; inset: 22px 26px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.demo.is-phone .paper { inset: 10px; }
/* phones: only the canvas, in a rounded frame */
.demo.is-phone .csp { border-radius: 18px; }
.demo.is-phone .csp-title, .demo.is-phone .csp-menu { display: none; }
.demo.is-phone .csp-body { grid-template-columns: 1fr; }
.demo.is-phone .csp-body > :not(.csp-canvas) { display: none; }

/* ---------- the sugusearch box: the app's light theme (theme.rs), drawn in app units and scaled ---------- */
.ssb-wrap { position: absolute; left: 0; top: 0; z-index: 10; transform-origin: 0 0; }
.ssb {
  width: 760px;
  overflow: hidden;
  border-radius: 6px;
  --b-panel: #efefef; --b-deep: #e0e0e0; --b-list: #e7e7e7; --b-rule: #b8b8b8; --b-sel: #d3dfea; --b-tabon: #a3adb8;
  --b-text: #333; --b-strong: #1a1a1a; --b-dim: #737373; --b-seltx: #1a1a1a; --b-seldim: #4d5566; --b-kbd: #8f8f8f; --b-field: #fff; --b-search: #585858;
  --k-menu: #41679e; --k-tool: #2b8048; --k-filter: #94680d; --k-material: #b24c4c; --k-autoaction: #7a4aa0; --k-layer: #666;
  background: var(--b-panel);
  color: var(--b-text);
  font: 400 16px/1.25 var(--app);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 18px 50px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
}
.ssb-top { padding: 10px 12px 0; }
.ssb-field { display: flex; align-items: center; height: 36px; padding: 0 12px 0 10px; background: var(--b-field); border: 1px solid rgba(0, 0, 0, 0.25); cursor: text; }
.ssb-field img { width: 22px; height: 22px; flex: none; }
.ssb-field input {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 17px var(--app);
  color: #222;
  caret-color: #222;
}
.ssb-field input::placeholder { color: #8a8a8a; }
.ssb-dot { width: 10px; height: 10px; border-radius: 50%; background: #3dbd73; flex: none; }
.ssb-tabs { display: flex; gap: 2px; padding: 10px 0 8px; overflow-x: auto; scrollbar-width: none; }
.ssb-tabs::-webkit-scrollbar { display: none; }
.ssb-tabs button { flex: none; height: 29px; padding: 0 12px; border: 0; border-radius: 2px; background: var(--b-deep); color: var(--b-text); font: 400 15px var(--app); cursor: pointer; white-space: nowrap; }
.ssb-tabs button.on { background: var(--b-tabon); color: #fff; }
.ssb-list { background: var(--b-list); border-top: 1px solid var(--b-rule); }
.ssb-head { padding: 9px 14px 2px; font-size: 12px; letter-spacing: 0.08em; color: var(--b-dim); text-transform: uppercase; }
.ssb-row { display: flex; align-items: center; height: 52px; padding: 0 14px; cursor: pointer; }
.ssb-row.mat { height: 64px; }   /* a material's row: room for its thumbnail */
.ssb-row.grown { height: auto; min-height: 52px; padding-top: 7px; padding-bottom: 7px; }   /* the selected row shows every tag */
.ssb-row.mat.grown { min-height: 64px; }
.ssb-ico.mat { width: 52px; height: 52px; background: #fff; border-radius: 2px; }
.ssb-ico.mat img { width: 100%; height: 100%; object-fit: contain; }
/* a layer's tile: CSP's sheet or folder icon, and the layer's color as a strip under it */
.ssb-ico.lay { position: relative; overflow: hidden; }
.ssb-row.sel .ssb-ico.lay { background-color: rgba(0, 0, 0, 0.18); }
.ssb-ico .li { display: block; width: 20px; height: 20px; background: var(--b-search); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ssb-ico .li.folder { -webkit-mask-image: url(../assets/box/layer/layer-folder.png); mask-image: url(../assets/box/layer/layer-folder.png); }
.ssb-ico .li.sheet { width: 24.4px; height: 24.4px; -webkit-mask-image: url(../assets/box/layer/layer-sheet.png); mask-image: url(../assets/box/layer/layer-sheet.png); }
.ssb-ico.lay.colored .li { margin-top: -4px; }
.ssb-ico .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 2px; }
.ssb-eye { width: 20px; height: 20px; flex: none; margin-left: 10px; background: var(--b-dim); -webkit-mask: url(../assets/box/layer/layer-eye.png) center / contain no-repeat; mask: url(../assets/box/layer/layer-eye.png) center / contain no-repeat; }
.ssb-eye.off { opacity: 0.55; -webkit-mask-image: url(../assets/box/layer/layer-eye-hidden.png); mask-image: url(../assets/box/layer/layer-eye-hidden.png); }
.ssb-row.sel .ssb-eye { background: var(--b-seldim); }
.ssb-row.sel { background: var(--b-sel); }
.ssb-ico { width: 34px; height: 34px; flex: none; border-radius: 3px; background: var(--b-deep) center / cover no-repeat; display: grid; place-items: center; }
.ssb-ico b { width: 22px; height: 22px; border-radius: 3px; background: var(--b-kbd); color: #fff; font: 700 12px/22px var(--app); text-align: center; }
.ssb-txt { flex: 1; min-width: 0; margin-left: 14px; }
.ssb-name { font-size: 16px; color: var(--b-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssb-name b { font-weight: 700; }
.ssb-path { font-size: 12px; color: var(--b-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssb-row.sel .ssb-name { color: var(--b-seltx); }
.ssb-row.sel .ssb-path { color: var(--b-seldim); }
.ssb-stroke { height: 17px; width: 130px; margin-top: 1px; background: center / contain no-repeat; }   /* stroke-light: already dark ink, colors kept */
/* your keywords on a row (the app's tags lab): plain words, a little fainter than the path; matches bold */
.ssb-l2 { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ssb-l2 .ssb-path { flex: 0 1 auto; max-width: 60%; }
.ssb-sep { flex: none; font-size: 12px; color: var(--b-dim); margin: 0 -6px; }   /* path · tags: the gap pulls in to about a space */
.ssb-l2 .ssb-stroke { flex: none; }
.ssb-tl, .ssb-tags { font-size: 12px; color: var(--b-dim); }
.ssb-tl { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssb-tags { line-height: 16px; margin-top: 1px; }
.ssb-tl span, .ssb-tags span { opacity: 0.78; }
.ssb-tl .hit, .ssb-tags .hit { opacity: 1; font-weight: 700; color: var(--b-strong); }
.ssb-row.sel .ssb-tl, .ssb-row.sel .ssb-tags { color: var(--b-seldim); }
.ssb-row.sel .ssb-tl .hit, .ssb-row.sel .ssb-tags .hit { color: var(--b-seltx); }
.ssb-kind { flex: none; height: 18px; margin-left: 10px; padding: 0 5px; border: 1px solid currentColor; border-radius: 3px; font-size: 12px; line-height: 16px; white-space: nowrap; }
.ssb-tagbtn { width: 22px; height: 22px; flex: none; margin-left: 10px; opacity: 0; }
.ssb-row.sel .ssb-tagbtn { opacity: 0.9; }
.ssb-tip { padding: 10px 14px 12px; font-size: 13px; color: var(--b-dim); }
.ssb-tip kbd, .ssb-bar kbd { padding: 0 5px; border: 1px solid var(--b-kbd); border-radius: 3px; font: 12px/16px var(--app); color: var(--b-text); }
.ssb-none { padding: 14px; font-size: 14px; color: var(--b-dim); }
.ssb-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--b-deep); border-top: 1px solid var(--b-rule); font-size: 13px; color: var(--b-dim); white-space: nowrap; overflow: hidden; }
.ssb-bar .sp { width: 10px; flex: none; }
.ssb-bar .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ssb-bar .end svg { color: var(--b-dim); }
.ssb-bar .end img { height: 20px; width: auto; }
.ssb.narrow .ssb-bar .hint { display: none; }   /* phones have no arrow keys: only the logo stays */

/* ---------- the pill after a pick ---------- */
.toast {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 15px var(--body);
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  translate: -50% 0;
  pointer-events: none;
}
.toast i { width: 20px; height: 20px; border-radius: 50%; background: #3dbd73; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.toast b { font-weight: 600; font-family: var(--app); }

/* ---------- the shortcut that opens the box ---------- */
.keys { position: absolute; z-index: 14; display: flex; gap: 8px; translate: -50% 0; opacity: 0; pointer-events: none; }
.keys kbd {
  min-width: 64px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 700 22px var(--body);
  text-align: center;
  box-shadow: inset 0 0 0 2px #d6d6d6, 0 5px 0 #d0d0d0, 0 14px 26px rgba(0, 0, 0, 0.25);
}

/* ---------- the demo's CSP language (separate from the site's language) ---------- */
.langpick { position: absolute; z-index: 12; font: 500 14px var(--body); color: var(--ink-2); }
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #e2e2e2, 0 6px 16px rgba(0, 0, 0, 0.08);
  font: inherit;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.lp-chip:hover { box-shadow: 0 0 0 1.5px var(--ink), 0 6px 16px rgba(0, 0, 0, 0.08); }
.lp-chip b { color: var(--ink); font-weight: 600; }
.lp-chip svg { width: 15px; height: 15px; flex: none; }
.lp-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: 230px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px #e2e2e2, 0 16px 36px rgba(0, 0, 0, 0.16);
}
.lp-menu button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: 500 14px var(--body);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.lp-menu button:hover, .lp-menu button:focus-visible { background: #f4f4f2; outline: 0; }
.lp-menu button[aria-checked="true"]::after { content: "✓"; color: var(--orange); font-weight: 700; }

/* the hero's notes */
.note-try { transform: rotate(-3deg); opacity: 0; transition: opacity 0.25s; }
.demo:hover .note-try, .demo:focus-within .note-try { opacity: 1; }


/* ==========================================================================
   Tablet and phone
   ========================================================================== */
@media (max-width: 900px) {
  html { overflow-x: clip; }
  .wrap { padding: 0 24px; }
  .hero h1 { font-size: 56px; }
  .topbar-inner { padding: 16px 24px; }
  .topbar.is-floating .topbar-inner { max-width: none; margin: 10px 12px 0; padding: 7px 7px 7px 18px; }
  .nav { gap: 6px; }
  .nav > a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
  .hero-intro { min-height: clamp(500px, calc(100svh - 190px), 680px); padding: 96px 0 40px; }
  .hero h1 { font-size: 44px; }
  .hero .lede { margin-top: 22px; font-size: 18px; }
  .hero .ctas { margin-top: 30px; }
  .wide-only { display: none; }
  .lede { font-size: 18px; }
  .topbar-inner { padding: 14px 16px; }
  .topbar.is-floating .topbar-inner { margin: 8px 8px 0; padding: 6px 6px 6px 14px; }
  .brand img { height: 26px; }
  .topbar.is-floating .brand img { height: 23px; }
  .note { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .topbar-inner { transition: none; }
}
