/* CoachCore • ÁSZF 1.0 — önálló, reszponzív design */
:root {
  color-scheme: dark;
  --bg: #0b1010;
  --bg-soft: #111819;
  --surface: #151d1e;
  --surface-2: #192323;
  --surface-3: #1d2928;
  --border: rgba(184, 224, 217, .12);
  --border-strong: rgba(174, 218, 208, .24);
  --text: #eff8f5;
  --body: #b4c5c1;
  --dim: #81958f;
  --accent: #31e6b4;
  --accent-light: #8bffd8;
  --accent-ink: #062118;
  --accent-bg: rgba(49, 230, 180, .08);
  --blue: #85a7fb;
  --shadow: 0 22px 70px rgba(0,0,0,.16);
  --radius: 22px;
  --max-width: 1320px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html[data-theme='light'] {
  color-scheme: light;
  --bg: #f4f7f6;
  --bg-soft: #eff4f1;
  --surface: #fff;
  --surface-2: #f8faf9;
  --surface-3: #edf4f0;
  --border: rgba(19, 55, 47, .10);
  --border-strong: rgba(19, 55, 47, .18);
  --text: #172b28;
  --body: #465d57;
  --dim: #70857e;
  --accent: #168665;
  --accent-light: #117650;
  --accent-ink: white;
  --accent-bg: rgba(22, 134, 101, .07);
  --blue: #3262b8;
  --shadow: 0 16px 55px rgba(15, 51, 42, .045);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(49, 230, 180, .35); color: var(--text); }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 15px; font-weight: 700; border-radius: 10px; }
.skip-link:focus { top: 10px; }
.site-shell { overflow: clip; }
.site-header { position: relative; z-index: 20; height: 88px; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--max-width); height: 100%; padding: 0 34px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-symbol { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(49,230,180,.35); border-radius: 12px; background: linear-gradient(145deg,rgba(49,230,180,.2),rgba(49,230,180,.02)); font-weight: 900; font-size: 15px; letter-spacing: -2px; padding-right: 2px; color: var(--accent); }
.brand-symbol-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); position: absolute; top: 9px; right: 8px; box-shadow: 0 0 10px var(--accent); }
.brand-name { font-size: 21px; line-height: 1.1; letter-spacing: -.9px; font-weight: 800; }
.brand-name > span { color: var(--accent); }
.brand-name small { display: block; margin-top: 5px; font-size: 8px; font-weight: 700; color: var(--dim); letter-spacing: 1.6px; }
.header-links { display: flex; align-items: center; gap: 26px; }
.subtle-link { color: var(--body); text-decoration: none; font-size: 13px; font-weight: 650; transition: color .2s; }
.subtle-link:hover { color: var(--accent); }
.subtle-link span { color: var(--accent); padding-left: 2px; }
.theme-button { border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); background: var(--surface); height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 12px; }
.theme-button:hover { border-color: var(--accent); }
.theme-icon { font-size: 19px; color: var(--accent); line-height: 1; }
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 80% 18%,rgba(26,119,91,.15),transparent 36%), linear-gradient(180deg,var(--bg-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); min-height: 430px; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent 4%,black 95%); }
.hero-inner { max-width: var(--max-width); margin: auto; padding: 37px 34px 72px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--dim); font-size: 10px; font-weight: 850; letter-spacing: 2px; }
.status-indicator { height: 7px; width: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(49,230,180,.1); }
.meta-divider { color: var(--accent); opacity: .65; }
.hero-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.eyebrow { margin: 58px 0 14px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: 2.3px; }
h1 { margin: 0; font-size: clamp(43px, 5vw, 76px); font-weight: 820; letter-spacing: -4.6px; line-height: 1.04; }
h1 span:not(.hero-period) { color: var(--accent); }
.hero-period { color: var(--accent); }
.hero-description { max-width: 680px; margin: 23px 0 25px; color: var(--body); font-size: 16px; line-height: 1.8; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--border-strong); color: var(--body); border-radius: 999px; padding: 7px 13px; background: rgba(120,160,152,.035); font-size: 11px; font-weight: 720; }
.tag-accent { color: var(--accent); border-color: rgba(49,230,180,.3); background: var(--accent-bg); }
.hero-decoration { flex: 0 0 305px; height: 265px; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-decoration > span { font-size: 90px; font-weight: 900; letter-spacing: -18px; padding-right: 18px; line-height: 1; color: var(--accent); text-shadow: 0 0 72px rgba(49,230,180,.1); }
.orb-ring { position: absolute; display: block; border: 1px solid rgba(49,230,180,.20); border-radius: 50%; width: 235px; height: 235px; }
.ring-b { width: 315px; height: 315px; border-style: dashed; opacity: .4; }
.deco-corner { position: absolute; right: 2px; bottom: 8px; font-size: 9px; font-weight: 800; letter-spacing: 2px; color: var(--dim); }
.content-container { width: 100%; max-width: var(--max-width); padding: 0 34px 80px; margin: 0 auto; }
.summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); position: relative; margin-top: -28px; z-index: 2; padding: 6px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow); }
.summary-item { display: flex; align-items: center; gap: 17px; min-height: 105px; padding: 20px 22px; }
.summary-item + .summary-item { border-left: 1px solid var(--border); }
.summary-icon { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(49,230,180,.2); border-radius: 12px; color: var(--accent); background: var(--accent-bg); font-size: 24px; font-weight: 600; }
.summary-item small { display: block; margin-bottom: 2px; color: var(--accent); font-size: 9px; letter-spacing: 1.7px; font-weight: 850; }
.summary-item strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 790; }
.summary-item p { margin: 3px 0 0; font-size: 11px; color: var(--dim); }
.document-layout { display: grid; grid-template-columns: 274px minmax(0,1fr); gap: 40px; margin-top: 70px; align-items: start; }
.sidebar { position: relative; }
.sidebar-inner { position: sticky; top: 22px; }
.sidebar-eyebrow { color: var(--accent); display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.sidebar-dash { width: 16px; height: 2px; background: var(--accent); }
.sidebar h2 { margin: 8px 0 23px; font-size: 19px; letter-spacing: -.5px; }
.toc { border-left: 1px solid var(--border-strong); display: flex; flex-direction: column; max-height: min(65vh, 680px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.toc-link { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 12px; line-height: 1.4; color: var(--dim); padding: 10px 13px 10px 17px; position: relative; transition: .2s; }
.toc-link::before { content: ''; position: absolute; width: 2px; height: 100%; left: -1px; top: 0; background: transparent; }
.toc-link:hover { color: var(--text); }
.toc-link.active { color: var(--accent); font-weight: 760; }
.toc-link.active::before { background: var(--accent); }
.toc-num { font-size: 10px; letter-spacing: 1px; font-variant-numeric: tabular-nums; opacity: .65; }
.sidebar-help { margin-top: 27px; padding: 22px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 18px; }
.sidebar-help-icon { color: var(--accent); background: var(--accent-bg); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.sidebar-help h3 { font-size: 13px; margin: 13px 0 5px; }
.sidebar-help p { font-size: 12px; line-height: 1.7; color: var(--dim); margin: 0 0 15px; }
.sidebar-help a { color: var(--accent); font-size: 12px; font-weight: 800; text-decoration: none; }
.legal-document { min-width: 0; }
.document-intro { padding: 36px 40px; border: 1px solid var(--border-strong); background: linear-gradient(135deg,var(--surface) 0%, var(--surface-2) 100%); border-radius: var(--radius); }
.document-category { display: block; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: 1.5px; }
.document-intro h2 { margin: 12px 0; font-size: 27px; line-height: 1.2; letter-spacing: -.9px; }
.document-intro p { font-size: 14px; color: var(--body); line-height: 1.85; margin: 0; }
.legal-section { scroll-margin-top: 24px; border-bottom: 1px solid var(--border); padding: 43px 3px 42px; }
.section-heading { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 23px; }
.section-index { color: var(--accent); flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 11px; font-weight: 900; border: 1px solid rgba(49,230,180,.22); background: var(--accent-bg); border-radius: 12px; font-variant-numeric: tabular-nums; }
.section-heading h2 { font-size: clamp(20px,2vw,26px); margin: 5px 0 0; line-height: 1.3; letter-spacing: -.75px; }
.legal-section p { font-size: 14px; line-height: 1.95; color: var(--body); margin: 0 0 15px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong, .document-intro strong { font-weight: 750; color: var(--text); }
.legal-section ul { list-style: none; margin: 15px 0 18px; padding: 0; }
.legal-section li { color: var(--body); position: relative; font-size: 14px; line-height: 1.85; margin: 0 0 9px; padding-left: 23px; }
.legal-section li::before { content: ''; position: absolute; width: 5px; height: 5px; left: 4px; top: 11px; border-radius: 50%; background: var(--accent); }
.legal-section a { color: var(--accent); text-decoration-color: rgba(49,230,180,.35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.data-panel { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; overflow: hidden; margin: 25px 0 23px; }
.data-panel-title { padding: 19px 23px; display: flex; align-items: center; gap: 15px; background: var(--accent-bg); border-bottom: 1px solid var(--border); }
.panel-mark { background: var(--accent); color: var(--accent-ink); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; font-size: 14px; letter-spacing: -1px; }
.data-panel-title small { color: var(--accent); display: block; font-size: 9px; font-weight: 850; letter-spacing: 1.2px; margin-bottom: 1px; }
.data-panel-title strong { display: block; font-size: 15px; color: var(--text); }
.detail-grid { margin: 0; padding: 3px 23px; }
.detail-grid > div { display: grid; grid-template-columns: minmax(110px,33%) minmax(0,1fr); gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.detail-grid > div:last-child { border-bottom: 0; }
.detail-grid dt { font-size: 12px; color: var(--dim); font-weight: 650; }
.detail-grid dd { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text); font-weight: 680; overflow-wrap: anywhere; }
.notice { display: flex; gap: 13px; align-items: flex-start; padding: 18px 19px; margin: 22px 0 4px; border: 1px solid rgba(133,167,251,.22); background: rgba(133,167,251,.055); border-radius: 15px; }
.notice.notice-green { border-color: rgba(49,230,180,.25); background: var(--accent-bg); }
.notice-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; color: var(--blue); background: rgba(133,167,251,.1); font-size: 14px; font-weight: 900; }
.notice-green .notice-icon { color: var(--accent); background: rgba(49,230,180,.12); }
.legal-section .notice p { font-size: 13px; line-height: 1.8; margin: 0; }
.ending-meta { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 23px; }
.ending-meta span { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px; font-size: 11px; color: var(--dim); }
.ending-meta strong { color: var(--text); }
.end-panel { margin: 35px 0 16px; display: flex; gap: 19px; align-items: center; border: 1px solid rgba(49,230,180,.28); background: linear-gradient(120deg,rgba(49,230,180,.115),var(--surface)); padding: 26px 28px; border-radius: 18px; }
.end-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); flex: 0 0 auto; display: grid; place-items: center; font-size: 22px; }
.end-panel h2 { font-size: 15px; line-height: 1.4; margin: 0 0 4px; }
.end-panel p { font-size: 12px; line-height: 1.7; margin: 0; color: var(--body); }
.cta { display: inline-flex; gap: 10px; align-items: center; flex: 0 0 auto; margin-left: auto; padding: 11px 15px; font-size: 12px; font-weight: 800; text-decoration: none; color: var(--accent-ink); background: var(--accent); border-radius: 11px; }
.cta:hover { filter: brightness(1.08); }
.document-actions { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; padding-top: 14px; }
.action-button { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 11px; padding: 10px 15px; color: var(--body); cursor: pointer; font-size: 12px; font-weight: 740; }
.action-button:hover { color: var(--accent); border-color: var(--accent); }
.action-button span { font-size: 18px; margin-right: 5px; }
.back-to-top { margin-left: auto; font-size: 12px; text-decoration: none; font-weight: 780; color: var(--accent); }
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-inner { max-width: var(--max-width); margin: auto; padding: 35px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(49,230,180,.4); color: var(--accent); border-radius: 9px; font-size: 11px; font-weight: 900; letter-spacing: -1px; }
.footer-brand strong { display: block; font-size: 13px; line-height: 1.1; }
.footer-brand small { display: block; margin-top: 6px; font-size: 8px; font-weight: 700; color: var(--dim); letter-spacing: 1.4px; }
.footer-right { display: flex; flex-wrap: wrap; gap: 24px; font-size: 11px; color: var(--dim); }
.footer-right a { text-decoration: none; color: var(--body); }
.footer-right a:hover { color: var(--accent); }
.reading-progress { position: fixed; left: 0; top: 0; height: 3px; z-index: 100; background: var(--accent); width: 0; box-shadow: 0 1px 8px rgba(49,230,180,.5); pointer-events: none; }
.mobile-nav-container { display: none; }
@media(max-width: 1100px) {
  .document-layout { grid-template-columns: 240px minmax(0,1fr); gap: 30px; }
  .hero-decoration { flex-basis: 215px; transform: scale(.8); }
  .summary-item { padding: 16px; gap: 12px; }
  .summary-item strong { font-size: 12px; }
}
@media(max-width: 800px) {
  .site-header { height: 75px; }
  .header-inner, .hero-inner, .content-container, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .header-links { gap: 10px; }
  .header-links .subtle-link:nth-of-type(2) { display: none; }
  .hero-inner { padding-top: 30px; padding-bottom: 66px; }
  h1 { letter-spacing: -3px; }
  .hero-decoration { display: none; }
  .eyebrow { margin-top: 52px; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-item { min-height: 77px; }
  .summary-item + .summary-item { border-left: 0; border-top: 1px solid var(--border); }
  .document-layout { display: block; margin-top: 22px; }
  .sidebar { display: none; }
  .mobile-nav-container { display: block; margin-top: 37px; }
  .mobile-nav-container label { display: block; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: 1.5px; margin-bottom: 11px; }
  .mobile-nav-container select { display: block; width: 100%; appearance: none; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface) linear-gradient(45deg,transparent 50%,var(--accent) 50%) calc(100% - 21px) center/6px 6px no-repeat; padding: 14px 38px 14px 16px; font-size: 13px; color: var(--text); }
  .mobile-nav-container option { color: var(--text); background: var(--surface); }
  .document-intro { padding: 26px; }
}
@media(max-width: 560px) {
  .header-inner, .hero-inner, .content-container, .footer-inner { padding-left: 17px; padding-right: 17px; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 6.5px; }
  .header-links .subtle-link { display: none; }
  .theme-button { width: 41px; padding: 0; justify-content: center; }
  .theme-label { display: none; }
  .hero { min-height: unset; }
  .hero-inner { padding-top: 23px; padding-bottom: 64px; }
  .hero-meta { font-size: 8px; letter-spacing: 1px; gap: 7px; }
  .eyebrow { margin-top: 43px; font-size: 10px; }
  h1 { font-size: clamp(35px,9vw,52px); letter-spacing: -2px; }
  .hero-description { font-size: 13px; line-height: 1.9; }
  .tag { font-size: 10px; padding: 7px 10px; }
  .summary-item { gap: 15px; }
  .document-intro h2 { font-size: 24px; }
  .document-intro p, .legal-section p, .legal-section li { font-size: 13px; }
  .legal-section { padding: 36px 0; }
  .section-heading { gap: 12px; }
  .section-index { width: 35px; height: 35px; flex-basis: 35px; }
  .section-heading h2 { font-size: 20px; margin: 4px 0 0; }
  .detail-grid { padding: 2px 17px; }
  .detail-grid > div { display: block; }
  .detail-grid dt { margin-bottom: 3px; }
  .data-panel-title { padding: 17px; }
  .data-panel-title strong { font-size: 13px; }
  .end-panel { align-items: flex-start; flex-wrap: wrap; padding: 21px; }
  .end-panel > div { flex: 1 1 calc(100% - 65px); }
  .cta { width: 100%; justify-content: center; }
  .document-actions { gap: 8px; }
  .back-to-top { width: 100%; margin: 12px 0 0; text-align: right; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media print {
  @page { margin: 14mm; }
  :root, html[data-theme='dark'], html[data-theme='light'] { color-scheme: light; --bg:#fff; --surface:#fff; --text:#111; --body:#252525; --dim:#444; --border:#ccc; --border-strong:#aaa; --accent:#125f49; --accent-bg:#f6f9f6; --accent-ink:#fff; }
  html,body { background:#fff !important; color:#111 !important; font-size: 11px; }
  .site-header,.hero-decoration,.sidebar,.mobile-nav-container,.site-footer,.document-actions,.reading-progress,.end-panel,.summary-grid,.hero-glow { display: none !important; }
  .hero { background: white !important; min-height: unset; border: 0; }
  .hero::before { display: none; }
  .hero-inner { padding: 0 0 15px; }
  .eyebrow { margin: 5px 0; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-description { font-size: 11px; margin: 10px 0; }
  .content-container { padding: 0; }
  .document-layout { display: block; margin-top: 10px; }
  .document-intro { box-shadow:none; border:1px solid #aaa; padding:12px; }
  .document-intro h2 { font-size:17px; }
  .legal-section { padding: 15px 0; break-inside: auto; }
  .section-heading { break-after: avoid; margin-bottom: 9px; }
  .section-heading h2 { font-size:16px; }
  .legal-section p,.legal-section li { color:#222; font-size:11px; line-height:1.5; }
  .legal-section p,.legal-section ul { break-inside: auto; }
  .data-panel, .notice { break-inside: avoid; }
  a { text-decoration: underline; color: #222 !important; }
}
