@import url('https://fonts.googleapis.com/css2?family=Sora:wght@800&display=swap');
/* Public pages (landing, pricing, signup, billing, legal). Same palette as theme.css: dark by default,
   light when theme.js stamps <html data-theme="light">. Components use tokens only. */
:root {
  color-scheme: dark;
  --ink: #F8FAFC; --ink-soft: #B6C2E8; --ink-faint: #9AA9DA; --line: #3248A8; --bg: #14205F; --surface: #1A2A7A; --surface-2: #213391;
  --brand: #3F6FE0; --brand-deep: #3560CC; --brand-soft: rgba(91, 141, 239, .18); --link: #8FB3FF; --accent: #36B700;
  --good: #36B700; --warn-bg: rgba(245, 158, 11, .12); --warn-line: rgba(245, 158, 11, .38); --warn-ink: #FCD34D;
  --ok-bg: rgba(54, 183, 0, .16); --ok-line: rgba(54, 183, 0, .42); --ok-ink: #74D300;
  --err-bg: rgba(239, 68, 68, .12); --err-line: rgba(239, 68, 68, .38); --err-ink: #FCA5A5;
  --focus: rgba(96, 165, 250, .55);
  --radius: 10px; --radius-sm: 6px; --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #0F172A; --ink-soft: #64748B; --ink-faint: #7B8799; --line: #E2E8F0; --bg: #F6F8FC; --surface: #FFFFFF; --surface-2: #F1F5F9;
  --brand: #2563EB; --brand-deep: #1D4ED8; --brand-soft: #EFF4FF; --link: #2563EB; --accent: #2FA800;
  --good: #2FA800; --warn-bg: #FFFBEB; --warn-line: #FDE68A; --warn-ink: #92400E;
  --ok-bg: #EAF8E0; --ok-line: #B5E39A; --ok-ink: #1F7A00;
  --err-bg: #FEF2F2; --err-line: #FECACA; --err-ink: #991B1B;
  --focus: rgba(37, 99, 235, .4);
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--link); }
html { background: var(--bg); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pub-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.pub-header { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.pub-header .pub-wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; }
.pub-logo { font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.pub-logo { display: inline-flex; align-items: center; gap: 8px; }
.pub-logo-img { width: 28px; height: 28px; flex: none; }
.pub-logo small { font-weight: 600; font-size: 11px; color: var(--ink-faint); margin-left: 6px; letter-spacing: .02em; }
.pub-nav { display: flex; gap: 6px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.pub-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14px; padding: 7px 10px; border-radius: var(--radius-sm); }
.pub-nav a:hover { color: var(--ink); background: var(--surface-2); }
.pub-nav a[aria-current="page"] { color: var(--ink); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-soft); cursor: pointer; }
.theme-toggle:hover { color: var(--ink); }
.pub-nav select { padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink); font-size: 13px; }
.btn-pub { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; font-family: inherit; }
.btn-pub.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.pub-nav a.btn-pub.primary { color: #fff; }
.btn-pub.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-pub:not(.primary):hover { border-color: var(--ink-faint); }
.btn-pub:disabled { opacity: .6; cursor: default; }
h1, h2, h3 { letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
/* long German compound words ("Geschäftsbedingungen") must wrap on phones instead of widening the page */
h1, h2, h3, p, li, summary, td, th, label, dd { overflow-wrap: break-word; hyphens: auto; }
.pub-hero { padding: 56px 0 36px; }
.pub-hero h1 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 14px; max-width: 18ch; }
.pub-hero p { font-size: 18px; color: var(--ink-soft); max-width: 62ch; margin: 0 0 22px; }
.pub-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
.pub-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pub-note { font-size: 13px; color: var(--ink-faint); }
.pub-section { padding: 36px 0; }
.pub-section h2 { font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 8px; }
.pub-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 18px; }
.pub-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pub-card h3 { margin: 0 0 6px; font-size: 16px; }
.pub-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.pub-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; padding: 26px 0 32px; font-size: 13px; color: var(--ink-soft); }
.pub-footer .pub-wrap { display: grid; gap: 10px; }
.pub-footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.pub-footer a { color: var(--ink-soft); }
/* pricing */
.price-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; background: var(--surface-2); margin: 6px 0 4px; }
.price-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 4px; font-weight: 600; font-size: 14px; color: var(--ink-soft); cursor: pointer; font-family: inherit; }
.price-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan h3 { margin: 0; font-size: 18px; }
.plan-price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.plan-sub { font-size: 13px; color: var(--ink-soft); min-height: 20px; }
.plan ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.plan li.limit { font-weight: 700; }
.plan .btn-pub { margin-top: auto; }
.cmp-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.cmp th, .cmp td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { background: var(--surface-2); font-weight: 600; color: var(--ink-soft); font-size: 13px; }
.cmp tbody tr:hover { background: var(--surface-2); }
.cmp td.yes { color: var(--good); font-weight: 800; }
.cmp td.no { color: var(--ink-faint); }
.faq { display: grid; gap: 10px; margin-top: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }
/* forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 460px; margin: 32px auto; }
.form-card h1 { font-size: 24px; margin: 0 0 6px; }
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; background: var(--bg); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field .hint { font-size: 12px; color: var(--ink-faint); }
.msg { display: none; font-size: 14px; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.msg.ok { display: block; background: var(--ok-bg); color: var(--ok-ink); border: 1px solid var(--ok-line); }
.msg.err { display: block; background: var(--err-bg); color: var(--err-ink); border: 1px solid var(--err-line); }
.draft-banner { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; margin: 20px 0; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 20px 0; }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); max-width: 75ch; }
@media (max-width: 640px) { .pub-hero { padding: 36px 0 24px; } .pub-nav { margin-left: 0; width: 100%; } .form-card { padding: 18px; margin: 18px auto; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.theme-switching, .theme-switching * { transition: none !important; }

/* EYSSAL logo: white-strip version on the dark theme (default), colour version on the light theme */
:root[data-theme="light"] .logo-for-dark { display: none; }
:root:not([data-theme="light"]) .logo-for-light { display: none; }

/* Dark mode: blue gradient page background */
:root:not([data-theme="light"]) { background: linear-gradient(135deg, #22338F 0%, #14205F 55%, #101A50 100%) fixed; }
:root:not([data-theme="light"]) body { background: transparent; }

/* EYSSAL wordmark: Sora ExtraBold next to the logo, the A in the logo green */
.wm { font-family: 'Sora', 'Inter', sans-serif; font-weight: 800; letter-spacing: .01em; }
.wm .wm-a { display: inline-block; height: .73em; width: .79em; vertical-align: baseline; overflow: visible; }
.pub-logo .wm { font-size: 28px; line-height: 1; }
.pub-logo-img { width: 36px; height: 36px; }
.pub-logo { gap: 10px; }
/* dark theme: the wordmark is pure white (the logo strips are too) */
:root:not([data-theme="light"]) .wm { color: #FFFFFF; }
