/* teamkeep.nl — light and calm; Teamkeep green (#32a852) with dark ink on its buttons (WEB-953). Made from paideo.nl.
   Fonts are self-hosted (SIL OFL), never loaded from Google. */
@font-face { font-family: "Inter"; src: url("../fonts/inter/400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter/700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display/400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display/700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #f8fbf8;
  --soft: #eef7f0;
  --card: #ffffff;
  --line: #dfeae2;
  --ink: #131f16;
  --muted: #536257;
  --brand: #32a852;
  --brand-deep: #1e7a3a;
  --brand-ink: #0f1115;
  --amber: #f2b24b;
  --amber-soft: #fdf1dc;
  --shadow: 0 10px 30px rgba(15, 80, 74, .08);
  --radius: 18px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #0f1511;
  --soft: #16201a;
  --card: #1a251e;
  --line: #29392e;
  --ink: #eef7f0;
  --muted: #a9bdaf;
  --brand: #4cc06a;
  --brand-deep: #7fd796;
  --brand-ink: #0f1511;
  --amber: #f2b24b;
  --amber-soft: #3a2f1c;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0f1511; --soft: #16201a; --card: #1a251e; --line: #29392e; --ink: #eef7f0; --muted: #a9bdaf;
    --brand: #4cc06a; --brand-deep: #7fd796; --brand-ink: #0f1511; --amber-soft: #3a2f1c;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.icon { width: 24px; height: 24px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem "Playfair Display", Georgia, serif; color: var(--ink); text-decoration: none; }
.brand-small { font-size: 1.1rem; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--brand-deep); background: var(--soft); font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a { display: block; line-height: 0; border-radius: 3px; opacity: .55; outline-offset: 3px; }
.lang-switch a[aria-current="true"], .lang-switch a:hover { opacity: 1; }
.theme-toggle, .menu-toggle { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; cursor: pointer; font: inherit; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; font-size: 1.05rem; }
.menu-toggle { display: none; padding: 6px 14px; font-size: .95rem; margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); background: var(--soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.section-soft .eyebrow { background: var(--card); }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -35% -12%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 20%, transparent), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero h1 em { font-style: italic; color: var(--brand-deep); }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 26px; }
.hero-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.order-line:last-of-type { border-bottom: 0; }
.order-line strong { white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--ink); }
.pill-ok { background: color-mix(in srgb, #22a06b 18%, var(--card)); }
.hero-card .stack { display: grid; gap: 10px; margin-top: 16px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-top: 14px; }
.card p:last-child { margin-bottom: 0; }
.card .icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--brand-deep); }
.section-soft .card .icon-badge { background: var(--amber-soft); color: var(--ink); }
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.checks li { display: flex; gap: 10px; align-items: flex-start; }
ul.checks .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--brand); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step.card { position: relative; padding-top: 88px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 26px; left: 26px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font: 700 1.2rem "Playfair Display", Georgia, serif; }

/* Feature list (features page) */
.feature-group { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.feature-group:first-of-type { border-top: 0; }
.feature-group h2 { font-size: 1.6rem; display: flex; gap: 12px; align-items: center; }
.feature-group h2 .icon { width: 30px; height: 30px; color: var(--brand); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.prices-two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.price .tag { position: absolute; top: -13px; left: 30px; }
.price .amount { font: 700 2.6rem "Playfair Display", Georgia, serif; margin: 6px 0 0; }
.price .per { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.price ul.checks { margin-bottom: 22px; }
.price .price-cta { margin-top: auto; justify-content: center; }
.note { background: var(--amber-soft); border-radius: var(--radius); padding: 20px 24px; margin-top: 28px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 18px; color: var(--muted); }

/* Call to action band */
.cta { background: linear-gradient(135deg, #1e7a3a, #145a2a); color: #fff; border-radius: 28px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
:root[data-theme="dark"] .cta, .cta { --cta-text: #fff; }
.cta h2 { margin: 0 0 .3em; color: #fff; }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.cta .btn { background: #fff; color: #145a2a; }

/* Page header (inner pages) */
.page-head { padding: 72px 0 32px; }
.page-head p.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; font-size: .95rem; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-row p { color: var(--muted); margin: 8px 0 0; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; }
.footer-row nav a, .footer-row nav .link-button { color: var(--muted); text-decoration: none; font-size: inherit; }
.footer-row nav a:hover, .footer-row nav .link-button:hover { color: var(--ink); text-decoration: none; }
.footer-small { color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* Small screens */
/* Screenshots of Merxo (from its Media through the API, lib/paideo-media.php) */
.shot { margin: 0; }
.shot-frame { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.shot-frame img { display: block; width: 100%; }
.shot-bar { display: flex; gap: 7px; align-items: center; height: 30px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); text-align: center; }
.shot-dark { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }
:root[data-theme="dark"] .shot-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-dark { display: block !important; }
  :root:not([data-theme="light"]) .shot-light { display: none !important; }
}
.showcase { margin-top: 8px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; align-items: start; }
.feature-group .shot { margin-top: 24px; }

/* Contact page: the contact form from Merxo itself (its embed code; messages land in Merxo) */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 24px; }
.contact-card h3 { margin-bottom: 18px; }
.merxo-contact p { margin: 0 0 16px; }
.merxo-contact br { display: none; }
.merxo-contact label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.merxo-contact label small { font-weight: 400; color: var(--muted); }
.merxo-contact input, .merxo-contact textarea { width: 100%; font: inherit; color: var(--ink); background: var(--page); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.merxo-contact input:focus, .merxo-contact textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 1px; border-color: var(--brand); }
.merxo-contact textarea { min-height: 150px; resize: vertical; }
.merxo-contact button { display: inline-flex; padding: 13px 26px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; cursor: pointer; background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent); }
.merxo-contact button:disabled { opacity: .6; cursor: wait; }
.merxo-contact-error { background: color-mix(in srgb, #d9534f 12%, var(--card)); border: 1px solid color-mix(in srgb, #d9534f 45%, transparent); border-radius: 12px; padding: 12px 14px; }
.merxo-contact-thanks { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-weight: 700; }
.merxo-contact-thanks p { margin: 0; }

/* Privacy statement and other legal pages (WEB-144) */
.legal h2 { font-size: 1.45rem; margin: 36px 0 10px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
/* Until a legal text is final (WEB-159): a visible draft note, and placeholders still to fill in. */
.draft-note { background: var(--amber-soft); border-radius: var(--radius); padding: 12px 16px; }
.legal mark { background: var(--amber-soft); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.model-form { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 20px; background: var(--card); }
.model-form p { margin: 0 0 8px; }
.link-button.inline-link { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Cookie bar (WEB-150) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 680px; margin: 0 auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(10, 40, 36, .18); padding: 18px 20px; font-size: .95rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0 0 14px; }
.cookie-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie-buttons .btn { padding: 10px 20px; cursor: pointer; font: inherit; font-weight: 700; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.link-button:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero .wrap, .grid-3, .grid-2, .steps, .prices, .feature-group, .duo, .contact-grid { grid-template-columns: 1fr; }
  .feature-group { gap: 12px; }
  .hero { padding-top: 56px; }
  section { padding: 56px 0; }
  .cta { padding: 32px; }
}
@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; gap: 12px; padding: 10px 0; }
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; order: 3; margin: 0; padding-bottom: 8px; }
  .site-nav.open { display: flex; }
  .header-tools { order: 2; }
}
