/* ═══════════════════════════════════════════════════════════════════════
   help.css — public Help Center at /help.

   Block: .gg-hc  (Help Center)

   Sections:
     1. Body + ambient
     2. Atoms (eyebrow, breadcrumb)
     3. Hero with search input + popular chips
     4. Topic grid (3-up cards with article list inside)
     5. Popular articles ordered list
     6. Contact rail (dark gradient with 4 channels)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Body / wrapper ──────────────────────────────────────────────────── */
.gg-hc-body{ background: var(--gg-off-white, #FAFAFA); }
.gg-hc-body::before{
	content: ""; position: fixed; inset: 0;
	background:
		radial-gradient(1100px 460px at 8% -8%, rgba(237,41,56,.06), transparent 70%),
		radial-gradient(900px 420px at 110% 12%, rgba(245,158,11,.05), transparent 75%);
	pointer-events: none; z-index: 0;
}
.gg-hc{ width: 100%; padding: 20px 28px 32px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
@media (max-width: 700px){ .gg-hc{ padding: 14px 14px 48px; } }

/* ── Atoms ───────────────────────────────────────────────────────────── */
.gg-hc__eyebrow{
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-2xs, 11px);
	font-weight: 700;
	color: var(--gg-red, #ED2938);
	letter-spacing: .14em; text-transform: uppercase;
	margin-bottom: 4px;
}
.gg-hc__eyebrow i{ font-size: 13px; }
.gg-hc__eyebrow--light{ color: rgba(255,255,255,.82); }
.gg-hc__eyebrow--light i{ color: #fff; }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.gg-hc__crumbs{ margin: 0; }
.gg-hc__crumbs-list{
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-xs, 12px);
	font-weight: 600;
	color: var(--gg-gray-500, #6B7280);
}
.gg-hc__crumbs-list li{ display: inline-flex; align-items: center; gap: 8px; }
.gg-hc__crumbs-list li:not(:last-child)::after{ content: "/"; color: var(--gg-gray-300, #D1D5DB); font-weight: 500; }
.gg-hc__crumbs-list a{ color: var(--gg-gray-500, #6B7280); transition: color 180ms ease; }
.gg-hc__crumbs-list a:hover{ color: var(--gg-red-deep, #B91C28); }
.gg-hc__crumbs-list span[aria-current]{ color: var(--gg-gray-800, #1F2937); }

/* ── HERO ────────────────────────────────────────────────────────────── */
.gg-hc__hero{
	position: relative; overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(135deg, #FFF8F8 0%, #FFF1F2 50%, #FFFAF7 100%);
	border: 1px solid rgba(237,41,56,.14);
	box-shadow: 0 1px 2px rgba(237,41,56,.04), 0 16px 36px -22px rgba(237,41,56,.18);
}
.gg-hc__hero-bg{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gg-hc__hero-glow{ position: absolute; border-radius: 50%; filter: blur(60px); }
.gg-hc__hero-glow--a{ top: -80px; left: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(237,41,56,.2), transparent 70%); }
.gg-hc__hero-glow--b{ bottom: -70px; right: -50px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(245,158,11,.16), transparent 70%); }

.gg-hc__hero-inner{
	position: relative;
	padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 56px);
	display: flex; flex-direction: column; align-items: center;
	text-align: center;
	max-width: 880px; margin: 0 auto;
}
.gg-hc__hero-title{
	font-family: var(--gg-font-head);
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.025em;
	color: var(--gg-black, #0A0A0A);
	margin: 2px 0 0;
}
.gg-hc__hero-accent{
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.gg-hc__hero-sub{
	margin: 12px 0 0;
	font-family: var(--gg-font-body);
	font-size: clamp(14px, 1.1vw, 16px);
	color: var(--gg-gray-700, #374151);
	line-height: 1.55;
	max-width: 56ch;
}

/* — Hero search — */
.gg-hc__search{
	margin: clamp(20px, 2.6vw, 28px) 0 0;
	width: 100%; max-width: 720px;
	display: flex; align-items: center;
	background: #fff;
	border: 1.5px solid rgba(237,41,56,.18);
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 18px 32px -20px rgba(237,41,56,.32);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.gg-hc__search:focus-within{
	border-color: var(--gg-red, #ED2938);
	box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 0 0 4px rgba(237,41,56,.10), 0 20px 36px -20px rgba(237,41,56,.42);
}
.gg-hc__search-ico{ color: var(--gg-red-deep, #B91C28); font-size: 18px; flex-shrink: 0; }
.gg-hc__search-input{
	flex: 1; min-width: 0;
	border: 0; background: transparent; outline: 0;
	padding: 14px 14px;
	font-family: var(--gg-font-body);
	font-size: 15px;
	color: var(--gg-gray-800, #1F2937);
}
.gg-hc__search-input::placeholder{ color: var(--gg-gray-400, #9CA3AF); }
.gg-hc__search-btn{
	display: inline-flex; align-items: center; gap: 6px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	color: #fff;
	font-family: var(--gg-font-head);
	font-size: 12px; font-weight: 800;
	letter-spacing: .04em; text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 22px -10px rgba(237,41,56,.6);
	transition: transform 220ms ease, filter 220ms ease, gap 220ms ease;
}
.gg-hc__search-btn i{ font-size: 13px; transition: transform 220ms ease; }
.gg-hc__search-btn:hover{ transform: translateY(-1px); filter: brightness(1.05); gap: 8px; }
.gg-hc__search-btn:hover i{ transform: translateX(2px); }
@media (max-width: 540px){
	.gg-hc__search-btn span{ display: none; }
	.gg-hc__search-btn{ padding: 12px 14px; }
}

.gg-hc__quick{
	margin: clamp(16px, 2vw, 22px) 0 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 8px;
}
.gg-hc__quick-label{
	font-family: var(--gg-font-head);
	font-size: 11px;
	font-weight: 700;
	color: var(--gg-gray-500, #6B7280);
	letter-spacing: .08em; text-transform: uppercase;
}
.gg-hc__quick-chip{
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,.86);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(237,41,56,.14);
	color: var(--gg-gray-800, #1F2937);
	font-family: var(--gg-font-head);
	font-size: 12px; font-weight: 700;
	transition: all 200ms ease;
}
.gg-hc__quick-chip i{ color: var(--gg-red, #ED2938); font-size: 12px; }
.gg-hc__quick-chip:hover{
	background: #fff;
	border-color: var(--gg-red, #ED2938);
	color: var(--gg-red-deep, #B91C28);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -10px rgba(237,41,56,.32);
}

/* ── Section heads ──────────────────────────────────────────────────── */
.gg-hc__sec-head{ display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.gg-hc__sec-title{
	margin: 0;
	font-family: var(--gg-font-head);
	font-size: clamp(var(--gg-text-lg, 18px), 1.8vw, var(--gg-text-xl, 22px));
	font-weight: 800;
	color: var(--gg-black, #0A0A0A);
	letter-spacing: -.02em;
}
.gg-hc__sec-sub{
	margin: 0;
	font-family: var(--gg-font-body);
	font-size: var(--gg-text-sm, 14px);
	color: var(--gg-gray-500, #6B7280);
}

/* ── Topics grid ────────────────────────────────────────────────────── */
.gg-hc__topic-grid{
	list-style: none; padding: 0; margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 20px);
}
@media (max-width: 1100px){ .gg-hc__topic-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){  .gg-hc__topic-grid{ grid-template-columns: 1fr; } }

.gg-hc__topic-card{
	display: flex; flex-direction: column; gap: 14px;
	padding: clamp(18px, 2vw, 22px);
	background: var(--gg-white, #fff);
	border: 1px solid var(--gg-gray-200, #E5E7EB);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
	transition: transform 240ms cubic-bezier(.16,1,.3,1), border-color 240ms ease, box-shadow 240ms ease;
	height: 100%;
}
.gg-hc__topic-card:hover{
	transform: translateY(-3px);
	border-color: var(--gg-red-subtle, rgba(237,41,56,.32));
	box-shadow: 0 1px 2px rgba(237,41,56,.06), 0 22px 36px -18px rgba(237,41,56,.2);
}

.gg-hc__topic-head{ display: flex; align-items: flex-start; gap: 12px; }
.gg-hc__topic-ico{
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	color: #fff;
	font-size: 19px;
	box-shadow: 0 10px 20px -10px rgba(237,41,56,.55);
	transition: transform 280ms ease;
}
.gg-hc__topic-card:hover .gg-hc__topic-ico{ transform: rotate(-4deg) scale(1.05); }
.gg-hc__topic-headtext{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gg-hc__topic-title{
	margin: 0;
	font-family: var(--gg-font-head);
	font-size: 16px;
	font-weight: 800;
	color: var(--gg-black, #0A0A0A);
	letter-spacing: -.015em;
	line-height: 1.2;
}
.gg-hc__topic-short{
	margin: 0;
	font-family: var(--gg-font-body);
	font-size: 12.5px;
	color: var(--gg-gray-500, #6B7280);
	line-height: 1.45;
}

.gg-hc__topic-articles{
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column;
	border-top: 1px dashed var(--gg-gray-200, #E5E7EB);
	padding-top: 10px;
}
.gg-hc__topic-link{
	display: flex; align-items: center; gap: 8px;
	padding: 8px 4px;
	color: var(--gg-gray-700, #374151);
	font-family: var(--gg-font-body);
	font-size: 13px;
	border-radius: 8px;
	transition: background 180ms ease, color 180ms ease, padding 180ms ease;
}
.gg-hc__topic-link > i:first-child{ color: var(--gg-gray-400, #9CA3AF); font-size: 13px; flex-shrink: 0; }
.gg-hc__topic-link span{ flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg-hc__topic-link-arr{ color: var(--gg-gray-400, #9CA3AF); font-size: 11px; transition: color 180ms ease, transform 180ms ease; }
.gg-hc__topic-link:hover{
	background: var(--gg-red-light, #FFF1F2);
	color: var(--gg-red-deep, #B91C28);
	padding-left: 10px;
}
.gg-hc__topic-link:hover > i:first-child,
.gg-hc__topic-link:hover .gg-hc__topic-link-arr{ color: var(--gg-red, #ED2938); }
.gg-hc__topic-link:hover .gg-hc__topic-link-arr{ transform: translate(2px, -2px); }

.gg-hc__topic-cta{
	margin-top: auto;
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--gg-font-head);
	font-size: 11px; font-weight: 800;
	color: var(--gg-gray-700, #374151);
	letter-spacing: .04em; text-transform: uppercase;
	transition: color 220ms ease, gap 220ms ease;
}
.gg-hc__topic-cta i{ font-size: 12px; transition: transform 220ms ease; }
.gg-hc__topic-card:hover .gg-hc__topic-cta{ color: var(--gg-red-deep, #B91C28); gap: 9px; }
.gg-hc__topic-card:hover .gg-hc__topic-cta i{ transform: translateX(2px); }

/* ── Popular articles ────────────────────────────────────────────────── */
.gg-hc__popular{
	background: var(--gg-white, #fff);
	border: 1px solid var(--gg-gray-200, #E5E7EB);
	border-radius: 16px;
	padding: clamp(18px, 2vw, 26px) clamp(20px, 2.2vw, 28px);
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.gg-hc__popular-list{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.gg-hc__pop-row{
	display: flex; align-items: center; gap: 14px;
	padding: 14px 10px;
	border-bottom: 1px dashed var(--gg-gray-200, #E5E7EB);
	color: inherit;
	border-radius: 8px;
	transition: background 200ms ease, padding 200ms ease;
}
.gg-hc__pop-row:last-child{ border-bottom: 0; }
.gg-hc__pop-num{
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 34px; height: 34px;
	border-radius: 10px;
	background: var(--gg-red-light, #FFF1F2);
	color: var(--gg-red-deep, #B91C28);
	font-family: var(--gg-font-head);
	font-size: 13px; font-weight: 800;
	letter-spacing: -.02em;
	transition: all 220ms ease;
}
.gg-hc__pop-body{ flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gg-hc__pop-body strong{
	font-family: var(--gg-font-head);
	font-size: 14px;
	font-weight: 800;
	color: var(--gg-black, #0A0A0A);
	letter-spacing: -.01em;
	transition: color 220ms ease;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gg-hc__pop-body span{
	display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
	font-family: var(--gg-font-body);
	font-size: 11.5px;
	color: var(--gg-gray-500, #6B7280);
}
.gg-hc__pop-body span i{ color: var(--gg-red, #ED2938); font-size: 11px; }
.gg-hc__pop-arr{
	color: var(--gg-gray-400, #9CA3AF);
	font-size: 15px;
	transition: color 220ms ease, transform 220ms ease;
}
.gg-hc__pop-row:hover{ background: var(--gg-gray-50, #F9FAFB); padding-left: 14px; }
.gg-hc__pop-row:hover .gg-hc__pop-num{
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	color: #fff;
	box-shadow: 0 8px 16px -8px rgba(237,41,56,.5);
}
.gg-hc__pop-row:hover .gg-hc__pop-body strong{ color: var(--gg-red-deep, #B91C28); }
.gg-hc__pop-row:hover .gg-hc__pop-arr{ color: var(--gg-red, #ED2938); transform: translateX(3px); }

/* ── Contact rail (dark) ─────────────────────────────────────────────── */
.gg-hc__contact{
	position: relative; overflow: hidden;
	border-radius: var(--gg-r-xl, 16px);
	background: linear-gradient(135deg, var(--gg-black, #0A0A0A), var(--gg-black-soft, #141414));
	padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px);
}
.gg-hc__contact-glow{
	position: absolute; inset: 0;
	background:
		radial-gradient(560px 280px at 14% 120%, rgba(237,41,56,.4), transparent 70%),
		radial-gradient(500px 250px at 92% -10%, rgba(245,158,11,.24), transparent 70%);
	pointer-events: none;
}
.gg-hc__contact-head{ position: relative; text-align: center; margin-bottom: clamp(20px, 3vw, 32px); max-width: 640px; margin-inline: auto; }
.gg-hc__contact-title{
	font-family: var(--gg-font-head);
	font-size: clamp(var(--gg-text-xl, 22px), 2.4vw, var(--gg-text-2xl, 28px));
	font-weight: 800; letter-spacing: -.02em;
	color: #fff; margin: 0 0 8px; line-height: 1.15;
}
.gg-hc__contact-sub{
	font-family: var(--gg-font-body);
	font-size: var(--gg-text-base, 15px);
	color: rgba(255,255,255,.72);
	margin: 0;
}
.gg-hc__contact-grid{
	position: relative;
	list-style: none; padding: 0; margin: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
@media (max-width: 1100px){ .gg-hc__contact-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){  .gg-hc__contact-grid{ grid-template-columns: 1fr; } }
.gg-hc__contact-card{
	display: flex; align-items: center; gap: 12px;
	padding: 14px 16px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	color: #fff;
	backdrop-filter: blur(8px);
	transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.gg-hc__contact-card > div{ flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gg-hc__contact-card strong{
	font-family: var(--gg-font-head);
	font-size: 14px; font-weight: 800;
	color: #fff; letter-spacing: -.01em;
}
.gg-hc__contact-card span{
	font-family: var(--gg-font-body);
	font-size: 12px;
	color: rgba(255,255,255,.66);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gg-hc__contact-ico{
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 38px; height: 38px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	color: #fff;
	font-size: 16px;
	box-shadow: 0 10px 22px -10px rgba(237,41,56,.6);
}
.gg-hc__contact-arr{ color: rgba(255,255,255,.4); font-size: 14px; transition: color 220ms ease, transform 220ms ease; }
.gg-hc__contact-card:hover{
	background: rgba(255,255,255,.1);
	border-color: rgba(237,41,56,.5);
	transform: translateY(-2px);
}
.gg-hc__contact-card:hover .gg-hc__contact-arr{ color: #fff; transform: translate(2px, -2px); }

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
	.gg-hc__topic-card, .gg-hc__topic-ico, .gg-hc__pop-row, .gg-hc__quick-chip, .gg-hc__contact-card{ transition: none !important; }
}
