/**
 * "How Card2Tap Works" guide (Card2Tap\Help\HowGuide, plugin 1.65.0, design C "Modern Interactive Guide"): compact
 * header with the 4-step flow, "On this page" beside the article on wide screens, section cards, the tap flow, Wallet
 * buttons, feature cards, FAQ, related articles and a support box. Calm, light, Card2Tap blue; visible focus; nothing
 * conveyed by colour alone; one column and folding extra sections on phones.
 */
.c2t-how {
	--w-accent: var(--c2t-color-accent, #2146f3);
	--w-accent-soft: #eef2ff;
	--w-ink: var(--c2t-color-text, #0a0a0a);
	--w-text: #2b2f38;
	--w-muted: #4b5161;
	--w-line: #e4e6ec;
	--w-surface: #f6f7f9;
	--w-ok: #157347;
	--w-dark: #0b0d12;
	color: var(--w-text);
}
/* Links: Help resets link colours; the guide's own links are blue and underlined. */
body .c2t-help.c2t-how .c2t-how-main a:not(.c2t-help-btn):not([data-c2t-x]) { color: var(--w-accent); text-decoration: underline; text-underline-offset: 0.18em; }
body .c2t-help.c2t-how .c2t-how-main .c2t-how-quick a:not(.c2t-help-btn):not([data-c2t-x]), body .c2t-help.c2t-how .c2t-how-main .c2t-how-related a:not(.c2t-help-btn):not([data-c2t-x]) { color: var(--w-ink); text-decoration: none; } /* Cards, not inline links. */
body .c2t-help.c2t-how .c2t-how-support a:not(.c2t-help-btn):not([data-c2t-x]) { color: #fff; text-decoration: underline; }
body .c2t-help.c2t-how a.c2t-help-btn--primary:not([data-c2t-x]) { color: #fff; }
body .c2t-help.c2t-how a.c2t-help-btn:not(.c2t-help-btn--primary):not([data-c2t-x]) { color: var(--w-ink); }
.c2t-how a:focus-visible, .c2t-how button:focus-visible, .c2t-how select:focus-visible, .c2t-how summary:focus-visible { outline: 3px solid var(--w-accent); outline-offset: 3px; border-radius: 8px; }
.c2t-how h1, .c2t-how h2, .c2t-how h3 { color: var(--w-ink); text-wrap: balance; }
.c2t-how-small { font-size: 0.875rem; color: var(--w-muted); margin: 0 0 10px; }
.c2t-how-cap { font-size: 0.8125rem; color: var(--w-muted); margin: 8px 0 12px; }

/* ---------------------------------------------------------------- header */
.c2t-how .c2t-help-crumbs { display: block; } /* Help hides breadcrumbs on phones; the guides keep them (parents are links). */
.c2t-how-hero { padding: 28px 0 6px; }
.c2t-how-title { font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; margin: 6px 0 10px; }
.c2t-how-lead { margin: 0; max-width: 680px; font-size: 1.125rem; line-height: 1.55; color: var(--w-muted); }
.c2t-how-chips { list-style: none; margin: 16px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c2t-how-chips li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 1px solid var(--w-line); border-radius: 999px; background: #fff; font-size: 0.875rem; font-weight: 500; color: var(--w-ink); }
.c2t-how-chips svg { color: var(--w-ok); }
.c2t-how-updated { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 0.8125rem; color: var(--w-muted); }
.c2t-how-flow { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.15fr); border: 1px solid var(--w-line); border-radius: 18px; background: #fff; overflow: hidden; }
.c2t-how-flow li { margin: 0; padding: 14px 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; border-left: 1px solid var(--w-line); }
.c2t-how-flow li:first-child { border-left: 0; }
.c2t-how-flow__icon { width: 36px; height: 36px; border-radius: 12px; background: var(--w-accent-soft); color: var(--w-accent); display: flex; align-items: center; justify-content: center; }
.c2t-how-flow strong { display: block; font-size: 0.9375rem; line-height: 1.3; color: var(--w-ink); }
.c2t-how-flow li > span > span { display: block; font-size: 0.8125rem; line-height: 1.35; color: var(--w-muted); }
.c2t-how-flow .c2t-how-flow__loop { grid-template-columns: minmax(0, 1fr); text-align: center; background: var(--w-surface); }
.c2t-how-flow__loop strong { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; }

/* ---------------------------------------------------------------- layout: "On this page" + article */
.c2t-how-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 22px; padding-bottom: 56px; }
.c2t-how-toc { position: sticky; top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); font-size: 0.875rem; }
.c2t-how-toc__title { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-muted); }
.c2t-how-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--w-line); }
.c2t-how-toc li { margin: 0; }
body .c2t-help.c2t-how .c2t-how-toc a:not(.c2t-help-btn) { display: block; margin-left: -2px; padding: 6px 12px; border-left: 2px solid transparent; color: var(--w-muted); line-height: 1.35; text-decoration: none; }
body .c2t-help.c2t-how .c2t-how-toc a:not(.c2t-help-btn):hover { color: var(--w-ink); }
body .c2t-help.c2t-how .c2t-how-toc a[aria-current="true"] { color: var(--w-accent); border-left-color: var(--w-accent); font-weight: 600; }
.c2t-how-toc__cta { margin-top: 16px; width: 100%; justify-content: center; }
.c2t-how-main { display: grid; gap: 18px; min-width: 0; }
.c2t-how-jump label { display: block; margin: 0 0 4px; font-size: 0.875rem; font-weight: 600; color: var(--w-ink); }
.c2t-how-jump select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #c9ced8; border-radius: 12px; background: #fff; color: var(--w-ink); font: inherit; }

/* ---------------------------------------------------------------- section cards */
.c2t-how-card { scroll-margin-top: calc(16px + var(--wp-admin--admin-bar--height, 0px)); padding: 26px 28px; border: 1px solid var(--w-line); border-radius: 20px; background: #fff; min-width: 0; }
.c2t-how-card > h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.015em; }
.c2t-how-card h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.3; }
.c2t-how-card p { margin: 0 0 12px; }
.c2t-how-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--w-accent); color: #fff; font-size: 1rem; }
.c2t-how-fold { flex: none; display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--w-line); border-radius: 50%; background: #fff; color: var(--w-ink); align-items: center; justify-content: center; cursor: pointer; }
.c2t-how-fold svg { transition: transform 0.2s ease; transform: rotate(90deg); }
.c2t-how-fold[aria-expanded="true"] svg { transform: rotate(-90deg); }
.c2t-how-card__body.is-opening { animation: c2t-how-in 0.2s ease; }
@keyframes c2t-how-in { from { opacity: 0.4; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.c2t-how-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.c2t-how-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; }
.c2t-how-tile { padding: 16px; border: 1px solid var(--w-line); border-radius: 16px; background: #fff; min-width: 0; }
.c2t-how-tile > p:last-child { margin-bottom: 0; }
.c2t-how-tile--soft { background: var(--w-surface); }
.c2t-how-ti { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 12px; background: var(--w-accent-soft); color: var(--w-accent); }
.c2t-how-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 10px; }
.c2t-how-plans > div { padding: 14px; border: 1px solid var(--w-line); border-radius: 14px; font-size: 0.875rem; }
.c2t-how-plans h3 { font-size: 1rem; margin: 0 0 4px; }
.c2t-how-plans p { margin: 0; }
.c2t-how-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin: 14px 0; }
.c2t-how-split--nav { grid-template-columns: 220px minmax(0, 1fr); }
.c2t-how-split--phone { grid-template-columns: 250px minmax(0, 1fr); align-items: center; }
.c2t-how-stack { display: grid; gap: 10px; }
.c2t-how-check { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.c2t-how-check li { position: relative; margin: 0; padding-left: 28px; }
.c2t-how-check li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; background: var(--w-ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.c2t-how-note { margin: 12px 0 0; }
.c2t-how .c2t-guide-shot { margin: 0; }
.c2t-how .c2t-guide-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--w-line); border-radius: 14px; background: #fff; }
.c2t-how-phone { max-width: 250px; }
.c2t-how-phone .c2t-guide-shot img { border: 10px solid #15171d; border-radius: 34px; }
.c2t-how .c2t-guide-badge { display: block; margin: 4px 0 10px; }
.c2t-how .c2t-guide-badge img { display: block; height: 44px; width: auto; max-width: 100%; }
.c2t-how .c2t-guide-cta { margin: 6px 0 0; }
.c2t-how-url { display: inline-block; margin: 0; padding: 8px 12px; border: 1px solid var(--w-line); border-radius: 10px; background: var(--w-surface); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; color: var(--w-ink); overflow-wrap: anywhere; }
.c2t-how-tier { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--w-accent-soft); color: var(--w-accent); font-size: 0.75rem; font-weight: 700; }
.c2t-how-tier--premium { background: #f3edff; color: #5b2bd6; }
.c2t-how-sub { margin: 22px 0 10px !important; font-size: 1.125rem !important; }
.c2t-how-printed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.c2t-how-printed .c2t-how-ti { margin: 0; }

/* The "no physical card" callout. */
.c2t-how-optional { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 26px; border-radius: 20px; background: var(--w-accent-soft); color: var(--w-ink); }
.c2t-how-optional h2 { margin: 0 0 6px; font-size: 1.375rem; line-height: 1.25; }
.c2t-how-optional p { margin: 0 0 12px; }
.c2t-how-optional__more { margin: 0 !important; }
.c2t-how-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c2t-how-pills li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 0.875rem; font-weight: 600; }
.c2t-how-pills svg { color: var(--w-accent); }

/* What happens when someone taps: four steps joined by a dotted line (written out as text too). */
.c2t-how-tapflow { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c2t-how-tapflow li { position: relative; display: grid; gap: 8px; margin: 0; padding: 14px 12px 14px 0; }
.c2t-how-tapflow li:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: 48px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, #b9c3ff 0 6px, transparent 6px 10px); }
.c2t-how-dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--w-accent); color: #fff; }
.c2t-how-tapflow strong { font-size: 0.9375rem; line-height: 1.3; color: var(--w-ink); }
.c2t-how-tapflow small { font-size: 0.8125rem; color: var(--w-muted); }

/* What visitors can do. */
.c2t-how-feats { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.c2t-how-feats li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid var(--w-line); border-radius: 12px; font-size: 0.875rem; font-weight: 500; color: var(--w-ink); min-width: 0; }
.c2t-how-feats svg { color: var(--w-accent); }

/* FAQ. */
.c2t-how-faq details { border-top: 1px solid var(--w-line); }
.c2t-how-faq details:last-child { border-bottom: 1px solid var(--w-line); }
.c2t-how-faq summary { position: relative; padding: 14px 36px 14px 0; font-weight: 600; color: var(--w-ink); cursor: pointer; list-style: none; }
.c2t-how-faq summary::-webkit-details-marker { display: none; }
.c2t-how-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--w-muted); border-bottom: 2px solid var(--w-muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.c2t-how-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.c2t-how-faq details p { margin: 0 0 14px; }

/* Something not working? */
.c2t-how-quick { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.c2t-how-quick li { margin: 0; }
.c2t-how-quick a { display: flex; align-items: center; gap: 8px; height: 100%; padding: 10px 12px; border-radius: 12px; background: var(--w-surface); font-size: 0.875rem; font-weight: 500; }
.c2t-how-quick svg { color: var(--w-accent); flex: none; }
.c2t-how-quick a:hover { background: var(--w-accent-soft); }

/* Related articles, feedback, support. */
.c2t-how-related h2, .c2t-how .c2t-help-feedback h2 { margin: 6px 0 10px; font-size: 1.25rem; }
.c2t-how-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.c2t-how-related li { margin: 0; }
.c2t-how-related a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--w-line); border-radius: 14px; }
.c2t-how-related a:hover { border-color: var(--w-accent); }
.c2t-how-related strong { display: block; margin-bottom: 2px; color: var(--w-ink); }
.c2t-how-related span { font-size: 0.875rem; color: var(--w-muted); }
.c2t-how .c2t-help-feedback { margin: 0; }
.c2t-how-support { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 26px 28px; border-radius: 20px; background: var(--w-dark); color: #d6dae3; }
.c2t-how-support h2 { margin: 0 0 6px; font-size: 1.5rem; color: #fff; }
.c2t-how-support p { margin: 0; color: #b9bfcc; }
.c2t-how-support__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px !important; font-size: 0.875rem; }
.c2t-how-support__direct svg { color: #8ea0ff; }
.c2t-how-support__actions { display: flex; flex-wrap: wrap; gap: 10px; }
body .c2t-help.c2t-how .c2t-how-support a.c2t-help-btn:not(.c2t-help-btn--primary) { background: transparent; border-color: #3a404d; color: #fff; }

/* ---------------------------------------------------------------- tablets: one column, "Jump to section" */
@media (max-width: 1024px) {
	.c2t-how-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.c2t-how-toc { display: none; }
	.c2t-how-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c2t-how-flow li { border-left: 0; border-top: 1px solid var(--w-line); }
	.c2t-how-flow li:nth-child(-n+2) { border-top: 0; }
	.c2t-how-flow li:nth-child(even) { border-left: 1px solid var(--w-line); }
	.c2t-how-flow .c2t-how-flow__loop { grid-column: 1 / -1; border-left: 0; }
	.c2t-how-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.c2t-how-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
	.c2t-how-jump { display: none !important; }
}

/* ---------------------------------------------------------------- phones: one column, extra sections fold */
@media (max-width: 640px) {
	.c2t-how-hero { padding-top: 18px; }
	.c2t-how-lead { font-size: 1.0625rem; }
	.c2t-how-flow { grid-template-columns: minmax(0, 1fr); }
	.c2t-how-flow li, .c2t-how-flow li:nth-child(even) { border-left: 0; }
	.c2t-how-flow li:nth-child(2) { border-top: 1px solid var(--w-line); }
	.c2t-how-card { padding: 20px 18px; border-radius: 18px; }
	.c2t-how-card > h2 { font-size: 1.375rem; }
	.c2t-how-fold { display: inline-flex; }
	.c2t-how-grid2, .c2t-how-grid3, .c2t-how-plans, .c2t-how-split, .c2t-how-split--nav, .c2t-how-split--phone, .c2t-how-related ul, .c2t-how-quick { grid-template-columns: minmax(0, 1fr); }
	.c2t-how-phone { margin: 0 auto; }
	.c2t-how-split--nav .c2t-guide-shot img { max-width: 260px; }
	.c2t-how-optional { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.c2t-how-tapflow { grid-template-columns: minmax(0, 1fr); }
	.c2t-how-tapflow li { grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 8px 0; }
	.c2t-how-tapflow li:not(:last-child)::after { top: 48px; bottom: -10px; left: 19px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #b9c3ff 0 6px, transparent 6px 10px); }
	.c2t-how-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c2t-how-support { padding: 22px 20px; }
	.c2t-how-support__actions, .c2t-how-support__actions .c2t-help-btn { width: 100%; }
	.c2t-how-support__actions .c2t-help-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.c2t-how-fold svg, .c2t-how-faq summary::after { transition: none; }
	.c2t-how-card__body.is-opening { animation: none; }
}
