/* One-page free trial (/start). */
.tf { padding: clamp(36px, 6vw, 72px) 16px 88px; display: flex; justify-content: center; background: var(--wash); }
.tf-card { width: 100%; max-width: 760px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 40px; box-shadow: 0 10px 30px rgba(1, 46, 87, .06); }
.tf h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; color: var(--brand); margin: 0 0 6px; }
.tf-tag { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.tf-alert { margin: 0 0 20px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: 14.5px; }
.tf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tf legend { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 10px; padding: 0; }
.tf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tf .tf-apps { margin-bottom: 24px; }
.tf-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.tf-app { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.tf-app:hover { border-color: var(--control-border); }
.tf-app input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tf-app-logo { display: flex; align-items: center; min-height: 34px; padding-right: 26px; }
.tf-app-logo .product-logo, .tf-app-logo .product-wordmark { max-width: 100%; }
.tf-app-name { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.tf-app-tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 6px; box-sizing: border-box; }
.tf-app:has(input:checked) { border-color: var(--product-colour, var(--brand)); box-shadow: 0 0 0 1px var(--product-colour, var(--brand)); }
.tf-app input:checked ~ .tf-app-tick { border: 0; background: var(--product-colour, var(--brand)); }
.tf-app input:checked ~ .tf-app-tick::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tf-app input:focus-visible ~ .tf-app-tick { outline: 3px solid #9cc3ff; outline-offset: 2px; }
.tf-app.tf-off { opacity: .45; cursor: not-allowed; }
.tf-plan { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--wash); font-size: 14.5px; color: var(--muted); min-height: 20px; }
.tf-plan b { color: var(--brand); }
.tf-plan:empty { display: none; }

.tf-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px !important; background: var(--wash); border: 1px solid var(--line) !important; border-radius: 12px; margin-bottom: 20px !important; }
.tf-seg label { position: relative; display: block; cursor: pointer; }
.tf-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tf-seg span { display: block; text-align: center; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.tf-seg input:checked + span { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(1, 46, 87, .14); }
.tf-seg input:focus-visible + span { outline: 3px solid #9cc3ff; outline-offset: 1px; }

.tf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tf-full { grid-column: 1 / -1; }
.tf-grid [hidden] { display: none; }
.tf-grid label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.tf-grid input { width: 100%; box-sizing: border-box; height: 48px; border: 1px solid var(--control-border); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; }
.tf-grid input:focus { outline: 3px solid #9cc3ff; border-color: var(--brand); }
.tf-grid input[aria-invalid="true"] { border-color: #b42318; }
.tf-affix { display: flex; align-items: stretch; border: 1px solid var(--control-border); border-radius: 10px; overflow: hidden; background: #fff; }
.tf-affix:focus-within { outline: 3px solid #9cc3ff; border-color: var(--brand); }
.tf-affix input { border: 0 !important; border-radius: 0; height: 46px; min-width: 0; outline: none !important; }
.tf-affix span { display: flex; align-items: center; padding: 0 12px; background: var(--wash); color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.tf .field-error { margin-top: 6px; }
.tf-check { margin: 6px 0 0; font-size: 13px; font-weight: 700; min-height: 0; }
.tf-check:empty { display: none; }
.tf-check.ok { color: #13795b; }
.tf-check.no { color: #b42318; }
.tf-check.wait { color: var(--muted); font-weight: 500; }

.tf-terms { color: var(--muted); font-size: 13px; margin: 20px 0 0; }
.tf-terms a { color: var(--brand); }
.tf-go { width: 100%; height: 52px; font-size: 16.5px; margin-top: 22px; }
.tf-foot { text-align: center; color: var(--muted); margin: 18px 0 0; font-size: 14.5px; }
.tf-foot a { color: var(--brand); font-weight: 700; }

@media (max-width: 640px) {
    .tf-card { padding: 26px 18px; border-radius: 14px; }
    .tf-grid { grid-template-columns: 1fr; }
    .tf-app-grid { grid-template-columns: 1fr 1fr; }
}
