/* Sign-up views (/pricing/, /start/, /agreement/): mobile-first, built on this theme's tokens (style.css). 44px targets, 16px fields. */
.tcs-su-hero { min-height: 0; padding-top: 120px; padding-bottom: 8px; }
.tcs-su-hero h1 { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 3.4rem); }
.tcs-su-body { padding: 24px 0 72px; }
.wrap--narrow { max-width: 620px; }
.tcs-su-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; background: var(--accent-dim); color: var(--accent-2); font-size: .92rem; text-align: center; }
.tcs-su-foot { margin-top: 36px; color: var(--muted); font-size: .92rem; text-align: center; }
.tcs-su-foot a { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* plans: one column on a phone, three from 900px */
.tcs-plans { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .tcs-plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.tcs-plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 14px 34px -24px rgba(18,20,43,.25); }
.tcs-plan.is-featured { border: 2px solid var(--accent-2); box-shadow: 0 22px 50px -26px rgba(49,61,224,.45); }
.tcs-plan-tag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.tcs-plan-eyebrow { margin: 0 0 6px; color: var(--muted-2); font-size: .76rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.tcs-plan h2 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.4px; }
.tcs-plan-price { margin: 12px 0 18px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.tcs-plan-price small { margin-left: 4px; font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tcs-plan-price--custom { font-size: 1.6rem; letter-spacing: -.5px; }
.tcs-plan ul { flex: 1; list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--border); }
.tcs-plan li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.tcs-plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 11px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.tcs-plan .btn { justify-content: center; min-height: 48px; width: 100%; }

.tcs-steps { max-width: 720px; margin: 48px auto 0; padding: 26px 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; }
.tcs-steps h3 { margin-bottom: 14px; font-family: var(--font-display); font-size: 1.2rem; }
.tcs-steps ol { padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.tcs-steps strong { color: var(--text); }

/* forms */
.tcs-form { padding: 26px 22px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 50px -30px rgba(18,20,43,.25); }
.tcs-form label:not(.tcs-check) { display: block; margin: 0 0 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.tcs-form input[type=text], .tcs-form input[type=email] { width: 100%; min-height: 48px; margin: 0 0 16px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); color: var(--text); font: 500 16px var(--font); }
.tcs-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tcs-url { display: flex; align-items: stretch; margin: 0 0 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); overflow: hidden; }
.tcs-url span { display: flex; align-items: center; padding: 0 0 0 14px; color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.tcs-form .tcs-url input[type=text] { flex: 1; min-width: 0; min-height: 48px; margin: 0; padding: 0 14px 0 4px; border: 0; border-radius: 0; background: transparent; }
.tcs-form .tcs-url input[type=text]:focus { outline: none; }
.tcs-url:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.tcs-hint { margin: 0 0 16px; min-height: 1.4em; color: var(--muted-2); font-size: .82rem; }
.tcs-hint.is-ok { color: #0f7a55; font-weight: 600; }
.tcs-hint.is-bad { color: #b3261e; font-weight: 600; }
.tcs-submit { width: 100%; justify-content: center; min-height: 52px; margin-top: 6px; }
.tcs-fine { margin-top: 14px; color: var(--muted-2); font-size: .8rem; text-align: center; }
.tcs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tcs-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 4px 0 14px; font-size: .92rem; color: var(--text); cursor: pointer; }
.tcs-check input { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* agreement */
.tcs-agree h2 { margin: 28px 0 12px; font-family: var(--font-display); font-size: 1.2rem; }
.tcs-agree h2:first-child { margin-top: 0; }
.tcs-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.tcs-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.tcs-lines li:last-child { border-bottom: 0; }
.tcs-lines small { color: var(--muted); font-weight: 500; }
.tcs-total { margin: 12px 4px 0; color: var(--muted); font-size: .95rem; }
.tcs-total strong { color: var(--text); }
.tcs-terms { padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.tcs-terms p + p { margin-top: 12px; }
.tcs-agree .tcs-form { margin-top: 24px; }

/* ---------- front door (/pricing/): four tiles + the walkthrough ---------- */
.fd-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .fd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.fd-tile { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 104px; padding: 20px 22px; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 18px; color: var(--text); cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; font: inherit; }
.fd-tile:hover { border-color: var(--accent-2); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(49,61,224,.55); }
.fd-ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-dim); color: var(--accent-2); }
.fd-ic svg { width: 28px; height: 28px; }
.fd-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fd-tx strong { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: .01em; line-height: 1; }
.fd-tx small { color: var(--muted); font-size: 1rem; }
.fd-go { flex: none; color: var(--accent-2); font-size: 22px; }
.fd-channel { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
.fd-channel a { color: var(--accent-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.fd-overlay { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: var(--bg, #fff); }
.fd-overlay[hidden] { display: none; }
.fd-head { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 760px; margin: 0 auto; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.fd-head-t { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em; }
.fd-step { margin-left: auto; color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .06em; }
.fd-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.fd-body { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; }
.fd-inner { flex: 1; overflow-y: auto; width: 100%; max-width: 760px; margin: 0 auto; padding: 26px 16px 24px; }
.fd-pane[hidden] { display: none; }
.fd-kicker { margin: 0 0 8px; color: var(--accent-2); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fd-problem { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; }
.fd-sub { margin: 0 0 20px; color: var(--muted); }
.fd-pkgs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.fd-pkg { position: relative; display: block; padding: 18px; background: #fff; border: 2px solid var(--border); border-radius: 16px; cursor: pointer; }
.fd-pkg input { position: absolute; opacity: 0; pointer-events: none; }
.fd-pkg.is-on { border-color: var(--accent-2); box-shadow: 0 16px 36px -26px rgba(49,61,224,.6); }
.fd-pkg-tag { position: absolute; top: -11px; left: 16px; padding: 4px 10px; border-radius: 999px; background: var(--accent-2); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fd-pkg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fd-pkg-top strong { font-family: var(--font-display); font-size: 1.4rem; }
.fd-pkg-price { font-family: var(--font-display); font-size: 1.7rem; }
.fd-pkg-price small { margin-left: 3px; font-family: var(--font); font-size: .8rem; font-weight: 500; color: var(--muted); }
.fd-pkg ul { margin: 10px 0 0; padding: 0; list-style: none; }
.fd-pkg li { position: relative; padding: 6px 0 6px 22px; color: var(--muted); font-size: .92rem; }
.fd-pkg li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 10px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.fd-addons { display: grid; gap: 10px; }
.fd-addon { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; background: #fff; border: 2px solid var(--border); border-radius: 14px; cursor: pointer; }
.fd-addon.is-on { border-color: var(--accent-2); background: var(--accent-dim); }
.fd-addon input { width: 22px; height: 22px; flex: none; }
.fd-addon-t { flex: 1; font-weight: 600; }
.fd-addon-p { color: var(--muted); font-weight: 700; }
.fd-sum { margin: 0 0 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.fd-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.fd-sum div:last-child { border-bottom: 0; }
.fd-sum-total { font-weight: 800; font-size: 1.05rem !important; }
.fd-err { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #a8281c; font-weight: 600; font-size: .92rem; }
.fd-err[hidden] { display: none; }
.fd-pane label:not(.fd-pkg):not(.fd-addon) { display: block; margin: 0 0 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.fd-pane input[type=email] { width: 100%; min-height: 48px; margin: 0 0 16px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); font: 500 16px var(--font); }
.fd-pane .tcs-url input[type=text] { min-height: 48px; }
.fd-foot { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 760px; margin: 0 auto; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; }
.fd-total { flex: 1; text-align: center; font-family: var(--font-display); font-size: 1.3rem; }
.fd-foot .btn { min-height: 48px; justify-content: center; }
.fd-foot .btn[disabled] { opacity: .4; pointer-events: none; }

.fd-pane .tcs-url input[type=text] { flex: 1; min-width: 0; margin: 0; padding: 0 14px 0 4px; border: 0; border-radius: 0; background: transparent; color: var(--text); font: 500 16px var(--font); }
.fd-pane .tcs-url input[type=text]:focus { outline: none; }
.fd-foot .btn { white-space: nowrap; padding-left: 18px; padding-right: 18px; font-size: 16px; }
