/* ==================================================================
   KISSKH DOWNLOAD — SHARED DESIGN SYSTEM
   Palette extracted from the Kisskh app icon: black canvas, white
   wordmark, orange accent chip.
================================================================== */
:root {
  --orange:       #FF6A00;
  --orange-dark:  #E05A00;
  --orange-light: #FFD9B0;
  --gold:         #FFB238;
  --black:        #0A0A0B;
  --black-mid:    #17171A;
  --black-light:  #232327;
  --white:        #FFFFFF;
  --off-white:    #F7F6F4;
  --ink:          #131316;
  --ink-soft:     #35353B;
  --muted:        #6E6E76;
  --muted-dark:   #9A9AA3;
  --border:       #E7E4E1;
  --card-bg:      #FFFFFF;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow-sm:    0 1px 3px rgba(10,10,11,.08), 0 1px 2px rgba(10,10,11,.05);
  --shadow:       0 4px 16px rgba(10,10,11,.10);
  --shadow-lg:    0 10px 40px rgba(10,10,11,.14);
  --shadow-xl:    0 20px 60px rgba(10,10,11,.20);
  --font:         'Plus Jakarta Sans', sans-serif;
  --t:            .22s ease;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
svg { display: block; }

/* ---------- utilities ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 72px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); background: rgba(255,106,0,.09);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--ink); line-height: 1.2; margin-bottom: 16px; letter-spacing: -.01em; }
.section-subtitle { font-size: 1.05rem; color: var(--muted); max-width: 640px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius); font-size: .95rem; font-weight: 700;
  transition: all var(--t); white-space: nowrap; min-height: 48px;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 20px rgba(255,106,0,.35); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 28px rgba(255,106,0,.45); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); box-shadow: 0 4px 20px rgba(10,10,11,.25); }
.btn-dark:hover { background: var(--black-mid); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(10,10,11,.35); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,.2); }
.btn-outline.on-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 9px 18px; font-size: .85rem; min-height: 38px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
header.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,11,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07); transition: box-shadow var(--t);
}
header.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.logo-name { font-size: 1.2rem; font-weight: 900; color: var(--white); letter-spacing: -.02em; }
.logo-name span { color: var(--orange); }
nav.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link { color: rgba(255,255,255,.72); font-size: .855rem; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm); transition: all var(--t); }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.08); }
.header-cta { margin-left: 10px; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; gap: 5px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm);
  transition: background var(--t);
}
.hamburger:hover { background: rgba(255,255,255,.15); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; background: var(--black-mid); border-top: 1px solid rgba(255,255,255,.07); padding: 12px 20px 20px; gap: 3px; }
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 10px 14px; }
.mobile-nav .btn { margin-top: 8px; width: 100%; justify-content: center; }
@media (max-width: 860px) { nav.main-nav, .header-cta { display: none; } .hamburger { display: flex; } }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { background: var(--off-white); border-bottom: 1px solid var(--border); }
.breadcrumbs .container { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.breadcrumbs a { font-size: .82rem; font-weight: 600; color: var(--muted); transition: color var(--t); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span.sep { color: var(--border); font-size: .8rem; }
.breadcrumbs span.current { font-size: .82rem; font-weight: 700; color: var(--ink); }

/* ---------- hero (home) ---------- */
#hero { padding: 76px 0 100px; background: var(--black); position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,106,0,.20) 0%, transparent 70%); border-radius: 50%; }
.hero-bg::after { content: ''; position: absolute; bottom: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,178,56,.12) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-label { color: var(--orange); background: rgba(255,106,0,.14); }
.hero-title { font-size: clamp(2rem, 4.3vw, 3rem); font-weight: 900; color: var(--white); line-height: 1.14; margin-bottom: 20px; letter-spacing: -.03em; }
.hero-title .highlight { background: linear-gradient(135deg, var(--orange), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.72); margin-bottom: 14px; line-height: 1.7; }
.hero-trust { font-size: .875rem; color: rgba(255,255,255,.48); margin-bottom: 32px; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.1); transition: all var(--t); }
.badge:hover { background: rgba(255,106,0,.15); border-color: var(--orange); color: var(--orange); }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,.5); }

/* ---------- app overview / device grid ---------- */
#overview { background: var(--off-white); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.overview-devices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.device-card { background: var(--white); border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all var(--t); }
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }
.device-card i { font-size: 2rem; color: var(--orange); margin-bottom: 10px; }
.device-card-name { font-size: .85rem; font-weight: 700; color: var(--ink); }
.device-card-sub { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.overview-points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.overview-point { display: flex; align-items: flex-start; gap: 12px; }
.overview-point-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,106,0,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.overview-point-icon i { font-size: .85rem; color: var(--orange); }
.overview-point-text { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
.overview-point-text strong { color: var(--ink); }

/* ---------- feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: all var(--t); }
.feature-card:hover { transform: translateY(-5px); border-color: var(--orange-light); box-shadow: var(--shadow-lg); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), var(--gold)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(255,106,0,.25); }
.feature-icon i { font-size: 1.1rem; color: var(--white); }
.feature-title { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.feature-desc { font-size: .835rem; color: var(--muted); line-height: 1.55; }

/* ---------- library / category strip ---------- */
#library { background: var(--black); }
#library .label { color: var(--gold); background: rgba(255,178,56,.1); }
#library .section-title { color: var(--white); }
#library .section-subtitle { color: rgba(255,255,255,.6); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.cat-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 20px 14px; text-align: center; transition: all var(--t); }
.cat-card:hover { background: rgba(255,106,0,.12); border-color: rgba(255,106,0,.35); transform: translateY(-4px); }
.cat-card:hover .cat-icon { color: var(--orange); }
.cat-icon { font-size: 1.6rem; color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color var(--t); }
.cat-name { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.78); }

/* ---------- download cards ---------- */
#download-preview { background: var(--off-white); }
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.download-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 26px; display: flex; flex-direction: column; transition: all var(--t); position: relative; overflow: hidden; }
.download-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--gold)); opacity: 0; transition: opacity var(--t); }
.download-card:hover::before { opacity: 1; }
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.download-card.featured { background: linear-gradient(145deg, var(--black), var(--black-mid)); border-color: transparent; }
.download-card.featured::before { opacity: 1; }
.download-card-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--orange), var(--gold)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 6px 18px rgba(255,106,0,.28); }
.download-card-icon i { font-size: 1.3rem; color: var(--white); }
.download-card-icon.dark-icon { background: linear-gradient(135deg, var(--black), var(--black-mid)); }
.download-card-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.download-card.featured .download-card-title { color: var(--white); }
.download-card-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 22px; }
.download-card.featured .download-card-desc { color: rgba(255,255,255,.6); }

/* ---------- installation tabs / steps ---------- */
.install-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.install-tab { padding: 10px 20px; border-radius: 100px; font-size: .875rem; font-weight: 700; background: var(--off-white); color: var(--muted); border: 2px solid var(--border); transition: all var(--t); min-height: 44px; }
.install-tab.active, .install-tab:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.install-panel { display: none; }
.install-panel.active { display: block; }

.steps-list { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 18px; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--gold)); color: var(--white); font-size: .875rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(255,106,0,.3); }
.step-line { width: 2px; flex: 1; background: var(--border); margin: 4px 0; }
.step:last-child .step-line { display: none; }
.step-body { padding-bottom: 30px; }
.step-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; padding-top: 5px; }
.step-desc { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.step-desc strong { color: var(--ink); }
.step-tip, .note { display: flex; gap: 10px; background: rgba(255,106,0,.06); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 12px 16px; margin-top: 10px; }
.step-tip i, .note i { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.step-tip p, .note p { font-size: .82rem; color: var(--ink-soft); line-height: 1.55; }
.note.blue { background: rgba(59,130,246,.06); border-left-color: #3B82F6; }
.note.blue i { color: #3B82F6; }
.note { margin: 0 0 28px; }
.step-code { display: inline-flex; align-items: center; gap: 12px; background: var(--black); color: var(--white); font-family: monospace; font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; padding: 12px 18px; border-radius: 10px; margin-top: 10px; }
.step-code button { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); color: var(--white); font-family: var(--font); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; transition: background var(--t); }
.step-code button:hover { background: var(--orange); }
.step-code button.copied { background: #22C55E; }

/* ---------- why / value grid on dark ---------- */
.why-section { background: linear-gradient(135deg, var(--black) 0%, var(--black-mid) 100%); }
.why-section .section-title { color: var(--white); }
.why-section .section-subtitle { color: rgba(255,255,255,.6); }
.why-section .label { color: var(--gold); background: rgba(255,178,56,.1); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 28px 22px; transition: all var(--t); }
.why-card:hover { background: rgba(255,106,0,.1); border-color: rgba(255,106,0,.3); transform: translateY(-4px); }
.why-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,106,0,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-icon i { font-size: 1rem; color: var(--orange); }
.why-title { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 7px; }
.why-desc { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.55; }

/* ---------- faq accordion ---------- */
#faq { background: var(--off-white); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--t); }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.open { border-color: var(--orange-light); box-shadow: var(--shadow); }
.faq-question { width: 100%; background: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-size: .95rem; font-weight: 700; color: var(--ink); text-align: left; gap: 12px; }
.faq-question:hover { color: var(--orange); }
.faq-item.open .faq-question { color: var(--orange); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--t); }
.faq-icon i { font-size: .7rem; color: var(--muted); transition: transform var(--t); }
.faq-item.open .faq-icon { background: var(--orange); }
.faq-item.open .faq-icon i { color: var(--white); transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; padding: 0 22px; }
.faq-item.open .faq-answer { max-height: 420px; padding: 0 22px 18px; }
.faq-answer p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.faq-answer a { color: var(--orange); font-weight: 600; }

/* ---------- contact card ---------- */
.contact-card { max-width: 560px; margin: 0 auto; text-align: center; background: linear-gradient(145deg, var(--black), var(--black-mid)); border-radius: var(--radius-lg); padding: 52px 40px; box-shadow: var(--shadow-xl); }
.contact-icon { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--orange), var(--gold)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(255,106,0,.35); }
.contact-icon i { font-size: 1.5rem; color: var(--white); }
.contact-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.contact-sub { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 28px; }
.contact-email-display { font-size: 1rem; font-weight: 700; color: var(--orange); margin-bottom: 24px; word-break: break-all; }

/* ---------- generic content page (legal / guides) ---------- */
.page-hero { background: linear-gradient(135deg, var(--black), var(--black-mid)); padding: 44px 0; }
.page-hero-inner { max-width: 860px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.page-hero-icon { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg, var(--orange), var(--gold)); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(255,106,0,.3); }
.page-hero-icon i { font-size: 1.3rem; color: var(--white); }
.page-hero h1 { font-size: 1.6rem; font-weight: 900; color: var(--white); margin-bottom: 5px; }
.page-hero p { font-size: .87rem; color: rgba(255,255,255,.55); line-height: 1.5; }

.page-wrap { max-width: 860px; margin: 0 auto; padding: 44px 24px 80px; }
.page-wrap.wide { max-width: 1180px; }
.content-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px 36px; }
.updated-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--off-white); border: 1px solid var(--border); padding: 5px 12px; border-radius: 100px; margin-bottom: 32px; }
.updated-chip i { color: var(--orange); }
.content-card h2 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 32px 0 10px; padding-top: 18px; border-top: 1px solid var(--border); }
.content-card h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.content-card p { font-size: .92rem; color: var(--muted); line-height: 1.78; margin-bottom: 12px; }
.content-card ul, .content-card ol { margin: 10px 0 14px 20px; display: flex; flex-direction: column; gap: 7px; }
.content-card li { font-size: .92rem; color: var(--muted); line-height: 1.65; }
.content-card li::marker { color: var(--orange); }
.content-card strong { color: var(--ink); font-weight: 700; }
.highlight-box { background: rgba(255,106,0,.06); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 16px 0; }
.highlight-box p { margin: 0; font-size: .875rem; }

/* ---------- table of contents ---------- */
.toc { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin-bottom: 32px; }
.toc-title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.toc li { font-size: .85rem; }
.toc a { color: var(--ink-soft); font-weight: 600; transition: color var(--t); }
.toc a:hover { color: var(--orange); }

/* ---------- related / topic-cluster cards ---------- */
.related-section { background: var(--off-white); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.related-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: all var(--t); }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }
.related-card-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,106,0,.1); display: flex; align-items: center; justify-content: center; }
.related-card-icon i { color: var(--orange); font-size: 1rem; }
.related-card-title { font-size: .95rem; font-weight: 700; color: var(--ink); }
.related-card-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; flex: 1; }
.related-card-link { font-size: .82rem; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 5px; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.07); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.65; max-width: 280px; }
.footer-col-title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-link:hover { color: var(--orange); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin-bottom: 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.3); line-height: 1.6; max-width: 720px; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); white-space: nowrap; }

/* ---------- scroll to top ---------- */
.scroll-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: var(--orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(255,106,0,.4); opacity: 0; pointer-events: none; transition: all var(--t); z-index: 999; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(255,106,0,.5); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .overview-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .hero-inner { text-align: center; }
  .hero-ctas, .hero-badges { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-hero-inner { flex-direction: column; text-align: center; }
  .content-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 36px 24px; }
  .page-wrap { padding: 28px 16px 60px; }
}
