/* Native enterprise demo flow. Shared design tokens follow the visitor's theme. */
.tc .demo-page { padding: clamp(112px, 11vw, 156px) 0 88px; }
.tc .demo-flow [hidden] { display: none !important; }
.tc .demo-flow form { display: block; }
.tc .demo-flow :is(h2, input, select, textarea, button) { scroll-margin-top: 110px; scroll-margin-bottom: 24px; }
.tc .demo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tc .demo-introduction .tc-display { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.08; margin: 18px 0 24px; }
.tc .demo-introduction .tc-lead { font-size: 18px; line-height: 1.65; }
.tc .demo-points { display: grid; gap: 24px; list-style: none; padding: 0; margin: 38px 0; }
.tc .demo-points li { display: flex; align-items: start; gap: 17px; }
.tc .demo-points li > span { font-size: 13px; font-weight: 600; color: var(--tc-violet-2); padding-top: 3px; }
.tc .demo-points h2, .tc .demo-next h2 { font-size: 17px; line-height: 1.4; margin: 0 0 8px; color: var(--tc-text); }
.tc .demo-points p, .tc .demo-next p { font-size: 15px; line-height: 1.7; margin: 0; color: var(--tc-muted); }
.tc .demo-next { padding: 22px 0; border-top: 1px solid var(--tc-border-2); margin-bottom: 8px; }
.tc .demo-card { padding: clamp(22px, 3vw, 36px); background: var(--tc-panel); border: 1px solid var(--tc-border-2); border-radius: var(--tc-radius); min-width: 0; container-type: inline-size; container-name: demo-card; }
.tc .demo-card h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin: 0 0 10px; }
.tc .demo-card h3 { color: var(--tc-text); font-size: 17px; margin: 0 0 8px; }
.tc .demo-form-heading > p { color: var(--tc-muted); margin: 0 0 12px; font-size: 15px; }
.tc .demo-form-heading .demo-required-note { font-size: 12px; }
.tc .demo-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tc .demo-card fieldset:disabled { opacity: .65; }
.tc .demo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.tc .demo-field { min-width: 0; }
.tc .demo-field--wide { grid-column: 1 / -1; }
.tc .demo-field > label { display: block; margin: 0 0 8px; color: var(--tc-text-2); font-size: 13px; font-weight: 500; line-height: 1.5; }
.tc .demo-field :is(input, select, textarea) { width: 100%; min-width: 0; display: block; min-height: 46px; border: 1px solid var(--tc-border-2); border-radius: 10px; background: var(--tc-bg); color: var(--tc-text); font: inherit; font-size: 15px; padding: 11px 12px; margin: 0; }
.tc .demo-field textarea { min-height: 104px; resize: vertical; }
.tc .demo-field textarea::placeholder { color: var(--tc-muted); opacity: .85; }
.tc .demo-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #dc647d; }
.tc .demo-field :is(input, select, textarea):focus-visible, .tc .demo-privacy input:focus-visible, .tc .demo-flow :is(button, a, summary):focus-visible { outline: 2px solid var(--tc-violet-2); outline-offset: 3px; }
.tc .demo-field-error { color: #f29aab; font-size: 12px; line-height: 1.5; margin: 7px 0 0; }
:root[data-theme="light"] .tc .demo-field-error { color: #a51f43; }
.tc .demo-optional { border-top: 1px solid var(--tc-border); border-bottom: 1px solid var(--tc-border); margin: 24px 0; }
.tc .demo-optional > summary { cursor: pointer; font-size: 13px; font-weight: 500; line-height: 1.6; padding: 18px 0; color: var(--tc-text-2); }
.tc .demo-optional[open] > .demo-fields { padding-bottom: 20px; }
.tc .demo-privacy { margin: 22px 0; }
.tc .demo-privacy label { display: flex; align-items: start; gap: 10px; font-size: 12px; line-height: 1.75; color: var(--tc-muted); font-weight: 400; }
.tc .demo-privacy input { width: 18px; height: 18px; min-width: 18px; accent-color: var(--tc-violet); margin: 2px 0 0; }
.tc .demo-flow a { color: var(--tc-lilac); }
.tc .demo-privacy a, .tc .demo-contact-link a { text-decoration: underline; text-underline-offset: 3px; }
.tc .demo-submit { width: 100%; justify-content: space-between; margin-top: 8px; }
.tc .demo-flow .tc-btn--light { color: var(--tc-btn-fg); }
.tc .demo-flow button:disabled { cursor: wait; opacity: .6; }
.tc .demo-form-status { font-size: 13px; color: var(--tc-text-2); margin: 14px 0; line-height: 1.7; }
.tc .demo-verification--live { min-height: var(--demo-verification-height, 65px); margin: 14px 0; }
@container demo-card (width < 300px) { .tc .demo-verification--live { min-height: var(--demo-verification-height, 140px); } }
.tc .demo-form-status:empty, .tc .demo-context-announcement:empty { display: none; }
.tc .demo-contact-link { margin: 20px 0 0; font-size: 12px; text-align: center; color: var(--tc-muted); }
.tc .demo-secondary-link { display: inline-flex; align-items: center; padding: 9px 0; border: 0; background: transparent; color: var(--tc-lilac); font: inherit; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.tc .demo-preview { margin: 0 0 24px; padding: 13px 18px; border: 1px solid var(--tc-border-2); border-left: 3px solid var(--tc-violet); border-radius: 8px; color: var(--tc-text-2); background: var(--tc-surface); font-size: 13px; line-height: 1.6; }
.tc .demo-context { margin: 20px 0; padding: 12px 14px; background: var(--tc-surface-2); border: 1px solid var(--tc-border-2); border-radius: 10px; }
.tc .demo-context>h3 { font-size: 12px; line-height: 1.5; margin: 0 0 6px; color: var(--tc-muted); }
.tc .demo-context .demo-context-benefits p { font-size: 12px; line-height: 1.5; margin: 2px 0; }
.tc .demo-context-benefits strong { color: var(--tc-text); font-weight: 600; }
.tc .demo-context p { color: var(--tc-muted); font-size: 13px; line-height: 1.65; margin: 0 0 14px; overflow-wrap: anywhere; }
.tc .demo-context-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.tc .demo-context-stats > div:last-child { grid-column: 1 / -1; }
.tc .demo-context-stats dt { font-size: 11px; color: var(--tc-muted); line-height: 1.5; }
.tc .demo-context-stats dd { font-size: 17px; font-weight: 600; color: var(--tc-text); margin: 4px 0 0; line-height: 1.3; overflow-wrap: anywhere; }
.tc .demo-context-stats > div:last-child dd { font-size: 16px; }
.tc .demo-context summary { cursor: pointer; color: var(--tc-text-2); font-size: 12px; padding: 12px 0 3px; line-height: 1.6; }
.tc .demo-context details[open] > summary { padding-bottom: 15px; }
.tc .demo-context-edit-title { color: var(--tc-text); font-size: 14px; font-weight: 600; padding: 0 0 18px; }
.tc .demo-context .demo-context-work-types { margin: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tc .demo-context-work-types legend { color: var(--tc-text-2); font-size: 13px; margin-bottom: 12px; }
.tc .demo-context-work-types label { display: flex; align-items: start; gap: 8px; color: var(--tc-text-2); font-size: 12px; line-height: 1.6; font-weight: 400; cursor: pointer; }
.tc .demo-context-work-types input { accent-color: var(--tc-violet); width: 16px; height: 16px; min-width: 16px; margin: 2px 0 0; }
.tc .demo-context-work-types input:focus-visible { outline: 2px solid var(--tc-violet-2); outline-offset: 3px; }
.tc .demo-context-work-types span { overflow-wrap: anywhere; }
.tc .demo-context-work-types .demo-field-error { grid-column: 1 / -1; }
.tc .demo-context-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.tc .demo-context-actions button { padding: 9px 0; color: var(--tc-lilac); background: transparent; border: 0; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tc .demo-context-announcement { font-size: 12px; color: var(--tc-muted); line-height: 1.6; }
.tc .demo-accepted > p { font-size: 15px; color: var(--tc-muted); line-height: 1.7; }
.tc .demo-accepted > .tc-eyebrow { color: var(--tc-violet-2); font-size: 12px; }
.tc .demo-email-status { padding: 14px 16px; border-radius: 10px; background: var(--tc-surface-2); }
.tc .demo-calendar-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 24px 0; }
.tc .demo-calendar-heading .tc-btn { white-space: normal; text-align: left; justify-content: space-between; }
.tc [data-demo-calendar] { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--tc-border-2); }
.tc [data-demo-calendar] > p { color: var(--tc-muted); font-size: 13px; line-height: 1.7; }
.tc .demo-calendar-widget { min-height: 700px; width: 100%; border-radius: 12px; overflow: hidden; }
.tc .demo-calendar-widget iframe { display: block; width: 100%; height: 700px; border: 0; }
.tc .demo-calendar-fixture { min-height: 700px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 16px; background: var(--tc-surface-2); text-align: center; border: 1px dashed var(--tc-border-2); border-radius: 12px; }
.tc .demo-calendar-fixture p { font-size: 14px; line-height: 1.7; color: var(--tc-muted); }
.tc .demo-calendar-fixture button { background: var(--tc-surface-2); border: 1px solid var(--tc-border-2); color: var(--tc-text); border-radius: 8px; padding: 10px 14px; font: inherit; font-size: 12px; cursor: pointer; }
.tc .demo-nojs { color: var(--tc-muted); font-size: 14px; line-height: 1.7; }
.tc .demo-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .tc .demo-grid { grid-template-columns: 1fr; gap: 32px; } .tc .demo-introduction { max-width: 720px; } .tc .demo-points { gap: 18px; margin: 28px 0; } }
@media (max-width: 480px) { .tc .demo-page { padding-top: 108px; } .tc .demo-fields { grid-template-columns: 1fr; } .tc .demo-card { padding: 22px 18px; border-radius: 20px; } .tc .demo-context { padding: 12px; } .tc .demo-context .demo-context-work-types { grid-template-columns: 1fr; } .tc .demo-calendar-heading { flex-direction: column; align-items: stretch; gap: 10px; } .tc .demo-calendar-widget { width: 100vw; margin-left: calc((100% - 100vw) / 2); border-radius: 0; } .tc .demo-calendar-widget, .tc .demo-calendar-fixture { min-height: 760px; } .tc .demo-calendar-widget iframe { height: 760px; } }
@media (prefers-reduced-motion: reduce) { .tc .demo-flow *, .tc .demo-flow *::before, .tc .demo-flow *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
