/* Lemon&'s site, on Ruddr's theme: the landing's tokens, type, buttons, nav, sections, cards and
   footer (ruddr.sh), with Lemon&'s & in Geist Mono. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/geist.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono.woff2") format("woff2"); }
:root {
  --page: #FFFFFF; --surface: #F4F4F6; --hover: #F4F4F6; --well: #EEEFF2;
  --line: rgba(25, 26, 30, .09); --line-2: rgba(25, 26, 30, .18);
  --ink: #191A1E; --ink-2: #494B54; --ink-3: #646773; --ink-4: #818391;
  --accent: #F7A400; --accent-hover: #FFB320; --on-accent: #191A1E; --accent-soft: rgba(247, 164, 0, .18); --accent-ink: #9E6700; --gold: #B47600;
  --font-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --max: 1160px; --gut: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0C0D0F; --surface: #191A1E; --hover: #191A1E; --well: #141517;
    --line: rgba(244, 244, 246, .08); --line-2: rgba(244, 244, 246, .16);
    --ink: #F4F4F6; --ink-2: #ADAEB7; --ink-3: #888B98; --ink-4: #6A6D7B;
    --accent-soft: rgba(247, 164, 0, .16); --accent-ink: #F7A400; --gold: #F7A400;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--page); }
.skip:focus { left: 8px; }
.ico { display: block; flex: none; width: 16px; height: 16px; }
@media (max-width: 640px) { :root { --gut: 16px; } }

/* The wordmark: Lemon in Geist, its & in Geist Mono */
.amp { font-family: var(--font-mono); font-weight: 500; color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); font: 500 15px/1 var(--font-ui); text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.btn.primary { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { border-color: var(--line-2); }
.btn.ghost:hover { background: var(--hover); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 16px; }

/* Nav */
/* Solid, with no backdrop blur: a blur re-samples what scrolls under it on every frame. */
.nav { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 60px; }
.brand { text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand .amp { margin-left: 1px; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { text-decoration: none; transition: color 160ms var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* The hero */
.hero { padding: 104px 0 112px; }
.eyebrow { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.hero h1 { margin: 26px 0 0; font-size: clamp(60px, 9vw, 112px); line-height: .98; letter-spacing: -.05em; }
.hero h1 .amp { margin-left: .04em; letter-spacing: 0; }
.lede { margin: 26px 0 0; max-width: 34em; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* Sections */
section.s { padding: 104px 0; border-top: 1px solid var(--line); }
.band { background: var(--surface); border-top-color: transparent !important; }
.kick { font-size: 14px; font-weight: 500; color: var(--ink-3); }
h2 { margin: 10px 0 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.sub { margin: 18px 0 0; max-width: 38em; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 640px) { section.s { padding: 72px 0; } .hero { padding: 64px 0 72px; } .sub { font-size: 17px; } }

.about .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
.about .text p { font-size: 17px; color: var(--ink-2); }
.about .text p + p { margin-top: 16px; }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Cards, as the landing's */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.cards > div { padding: 22px; border-radius: 12px; background: var(--page); }
.cards h3 { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 8px; font-size: 16px; line-height: 1.4; }
.cards h3 .ico { margin-top: 3px; color: var(--ink-3); }
.cards p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.app { display: flex; flex-direction: column; padding: 28px; border-radius: 12px; background: var(--surface); }
.app .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.app h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--page); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.pill.on { background: var(--accent-soft); color: var(--accent-ink); }
.app p { margin-top: 12px; color: var(--ink-2); }
.app .go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 22px; font-weight: 500; text-decoration: none; }
.app .go:hover { color: var(--gold); }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }

/* Footer, as the landing's */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot .brand { font-size: 17px; color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot a { text-decoration: none; transition: color 160ms var(--ease); }
.foot a:hover { color: var(--ink); }
.foot .legal { flex-basis: 100%; font-size: 13px; line-height: 1.7; }
.foot .legal b { font-weight: 500; color: var(--ink-2); }
.foot address { font-style: normal; }

/* The privacy policy, as the landing's legal pages */
main.doc { padding: 72px 0 104px; }
main.doc .wrap { max-width: 760px; }
.doc h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.doc h1 + p { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.doc h2 { margin: 48px 0 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.doc p, .doc ul { margin: 12px 0 0; color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc strong { font-weight: 600; color: var(--ink); }
.doc a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 160ms var(--ease); }
.doc a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) { main.doc { padding: 48px 0 72px; } .doc h2 { margin-top: 40px; } }

.lost { padding: 120px 0; text-align: center; }
.lost h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; }
.lost p { margin-top: 12px; color: var(--ink-2); }
.lost .btn { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
