/* =====================================================================
   Product website: components
   1. Header  2. Mobile sheet  3. Footer  4. Section heads  5. Bento
   6. Cards and ticks  7. FAQ  8. Plans  9. Calculator  10. Tour
   11. Steps  12. Final CTA  13. Dark band (.trust)
   ===================================================================== */

/* 1. Header ------------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--header-bg);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; transition: height .2s var(--ease); }
.site-header.is-scrolled .header-inner { height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; font-size: 1.1875rem; letter-spacing: -.03em; color: var(--ink); min-height: 44px; }
.mark { width: 28px; height: 28px; color: var(--accent); }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 2px; justify-content: center; }
.main-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 9px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); transition: color .15s var(--ease), background-color .15s var(--ease); }
@media (hover: hover) { .main-nav a:hover { color: var(--ink); background: var(--surface-2); } }
.main-nav a[aria-current="page"] { color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 4px; }
.lang-switch { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border-radius: 11px; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; color: var(--ink-2); }
@media (hover: hover) { .lang-switch:hover { background: var(--surface-2); color: var(--ink); } }
.theme-toggle .only-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .only-dark { display: block; } :root:not([data-theme="light"]) .theme-toggle .only-light { display: none; } }
:root[data-theme="dark"] .theme-toggle .only-dark { display: block; }
:root[data-theme="dark"] .theme-toggle .only-light { display: none; }
.header-cta { margin-left: 6px; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
	.main-nav { display: none; }
	.header-tools { margin-left: auto; }
	.menu-btn { display: inline-grid; }
}
@media (max-width: 640px) {
	.header-inner { height: 60px; gap: 8px; }
	.site-header.is-scrolled .header-inner { height: 56px; }
	.signin, .header-cta, .header-tools .lang-switch { display: none; }
}

/* 2. Mobile sheet --------------------------------------------------------
   Without JS the sheet opens through :target (the menu button is a link to
   #mobile-menu); with JS it is a focus-trapped dialog (.is-open). */
.sheet {
	position: fixed; inset: 0; z-index: 80; display: none; flex-direction: column;
	background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
}
.sheet:target, .sheet.is-open { display: flex; }
.js .sheet:target:not(.is-open) { display: none; }
.sheet.is-open { animation: sheet-in .22s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 60px; flex: none; }
.sheet-nav { display: flex; flex-direction: column; gap: 28px; padding-top: 12px; padding-bottom: 40px; }
.sheet-nav ul a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.sheet-nav ul a[aria-current="page"] { color: var(--accent-text); }
.sheet-actions { display: grid; gap: 10px; }
.sheet-lang { display: flex; gap: 14px; align-items: center; color: var(--ink-3); font-size: var(--fs-sm); }
.sheet-lang a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); }
.sheet-lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
body.has-sheet { overflow: hidden; }

/* 3. Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 32ch; color: var(--ink-2); font-size: var(--fs-sm); }
.footer-col h2 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; color: var(--ink-3); margin-bottom: 14px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); font-size: var(--fs-sm); }
@media (hover: hover) { .footer-col a:hover { color: var(--ink); } }
.footer-base { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; margin-top: 56px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-xs); }
.footer-note { display: inline-flex; gap: 8px; align-items: center; }
.footer-note .ic { width: 16px; height: 16px; }
.footer-lang { display: flex; gap: 14px; }
.footer-lang a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { gap: 28px 16px; } }

/* 4. Section heads -------------------------------------------------------- */
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 64px); }
.sec-head .lead { margin-top: 18px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head.is-center .lead { margin-inline: auto; }

/* 5. Bento ------------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.bento-item { grid-column: span 3; }
.bento-item.b-0, .bento-item.b-1, .bento-item.b-6, .bento-item.b-7 { grid-column: span 6; }
.bento-item a {
	position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
	padding: 26px 26px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
	box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.bento-item.b-0 a, .bento-item.b-1 a { padding: 32px 32px 36px; }
.bento-item.b-0 h3, .bento-item.b-1 h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.bento-item p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
.bento-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; }
.bento-ic .ic { width: 21px; height: 21px; }
.bento-more { position: absolute; right: 22px; top: 24px; color: var(--ink-3); opacity: 0; transform: translateX(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
@media (hover: hover) {
	.bento-item a:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
	.bento-item a:hover .bento-more { opacity: 1; transform: none; }
}
@media (max-width: 1000px) { .bento-item, .bento-item.b-0, .bento-item.b-1, .bento-item.b-6, .bento-item.b-7 { grid-column: span 6; } }
@media (max-width: 600px) { .bento { gap: 10px; } .bento-item, .bento-item.b-0, .bento-item.b-1, .bento-item.b-6, .bento-item.b-7 { grid-column: 1 / -1; } .bento-item a, .bento-item.b-0 a, .bento-item.b-1 a { padding: 22px; } }

/* 6. Cards and ticks ---------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card h2, .card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
.ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); stroke-width: 2; }
.ticks-inline { grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
@media (max-width: 860px) { .ticks-inline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ticks-inline { grid-template-columns: 1fr; } }
.ticks-cards { gap: 10px; }
.ticks-cards li { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 560; background: rgba(140, 145, 160, .16); color: inherit; white-space: nowrap; line-height: 1.6; font-style: normal; }

/* 7. FAQ ---------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.faq-title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
	font-weight: 580; font-size: 1.0625rem; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--ink-3); transition: transform .22s var(--ease); }
.faq-item[open] .faq-ic { transform: rotate(45deg); color: var(--accent-text); }
.faq-a { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 68ch; }
@media (hover: hover) { .faq-item summary:hover { color: var(--accent-text); } }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } .faq-title { position: static; } .faq-a { padding-right: 0; } }

/* 8. Plans --------------------------------------------------------------------- */
.billing-switch { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-sm); }
.billing-switch label { position: relative; cursor: pointer; }
.billing-switch input { position: absolute; opacity: 0; inset: 0; }
.billing-switch span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 9px; font-weight: 560; font-size: var(--fs-sm); color: var(--ink-2); transition: background-color .18s var(--ease), color .18s var(--ease); }
.billing-switch input:checked + span { background: var(--ink); color: var(--bg); }
.billing-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.save-chip { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.billing-switch input:checked + span .save-chip { background: rgba(127, 160, 255, .25); color: inherit; }
.no-js .billing-switch { display: none; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
	position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px;
	border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h3 { font-size: 1.375rem; }
.plan-flag { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.plan-blurb { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; min-height: 4.8em; }
.price p { display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-size: clamp(2.5rem, 2.1rem + 1.4vw, 3.25rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--ink-3); font-size: var(--fs-sm); }
.price-note { margin-top: 8px; color: var(--ink-3); font-size: var(--fs-xs); min-height: 3em; }
.save-line { display: block; margin-top: 2px; font-weight: 600; color: var(--accent-text); }
.price .price-yearly, .note-yearly { display: none; }
.plans[data-billing="yearly"] .price .price-monthly, .plans[data-billing="yearly"] .note-monthly { display: none; }
.plans[data-billing="yearly"] .price .price-yearly { display: flex; }
.plans[data-billing="yearly"] .note-yearly { display: inline; }
.no-js .price .price-yearly { display: flex; }
.no-js .price-yearly .amount { font-size: 1.125rem; font-weight: 560; letter-spacing: -.01em; }
.no-js .note-yearly { display: inline; }
.no-js .note-monthly { display: none; }
.plan .ticks { padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan-blurb { min-height: 0; } }

/* 9. Calculator ------------------------------------------------------------------ */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { float: left; width: 100%; font-weight: 620; font-size: 1.0625rem; letter-spacing: -.01em; padding: 0; margin-bottom: 14px; }
.calc legend + * { clear: both; }
.calc .calc-tools { padding: 30px 32px; }
.calc-head { display: grid; grid-template-columns: 1fr 120px; font-size: var(--fs-xs); color: var(--ink-3); padding-bottom: 6px; }
.calc-head span:last-child { text-align: right; }
.calc-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; min-height: 52px; border-top: 1px solid var(--line); }
.calc-row .check { align-items: center; min-height: 44px; font-size: var(--fs-sm); }
.calc-price { position: relative; }
.calc-price .cur { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: var(--fs-sm); pointer-events: none; }
.calc-price input { min-height: 40px; padding: 6px 10px 6px 26px; text-align: right; font-variant-numeric: tabular-nums; border-radius: 9px; font-size: var(--fs-sm); }
.calc-row:has(input[type="checkbox"]:not(:checked)) .calc-price input { opacity: .45; }
.calc-note { display: flex; gap: 8px; margin-top: 16px; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.5; }
.calc-note .ic { width: 16px; height: 16px; margin-top: 1px; }
.calc-side { display: flex; flex-direction: column; gap: 22px; padding: 30px 32px; background: var(--surface-2); border-left: 1px solid var(--line); }
.calc-size { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-size legend { grid-column: 1 / -1; }
.calc-size label { display: grid; gap: 6px; font-size: var(--fs-xs); color: var(--ink-2); }
.calc-size input { min-height: 44px; }
.calc-out { display: grid; gap: 0; }
.calc-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.calc-out dt { color: var(--ink-2); font-size: var(--fs-sm); }
.calc-out dd { text-align: right; }
.calc-out b { font-size: 1.375rem; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-out small { display: block; color: var(--ink-3); }
.calc-diff b { font-size: 2rem; color: var(--accent-text); }
.calc-more { color: var(--ink-3); font-size: var(--fs-xs); margin-top: auto; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-side { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .calc .calc-tools, .calc-side { padding: 22px 18px; } .calc-row, .calc-head { grid-template-columns: 1fr 96px; } }

/* 10. Product tour (template-parts/tour.php, site.js section 6) ----------------------
   Without JS: a numbered list of steps. With JS (.is-js): the steps share one grid
   cell, so the tour never changes height between steps; only the active step and
   the next one render their images (the rest stay lazy and are not downloaded). */
.ptour { --ptour-bar: 39px; }
.ptour-steps { display: grid; gap: 72px; }
.ptour-step { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 48px; align-items: center; scroll-margin-top: calc(var(--header-h, 64px) + 24px); }
.ptour-count { margin: 0 0 10px; color: var(--accent-text); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ptour-title { margin: 0 0 12px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; }
.ptour-text { margin: 0; color: var(--ink-2); }
.ptour-notes { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: hs; display: grid; gap: 10px; }
.ptour-notes li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-sm); counter-increment: hs; }
.ptour-notes li::before { content: counter(hs); flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ptour-visual { container-type: inline-size; min-width: 0; }
.ptour-box { display: flex; align-items: center; justify-content: center; height: calc(62.5cqw + var(--ptour-bar)); }
.ptour-box .shot { width: 100%; }
.ptour-visual.is-tall .shot, .ptour-visual.is-phone .shot { width: auto; }
.ptour-visual.is-tall .shot-img { width: auto; height: 62.5cqw; }
.ptour-visual.is-phone .shot-phone { width: auto; max-width: none; }
.ptour-visual.is-phone .shot-img { width: auto; height: calc(62.5cqw + var(--ptour-bar) - 22px); }
.shot-media { position: relative; }
.ptour-hs { display: none; }
.ptour.is-js .ptour-hs { position: absolute; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 6px 18px rgba(10, 20, 50, .35); pointer-events: none; }
.ptour-hs i { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .ptour-hs i { animation: ptour-pulse 2.2s var(--ease) infinite; } }
@keyframes ptour-pulse { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.1); } }
.ptour.is-js .ptour-steps { gap: 0; }
/* Inactive steps are hidden at once (no cross-fade, so two captions never overlap);
   the incoming step fades in, and only after the first paint (.is-ready). */
.ptour.is-js .ptour-step { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.ptour.is-js .ptour-step.is-active { visibility: visible; opacity: 1; }
.ptour.is-ready .ptour-step.is-active { animation: ptour-in .28s var(--ease); }
@keyframes ptour-in { from { opacity: 0; } to { opacity: 1; } }
.ptour.is-js .ptour-step:not(.is-active):not(.is-near) .shot-img { display: none; }
@media (prefers-reduced-motion: reduce) { .ptour.is-ready .ptour-step.is-active { animation: none; } }
.ptour-bar { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.ptour-bar[hidden] { display: none; }
.ptour-dots { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.ptour-dot { position: relative; display: grid; place-items: center; width: 32px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.ptour-dot span { position: relative; display: block; width: 8px; height: 8px; overflow: hidden; border-radius: 8px; background: var(--line-strong, #cfcabd); transition: width .25s var(--ease), background-color .2s var(--ease); }
.ptour-dot[aria-current="step"] span { width: 28px; background: var(--ink); }
.ptour-dot span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.ptour.is-playing .ptour-dot[aria-current="step"] span { background: var(--line-strong, #cfcabd); }
.ptour.is-playing .ptour-dot[aria-current="step"] span::after { animation: ptour-progress var(--ptour-ms, 7000ms) linear forwards; }
.ptour.is-held .ptour-dot[aria-current="step"] span::after { animation-play-state: paused; }
@keyframes ptour-progress { to { transform: scaleX(1); } }
@media (hover: hover) { .ptour-dot:not([aria-current]):hover span { background: var(--ink-3); } }
.ptour-nav { display: flex; gap: 8px; }
.ptour-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); font-weight: 560; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.ptour-btn .ic { width: 17px; height: 17px; }
.ptour-btn .ic.is-back { transform: rotate(180deg); }
.ptour-next { padding: 0 14px 0 18px; background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (hover: hover) { .ptour-btn:not(.ptour-next):hover { background: var(--surface-2); } .ptour-next:hover { opacity: .88; } }
.ptour-play { padding: 0; width: 40px; }
.ptour-play .i-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ptour-play.is-paused .i-pause { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.mock-note { margin-top: 18px; text-align: center; color: var(--ink-3); font-size: var(--fs-xs); }
.tour-sec .center-link { margin-top: 8px; }
@media (max-width: 900px) {
	.ptour-step { grid-template-columns: minmax(0, 1fr); align-items: start; }
	.ptour-copy { max-width: 640px; }
}
@media (max-width: 640px) {
	.ptour { --ptour-bar: 29px; }
	.ptour-box { height: max(calc(62.5cqw + var(--ptour-bar)), 440px); padding: 12px; border-radius: var(--radius-lg); background: var(--surface-2); }
	.ptour-visual.is-tall .shot { width: 100%; }
	.ptour-visual.is-tall .shot-img { width: 100%; height: auto; }
	.ptour-visual.is-phone .shot-img { height: 398px; }
	.ptour-notes { margin-top: 14px; }
	.ptour-bar { flex-wrap: wrap; gap: 8px; }
	.ptour-dot { width: 26px; }
	.ptour-dots { order: 3; width: 100%; justify-content: center; margin: 0; }
	.ptour-nav { margin-left: auto; }
}

/* 11. Steps --------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; margin-top: 36px; }
.steps li { position: relative; padding: 26px 26px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 16px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 650; font-size: var(--fs-sm); }
.steps p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 6px; }
.steps-v { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
.steps-v li { border: 0; background: none; padding: 0 0 22px 48px; border-radius: 0; }
.steps-v li::before { position: absolute; left: 0; top: -2px; margin: 0; }
.steps-v li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--line-strong); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* 12. Final CTA ----------------------------------------------------------------------- */
.final-cta { padding-block: var(--section); }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.final-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, var(--accent-soft), transparent 70%); pointer-events: none; }
.final-inner > * { position: relative; }
.final-mark { width: 48px; height: 48px; color: var(--accent); }
.final-inner h2 { max-width: 16ch; }
.final-inner .lead { margin-inline: auto; max-width: 34em; }
.final-inner .cta-row { justify-content: center; margin-top: 8px; }
.final-inner .cta-note { margin-top: 0; }

/* 13. Dark band ------------------------------------------------------------------------ */
.trust { background: var(--band); color: var(--band-ink); }
.trust h2, .trust h3 { color: var(--band-ink); }
.trust .lead, .trust p, .trust .story-text { color: var(--band-ink-2); }
.trust .eyebrow { color: #8fb4ff; }
.trust h2 em { color: #8fb4ff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.trust-grid li { background: var(--band); padding: 28px 24px 30px; }
.trust-grid h3 { font-size: 1.0625rem; margin: 14px 0 6px; }
.trust-grid p { font-size: var(--fs-sm); }
.trust-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(122, 167, 255, .13); color: #8fb4ff; }
.link-arrow.on-dark { color: #8fb4ff; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* 12. Comparison on the home page ("Why not keep your tools?") ------------------------ */
.compare-table { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.compare-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table thead tr > :first-child { width: 22%; }
.compare-table thead th { width: 39%; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; vertical-align: top; font-size: var(--fs-sm); line-height: 1.5; border-top: 1px solid var(--line); }
.compare-table thead th, .compare-table thead td { border-top: 0; padding-block: 14px; color: var(--ink-3); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.compare-table thead th.is-new { color: var(--accent-text); }
.compare-table tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.compare-table tbody td { width: 39%; color: var(--ink-3); }
.compare-table td.is-new { color: var(--ink); background: var(--accent-soft); }
.compare-table thead .is-new { background: var(--accent-soft); }
.compare-table td.is-new { display: table-cell; }
.compare-table td.is-new .ic { width: 16px; height: 16px; margin: 2px 8px 0 0; float: left; color: var(--accent-text); stroke-width: 2.2; }
.compare-table td.is-new span { display: block; overflow: hidden; }
.compare-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.compare-notes > div { padding: 24px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.compare-notes h3 { margin-bottom: 14px; }
.ticks.is-not .ic { color: var(--ink-3); }
@media (max-width: 760px) {
	.compare-table thead { display: none; }
	.compare-table tr { display: block; padding: 16px 18px; border-top: 1px solid var(--line); }
	.compare-table tbody tr:first-child { border-top: 0; }
	.compare-table th, .compare-table td, .compare-table td.is-new { display: block; width: auto; padding: 0; border: 0; background: none; }
	.compare-table tbody th { margin-bottom: 8px; }
	.compare-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--ink-3); font-size: 11.5px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
	.compare-table tbody td + td { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); }
	.compare-table td.is-new .ic { display: none; }
	.compare-notes { grid-template-columns: 1fr; }
}
.steps.is-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.is-four { grid-template-columns: repeat(2, 1fr); } }
.access-list { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
@media (max-width: 760px) { .access-list { grid-template-columns: 1fr; } }
.form-variant { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink-2); font-size: var(--fs-sm); }
.form-variant .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.form-variant a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .steps.is-four { grid-template-columns: 1fr; } }
