@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-greek-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-greek-wght-normal.woff2) format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Inter Tight Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-tight-greek-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter Tight Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-tight-greek-wght-normal.woff2) format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

@font-face {
  font-family: 'Inter Tight Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-tight-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(./instrument-serif-latin-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Linkoon visual theme for the existing PHP views.
 * Bootstrap, page markup, hooks and script-generated state remain authoritative.
 */
:root {
    --lk-canvas: #f9fafb;
    --lk-surface: #fff;
    --lk-subtle: #f0f2f4;
    --lk-ink: #1a1d21;
    --lk-muted: #626873;
    --lk-border: #e0e3e7;
    --lk-brand: #4a6678;
    --lk-button-ink: #fff;
    --lk-shadow: 0 16px 40px rgb(26 29 33 / 8%);
    --lk-radius: 20px;
    --lk-body: "Inter Variable", Inter, system-ui, sans-serif;
    --lk-heading: "Inter Tight Variable", "Inter Tight", var(--lk-body);
    --lk-accent: "Instrument Serif", Georgia, serif;
}

html[data-scheme="dark"],
html[data-bs-theme="dark"] {
    --lk-canvas: #16191d;
    --lk-surface: #20242a;
    --lk-subtle: #292e35;
    --lk-ink: #f0f2f5;
    --lk-muted: #b6bec7;
    --lk-border: #383f48;
    --lk-brand: #9ab5c7;
    --lk-button-ink: #17191c;
    --lk-shadow: 0 16px 40px rgb(0 0 0 / 24%);
}

body,
body#body {
    background-color: var(--lk-canvas);
    color: var(--lk-ink);
    font-family: var(--lk-body) !important;
}

body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
    font-family: var(--lk-heading);
    color: var(--lk-ink);
    letter-spacing: -.025em;
}

body :is(.text-muted, .text-secondary) {
    color: var(--lk-muted) !important;
}

body#body > header .navbar {
    min-height: 76px;
    border-bottom: 1px solid var(--lk-border);
    background-color: var(--lk-surface);
}

body#body > header .navbar :is(.navbar-brand, #mainmenu a) {
    color: var(--lk-ink);
}

body#body > header .navbar .navbar-brand img {
    width: auto;
    max-width: min(158px, 42vw);
    max-height: 44px;
    object-fit: contain;
}

body#body > footer {
    background-color: var(--lk-surface);
    border-top: 1px solid var(--lk-border);
}

body#body > footer :is(a, p, li) {
    color: var(--lk-muted);
}

body :is(.card, .dropdown-menu) {
    background-color: var(--lk-surface);
    border-color: var(--lk-border);
    border-radius: var(--lk-radius);
    color: var(--lk-ink);
}

body .card {
    box-shadow: var(--lk-shadow);
}

body :is(.table, .table > :not(caption) > * > *) {
    --bs-table-bg: var(--lk-surface);
    --bs-table-color: var(--lk-ink);
    --bs-table-border-color: var(--lk-border);
}

body :is(.btn-primary, .btn-outline-primary) {
    --bs-btn-color: var(--lk-button-ink);
    --bs-btn-bg: var(--lk-ink);
    --bs-btn-border-color: var(--lk-ink);
    --bs-btn-hover-bg: var(--lk-brand);
    --bs-btn-hover-border-color: var(--lk-brand);
    --bs-btn-hover-color: var(--lk-button-ink);
    --bs-btn-active-bg: var(--lk-brand);
    --bs-btn-active-color: var(--lk-button-ink);
    border-radius: 999px;
}

body .btn-primary {
    background-color: var(--lk-ink);
    border-color: var(--lk-ink);
    color: var(--lk-button-ink);
}

body .btn-primary:is(:hover, :focus-visible):not(:disabled) {
    background-color: var(--lk-brand);
    border-color: var(--lk-brand);
    color: var(--lk-button-ink);
}

body .btn-outline-primary:not(:hover, :focus-visible) {
    background-color: transparent;
    border-color: var(--lk-border);
    color: var(--lk-ink);
}

body :is(
    a, button, .form-control, .form-select, [role="button"]
):focus-visible {
    outline: 2px solid var(--lk-brand);
    outline-offset: 3px;
}

body :is(.form-control, .form-select):not(:disabled, [readonly], .is-invalid, .is-valid) {
    background-color: var(--lk-surface);
    border-color: var(--lk-border);
    color: var(--lk-ink);
}

body#body :is(.section-featured, .section-secondary, .section-blue.section-split, .section-c2a, .section-plan) {
    color: var(--lk-ink);
    background-color: var(--lk-canvas);
    background-image: none;
}

body#body .section-featured > .container {
    position: relative;
}

body#body .section-featured:has(#main-form) {
    background-image: radial-gradient(ellipse at 86% 16%, #4a667826, transparent 56%);
}

body#body .section-featured :is(h1, h2) {
    color: var(--lk-ink);
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    font-weight: 550;
    line-height: 1.08;
}

body#body :is(.section-featured, .section-secondary, .section-blue.section-split, .section-c2a, .section-plan) :is(.text-dark, .text-white) {
    color: var(--lk-ink) !important;
}

body#body .section-featured .btn-transparent {
    color: var(--lk-ink);
    border-color: var(--lk-border);
}

body#body .section-featured .forPeople {
    color: var(--lk-brand);
    font-family: var(--lk-accent);
    font-style: italic;
}

body#body .section-featured #herofront {
    border-radius: 32px;
    filter: drop-shadow(0 24px 36px rgb(26 29 33 / 12%));
}

body#body .shortener-simple #main-form {
    background-color: var(--lk-surface);
    border: 1px solid var(--lk-border);
    border-radius: 26px !important;
}

body#body :is(.section-secondary, .section-blue.section-split) .panelette {
    color: var(--lk-ink);
    background: var(--lk-surface);
    border: 1px solid var(--lk-border);
    border-radius: var(--lk-radius);
    box-shadow: var(--lk-shadow);
}

@media (max-width: 575px) {
    body#body > header .navbar { min-height: 62px; }
    body#body .section-featured :is(h1, h2) { font-size: clamp(2rem, 9vw, 2.85rem); }
    body#body .section-featured #herofront { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}


body#body .section-featured:has(#main-form) #herofront {
    content: url("./linkoon-analytics-preview.webp");
    height: auto;
    max-height: 65%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    filter: none;
}
