/* ============================================================
   Task Killer — taskkiller.optiligence.com
   Optimum Result Design System tokenek + a landing design terv stilusai.

   Felepites:
     1. Betutipusok — sajat kiszolgalas (nincs kulso keres)
     2. DS tokenek: colors, typography, spacing, base
     3. Landing oldal stilusok (.tk-*) — a design tervbol
     4. Kiegeszitesek: mobil nav, aloldalak, akadalymentesites
   ============================================================ */
/* ============================================================
   Betutipusok — SAJAT KISZOLGALAS, nincs Google CDN hivas.
   Igy egyetlen latogato IP-cime sem kerul a Google-hoz.

   Forras: Google Fonts · SIL Open Font License 1.1
   Reszhalmaz: latin + latin-ext
     (a latin-ext kotelezo: a magyar 'o' es 'u' abban van)
   Vagatok: Montserrat 600-800 · Lato 400/700 + 400 dolt
            Open Sans 400-700 + 400-700 dolt
   A Montserrat es az Open Sans variable font — egy fajl
   fedi le a teljes sulytartomanyt.
   ============================================================ */

/* Lato 400 dolt — latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/lato-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 400 dolt — latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/lato-italic-400-latin.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;
}

/* Lato 400 — latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 700 — latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 400 — latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/lato-400-latin.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;
}

/* Lato 700 — latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/lato-700-latin.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;
}

/* Montserrat 600 800 — latin-ext (variable) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Montserrat 600 800 — latin (variable) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-var-latin.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;
}

/* Open Sans 400 dolt — latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/open-sans-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Open Sans 400 dolt — latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/open-sans-italic-400-latin.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;
}

/* Open Sans 400 700 — latin-ext (variable) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/open-sans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Open Sans 400 700 — latin (variable) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/open-sans-var-latin.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;
}

/* ============================================================
   Optimum Result — Color tokens
   Derived from the brand logo + slide template.
   Navy = trust/structure · Purple = transformation/AI ·
   Maroon = the fixed point (compass centre) · Cream = ground.
   ============================================================ */
:root {
  /* ---- Brand core (raw) ---- */
  --or-navy-900: #001233;   /* deepest navy, near-black surfaces */
  --or-navy-800: #001a4a;
  --or-navy-700: #00205b;   /* PRIMARY brand navy */
  --or-navy-600: #1e3a6b;   /* navy hover / lifted */
  --or-navy-300: #8899bb;   /* muted navy text on dark */
  --or-navy-100: #ccddef;   /* navy tint — chips, rails */
  --or-navy-050: #e9f0f8;   /* faintest navy wash */

  --or-purple-700: #4c3a7a; /* deep purple, pressed */
  --or-purple-600: #5b4a8e;
  --or-purple-500: #6c58a0; /* SECONDARY brand purple */
  --or-purple-400: #8a78b6;
  --or-purple-200: #d6cee8; /* purple tint */
  --or-purple-100: #ece7f4; /* faint purple wash */

  --or-maroon-700: #4d0000;
  --or-maroon-600: #660000; /* ACCENT — the compass centre */
  --or-maroon-400: #9a3b3b;

  --or-orange-500: #ed7d31; /* icon / data accent (sparingly) */
  --or-harvest:    #f37e25; /* harvest orange — supporting accent */
  --or-silver:     #bbb9b9; /* silver — supporting neutral */
  --or-tea-green:  #c1e1c1; /* tea green — supporting / positive */

  /* ---- Neutrals (warm, cream-led) ---- */
  --or-cream:     #fcfbf8;  /* primary light surface */
  --or-paper:     #f5f3ee;  /* secondary surface */
  --or-stone:     #dcdad3;  /* warm grey — logo/hero ground (shows white logo needles) */
  --or-sand:      #eaeadc; /* placeholder block */
  --or-ink-900:   #1c1c1c;  /* near-black text */
  --or-ink-700:   #4a4a4a;  /* body text */
  --or-ink-500:   #6f6f6f;  /* secondary text */
  --or-ink-400:   #999999;  /* muted / captions */
  --or-line-300:  #d9d6cf;  /* hairline borders on cream */
  --or-line-200:  #e8e6e6;  /* light dividers */
  --or-white:     #ffffff;

  /* ---- Semantic status ---- */
  --or-success:   #4f8a5b;
  --or-success-bg:#c1e1c1;
  --or-warning:   #b8791f;
  --or-warning-bg:#f6e2c0;
  --or-danger:    #660000;
  --or-danger-bg: #f1d6d6;
  --or-info:      #00205b;
  --or-info-bg:   #ccddef;

  /* ============================================================
     Semantic aliases — prefer these in product/UI code
     ============================================================ */
  --color-brand:            var(--or-navy-700);
  --color-brand-2:          var(--or-purple-500);
  --color-accent:           var(--or-maroon-600);

  --surface-page:           var(--or-cream);
  --surface-card:           var(--or-white);
  --surface-raised:         var(--or-paper);
  --surface-muted:          var(--or-stone);  /* warm grey ground for logo/hero lockups */
  --surface-inverse:        var(--or-navy-700);
  --surface-inverse-deep:   var(--or-navy-900);
  --surface-tint:           var(--or-navy-050);

  --text-strong:            var(--or-ink-900);
  --text-body:              var(--or-ink-700);
  --text-muted:             var(--or-ink-500);
  --text-faint:             var(--or-ink-400);
  --text-on-brand:          var(--or-cream);
  --text-link:              var(--or-navy-700);
  --text-brand:             var(--or-navy-700);
  --text-brand-2:           var(--or-purple-500);

  --border-subtle:          var(--or-line-300);
  --border-default:         var(--or-line-200);
  --border-strong:          var(--or-navy-100);
  --focus-ring:             var(--or-purple-500);
}

/* ============================================================
   Optimum Result — Typography tokens
   Display: Trebuchet MS (→ Fira Sans). Body: Calibri (→ Carlito).
   ============================================================ */
:root {
  /* ---- Families ----
     Headings: Montserrat Bold · Subheads: Lato · Body: Open Sans
     Serif: Crimson Text / Merriweather (classic editorial option) */
  --font-heading: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-subhead: 'Lato', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', system-ui, sans-serif;
  --font-serif:   'Crimson Text', 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Back-compat alias — components use --font-display for titles/labels */
  --font-display: var(--font-heading);

  /* ---- Type scale (rem, 16px base) — modular ~1.2 ---- */
  --text-2xs:  0.6875rem;  /* 11px — micro labels */
  --text-xs:   0.75rem;    /* 12px — captions */
  --text-sm:   0.875rem;   /* 14px — secondary / UI */
  --text-md:   1rem;       /* 16px — body base */
  --text-lg:   1.125rem;   /* 18px — lead body */
  --text-xl:   1.375rem;   /* 22px — card titles */
  --text-2xl:  1.75rem;    /* 28px — H3 */
  --text-3xl:  2.25rem;    /* 36px — H2 */
  --text-4xl:  3rem;       /* 48px — H1 */
  --text-5xl:  4rem;       /* 64px — display */
  --text-6xl:  5.5rem;     /* 88px — hero / slide title */

  /* ---- Weights ---- */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* ---- Line heights ---- */
  --leading-tight:   1.08;
  --leading-snug:    1.2;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* ---- Letter spacing ---- */
  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-label:  0.14em;   /* the SECTION LABEL all-caps treatment */

  /* ---- Semantic roles ---- */
  --font-eyebrow-size:    var(--text-xs);
  --font-eyebrow-spacing: var(--tracking-label);
  --font-h1-size:         var(--text-4xl);
  --font-h2-size:         var(--text-3xl);
  --font-h3-size:         var(--text-2xl);
  --font-body-size:       var(--text-md);
}

/* ============================================================
   Optimum Result — Spacing, radii, shadows, layout
   Calm, structured, generous whitespace. 4px base grid.
   ============================================================ */
:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:   0;
  --space-1:   0.25rem;   /* 4 */
  --space-2:   0.5rem;    /* 8 */
  --space-3:   0.75rem;   /* 12 */
  --space-4:   1rem;      /* 16 */
  --space-5:   1.5rem;    /* 24 */
  --space-6:   2rem;      /* 32 */
  --space-7:   3rem;      /* 48 */
  --space-8:   4rem;      /* 64 */
  --space-9:   6rem;      /* 96 */
  --space-10:  8rem;      /* 128 */

  /* ---- Radii — restrained, mostly rectilinear ---- */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;     /* default control / card */
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hair:  1px;
  --border-thin:  1.5px;
  --border-thick: 2px;
  --rule-accent:  3px;    /* the thin purple/navy rule used on slides */

  /* ---- Shadows — soft, low, warm-neutral. Never heavy. ---- */
  --shadow-xs:  0 1px 2px rgba(0, 18, 51, 0.06);
  --shadow-sm:  0 1px 3px rgba(0, 18, 51, 0.08), 0 1px 2px rgba(0, 18, 51, 0.04);
  --shadow-md:  0 4px 14px rgba(0, 18, 51, 0.08), 0 2px 4px rgba(0, 18, 51, 0.04);
  --shadow-lg:  0 12px 32px rgba(0, 18, 51, 0.12), 0 4px 8px rgba(0, 18, 51, 0.05);
  --shadow-focus: 0 0 0 3px rgba(108, 88, 160, 0.32);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);  /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --dur-fast:      120ms;  /* @kind other */
  --dur-base:      200ms;  /* @kind other */
  --dur-slow:      320ms;  /* @kind other */

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  860px;
  --container-lg:  1140px;
  --container-xl:  1320px;
  --gutter:        var(--space-6);
}

/* ============================================================
   Optimum Result — Base element defaults & helpers
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text-brand);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h4, h5 {
  font-family: var(--font-subhead);
  color: var(--text-strong);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  margin: 0 0 0.5em;
}
h1 { font-size: var(--font-h1-size); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--font-h2-size); }
h3 { font-size: var(--font-h3-size); }

/* ---- Subheading / lead — Lato, the approachable supporting voice ---- */
.or-subhead {
  font-family: var(--font-subhead);
  font-weight: var(--weight-regular);
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}
/* ---- Serif — classic editorial option (Crimson Text / Merriweather) ---- */
.or-serif { font-family: var(--font-serif); }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Eyebrow / section label — the deck's signature device ---- */
.or-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-brand-2);
}

/* ---- The thin top rule that opens slides & sections ---- */
.or-rule {
  width: 56px;
  height: var(--rule-accent);
  background: var(--color-brand-2);
  border: 0;
  border-radius: var(--radius-pill);
}

/* ---- Cream/navy section backgrounds ---- */
.or-surface       { background: var(--surface-page); color: var(--text-body); }
.or-surface-inverse { background: var(--surface-inverse); color: var(--text-on-brand); }
.or-surface-inverse h1, .or-surface-inverse h2, .or-surface-inverse h3 { color: var(--text-on-brand); }

/* ============================================================
   Landing oldal — a design tervbol (Landing-offline.html)
   ============================================================ */
body { margin:0; background:var(--surface-page); font-family:var(--font-body); color:var(--text-body); }
* { box-sizing:border-box; }
a { color:var(--text-link); text-decoration:none; }
a:hover { opacity:.78; text-decoration:none; }
.tk-wrap { max-width:1180px; margin:0 auto; padding:0 32px; }
.tk-h2 { font-family:var(--font-heading); font-weight:800; font-size:36px; line-height:1.18; letter-spacing:-.01em; color:var(--text-brand); margin:14px 0 0; }
.tk-lead { font-family:var(--font-subhead); font-size:18px; line-height:1.65; color:var(--text-body); margin:16px 0 0; max-width:680px; }
.tk-card { background:var(--surface-card); border:1px solid var(--border-subtle); border-radius:16px; padding:28px 26px; transition:transform .18s, box-shadow .18s; }
.tk-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,32,91,.10); }
.tk-sec { padding:96px 0; }
.tk-grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tk-grid2 { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.tk-grid5 { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.tk-ftitle { font-family:var(--font-heading); font-weight:800; font-size:17px; color:var(--text-brand); margin:14px 0 0; }
.tk-fbody { font-size:14.5px; line-height:1.6; color:var(--text-body); margin:8px 0 0; }
.tk-navlink { font-family:var(--font-subhead); font-weight:700; font-size:14.5px; color:var(--text-link); }
.tk-ico { width:28px; height:28px; object-fit:contain; display:block; }
.tk-icobox { flex:none; display:inline-flex; width:52px; height:52px; border-radius:14px; background:var(--or-purple-100); align-items:center; justify-content:center; }
.tk-hero { display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.tk-split { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:1120px){
  .tk-hero, .tk-split { grid-template-columns:1fr; gap:44px; }
  .tk-grid3 { grid-template-columns:repeat(2,1fr); }
  .tk-grid5 { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px){
  .tk-grid3,.tk-grid2,.tk-grid5 { grid-template-columns:1fr; }
  .tk-h2 { font-size:28px; }
  .tk-sec { padding:64px 0; }
}

/* ============================================================
   Task Killer — kiegészítések
   A fenti blokkok a design tervből / a DS-ből származnak, változtatás nélkül.
   Ez a szakasz csak azt teszi hozzá, ami a designtervben nem szerepelt:
   mobil navigáció, horgony-eltolás, fókusz-állapotok és az aloldalak
   (privacy.html, user-guide.html) szövegstílusai.
   ============================================================ */

/* ---- Horgony-navigáció a 72px-es sticky nav alatt ---- */
html { scroll-behavior: smooth; }
#top, #modszer, #listak, #funkciok, #adatvedelem, #faq, #letoltes { scroll-margin-top: 72px; }

/* ---- Fókusz-állapot (billentyűzetes navigáció) ---- */
a:focus-visible,
button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }

/* ---- Mobil navigáció ---- */
.tk-navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: none;
  padding: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  color: var(--color-brand);
}
.tk-navtoggle svg { display: block; }
.tk-navlinks { display: flex; align-items: center; gap: 26px; }

@media (max-width: 900px) {
  .tk-navbar { height: auto !important; padding-top: 12px; padding-bottom: 12px; gap: 12px !important; }
  .tk-navtoggle { display: inline-flex; }
  .tk-navlinks {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 0 2px;
    border-top: 1px solid var(--border-subtle);
  }
  .tk-navlinks.is-open { display: flex; }
  .tk-navlinks .tk-navlink { padding: 13px 4px; font-size: 15.5px; }
  .tk-navlinks .tk-navcta { text-align: center; margin-top: 8px; padding: 13px 20px !important; }
}

/* ---- Mozgásérzékenység (README §7) ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .tk-card:hover { transform: none; }
}

/* ---- Aloldalak (adatvédelem, útmutató) ---- */
.tk-page-head { background: var(--color-brand); padding: 72px 0 64px; }
.tk-page-head .or-rule { margin-bottom: 20px; }
.tk-page-title {
  font-family: var(--font-heading); font-weight: 800; font-size: 42px; line-height: 1.14;
  letter-spacing: -.02em; color: var(--text-on-brand); margin: 0;
}
.tk-page-sub {
  font-family: var(--font-subhead); font-size: 18px; line-height: 1.6;
  color: rgba(252, 251, 248, .82); margin: 18px 0 0; max-width: 720px;
}
.tk-page-meta { font-size: 13px; color: rgba(252, 251, 248, .62); margin: 22px 0 0; }

.tk-legal { max-width: 820px; }
.tk-legal h2 {
  font-family: var(--font-heading); font-weight: 800; font-size: 24px; line-height: 1.25;
  color: var(--text-brand); margin: 52px 0 0; scroll-margin-top: 88px;
}
.tk-legal h2:first-child { margin-top: 0; }
.tk-legal h3 {
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  color: var(--text-brand); margin: 30px 0 0; scroll-margin-top: 88px;
}
.tk-legal p { font-size: 15.5px; line-height: 1.72; color: var(--text-body); margin: 14px 0 0; }
.tk-legal ul { margin: 14px 0 0; padding-left: 22px; }
.tk-legal li { font-size: 15.5px; line-height: 1.72; color: var(--text-body); margin: 7px 0 0; }
.tk-legal strong { color: var(--text-brand); }
.tk-legal a { text-decoration: underline; }

.tk-toc {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 24px 26px; margin: 0 0 48px;
}
.tk-toc ol { margin: 12px 0 0; padding-left: 20px; }
.tk-toc li { font-size: 14.5px; line-height: 1.9; }

.tk-table-wrap { overflow-x: auto; margin: 16px 0 0; }
.tk-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.tk-table th, .tk-table td {
  text-align: left; vertical-align: top; padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle); font-size: 14.5px; line-height: 1.6;
}
.tk-table th {
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  color: var(--text-brand); background: var(--surface-raised);
}
.tk-table tr:last-child td { border-bottom: 0; }

.tk-soon {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 56px 40px; text-align: center; max-width: 720px; margin: 0 auto;
}

/* ---- Mobil: a designban inline megadott nagy betűméretek visszavétele.
       Az inline style-t csak !important tudja felülírni, ezért kivételesen az. ---- */
@media (max-width: 900px) {
  .tk-hero h1 { font-size: 36px !important; }
  #letoltes .tk-h2 { font-size: 28px !important; }
}
@media (max-width: 600px) {
  .tk-hero h1 { font-size: 31px !important; }
  #letoltes .tk-h2 { font-size: 25px !important; }
}

@media (max-width: 900px) {
  .tk-page-head { padding: 52px 0 46px; }
  .tk-page-title { font-size: 30px; }
  .tk-page-sub { font-size: 16.5px; }
  .tk-legal h2 { font-size: 21px; margin-top: 42px; }
  .tk-soon { padding: 40px 24px; }
}

/* ============================================================
   Adatvédelem — rétegzett megjelenítés
   1. réteg: a lényeg, kattintható dobozokban
   2. réteg: a teljes jogi szöveg, lenyitható
   ============================================================ */

.tk-sum-intro {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-brand-2); border-radius: 14px;
  padding: 20px 24px; margin: 0 0 40px; max-width: 820px;
}
.tk-sum-intro p { font-size: 15px; line-height: 1.68; color: var(--text-body); margin: 0; }
.tk-sum-intro strong { color: var(--text-brand); }

.tk-sum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tk-sum-wide { grid-column: 1 / -1; }

/* A doboz egésze kattintható — a kártya maga egy link */
a.tk-sum-card, .tk-sum-card {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 26px 24px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.tk-sum-card:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 32, 91, .10);
  border-color: var(--or-purple-200); text-decoration: none;
}
.tk-sum-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--or-purple-100);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.tk-sum-ico img { width: 28px; height: 28px; object-fit: contain; display: block; }
.tk-sum-ico.is-alert { background: #f4e3e3; }
.tk-sum-ico.is-navy  { background: var(--or-navy-050); }
.tk-sum-title {
  font-family: var(--font-heading); font-weight: 800; font-size: 17px; line-height: 1.3;
  color: var(--text-brand); margin: 16px 0 0;
}
.tk-sum-body { font-size: 14.5px; line-height: 1.65; color: var(--text-body); margin: 10px 0 0; flex: 1; }
.tk-sum-body p { margin: 10px 0 0; }
.tk-sum-body p:first-child { margin-top: 0; }
.tk-sum-body ul { margin: 10px 0 0; padding-left: 20px; }
.tk-sum-body li { margin: 5px 0 0; }
.tk-sum-body strong { color: var(--text-brand); }
.tk-sum-more {
  font-family: var(--font-heading); font-weight: 800; font-size: 12px;
  letter-spacing: .06em; color: var(--color-brand-2); margin: 18px 0 0;
  display: inline-flex; align-items: center; gap: 6px;
}
a.tk-sum-card:hover .tk-sum-more { gap: 10px; }
.tk-sum-more::after { content: '→'; transition: transform .18s; }

/* ---- 2. réteg: a teljes tájékoztató ---- */
.tk-full { margin: 56px 0 0; border-top: 1px solid var(--border-subtle); padding-top: 48px; }
.tk-full > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 800; font-size: 15px;
  color: var(--text-on-brand); background: var(--color-brand);
  border-radius: 10px; padding: 15px 26px; white-space: nowrap;
  transition: background .18s;
}
.tk-full > summary::-webkit-details-marker { display: none; }
.tk-full > summary:hover { background: var(--or-navy-600); }
.tk-full > summary .tk-chev { transition: transform .2s; font-size: 13px; }
.tk-full[open] > summary { background: var(--surface-raised); color: var(--text-brand); border: 1px solid var(--border-subtle); padding: 14px 25px; }
.tk-full[open] > summary .tk-chev { transform: rotate(180deg); }
.tk-full-inner { margin: 40px 0 0; }
.tk-full-hint { font-size: 13.5px; color: var(--text-muted); margin: 14px 0 0; max-width: 620px; }

@media (max-width: 1120px) { .tk-sum-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .tk-sum-grid { grid-template-columns: 1fr; gap: 16px; }
  .tk-sum-intro { padding: 18px 20px; margin-bottom: 30px; }
  .tk-full { margin-top: 40px; padding-top: 36px; }
  .tk-full > summary { white-space: normal; }
}

/* ============================================================
   Nyelvváltó — az optiligence.com-mal azonos megjelenés
   (a --dur-fast token ott létezik, itt fix értéket használunk)
   ============================================================ */
.lang-toggle {
  background: none;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-body);
  transition: border-color .12s, color .12s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--or-navy-700); color: var(--or-navy-700); }
.lang-toggle .lang-active { color: var(--or-navy-700); font-weight: 700; opacity: 1; }
.lang-toggle .lang-hu:not(.lang-active),
.lang-toggle .lang-en:not(.lang-active) { opacity: 0.5; }
.lang-sep { color: var(--or-line-300); margin: 0 1px; }

/* Mobilon a kapcsoló a lenyitott menüben ül — ugyanúgy, mint az
   optiligence.com-on (ott .nav-links, itt .tk-navlinks). */
@media (max-width: 900px) {
  .tk-navlinks .lang-toggle { margin-top: 12px; align-self: flex-start; }
}

/* ============================================================
   Táblázatok mobilon — nincs vízszintes görgetés
   A tk-table alapból 560px minimumszélességű, ami keskeny
   képernyőn tolást igényelt. 700px alatt blokk-elrendezésre
   váltanak: a kulcs–érték táblák egymás alá, az oszlopos
   táblák soronként egy-egy kártyára, cellánkénti címkével.
   ============================================================ */
@media (max-width: 700px) {
  .tk-table-wrap { overflow-x: visible; }
  .tk-table { min-width: 0; display: block; }
  .tk-table thead { display: none; }
  .tk-table tbody, .tk-table tr, .tk-table th, .tk-table td {
    display: block; width: auto !important;
  }

  /* kulcs–érték táblák: a th a címke, alatta az érték */
  .tk-table tr { border-bottom: 1px solid var(--border-subtle); }
  .tk-table tr:last-child { border-bottom: 0; }
  .tk-table th {
    background: none; border-bottom: 0; padding: 14px 0 0;
    font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
    color: var(--text-brand-2);
  }
  .tk-table td { border-bottom: 0; padding: 4px 0 14px; }

  /* oszlopos táblák: soronként egy kártya, cellánként címkével */
  .tk-table--stack tr {
    background: var(--surface-raised);
    border: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 10px 14px; margin: 0 0 10px;
  }
  .tk-table--stack tr:last-child { margin-bottom: 0; border-bottom: 1px solid var(--border-subtle); }
  .tk-table--stack td { padding: 7px 0; }
  .tk-table--stack td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-heading); font-weight: 800; font-size: 10.5px;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--text-brand-2); margin-bottom: 3px;
  }
  .tk-table--stack td[data-label=""]::before { display: none; }
}

/* ============================================================
   FELHASZNÁLÓI ÚTMUTATÓ — user-guide.html
   A tartalmat a guide.js rendereli a guide.json-ból.
   ============================================================ */

/* --- Útjelző --- */
.tk-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-subhead); font-size: 13.5px;
  color: var(--text-muted); margin: 0 0 28px;
}
.tk-crumbs a { color: var(--text-link); text-decoration: none; }
.tk-crumbs a:hover { text-decoration: underline; }
.tk-crumbs span[aria-hidden] { color: var(--border-subtle); }

/* --- Nyitókép: három belépő --- */
.tk-entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tk-entry {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 28px 26px; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.tk-entry:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,32,91,.10); text-decoration: none; }
.tk-entry-ico {
  flex: none; display: inline-flex; width: 52px; height: 52px; border-radius: 14px;
  background: var(--or-purple-100); align-items: center; justify-content: center;
}
.tk-entry-title {
  font-family: var(--font-heading); font-weight: 800; font-size: 19px;
  color: var(--text-brand); margin: 16px 0 0;
}
.tk-entry-sub { font-size: 14.5px; line-height: 1.6; color: var(--text-body); margin: 8px 0 0; }
.tk-entry-more {
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  color: var(--text-brand-2); margin: 16px 0 0;
}

/* --- Nézet-fejléc --- */
.tk-view-head { margin: 0 0 32px; }
.tk-view-head .tk-h2 { font-size: 30px; margin: 0; }

/* --- Forgatókönyv-kártyák --- */
.tk-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tk-case {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-brand-2);
  border-radius: 14px; padding: 22px 24px; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.tk-case:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,32,91,.10); text-decoration: none; }
.tk-case-title {
  font-family: var(--font-heading); font-weight: 800; font-size: 17px;
  color: var(--text-brand); line-height: 1.3;
}
.tk-case-goal { font-size: 14.5px; line-height: 1.6; color: var(--text-body); margin: 8px 0 0; }
.tk-case-persona {
  font-size: 12.5px; line-height: 1.5; color: var(--text-muted);
  margin: 10px 0 0; font-style: italic;
}

/* --- Kereső --- */
.tk-search { margin: 0 0 28px; max-width: 520px; }
.tk-search-input {
  width: 100%; font-family: var(--font-body); font-size: 15.5px;
  padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--border-subtle); background: var(--surface-card);
  color: var(--text-strong);
}
.tk-search-input:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: transparent; }
.tk-search-count { font-size: 13px; color: var(--text-muted); margin: 8px 0 0; }

/* --- Csoport-fejléc --- */
.tk-group {
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-brand-2); margin: 40px 0 14px;
}
.tk-group:first-child { margin-top: 0; }
.tk-group-body { display: flex; flex-direction: column; gap: 10px; }

/* --- Funkció-sor (lenyitható) --- */
.tk-func {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 14px; overflow: hidden; scroll-margin-top: 92px;
}
.tk-func > summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 16px 20px; cursor: pointer; list-style: none;
}
.tk-func > summary::-webkit-details-marker { display: none; }
.tk-func > summary::after {
  content: '▾'; margin-left: auto; color: var(--text-muted);
  font-size: 13px; transition: transform .18s;
}
.tk-func[open] > summary::after { transform: rotate(180deg); }
.tk-func[open] > summary { border-bottom: 1px solid var(--border-subtle); }
.tk-func-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  color: var(--text-brand);
}
.tk-func-short { flex-basis: 100%; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.tk-func-body { padding: 18px 20px 20px; }
.tk-func-body p  { font-size: 15.5px; line-height: 1.72; color: var(--text-body); margin: 14px 0 0; }
.tk-func-body p:first-child { margin-top: 0; }
.tk-func-body ul, .tk-func-body ol { margin: 14px 0 0; padding-left: 22px; }
.tk-func-body li { font-size: 15.5px; line-height: 1.72; color: var(--text-body); margin: 6px 0 0; }
.tk-func-body strong { color: var(--text-brand); }

/* --- Jelvények --- */
.tk-badge {
  font-family: var(--font-heading); font-weight: 800; font-size: 10.5px;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.tk-badge--free    { background: var(--or-success-bg); color: #2f5c38; }
.tk-badge--premium { background: var(--or-purple-200); color: var(--or-purple-700); }
.tk-badge--own     { background: var(--or-info-bg);    color: var(--or-navy-700); }
.tk-badge--kind    { background: var(--surface-raised); color: var(--text-muted); font-weight: 700; }

/* --- Chipek: a két irányú átjárás --- */
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.tk-chip {
  font-family: var(--font-subhead); font-weight: 700; font-size: 13.5px;
  padding: 7px 13px; border-radius: 999px; text-decoration: none;
  background: var(--or-purple-100); color: var(--or-purple-700);
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.tk-chip:hover { background: var(--or-purple-200); text-decoration: none; }
.tk-chip--case { background: var(--or-navy-050); color: var(--or-navy-700); }
.tk-chip--case:hover { background: var(--or-navy-100); }
.tk-seen-in { margin: 24px 0 0 !important; font-size: 14px !important; }

/* --- Egy forgatókönyv --- */
#case-detail h2 {
  font-family: var(--font-heading); font-weight: 800; font-size: 30px;
  line-height: 1.2; color: var(--text-brand); margin: 0 0 20px;
}

@media (max-width: 900px) {
  .tk-entry-grid { grid-template-columns: 1fr; gap: 16px; }
  .tk-case-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tk-view-head .tk-h2 { font-size: 24px; }
  #case-detail h2      { font-size: 24px; }
  .tk-func > summary   { padding: 14px 16px; }
  .tk-func-body        { padding: 16px; }
}

/* --- Forgatókönyv-ikon és akcentus-szín --- */
.tk-case-ico {
  flex: none; display: inline-flex; width: 46px; height: 46px; border-radius: 13px;
  align-items: center; justify-content: center; margin: 0 0 14px;
}
.tk-case-ico .tk-ico { width: 24px; height: 24px; }

.tk-case--navy   { border-left-color: var(--or-navy-700); }
.tk-case--purple { border-left-color: var(--or-purple-500); }
.tk-case--maroon { border-left-color: var(--or-maroon-600); }
.tk-case--green  { border-left-color: #4F8A5B; }
.tk-case--gold   { border-left-color: #C0881E; }

.tk-case--navy   .tk-case-ico { background: var(--or-navy-050); }
.tk-case--purple .tk-case-ico { background: var(--or-purple-100); }
.tk-case--maroon .tk-case-ico { background: #F6E3E3; }
.tk-case--green  .tk-case-ico { background: var(--or-success-bg); }
.tk-case--gold   .tk-case-ico { background: #FAEECB; }

/* Egy forgatókönyv fejléce: ugyanaz az ikon és szín, mint a kártyán */
.tk-case-head {
  display: flex; align-items: center; gap: 16px;
  border-left: 4px solid; padding-left: 18px; margin: 0 0 24px;
}
.tk-case-head .tk-case-ico { margin: 0; }
.tk-case-head h2 { margin: 0 !important; }

@media (max-width: 700px) {
  .tk-case-head { gap: 12px; padding-left: 14px; }
  .tk-case-ico  { width: 40px; height: 40px; border-radius: 11px; }
}

/* --- Átvezetés a főoldal funkciói alól az útmutatóra --- */
.tk-guide-link {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-brand-2);
  border-radius: 14px; padding: 22px 24px; margin: 28px 0 0;
}
.tk-guide-link-text {
  flex: 1; min-width: 260px;
  font-size: 15px; line-height: 1.6; color: var(--text-body);
}
.tk-guide-link-btn {
  font-family: var(--font-heading); font-weight: 800; font-size: 14px;
  color: var(--text-on-brand); background: var(--color-brand);
  border-radius: 8px; padding: 12px 22px; white-space: nowrap; text-decoration: none;
}
.tk-guide-link-btn:hover { background: var(--or-navy-600); text-decoration: none; color: var(--text-on-brand); }

/* Menü-útvonalak a leírásokban: „Menü → Biztonság → App-zár"
   Halvány lila alátét, nem csak félkövér: a szövegben a **Hol találod:**
   címkék is félkövérek és navy színűek, abban az útvonal elveszne. */
.tk-path {
  color: var(--or-purple-700);
  background: var(--or-purple-100);
  padding: 1px 7px; border-radius: 6px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* Kinyitva elrejtjük az egymondatos összefoglalót: az a leírás első
   mondata, tehát nyitott állapotban közvetlenül alatta megismétlődne. */
.tk-func[open] > summary .tk-func-short { display: none; }
.tk-func[open] > summary { padding-bottom: 14px; }
