/* Geld Apps — light, clean, one stylesheet for every page. */
:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --ink: #101828;
  --body: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --navy: #1b3264;
  --green: #239772;
  --green-soft: #ecf8f3;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--navy); text-decoration-color: rgba(27, 50, 100, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }

/* Top bar */
.bar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 1; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.bar-in, .foot-in { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }

/* Page heading band */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 48px; padding-bottom: 40px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 0; color: var(--ink); font-size: 36px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.lede { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 600px; }

/* Content */
main { flex: 1; }
main .wrap { padding-top: 36px; padding-bottom: 56px; }
h2 { margin: 44px 0 10px; color: var(--ink); font-size: 21px; line-height: 1.35; letter-spacing: -.01em; font-weight: 650; }
h3 { margin: 26px 0 4px; color: var(--ink); font-size: 16px; font-weight: 600; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 6px 0; }
li::marker { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.summary { background: var(--green-soft); border-radius: 12px; padding: 18px 22px; margin: 0 0 8px; color: var(--ink); }
.summary p:last-child { margin: 0; }

.toc { border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin: 24px 0 0; }
.toc p { margin: 0 0 6px; color: var(--ink); font-weight: 600; font-size: 14px; }
.toc ol { margin: 0; columns: 2; column-gap: 28px; font-size: 14.5px; }
.toc li { margin: 0; padding: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.table { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; }
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600;
  display: grid; place-items: center; line-height: 1; }

.option { border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px 10px; margin: 18px 0; }
.option h2 { margin-top: 18px; }

.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600;
  font-size: 15px; padding: 11px 18px; border-radius: 10px; }
.btn:hover { background: #142650; }

/* Home */
.app { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.app img { width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--surface); padding: 6px; }
.app h2 { margin: 0 0 4px; font-size: 18px; }
.app p { margin: 0 0 12px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding-top: 22px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.foot-in a { color: var(--muted); text-decoration: none; }
.foot-in a:hover { color: var(--ink); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 600px) {
  .bar-in, .wrap, .foot-in { padding: 0 16px; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
  .hero .wrap { padding-top: 32px; padding-bottom: 28px; }
  h1 { font-size: 28px; }
  .lede { font-size: 16px; }
  .toc ol { columns: 1; }
  td:first-child { white-space: normal; }
  .app { flex-direction: column; }
}

/* ---------- Product pages (home, features, FAQ) ---------- */
.wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.hero.big .wide { padding-top: 64px; padding-bottom: 56px; }
.hero.big h1 { font-size: 44px; max-width: 760px; }
.hero.big .lede { font-size: 18.5px; max-width: 680px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface); }
.soon { font-size: 14px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pills li { margin: 0; background: var(--green-soft); color: #17694f; font-size: 13.5px; font-weight: 500;
  padding: 5px 12px; border-radius: 999px; }

.band { padding: 56px 0; border-bottom: 1px solid var(--line); }
.band:last-of-type { border-bottom: 0; }
.band.alt { background: var(--surface); }
.band h2 { margin-top: 0; font-size: 26px; letter-spacing: -.015em; }
.band > .wide > p.sub { color: var(--muted); max-width: 680px; margin-bottom: 28px; font-size: 16.5px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 16.5px; }
.card p { margin: 0; font-size: 15px; }
.card ul { margin: 8px 0 0; font-size: 15px; }
.card a.more { display: inline-block; margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin-bottom: 12px; }
.ico svg { width: 20px; height: 20px; }

.feature { padding-top: 8px; scroll-margin-top: 80px; }
.feature + .feature { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 4px; }
.feature h2 { margin-top: 32px; }

.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin: 10px 0; background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; color: var(--ink); font-weight: 600;
  position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 14px; }
.faq h2 { margin-top: 40px; }

.note { border-left: 3px solid var(--green); padding: 2px 0 2px 16px; color: var(--body); margin: 18px 0; }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wide { padding: 0 16px; }
  .hero.big .wide { padding-top: 40px; padding-bottom: 36px; }
  .hero.big h1 { font-size: 31px; }
  .hero.big .lede { font-size: 16.5px; }
  .band { padding: 40px 0; }
  .band h2 { font-size: 22px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
}

/* ---------- Product label in the top bar (Geld Apps / Billing) ---------- */
.bar-in > .brand + .product { margin-right: auto; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line);
  color: var(--green); font-weight: 600; font-size: 15px; text-decoration: none; }

/* ---------- Screenshots and figures ---------- */
.hero-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-split .phone { max-width: 270px; justify-self: center; }
.phone { margin: 0; background: #1b3264; padding: 8px; border-radius: 30px; box-shadow: 0 18px 40px rgba(16, 24, 40, .14); }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.shots li { margin: 0; }
.shots figure { margin: 0; }
.shots figcaption, .spot figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.shots figcaption strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.spot { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.spot .phone { max-width: 300px; }
.spot h2 { margin-top: 6px; }
.illus { margin: 8px 0 0; }
.illus img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.illus figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); max-width: 720px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; margin-top: 22px; }
.cols h3 { margin: 0 0 4px; font-size: 16px; }
.cols p { margin: 0; font-size: 15px; }

/* ---------- Geld Apps home: product cards ---------- */
.products { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.product-card { display: grid; grid-template-columns: 1fr 160px; gap: 22px; align-items: center; background: var(--bg);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.product-card .phone { padding: 5px; border-radius: 20px; }
.product-card .phone img { border-radius: 15px; }
.product-card h3 { margin: 4px 0 6px; font-size: 22px; }
.product-card p { margin: 0 0 12px; font-size: 15.5px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: #17694f; background: var(--green-soft);
  padding: 3px 10px; border-radius: 999px; }
.soon-card { border: 1px dashed #cfd4dc; border-radius: 18px; padding: 26px; background: transparent; }
.soon-card h3 { margin: 4px 0 6px; font-size: 20px; }
.soon-card p { margin: 0 0 10px; font-size: 15.5px; }

@media (max-width: 860px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-split, .spot { grid-template-columns: 1fr; gap: 28px; }
  .hero-split .phone { max-width: 220px; }
  .spot .phone { max-width: 260px; justify-self: center; }
  .shots { gap: 18px 14px; }
  .shots figcaption { font-size: 13.5px; }
  .product-card { grid-template-columns: 1fr; }
  .product-card .phone { max-width: 170px; }
  .cols { grid-template-columns: 1fr; }
  .bar-in > .brand + .product { font-size: 14px; margin-left: 8px; padding-left: 8px; }
}
