/* =========================================================
   Rise Estate — Free Realtor Toolkit (tools.html)
   Theme: site maroon / rose, Cormorant Garamond display + Inter body
   Motion: premium, decelerating ease, no overshoot
   ========================================================= */
:root {
    --font-primary: "Cormorant Garamond", Georgia, serif;
    --tk-ink: #0A0A0A;
    --tk-ink-2: #141011;
    --tk-maroon: #4D2327;
    --tk-maroon-light: #6B3338;
    --tk-maroon-dark: #36161D;
    --tk-rose: #C4787E;
    --tk-rose-deep: #9B5A60;
    --tk-blush: #E7B7BB;
    --tk-blush-soft: #F0B9BE;
    --tk-paper: #F7F4F2;
    --tk-paper-2: #FBF8F7;
    --tk-line: #E8E0DF;
    --tk-line-strong: #D9CDCC;
    --tk-text: #141213;
    --tk-muted: #5E5557;
    --tk-good: #147A4B;
    --tk-bad: #B42318;
    --tk-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --tk-quick: 180ms;
    --tk-std: 420ms;
    --tk-radius: 18px;
}

html { scroll-behavior: smooth; }
body.tk-body { background: #FFFFFF; color: var(--tk-text); font-family: "Inter", "Helvetica Neue", Arial, sans-serif; }
.tk-body h1, .tk-body h2, .tk-body h3 { font-family: var(--font-primary); }
.tk-body .tk-sans { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; }

.tk-skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 0.75rem 1rem; background: #FFFFFF; color: var(--tk-maroon); font-weight: 700; }
.tk-skip:focus { left: 1rem; top: 5.5rem; }

.tk-wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .tk-wrap { padding: 0 2rem; } }

.tk-kicker { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--tk-maroon); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.tk-kicker::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.6; }
.tk-dark .tk-kicker { color: var(--tk-blush-soft); }
.tk-h2 { margin: 1rem 0 1rem; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; color: var(--tk-text); text-wrap: balance; }
.tk-h2 em { font-style: italic; color: var(--tk-maroon); }
.tk-dark .tk-h2 { color: #FFFFFF; }
.tk-dark .tk-h2 em { color: var(--tk-blush); }
.tk-lede { max-width: 42rem; color: var(--tk-muted); font-size: 1.075rem; line-height: 1.7; text-wrap: pretty; }
.tk-dark .tk-lede { color: rgba(255, 255, 255, 0.7); }
.tk-section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.tk-section-head .tk-lede { margin: 0 auto; }

/* ---- Buttons ---- */
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.35rem; border: 1px solid transparent; border-radius: 10px; font-size: 0.95rem; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform var(--tk-quick) var(--tk-ease), box-shadow var(--tk-std) var(--tk-ease), background-color var(--tk-std) var(--tk-ease), border-color var(--tk-std) var(--tk-ease), color var(--tk-std) var(--tk-ease); touch-action: manipulation; }
.tk-btn:active { transform: scale(0.98); }
.tk-btn:focus-visible, .tk-chip:focus-visible, .tk-card:focus-visible, .tk-rail__btn:focus-visible, .tk-seg button:focus-visible, .tk-swatch:focus-visible { outline: 2px solid var(--tk-rose); outline-offset: 3px; }
.tk-btn--primary { background: linear-gradient(168deg, var(--tk-maroon-light) 0%, var(--tk-maroon) 45%, var(--tk-maroon-dark) 100%); color: #FFFFFF; border-color: rgba(196, 120, 126, 0.35); box-shadow: 0 12px 28px -12px rgba(77, 35, 39, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.tk-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(77, 35, 39, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.tk-btn--ghost { background: rgba(255, 255, 255, 0.04); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tk-btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.45); transform: translateY(-2px); }
.tk-btn--line { background: #FFFFFF; color: var(--tk-text); border-color: var(--tk-line-strong); }
.tk-btn--line:hover { border-color: var(--tk-maroon); color: var(--tk-maroon); }
.tk-btn--quiet { min-height: 2.75rem; padding: 0 0.9rem; background: transparent; color: var(--tk-muted); }
.tk-btn--quiet:hover { color: var(--tk-maroon); background: rgba(77, 35, 39, 0.06); }
.tk-btn--sm { min-height: 2.5rem; padding: 0 0.95rem; font-size: 0.85rem; border-radius: 8px; }
.tk-btn i { font-size: 0.85em; }
.tk-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.tk-hero { position: relative; isolation: isolate; overflow: hidden; padding: 9.5rem 0 4.5rem; background: var(--tk-ink); color: #FFFFFF; text-align: center; }
.tk-hero__glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(107, 51, 56, 0.55) 0%, rgba(77, 35, 39, 0.18) 45%, rgba(10, 10, 10, 0) 75%), radial-gradient(ellipse 40% 40% at 85% 90%, rgba(196, 120, 126, 0.12), transparent 70%); }
.tk-hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 72px 72px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 0%, transparent 75%); animation: tk-fade 1.6s var(--tk-ease) both; }
.tk-hero__eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.9rem; padding: 0.4rem 1.1rem 0.4rem 0.4rem; border: 1px solid rgba(196, 120, 126, 0.3); border-radius: 999px; background: linear-gradient(90deg, rgba(77, 35, 39, 0.55), rgba(255, 255, 255, 0.04)); font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.tk-hero__eyebrow-icon { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: linear-gradient(160deg, var(--tk-rose), var(--tk-maroon)); box-shadow: 0 0 0 4px rgba(196, 120, 126, 0.12); font-size: 0.72rem; color: #FFFFFF; }
.tk-hero__title { margin: 0 auto 1.6rem; max-width: none; font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; color: #FFFFFF; }
.tk-line { display: block; overflow: hidden; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.tk-line__in { display: inline-block; animation: tk-reveal 900ms var(--tk-ease) 120ms both; }
.tk-line + .tk-line .tk-line__in { animation-delay: 260ms; }
.tk-accent-wrap { position: relative; white-space: nowrap; }
.tk-hero__title .tk-line__in { text-wrap: balance; }
@media (min-width: 640px) { .tk-hero__title .tk-line__in { white-space: nowrap; } }
.tk-accent { padding-right: 0.08em; font-style: italic; background: linear-gradient(100deg, var(--tk-blush) 0%, var(--tk-rose) 45%, var(--tk-rose-deep) 72%, var(--tk-blush) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: tk-shimmer 7s linear 1.6s infinite; }
.tk-swash { position: absolute; left: 0.02em; bottom: -0.12em; width: calc(100% - 0.1em); height: 0.22em; overflow: visible; pointer-events: none; }
.tk-swash path { fill: none; stroke: url(#tkSwash); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tk-draw 1.1s var(--tk-ease) 1s forwards; }
.tk-hero__lede { max-width: 40rem; margin: 0 auto 2.4rem; font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.7; color: rgba(255, 255, 255, 0.72); }
.tk-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-bottom: 2.1rem; }
.tk-hero__actions .tk-btn { min-height: 3.4rem; padding: 0 1.7rem; font-size: 1rem; }
.tk-hero__assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); }
.tk-hero__assure li { display: inline-flex; align-items: center; gap: 0.5rem; }
.tk-hero__assure i { color: var(--tk-rose); font-size: 0.8rem; }
.tk-in { animation: tk-rise 800ms var(--tk-ease) var(--d, 0ms) both; }

.tk-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 62rem; margin: 3.75rem auto 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: tk-rise 900ms var(--tk-ease) 600ms both; }
.tk-hero__stat { position: relative; display: flex; flex-direction: column-reverse; gap: 0.35rem; padding: 1.35rem 1rem; }
.tk-hero__stat + .tk-hero__stat::before { content: ''; position: absolute; left: 0; top: 26%; bottom: 26%; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.tk-hero__stat dd { font-family: var(--font-primary); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.05; color: #FFFFFF; }
.tk-hero__stat dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* =========================================================
   DIRECTORY
   ========================================================= */
.tk-dir { padding: 6rem 0 5rem; background: #FFFFFF; }
.tk-dir__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tk-chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.6rem; padding: 0 1rem; border: 1px solid var(--tk-line-strong); border-radius: 999px; background: #FFFFFF; color: var(--tk-muted); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all var(--tk-std) var(--tk-ease); }
.tk-chip:hover { border-color: var(--tk-maroon); color: var(--tk-maroon); }
.tk-chip[aria-pressed="true"] { background: var(--tk-maroon); border-color: var(--tk-maroon); color: #FFFFFF; }
.tk-chip__count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px; background: rgba(77, 35, 39, 0.08); font-size: 0.72rem; }
.tk-chip[aria-pressed="true"] .tk-chip__count { background: rgba(255, 255, 255, 0.18); }
.tk-search { position: relative; width: 100%; max-width: 20rem; }
.tk-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--tk-muted); font-size: 0.85rem; pointer-events: none; }
.tk-search input { width: 100%; min-height: 2.9rem; padding: 0 1rem 0 2.6rem; border: 1px solid var(--tk-line-strong); border-radius: 999px; background: var(--tk-paper-2); color: var(--tk-text); font-size: 0.925rem; outline: none; transition: border-color var(--tk-quick) var(--tk-ease), box-shadow var(--tk-quick) var(--tk-ease); }
.tk-search input:focus { border-color: var(--tk-maroon); box-shadow: 0 0 0 4px rgba(77, 35, 39, 0.1); background: #FFFFFF; }

.tk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tk-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 1.6rem 1.5rem 1.4rem; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: #FFFFFF; color: var(--tk-text); text-decoration: none; overflow: hidden; transition: transform var(--tk-std) var(--tk-ease), box-shadow var(--tk-std) var(--tk-ease), border-color var(--tk-std) var(--tk-ease); }
.tk-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--tk-maroon), var(--tk-rose)); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--tk-ease); }
.tk-card:hover { transform: translateY(-4px); border-color: rgba(77, 35, 39, 0.28); box-shadow: 0 24px 50px -28px rgba(54, 22, 29, 0.45); }
.tk-card:hover::after { transform: scaleX(1); }
.tk-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.tk-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: linear-gradient(150deg, var(--tk-maroon-light), var(--tk-maroon-dark)); color: var(--tk-blush); font-size: 1.1rem; box-shadow: 0 10px 20px -12px rgba(77, 35, 39, 0.8); }
.tk-card__tag { padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--tk-paper); color: var(--tk-maroon); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tk-card h3 { margin: 0 0 0.5rem; font-size: 1.6rem; font-weight: 600; line-height: 1.12; color: var(--tk-text); }
.tk-card p { flex: 1; margin: 0 0 1.25rem; color: var(--tk-muted); font-size: 0.93rem; line-height: 1.6; }
.tk-card__go { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--tk-maroon); font-size: 0.875rem; font-weight: 700; }
.tk-card__go i { font-size: 0.75rem; transition: transform var(--tk-quick) var(--tk-ease); }
.tk-card:hover .tk-card__go i { transform: translateX(4px); }
.tk-card--wide { grid-column: span 2; }
.tk-card--feature { grid-column: 1 / -1; background: linear-gradient(135deg, var(--tk-maroon-dark) 0%, var(--tk-maroon) 60%, var(--tk-maroon-light) 100%); border-color: rgba(196, 120, 126, 0.45); color: #FFFFFF; }
.tk-card--feature h3 { color: #FFFFFF; font-size: 2rem; }
.tk-card--feature p { color: rgba(255, 255, 255, 0.78); max-width: 34rem; }
.tk-card--feature .tk-card__icon { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.tk-card--feature .tk-card__tag { background: rgba(255, 255, 255, 0.14); color: var(--tk-blush); }
.tk-card--feature .tk-card__go { color: #FFFFFF; }
.tk-card--feature::before { content: ''; position: absolute; right: -4rem; bottom: -5rem; width: 16rem; height: 16rem; border: 1px solid rgba(231, 183, 187, 0.25); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(231, 183, 187, 0.05), 0 0 0 5rem rgba(231, 183, 187, 0.035); pointer-events: none; }
.tk-card[hidden] { display: none; }
.tk-empty { display: none; padding: 2.5rem 1rem; border: 1px dashed var(--tk-line-strong); border-radius: var(--tk-radius); text-align: center; color: var(--tk-muted); }
.tk-empty.is-on { display: block; }

/* =========================================================
   WORKSPACE
   ========================================================= */
.tk-ws { padding: 5.5rem 0 6rem; background: var(--tk-paper); scroll-margin-top: 4.5rem; }
.tk-ws__layout { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.tk-rail { position: sticky; top: 6.25rem; padding: 0.9rem; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: #FFFFFF; }
.tk-rail__group { padding: 0.4rem 0 0.6rem; }
.tk-rail__group + .tk-rail__group { border-top: 1px solid var(--tk-line); padding-top: 0.8rem; }
.tk-rail__label { padding: 0 0.6rem 0.45rem; color: var(--tk-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.tk-rail__btn { display: flex; align-items: center; gap: 0.7rem; width: 100%; min-height: 2.75rem; padding: 0 0.65rem; border: 0; border-radius: 10px; background: transparent; color: var(--tk-text); font-size: 0.9rem; font-weight: 500; text-align: left; cursor: pointer; transition: background-color var(--tk-quick) var(--tk-ease), color var(--tk-quick) var(--tk-ease); }
.tk-rail__btn i { width: 1.1rem; color: var(--tk-rose-deep); font-size: 0.85rem; text-align: center; }
.tk-rail__btn:hover { background: var(--tk-paper); }
.tk-rail__btn[aria-current="true"] { background: var(--tk-maroon); color: #FFFFFF; font-weight: 600; }
.tk-rail__btn[aria-current="true"] i { color: var(--tk-blush); }
.tk-switch { display: none; }

.tk-report { margin-bottom: 1.25rem; border: 1px solid var(--tk-line); border-radius: 14px; background: #FFFFFF; }
.tk-report summary { display: flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; padding: 0 1.1rem; cursor: pointer; list-style: none; font-size: 0.9rem; font-weight: 600; color: var(--tk-text); }
.tk-report summary::-webkit-details-marker { display: none; }
.tk-report summary i.fa-id-card { color: var(--tk-maroon); }
.tk-report summary .tk-report__hint { margin-left: auto; color: var(--tk-muted); font-weight: 400; font-size: 0.8rem; }
.tk-report summary .tk-report__chev { color: var(--tk-muted); font-size: 0.75rem; transition: transform var(--tk-std) var(--tk-ease); }
.tk-report[open] summary .tk-report__chev { transform: rotate(180deg); }
.tk-report__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0.4rem 1.1rem 1.2rem; }

.tk-panel { display: none; }
.tk-panel.is-active { display: block; animation: tk-rise-sm var(--tk-std) var(--tk-ease) both; }
.tk-panel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.tk-panel__head h3 { margin: 0.35rem 0 0.35rem; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.08; color: var(--tk-text); }
.tk-panel__head p { max-width: 40rem; margin: 0; color: var(--tk-muted); font-size: 0.95rem; line-height: 1.6; }
.tk-panel__tag { color: var(--tk-maroon); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.tk-panel__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.25rem; align-items: start; }

.tk-form { padding: 1.5rem; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: #FFFFFF; }
.tk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.tk-field { min-width: 0; }
.tk-field--full { grid-column: 1 / -1; }
.tk-label { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; color: var(--tk-text); font-size: 0.82rem; font-weight: 600; }
.tk-label__hint { color: var(--tk-rose-deep); font-size: 0.78rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-input { position: relative; display: flex; align-items: center; min-height: 3rem; border: 1px solid var(--tk-line-strong); border-radius: 10px; background: #FFFFFF; transition: border-color var(--tk-quick) var(--tk-ease), box-shadow var(--tk-quick) var(--tk-ease); }
.tk-input:focus-within { border-color: var(--tk-maroon); box-shadow: 0 0 0 4px rgba(77, 35, 39, 0.1); }
.tk-input__affix { flex-shrink: 0; padding: 0 0 0 0.9rem; color: var(--tk-muted); font-size: 0.92rem; font-weight: 500; }
.tk-input__affix--end { padding: 0 0.9rem 0 0; }
.tk-input input, .tk-input select, .tk-input textarea { width: 100%; min-width: 0; min-height: 3rem; padding: 0 0.9rem; border: 0; border-radius: 10px; background: transparent; color: var(--tk-text); font-size: 1rem; font-variant-numeric: tabular-nums; outline: none; }
.tk-input__affix + input { padding-left: 0.4rem; }
.tk-input select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer; }
.tk-input--select::after { content: '\f078'; position: absolute; right: 0.95rem; top: 50%; transform: translateY(-50%); font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7rem; color: var(--tk-muted); pointer-events: none; }
.tk-input textarea { min-height: 6.5rem; padding: 0.8rem 0.9rem; line-height: 1.55; resize: vertical; font-variant-numeric: normal; }
.tk-help { margin-top: 0.35rem; color: var(--tk-muted); font-size: 0.76rem; line-height: 1.45; }
.tk-range { width: 100%; margin-top: 0.55rem; accent-color: var(--tk-maroon); cursor: pointer; height: 1.25rem; }
.tk-seg { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.3rem; border: 1px solid var(--tk-line-strong); border-radius: 10px; background: var(--tk-paper-2); }
.tk-seg button { min-height: 2.4rem; padding: 0 0.85rem; border: 0; border-radius: 7px; background: transparent; color: var(--tk-muted); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all var(--tk-quick) var(--tk-ease); }
.tk-seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--tk-maroon); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

.tk-more { grid-column: 1 / -1; margin-top: 0.25rem; border-top: 1px dashed var(--tk-line-strong); }
.tk-more summary { display: flex; align-items: center; gap: 0.55rem; min-height: 3rem; color: var(--tk-maroon); font-size: 0.875rem; font-weight: 600; cursor: pointer; list-style: none; }
.tk-more summary::-webkit-details-marker { display: none; }
.tk-more summary i { font-size: 0.7rem; transition: transform var(--tk-std) var(--tk-ease); }
.tk-more[open] summary i { transform: rotate(90deg); }
.tk-more .tk-fields { padding: 0.25rem 0 0.4rem; }

/* comps (price per sq ft) */
.tk-comps { grid-column: 1 / -1; }
.tk-comps__head, .tk-comp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr) 2.75rem; gap: 0.5rem; align-items: center; }
.tk-comps__head { padding: 0 0 0.4rem; color: var(--tk-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tk-comp + .tk-comp { margin-top: 0.5rem; }
.tk-comp .tk-input { min-height: 2.75rem; }
.tk-comp .tk-input input { min-height: 2.75rem; font-size: 0.93rem; }
.tk-icon-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--tk-line-strong); border-radius: 10px; background: #FFFFFF; color: var(--tk-muted); cursor: pointer; transition: all var(--tk-quick) var(--tk-ease); }
.tk-icon-btn:hover { border-color: var(--tk-bad); color: var(--tk-bad); }
.tk-icon-btn:focus-visible { outline: 2px solid var(--tk-rose); outline-offset: 2px; }

/* feature chips (description writer) */
.tk-pick { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tk-pick label { position: relative; cursor: pointer; }
.tk-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tk-pick span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.35rem; padding: 0 0.8rem; border: 1px solid var(--tk-line-strong); border-radius: 999px; background: #FFFFFF; color: var(--tk-muted); font-size: 0.82rem; font-weight: 500; transition: all var(--tk-quick) var(--tk-ease); }
.tk-pick span::before { content: '\2b'; font-weight: 700; color: var(--tk-rose-deep); }
.tk-pick input:checked + span { border-color: var(--tk-maroon); background: rgba(77, 35, 39, 0.07); color: var(--tk-maroon); font-weight: 600; }
.tk-pick input:checked + span::before { content: '\2713'; }
.tk-pick input:focus-visible + span { outline: 2px solid var(--tk-rose); outline-offset: 2px; }

/* results */
.tk-results { position: sticky; top: 6.25rem; display: grid; gap: 1rem; }
.tk-results [data-res-body] { display: grid; gap: 1rem; }
.tk-hero__stat dd, .tk-res-hero__value, .tk-peek__value, .tk-step__num { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.tk-res-hero { position: relative; overflow: hidden; padding: 1.5rem 1.6rem 1.4rem; border-radius: var(--tk-radius); background: linear-gradient(160deg, var(--tk-maroon-light) 0%, var(--tk-maroon) 45%, var(--tk-maroon-dark) 100%); color: #FFFFFF; box-shadow: 0 24px 50px -28px rgba(54, 22, 29, 0.9); }
.tk-res-hero::after { content: ''; position: absolute; right: -3rem; top: -3rem; width: 11rem; height: 11rem; border-radius: 50%; border: 1px solid rgba(231, 183, 187, 0.22); box-shadow: 0 0 0 1.75rem rgba(231, 183, 187, 0.05); pointer-events: none; }
.tk-res-hero__label { display: block; color: var(--tk-blush); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.tk-res-hero__value { display: block; margin: 0.45rem 0 0.35rem; font-family: var(--font-primary); font-size: clamp(2.6rem, 4.6vw, 3.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.tk-res-hero__sub { display: block; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; line-height: 1.5; }
.tk-res-hero--bad { background: linear-gradient(160deg, #5a1d1d 0%, #3d1212 100%); }
.tk-res-card { padding: 1.25rem 1.3rem; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: #FFFFFF; }
.tk-res-card__title { margin: 0 0 0.9rem; color: var(--tk-text); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.tk-stats > div { padding: 0.8rem 0; border-bottom: 1px solid var(--tk-line); }
.tk-stats > div:nth-child(odd) { padding-right: 0.9rem; }
.tk-stats > div:nth-child(even) { padding-left: 0.9rem; border-left: 1px solid var(--tk-line); }
.tk-stats > div:nth-last-child(-n + 2):nth-child(odd), .tk-stats > div:last-child { border-bottom: 0; }
.tk-stats dt { color: var(--tk-muted); font-size: 0.75rem; font-weight: 500; }
.tk-stats dd { margin: 0.2rem 0 0; color: var(--tk-text); font-size: 1.12rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tk-stats dd small { display: block; margin-top: 0.1rem; color: var(--tk-muted); font-size: 0.72rem; font-weight: 500; }
.tk-tone-good { color: var(--tk-good) !important; }
.tk-tone-bad { color: var(--tk-bad) !important; }

.tk-stack { display: flex; height: 0.85rem; overflow: hidden; border-radius: 999px; background: var(--tk-paper); }
.tk-stack span { display: block; height: 100%; transition: flex-grow 500ms var(--tk-ease); min-width: 2px; }
.tk-legend { display: grid; gap: 0.55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tk-legend li { display: grid; grid-template-columns: 0.7rem minmax(0, 1fr) auto auto; align-items: center; gap: 0.6rem; font-size: 0.86rem; color: var(--tk-text); }
.tk-legend__dot { width: 0.7rem; height: 0.7rem; border-radius: 3px; }
.tk-legend__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.tk-legend__pct { min-width: 3rem; color: var(--tk-muted); font-size: 0.76rem; text-align: right; font-variant-numeric: tabular-nums; }

.tk-bars { display: grid; gap: 0.8rem; }
.tk-bar__row { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.3rem; font-size: 0.84rem; }
.tk-bar__row strong { font-variant-numeric: tabular-nums; }
.tk-bar__track { position: relative; height: 0.6rem; overflow: hidden; border-radius: 999px; background: var(--tk-paper); }
.tk-bar__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tk-maroon), var(--tk-rose)); transform-origin: left; transition: width 500ms var(--tk-ease); }
.tk-bar__fill--muted { background: linear-gradient(90deg, #C9BBBC, #DCCFD0); }

.tk-donut { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.tk-donut svg { width: 100%; height: auto; transform: rotate(-90deg); }
.tk-donut circle { transition: stroke-dasharray 500ms var(--tk-ease), stroke-dashoffset 500ms var(--tk-ease); }
.tk-donut .tk-legend { margin: 0; }

.tk-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tk-chart__legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--tk-muted); }
.tk-chart__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.tk-chart__legend i { display: inline-block; width: 1.1rem; height: 3px; border-radius: 2px; }

.tk-funnel { display: grid; gap: 0.45rem; }
.tk-funnel__step { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; margin: 0 auto; padding: 0 1rem; border-radius: 8px; color: #FFFFFF; font-size: 0.86rem; transition: width 500ms var(--tk-ease); }
.tk-funnel__step strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tk-funnel__step small { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.7rem; }

.tk-table-wrap { max-height: 22rem; overflow: auto; border: 1px solid var(--tk-line); border-radius: 12px; }
.tk-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.tk-table th { position: sticky; top: 0; padding: 0.65rem 0.75rem; background: var(--tk-paper); color: var(--tk-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-align: right; text-transform: uppercase; }
.tk-table td { padding: 0.55rem 0.75rem; border-top: 1px solid var(--tk-line); text-align: right; }
.tk-table th:first-child, .tk-table td:first-child { text-align: left; }
.tk-table tr.is-total td { font-weight: 700; background: var(--tk-paper-2); }
.tk-details > summary { display: flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; color: var(--tk-maroon); font-size: 0.85rem; font-weight: 700; cursor: pointer; list-style: none; }
.tk-details > summary::-webkit-details-marker { display: none; }
.tk-details > summary i { font-size: 0.7rem; transition: transform var(--tk-std) var(--tk-ease); }
.tk-details[open] > summary i { transform: rotate(90deg); }

.tk-note { margin: 0; padding: 0.85rem 1rem; border-left: 3px solid var(--tk-rose); border-radius: 0 10px 10px 0; background: rgba(196, 120, 126, 0.08); color: var(--tk-muted); font-size: 0.8rem; line-height: 1.55; }
.tk-note a { color: var(--tk-maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tk-empty-res { padding: 2rem 1.25rem; border: 1px dashed var(--tk-line-strong); border-radius: var(--tk-radius); background: #FFFFFF; color: var(--tk-muted); text-align: center; font-size: 0.9rem; line-height: 1.6; }
.tk-empty-res i { display: block; margin-bottom: 0.6rem; color: var(--tk-rose); font-size: 1.4rem; }

.tk-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tk-actions .tk-btn { flex: 1 1 auto; }
.tk-disclaim { margin: 0; color: var(--tk-muted); font-size: 0.72rem; line-height: 1.5; }

/* text outputs (description writer) */
.tk-out { position: relative; padding: 1.1rem 1.2rem; border: 1px solid var(--tk-line); border-radius: 12px; background: var(--tk-paper-2); color: var(--tk-text); font-size: 0.92rem; line-height: 1.7; white-space: pre-wrap; }
.tk-out__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; color: var(--tk-muted); font-size: 0.76rem; }
.tk-out__meta .is-over { color: var(--tk-bad); font-weight: 700; }

/* toast */
.tk-toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 90; display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.2rem; border-radius: 12px; background: #151112; color: #FFFFFF; font-size: 0.9rem; font-weight: 500; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5); transform: translate(-50%, 1.5rem); opacity: 0; pointer-events: none; transition: transform 320ms var(--tk-ease), opacity 320ms var(--tk-ease); }
.tk-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.tk-toast i { color: #6EE7B7; }

/* mobile result peek */
.tk-peek { position: fixed; left: 0.75rem; right: 5rem; bottom: 0.75rem; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding: 0.6rem 0.75rem 0.6rem 1.1rem; border-radius: 14px; background: linear-gradient(160deg, var(--tk-maroon), var(--tk-maroon-dark)); color: #FFFFFF; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6); transform: translateY(140%); transition: transform 380ms var(--tk-ease); }
.tk-peek.is-on { transform: translateY(0); }
.tk-peek__label { display: block; color: var(--tk-blush); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tk-peek__value { display: block; font-family: var(--font-primary); font-size: 1.55rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tk-peek button { min-height: 2.75rem; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font-size: 0.82rem; font-weight: 600; }

/* =========================================================
   FLYER STUDIO
   ========================================================= */
.tk-studio { padding: 6rem 0; background: #FFFFFF; scroll-margin-top: 4.5rem; }
.tk-studio__layout { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 1.5rem; align-items: start; }
.tk-studio__editor { border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: #FFFFFF; overflow: hidden; }
.tk-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--tk-line); background: var(--tk-paper-2); }
.tk-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; min-height: 4rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--tk-muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all var(--tk-quick) var(--tk-ease); }
.tk-tabs button i { font-size: 0.95rem; }
.tk-tabs button:hover { color: var(--tk-maroon); }
.tk-tabs button[aria-selected="true"] { border-bottom-color: var(--tk-maroon); background: #FFFFFF; color: var(--tk-maroon); }
.tk-tabs button:focus-visible { outline: 2px solid var(--tk-rose); outline-offset: -2px; }
.tk-tabpanel { padding: 1.4rem 1.5rem 1.6rem; }
.tk-tabpanel[hidden] { display: none; }
.tk-sub { margin: 0 0 0.7rem; color: var(--tk-text); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tk-sub + .tk-help { margin: -0.4rem 0 0.8rem; }
.tk-block + .tk-block { margin-top: 1.5rem; }

.tk-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.tk-tpl { display: flex; flex-direction: column; gap: 0.55rem; padding: 0.55rem; border: 1.5px solid var(--tk-line-strong); border-radius: 12px; background: #FFFFFF; cursor: pointer; text-align: left; transition: all var(--tk-quick) var(--tk-ease); }
.tk-tpl:hover { border-color: var(--tk-rose); }
.tk-tpl[aria-pressed="true"] { border-color: var(--tk-maroon); box-shadow: 0 0 0 3px rgba(77, 35, 39, 0.12); }
.tk-tpl:focus-visible { outline: 2px solid var(--tk-rose); outline-offset: 2px; }
.tk-tpl__art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 7px; background: #EFE9E7; }
.tk-tpl__art span { position: absolute; display: block; }
.tk-tpl__name { padding: 0 0.2rem 0.15rem; color: var(--tk-text); font-size: 0.8rem; font-weight: 700; }
/* mini template art */
.tk-art-sig .a1 { inset: 0 0 52% 0; background: linear-gradient(160deg, #a58c7f, #6e5a52); }
.tk-art-sig .a2 { left: 10%; top: 54%; width: 55%; height: 7%; background: #4D2327; border-radius: 2px; }
.tk-art-sig .a3 { left: 10%; top: 65%; width: 75%; height: 4%; background: #cdbfbf; border-radius: 2px; }
.tk-art-sig .a4 { left: 0; right: 0; bottom: 0; height: 17%; background: #36161D; }
.tk-art-bold .a1 { inset: 0; background: linear-gradient(170deg, #9b8578 0%, #5f4c45 45%, #1b1112 100%); }
.tk-art-bold .a2 { left: 10%; top: 52%; width: 65%; height: 9%; background: #F4ECEA; border-radius: 2px; }
.tk-art-bold .a3 { left: 10%; top: 65%; width: 42%; height: 5%; background: #C4787E; border-radius: 2px; }
.tk-art-bold .a4 { left: 0; right: 0; bottom: 0; height: 15%; background: rgba(54, 22, 29, 0.92); }
.tk-art-edi .a1 { left: 0; top: 0; width: 62%; height: 55%; background: linear-gradient(160deg, #a58c7f, #6e5a52); }
.tk-art-edi .a2 { right: 0; top: 0; width: 36%; height: 26.5%; background: #b8a193; }
.tk-art-edi .a3 { right: 0; top: 28.5%; width: 36%; height: 26.5%; background: #8d766a; }
.tk-art-edi .a4 { left: 0; right: 0; bottom: 0; height: 43%; background: #4D2327; }
.tk-art-edi .a5 { left: 10%; top: 64%; width: 50%; height: 7%; background: #E7B7BB; border-radius: 2px; }

.tk-swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.tk-swatch { position: relative; width: 2.75rem; height: 2.75rem; padding: 0; border: 2px solid #FFFFFF; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px var(--tk-line-strong); transition: box-shadow var(--tk-quick) var(--tk-ease), transform var(--tk-quick) var(--tk-ease); overflow: hidden; }
.tk-swatch::after { content: ''; position: absolute; right: 0; bottom: 0; width: 50%; height: 50%; background: var(--sw-accent); }
.tk-swatch:hover { transform: scale(1.06); }
.tk-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--tk-maroon); }
.tk-color { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.75rem 0 0.35rem; border: 1px solid var(--tk-line-strong); border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--tk-muted); cursor: pointer; }
.tk-color input { width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.tk-color input::-webkit-color-swatch-wrapper { padding: 0; }
.tk-color input::-webkit-color-swatch { border: 0; border-radius: 50%; }

.tk-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; min-height: 8rem; padding: 1.25rem; border: 1.5px dashed var(--tk-line-strong); border-radius: 14px; background: var(--tk-paper-2); color: var(--tk-muted); text-align: center; font-size: 0.86rem; cursor: pointer; transition: all var(--tk-quick) var(--tk-ease); }
.tk-drop i { color: var(--tk-rose); font-size: 1.5rem; }
.tk-drop strong { color: var(--tk-text); }
.tk-drop:hover, .tk-drop.is-over { border-color: var(--tk-maroon); background: rgba(77, 35, 39, 0.04); }
.tk-drop:focus-within { outline: 2px solid var(--tk-rose); outline-offset: 2px; }
.tk-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tk-drop--sm { min-height: 5.5rem; flex-direction: row; gap: 0.8rem; text-align: left; }
.tk-drop--sm i { font-size: 1.2rem; }
.tk-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.8rem; }
.tk-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--tk-paper); }
.tk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk-thumb__cover { position: absolute; left: 0.3rem; top: 0.3rem; padding: 0.15rem 0.4rem; border-radius: 5px; background: var(--tk-maroon); color: #FFFFFF; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tk-thumb__tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 0.25rem; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent); }
.tk-thumb__tools button { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 0; border-radius: 6px; background: rgba(255, 255, 255, 0.92); color: var(--tk-text); font-size: 0.7rem; cursor: pointer; }
.tk-thumb__tools button:hover { background: #FFFFFF; color: var(--tk-maroon); }
.tk-mini { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.6rem; }
.tk-mini img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; background: var(--tk-paper); }
.tk-mini--logo img { border-radius: 8px; object-fit: contain; background: #FFFFFF; border: 1px solid var(--tk-line); }

.tk-stage { position: sticky; top: 6.25rem; display: grid; gap: 0.9rem; }
.tk-stage__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.tk-stage__canvas { position: relative; display: grid; place-items: center; min-height: 26rem; padding: clamp(1rem, 3vw, 2.25rem); border-radius: var(--tk-radius); background: radial-gradient(ellipse at 50% 30%, #2a1d1f 0%, #120d0e 70%); overflow: hidden; }
.tk-stage__canvas::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.tk-stage__canvas canvas { position: relative; display: block; max-width: 100%; max-height: min(74vh, 860px); width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8); background: #FFFFFF; }
.tk-stage__meta { color: var(--tk-muted); font-size: 0.8rem; }
.tk-export { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tk-export .tk-btn { flex: 1 1 8rem; }
.tk-status { min-height: 1.3rem; margin: 0; color: var(--tk-maroon); font-size: 0.85rem; font-weight: 600; }
.tk-status.is-error { color: var(--tk-bad); }

/* =========================================================
   HOW IT WORKS / FEATURES
   ========================================================= */
.tk-how { padding: 6rem 0; background: var(--tk-ink); color: #FFFFFF; position: relative; overflow: hidden; }
.tk-how::before { content: ''; position: absolute; left: 50%; top: 0; width: 60rem; height: 30rem; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(107, 51, 56, 0.45), transparent 65%); pointer-events: none; }
.tk-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.tk-step { position: relative; padding: 2rem 1.75rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--tk-radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.tk-step__num { display: block; margin-bottom: 1.25rem; font-family: var(--font-primary); font-size: 3.4rem; font-weight: 600; line-height: 1; background: linear-gradient(160deg, var(--tk-blush), var(--tk-rose-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tk-step h3 { margin: 0 0 0.6rem; font-size: 1.65rem; font-weight: 600; color: #FFFFFF; }
.tk-step p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; line-height: 1.65; }
.tk-feats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.tk-feat { display: flex; gap: 0.9rem; padding: 1.25rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.tk-feat i { flex-shrink: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: rgba(196, 120, 126, 0.15); color: var(--tk-blush); font-size: 0.9rem; }
.tk-feat strong { display: block; margin-bottom: 0.2rem; color: #FFFFFF; font-size: 0.92rem; }
.tk-feat span { color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; line-height: 1.5; }

/* =========================================================
   GUIDE / FORMULAS
   ========================================================= */
.tk-guide { padding: 6rem 0; background: var(--tk-paper); }
.tk-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.tk-gcard { padding: 1.75rem; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: #FFFFFF; }
.tk-gcard h3 { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.75rem; font-size: 1.55rem; font-weight: 600; color: var(--tk-text); }
.tk-gcard h3 i { color: var(--tk-rose-deep); font-size: 1rem; }
.tk-gcard p { margin: 0 0 0.9rem; color: var(--tk-muted); font-size: 0.93rem; line-height: 1.7; }
.tk-formula { display: block; margin: 0 0 0.9rem; padding: 0.75rem 1rem; border-radius: 10px; background: var(--tk-paper-2); border: 1px solid var(--tk-line); color: var(--tk-maroon-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; line-height: 1.6; overflow-x: auto; }
.tk-gcard a { color: var(--tk-maroon); font-size: 0.875rem; font-weight: 700; text-decoration: none; }
.tk-gcard a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   FAQ
   ========================================================= */
.tk-faq { padding: 6rem 0; background: #FFFFFF; }
.tk-faq__list { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--tk-line); }
.tk-faq details { border-bottom: 1px solid var(--tk-line); }
.tk-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; padding: 1rem 0; cursor: pointer; list-style: none; font-family: var(--font-primary); font-size: 1.4rem; font-weight: 600; line-height: 1.25; color: var(--tk-text); }
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--tk-line-strong); border-radius: 50%; font-family: "Inter", sans-serif; font-size: 1.1rem; font-weight: 400; color: var(--tk-maroon); transition: transform var(--tk-std) var(--tk-ease), background-color var(--tk-std) var(--tk-ease); }
.tk-faq details[open] summary::after { transform: rotate(45deg); background: var(--tk-paper); }
.tk-faq summary:focus-visible { outline: 2px solid var(--tk-rose); outline-offset: 4px; }
.tk-faq details p { margin: 0 0 1.4rem; max-width: 46rem; color: var(--tk-muted); font-size: 0.97rem; line-height: 1.75; }
.tk-faq details p a { color: var(--tk-maroon); font-weight: 600; }

/* =========================================================
   CTA
   ========================================================= */
.tk-cta { padding: 0 0 6rem; background: #FFFFFF; }
.tk-cta__box { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 24px; background: linear-gradient(150deg, var(--tk-maroon-light) 0%, var(--tk-maroon) 40%, var(--tk-maroon-dark) 100%); color: #FFFFFF; text-align: center; }
.tk-cta__box::before, .tk-cta__box::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(231, 183, 187, 0.2); pointer-events: none; }
.tk-cta__box::before { left: -6rem; top: -8rem; width: 22rem; height: 22rem; box-shadow: 0 0 0 3rem rgba(231, 183, 187, 0.04); }
.tk-cta__box::after { right: -5rem; bottom: -9rem; width: 20rem; height: 20rem; box-shadow: 0 0 0 3rem rgba(231, 183, 187, 0.04); }
.tk-cta__box .tk-h2 { position: relative; max-width: 40rem; margin: 1rem auto; color: #FFFFFF; }
.tk-cta__box .tk-h2 em { color: var(--tk-blush); }
.tk-cta__box p { position: relative; max-width: 38rem; margin: 0 auto 2rem; color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; line-height: 1.7; }
.tk-cta__box .tk-kicker { position: relative; color: var(--tk-blush); }
.tk-cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.tk-btn--white { background: #FFFFFF; color: var(--tk-maroon-dark); font-weight: 700; }
.tk-btn--white:hover { background: #F5E6E8; transform: translateY(-2px); }

/* reveal on scroll */
.tk-reveal-ready .tk-reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 700ms var(--tk-ease) var(--rd, 0ms), transform 700ms var(--tk-ease) var(--rd, 0ms); }
.tk-reveal-ready .tk-reveal.is-in { opacity: 1; transform: none; }

/* keyframes */
@keyframes tk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tk-reveal { from { transform: translate3d(0, 105%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes tk-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes tk-rise-sm { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@keyframes tk-draw { to { stroke-dashoffset: 0; } }
@keyframes tk-shimmer { to { background-position: -200% 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .tk-ws__layout { grid-template-columns: minmax(0, 1fr); }
    .tk-rail { display: none; }
    .tk-switch { display: block; margin-bottom: 1.25rem; }
    .tk-studio__layout { grid-template-columns: minmax(0, 1fr); }
    .tk-stage { position: relative; top: 0; order: -1; }
    .tk-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-panel__body { grid-template-columns: minmax(0, 1fr); }
    .tk-results { position: relative; top: 0; }
    .tk-steps { grid-template-columns: minmax(0, 1fr); }
    .tk-guide__grid { grid-template-columns: minmax(0, 1fr); }
    .tk-report__body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .tk-body main section { padding-left: 0; padding-right: 0; }
    .tk-hero { padding: 7.25rem 0 3.25rem; }
    h1.tk-hero__title { font-size: clamp(2.45rem, 11vw, 3.3rem) !important; line-height: 1.05 !important; }
    .tk-body h2.tk-h2 { font-size: clamp(1.9rem, 8.5vw, 2.4rem) !important; line-height: 1.1 !important; }
    .tk-body .tk-card h3 { font-size: 1.45rem !important; }
    .tk-body .tk-panel__head h3 { font-size: 1.9rem !important; }
    .tk-hero__actions { flex-direction: column; align-items: stretch; }
    .tk-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }
    .tk-hero__stat:nth-child(3)::before { display: none; }
    .tk-hero__stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
    .tk-dir, .tk-ws, .tk-studio, .tk-how, .tk-guide, .tk-faq { padding: 4rem 0; }
    .tk-grid { grid-template-columns: minmax(0, 1fr); }
    .tk-card--feature, .tk-card--wide { grid-column: auto; }
    .tk-dir__bar { flex-direction: column; align-items: stretch; }
    .tk-search { max-width: none; }
    .tk-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1.25rem; padding: 0 1.25rem 0.25rem; scrollbar-width: none; }
    .tk-chips::-webkit-scrollbar { display: none; }
    .tk-chip { flex-shrink: 0; }
    .tk-form { padding: 1.15rem; }
    .tk-fields { grid-template-columns: minmax(0, 1fr); }
    .tk-report__body { grid-template-columns: minmax(0, 1fr); }
    .tk-tabpanel { padding: 1.2rem 1.1rem 1.4rem; }
    .tk-feats { grid-template-columns: minmax(0, 1fr); }
    .tk-peek { display: flex; }
    .tk-donut { grid-template-columns: 7rem minmax(0, 1fr); }
    .tk-faq summary { font-size: 1.2rem; }
    .tk-stage__canvas { min-height: 18rem; }
    .tk-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tk-comps__head { display: none; }
    .tk-comp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.75rem; }
    .tk-comp .tk-comp__addr { grid-column: 1 / -1; }
    .tk-comp + .tk-comp { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--tk-line-strong); }
}
@media (max-width: 420px) {
    .tk-tpls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
    .tk-tabs button { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tk-body *, .tk-body *::before, .tk-body *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
    .tk-swash path { stroke-dashoffset: 0; }
    .tk-reveal-ready .tk-reveal { opacity: 1; transform: none; }
}
