/* Tabkeep site. Tokens from the product plan: Space Grotesk, lime accent, dark first with a light theme. */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/fonts/space-grotesk.woff2) format("woff2");
  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: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/fonts/space-grotesk-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark light;
  --bg: #0d0e11; --panel: #16181d; --panel2: #1d2027; --text: #f1f1ee; --muted: #9a9ca3;
  --line: #2a2d35; --lime: #c8f53a; --lime-ink: #0d0e11; --coral: #ff6b5b; --sky: #6cc6ff; --amber: #ffc24b;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f4f7; --panel: #ffffff; --panel2: #e6e9ee; --text: #15161a; --muted: #5f6168;
    --line: #d6dae1; --lime: #4a6e00; --lime-ink: #ffffff; --coral: #c8372a; --sky: #1f6fb5; --amber: #8a5600;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 17px/1.6 "Space Grotesk", system-ui, "Segoe UI", sans-serif; }
a { color: var(--sky); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
code, kbd { font: .9em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--panel2);
  padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 8px 14px;
  border-radius: 8px; z-index: 20; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 740px; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand i { display: inline-block; width: 24px; height: 15px; border-radius: 6px 6px 0 0; background: var(--lime); }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 6px 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* type */
h1 { font-size: clamp(2.3rem, 7.5vw, 4.2rem); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.02em; }
h1 .hl { background: var(--lime); color: var(--lime-ink); padding: 0 .15em; border-radius: 6px; display: inline-block; transform: rotate(-1.5deg); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.3; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin: 0 0 26px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

section { padding: 64px 0 8px; }
.hero { padding: 72px 0 24px; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px;
  border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--lime); color: var(--lime-ink); }
.btn.ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--lime); }

/* cards and grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.soft { background: var(--panel2); border-radius: 16px; padding: 18px 20px; }
.ico { font-size: 1.7rem; line-height: 1; display: block; margin-bottom: 10px; }
.tier { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; margin-left: 4px; }
.tier.free { background: color-mix(in srgb, var(--sky) 20%, transparent); color: var(--sky); }
.tier.pro { background: var(--lime); color: var(--lime-ink); }
ul.clean { list-style: none; padding: 0; margin: 8px 0 0; }
ul.clean li { padding: 4px 0 4px 26px; position: relative; }
ul.clean li::before { content: "→"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }

/* table */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
tbody th { color: var(--text); font-weight: 400; font-size: inherit; text-transform: none; letter-spacing: 0; }
td.y { color: var(--lime); font-weight: 700; }

/* pricing */
.price { font-size: 2.4rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan .btn { margin-top: auto; }
.plan.best { border-color: var(--lime); }

/* import logos as text chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--panel); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-weight: 600; }

/* articles */
article h2 { font-size: 1.5rem; margin-top: 40px; }
article p, article li { max-width: 40em; }
article ol, article ul:not(.clean) { padding-left: 1.3em; }
article li { margin: 6px 0; }
.answer { border-left: 4px solid var(--lime); background: var(--panel); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 20px 0; }
.note { border-left: 4px solid var(--amber); background: var(--panel); border-radius: 0 14px 14px 0; padding: 12px 18px; margin: 18px 0; }
.crumbs { font-size: .9rem; margin: 32px 0 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* footer */
footer.site { margin-top: 80px; border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
