
:root{
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --primary: #2563EB;
  --primary-ink: #FFFFFF;

  --radius: 14px;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.12);

  --bar-h: 64px;
}

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.topbar-spacer{ height: var(--bar-h); }

.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 1000;
  background: rgba(248,250,252,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,232,240,0.75);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-main {
	padding-top:20px;
	padding-bottom:20px;
}


h1 {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #000000;
    margin-bottom: 0.75em;
}
h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background-color: #2563eb;
    margin-top: 0.4em;
}

h2 {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: #000000;
    margin: 2em 0 0.6em 0;
}
h3 {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    color: #505e71;
    margin: 1.5em 0 0.4em 0;
}

.document h2 {
	margin-top: 1em;
}

/* ---- TLACITKA ----- */


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 16px;
    border-radius: 12px;

    font-weight: 600;
    text-decoration: none;

    transition:
        transform .12s ease,
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: rgba(37, 99, 235, 0.25);

    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);
    color: var(--bs-btn-color);

    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    background-color: #1e4fd6;
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
    color: #ffffff;
}

.btn-secondary,
.btn-outline-secondary {
    background-color: rgba(255, 255, 255, 0.8);
    color: #505e71;

    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: none;
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: rgba(203, 213, 225, 1);
}

.btn-link {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;
}


.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}


/* ----- HOMEPAGE ----- */

.feature-icon {
	padding:0.2em;
}
.homepage-features h2 {
	margin-top:1em;
}
.homepage-features h3 {
	margin-top:1em;
}






.form-submit-wrapper {
    position: relative;
}

.form-submit-wrapper form.submitting {
    opacity: 0.4;
    pointer-events: none;
}

.submit-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    z-index: 10;
}

body.submitting {
    cursor: progress;
}
