/*
 * Content pages: Contact, Resources & Support, Channel Partners.
 * Values copied from design/Contact.html, Support.html and Partners.html.
 */

/* ---------- Shared ---------- */
.page-contact .g2, .page-support .g2, .page-partners .g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.page-contact .g3, .page-support .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page-contact .card, .page-support .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; }
.page-contact a.card:hover, .page-support a.card:hover { border-color: var(--ghost-border); color: var(--ink); }
.join { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.join > * { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.join h3 { font-size: 20px; font-weight: 600; }
.join p { color: var(--muted); font-size: 15px; }
.j3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.j4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.link { font-weight: 600; font-size: 15px; text-decoration: none; }

/* ---------- Contact ---------- */
.page-contact .routes { margin-top: 16px; }
.contact-main { padding-top: 80px; }
.details .row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--panel-line); }
.details .row:last-child { border-bottom: 0; }
.details .k { font: 500 11px/1.8 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.details .v { font-size: 16px; font-weight: 500; }
.details .v-break { word-break: break-word; }
.details .v-social { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 15px; }
.details .v-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--soft-text); text-decoration: none; }
.details .v-social a:hover { color: var(--accent); }
.details .v-social svg { width: 18px; height: 18px; }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 4px; background: #1E874A; color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 15px; }
.wa-btn:hover { color: #FFFFFF; opacity: .9; }
.map { display: block; position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; background: var(--surface-alt); }
.map { text-decoration: none; }
.map-art { display: block; width: 100%; height: 100%; }
.map-label { position: absolute; left: 12px; top: 12px; background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius-form); padding: 8px 10px; max-width: 60%; }
.map-title, .map-address { display: block; }
.map-title { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--heading); }
.map-address { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.map-btn { position: absolute; right: 14px; bottom: 14px; background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 8px 12px; font-size: 13px; font-weight: 600; text-decoration: none; }
.map:hover .map-btn { opacity: .9; }

/* ---------- Resources & Support ---------- */
.page-support .sec { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.page-support .sec h2 { font-size: 34px; font-weight: 600; }
.page-support .quick { margin-top: 20px; }
.page-support .quick .card { flex-direction: row; gap: 16px; align-items: center; }
.page-support .quick svg { flex: none; }
.quick-text { display: flex; flex-direction: column; gap: 2px; }
.page-support .join > * { padding: 24px; gap: 8px; }
.page-support .mono { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.docs-help { padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.faq { display: flex; flex-direction: column; min-width: 0; }
.faq > .lbl { margin-bottom: 10px; }
.faq > h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); line-height: 1.65; }
.warranty-box { padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.page-support .warranty-box h2 { font-size: 26px; }
.warranty-box .w-text { color: var(--soft-text); }
.warranty-box .w-text b { color: var(--ink); }
.claim-title { margin-top: 6px; }
.claim { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--soft-text); font-size: 15px; }
.claim-link { margin-top: 4px; }
.support-contact { margin-top: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 14px; }

/* ---------- Channel Partners ---------- */
.partners-hero { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.partners-hero h1 { font-size: 56px; font-weight: 700; max-width: 860px; }
.partners-hero .accent { color: var(--accent); }
.partners-hero .hero-cta { margin-top: 8px; }
.page-partners .sec { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.page-partners .sec-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin-bottom: 44px; }
.page-partners .sec-head h2 { font-size: 40px; font-weight: 600; }
.page-partners .sec-head p { color: var(--muted); max-width: 62ch; margin-top: 14px; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.page-partners .h-36 { font-weight: 600; }
.apply-photo { aspect-ratio: 4 / 3; margin-top: 12px; }
.apply-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); display: block; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1080px) {
	.j4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.page-contact .g2, .page-support .g2, .page-partners .g2, .page-contact .g3, .page-support .g3, .j3 { grid-template-columns: minmax(0, 1fr); }
	.page-contact .g2, .page-support .g2, .page-partners .g2 { gap: 40px; }
	.page-support .sec { padding-top: 56px; padding-bottom: 56px; }
	.page-partners .sec-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.page-partners .sec { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
	.j4 { grid-template-columns: minmax(0, 1fr); }
	.details .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- About (design: About.html) ---------- */
.page-about .sec { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.page-about .sec-head, .page-legal .sec-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin-bottom: 44px; }
.page-about .sec-head h2 { font-size: 40px; font-weight: 600; }
.page-about .sec-head p { color: var(--muted); max-width: 62ch; margin-top: 14px; }
.page-about .g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.page-about .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page-about .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.page-about .card h3 { font-size: 20px; font-weight: 600; }
.page-about .card p { color: var(--muted); font-size: 15px; }
.about-hero { padding-top: 64px; padding-bottom: 80px; }
.about-hero-text { gap: 20px; }
.about-hero-text h1 { font-size: 54px; font-weight: 700; }
.about-hero-text .accent { color: var(--accent); }
.fs-18 { font-size: 18px; }
.about-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-panel); overflow: hidden; border: 1px solid var(--line); background: var(--surface-alt); }
.about-photo img, .app-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.facts b { font-family: var(--font-heading); font-size: 24px; }
.page-about .caps { margin-top: 80px; }
.stages { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; }
.stages li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.stages li:last-child { border-bottom: 1px solid var(--line); }
.stages .stage-n { padding-top: 3px; }
.page-about .sec-head .stages p, .stage-text { margin: 0; }
.stage-text { display: flex; flex-direction: column; gap: 4px; }
.stage-text b { font-size: 17px; }
.page-about .card.app { padding: 0; overflow: hidden; gap: 0; }
.app-img { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.app-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.apps-btns { margin-top: 36px; }

/* ---------- Legal (design: Privacy.html, Terms.html) ---------- */
.legal-head { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.legal-head h1 { font-size: 52px; font-weight: 700; }
.legal-intro { font-size: 18px; max-width: 64ch; }
.page-legal .legal-sec { padding-top: 56px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.lg { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 24px; font-size: 14px; }
.toc .lbl { margin-bottom: 4px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; font-weight: 600; margin-top: 44px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--soft-text-2); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--accent); }

/* ---------- Thank you (design: ThankYou.html) ---------- */
.thanks { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(30, 162, 232, .25); }
.thanks h1 { font-size: 52px; font-weight: 700; max-width: 18ch; }
.thanks-intro { font-size: 18px; max-width: 56ch; }
.thanks-steps { width: 100%; max-width: 720px; text-align: left; margin-top: 12px; }
.thanks-steps .join { border: 0; background: var(--panel-line); }
.thanks-steps .join > * { background: var(--panel); }
.thanks-sooner { font-size: 15px; margin-top: 8px; }
.thanks-btns { justify-content: center; }
.thanks-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 16px; font-size: 15px; }
.thanks-links a { text-decoration: none; }

@media (max-width: 820px) {
	.page-about .g2, .page-about .g3 { grid-template-columns: minmax(0, 1fr); }
	.page-about .g2 { gap: 40px; }
	.page-about .sec-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.page-about .sec, .page-legal .legal-sec { padding-bottom: 64px; }
	.page-about .sec { padding-top: 64px; }
	.lg { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
}

/* Support: questions on their own while warranty information is hidden (owner, 1 Dec 2026). */
.page-support .faq-only .faq { max-width: 860px; }
.page-support .g3.quick-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .page-support .g3.quick-2 { grid-template-columns: minmax(0, 1fr); } }
