/* Self-hosted (latin subset, OFL). Plex Sans is a variable file: one request covers 400 to 600. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/ibm-plex-sans-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-normal-400.woff2") format("woff2"); }

/* Paper and ink, cold. One accent: the green the apps already share. */
:root {
  --canvas: #F3F4F2; --surface: #FFFFFF;
  --ink: #17201C; --ink-soft: #5A6660;
  --accent: #0F5C48; --accent-ink: #F3F4F2;
  --hair: rgba(23, 32, 28, 0.12); --hair-strong: rgba(23, 32, 28, 0.24);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;
}
* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 clamp(1rem, 0.96rem + 0.22vw, 1.125rem)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 68rem; margin-inline: auto; padding-inline: var(--gutter); }

/* Masthead */
.mast { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.mast a { color: inherit; text-decoration: none; }
.mast a:hover { color: var(--accent); }

/* Title */
.title { padding-block: clamp(3.5rem, 10vh, 7rem) clamp(2.5rem, 6vh, 4rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: end; }
.title h1 { grid-column: 1 / -1; font-size: clamp(2.4rem, 1.5rem + 4.4vw, 5.2rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; max-width: 16ch; }
.title .lede { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 30ch; text-wrap: pretty; }
.title .aside { color: var(--ink-soft); font-size: 0.95rem; max-width: 36ch; text-wrap: pretty; }

/* The index: one row per tool, not four identical cards. */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.tool { display: grid; grid-template-columns: 3.5rem minmax(0, 7fr) minmax(0, 4fr); gap: 0.5rem 1.5rem; align-items: start; padding: 1.75rem 0; border-bottom: 1px solid var(--hair); }
.tool__icon { width: 3rem; height: 3rem; border-radius: 12px; border: 1px solid var(--hair-strong); background: var(--surface); display: block; }
.tool h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.tool h2 a { color: var(--ink); text-decoration: none; }
.tool h2 a:hover { color: var(--accent); }
.tool p { color: var(--ink-soft); max-width: var(--measure); text-wrap: pretty; margin-top: 0.35rem; }
.tool__meta { font-family: var(--mono); font-size: 0.8rem; line-height: 1.7; color: var(--ink-soft); display: grid; gap: 0.15rem; }
.tool__meta b { font-weight: 400; color: var(--ink); }
.tool__meta a { color: var(--accent); text-decoration: none; }
.tool__meta a:hover { text-decoration: underline; }
.tool__meta .k { display: inline-block; min-width: 5.5em; margin-right: 0.4em; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.7rem; }
/* Shopify mark next to "Shopify app" (simple-icons path, brand green); the symbol sits once at the top of <body> */
.tool__meta .brand { display: inline-block; width: 13px; height: 13px; vertical-align: -1.5px; margin-right: 0.4em; color: #7AB55C; }
/* Wix is a wordmark, not a glyph: 24×9.29 viewBox, so it needs its own width at the same 13px cap height.
   It also replaces the word rather than preceding it, so unlike .brand it carries an aria-label instead of aria-hidden. */
.tool__meta .brand--wix { width: 34px; height: 13px; vertical-align: -2px; color: #0C6EFC; }
/* WooCommerce is a wordmark too (24×4.84 viewBox), brand purple; like Wix it replaces the word. */
.tool__meta .brand--woo { width: 76px; height: 15px; vertical-align: -2px; color: #96588A; }
/* Square glyphs in their brand colours, same 13px box as Shopify; Etsy's 21×24 crop keeps its height. */
.tool__meta .brand--shopware { color: #189EFF; }
.tool__meta .brand--etsy { width: 11px; color: #F16521; }
.tool__meta .brand--kaufland { color: #E10915; }
.tool__meta .brand--ebay { width: 33px; height: 13px; vertical-align: -2px; color: #E53238; }
/* Install buttons for the app-market listings: the page's only buttons, so they stay quiet. */
.tool__meta .install { display: inline-block; padding: 0.15rem 0.65rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); text-decoration: none; line-height: 1.6; }
.tool__meta .install:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* Support and plate */
.support { padding-block: 3rem 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 4rem; }
.support h3 { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; margin-bottom: 0.5rem; }
.support p { color: var(--ink-soft); max-width: var(--measure); text-wrap: pretty; }
.plate { margin-top: 4rem; padding-block: 1.5rem 3rem; border-top: 1px solid var(--hair-strong); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.plate a { color: var(--ink-soft); text-decoration: none; }
.plate a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .title, .support { grid-template-columns: 1fr; gap: 1.25rem; }
  .tool { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .tool__icon { width: 2.5rem; height: 2.5rem; border-radius: 10px; }
  .tool__meta { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .tool h2 a, .tool__meta a, .mast a, .plate a { transition: color 140ms cubic-bezier(0.23, 1, 0.32, 1); }
}
/* German labels run longer ("Installieren"): widen the key column on the German page only. */
html[lang="de"] .tool__meta .k { min-width: 7.5em; }
