/* ============================================
   VERLINGO — PUBLIC HELP CENTER / DOCS
   Uses the marketing front-end tokens (styles.css):
   --paper / --ink / --mute / --line / --cyan / --r-* / --shadow-*
   ============================================ */

/* ---------- hero ---------- */
.doc-hero {
	padding: 60px 0 44px;
	text-align: center;
	border-bottom: 1px solid var(--line);
	background: radial-gradient(820px 320px at 50% -30%, var(--cyan-soft), transparent 70%);
}
.doc-hero h1 { font-size: 44px; font-weight: 600; letter-spacing: -0.035em; margin: 0 0 12px; }
.doc-hero p { font-size: 17px; color: var(--mute); max-width: 560px; margin: 0 auto 28px; }
.doc-search { position: relative; max-width: 620px; margin: 0 auto; }
.doc-search > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--mute-2); }
.doc-search input {
	width: 100%; height: 54px; padding: 0 18px 0 48px;
	font: inherit; font-size: 15px; color: var(--ink);
	background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
	outline: none; box-shadow: var(--shadow-soft);
}
.doc-search input:focus { border-color: var(--cyan-2); box-shadow: 0 0 0 4px var(--cyan-soft); }

/* ---------- layout ---------- */
.doc-wrap { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 44px; padding-bottom: 96px; }
.doc-side { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 104px); overflow-y: auto; padding-right: 4px; }
.doc-side .grp { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--mute-2); padding: 18px 10px 6px; }
.doc-side .grp:first-child { padding-top: 0; }
.doc-side a { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 9px; color: var(--mute); font-size: 14px; font-weight: 450; }
.doc-side a svg { width: 16px; height: 16px; color: var(--mute-2); flex-shrink: 0; }
.doc-side a:hover { background: var(--paper-2); color: var(--ink); }
.doc-side a.active { background: var(--cyan-soft); color: var(--ink); font-weight: 500; }
.doc-side a.active svg { color: var(--cyan-2); }

/* ---------- content ---------- */
.doc-main { min-width: 0; }
.doc-sec { scroll-margin-top: 88px; margin-bottom: 56px; }
.doc-sec > h2 { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin: 0 0 8px; }
.doc-sec > h2 svg { width: 26px; height: 26px; color: var(--cyan-2); }
.doc-sec > .lead { font-size: 16.5px; color: var(--mute); margin: 0 0 24px; }
.doc-art { margin-bottom: 28px; }
.doc-art h3 { font-size: 18px; font-weight: 550; margin: 28px 0 10px; letter-spacing: -.01em; }
.doc-art p { margin: 0 0 13px; color: #34343a; }
.doc-art ul, .doc-art ol { margin: 0 0 14px; padding-left: 22px; }
.doc-art li { margin-bottom: 8px; color: #34343a; }
.doc-art strong { font-weight: 600; color: var(--ink); }
.doc-art a { color: var(--cyan-2); }
.doc-art a:hover { text-decoration: underline; }
.doc-art em { font-style: italic; }
.doc-art code { font-family: var(--font-mono); font-size: .85em; background: var(--paper-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }

/* cards */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 6px 0 18px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-soft); }
.doc-card .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--cyan-soft); color: var(--cyan-2); display: inline-grid; place-items: center; margin-bottom: 11px; }
.doc-card .ic svg { width: 19px; height: 19px; }
.doc-card h4 { margin: 0 0 4px; font-size: 15px; font-weight: 550; }
.doc-card p { margin: 0; font-size: 13.5px; color: var(--mute); }

/* steps */
.doc-steps { counter-reset: s; list-style: none; margin: 8px 0 18px; padding: 0; }
.doc-steps > li { counter-increment: s; position: relative; padding: 2px 0 18px 46px; color: #34343a; }
.doc-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.doc-steps > li::after { content: ''; position: absolute; left: 14.5px; top: 32px; bottom: 0; width: 1px; background: var(--line-2); }
.doc-steps > li:last-child::after { display: none; }
.doc-steps > li strong { display: block; margin-bottom: 2px; color: var(--ink); }

/* callouts */
.doc-call { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); margin: 8px 0 18px; font-size: 14.5px; border: 1px solid; color: #34343a; }
.doc-call svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.doc-call b { font-weight: 600; color: var(--ink); }
.doc-call.tip { background: var(--cyan-soft); border-color: var(--cyan-hairline); }
.doc-call.tip svg { color: var(--cyan-2); }
.doc-call.warn { background: rgba(217, 119, 6, .08); border-color: rgba(217, 119, 6, .26); }
.doc-call.warn svg { color: #b45309; }

/* badges */
.doc-badge { display: inline-flex; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; }
.bg-wait { background: rgba(217, 119, 6, .13); color: #b45309; }
.bg-active { background: var(--cyan-soft); color: var(--cyan-2); }
.bg-done { background: rgba(16, 163, 74, .12); color: #15803d; }

/* faq accordions */
.doc-faq { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; background: #fff; }
.doc-faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 550; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: '+'; font-size: 20px; color: var(--mute-2); font-weight: 400; }
.doc-faq[open] summary::after { content: '\2013'; }
.doc-faq .a { padding: 0 18px 16px; color: var(--mute); font-size: 14.5px; }
.doc-faq .a p { margin: 0; }
.doc-faq .a code { font-family: var(--font-mono); font-size: .85em; background: var(--paper-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }

.doc-none { display: none; text-align: center; color: var(--mute-2); padding: 64px 0; }
.doc-none svg { width: 24px; height: 24px; opacity: .5; }

/* footer CTA */
.doc-cta { padding-bottom: 90px; }
.doc-cta__in { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 40px; text-align: center; box-shadow: var(--shadow-card); }
.doc-cta__in h3 { margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.doc-cta__in p { margin: 0 0 20px; color: rgba(255, 255, 255, .68); }
.doc-cta__in .doc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--cyan); color: var(--ink); font-weight: 550; padding: 12px 22px; border-radius: var(--r-md); }
.doc-cta__in .doc-btn svg { width: 16px; height: 16px; }
.doc-cta__in .doc-btn:hover { background: #fff; }

/* mobile sections toggle */
.doc-burger { display: none; position: fixed; left: 16px; bottom: 16px; z-index: 110; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 550; padding: 11px 16px; border-radius: 999px; box-shadow: var(--shadow-card); }
.doc-burger svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
	.doc-wrap { grid-template-columns: 1fr; padding-top: 28px; }
	.doc-side { position: fixed; top: 0; left: 0; bottom: 0; width: 286px; max-width: 86vw; background: #fff; border-right: 1px solid var(--line); padding: 22px 16px; transform: translateX(-100%); transition: transform .2s ease; z-index: 120; overflow-y: auto; max-height: none; box-shadow: var(--shadow-card); }
	body.doc-nav-open .doc-side { transform: none; }
	.doc-burger { display: inline-flex; }
	.doc-hero h1 { font-size: 32px; }
	.doc-hero { padding: 44px 0 34px; }
}
