:root{
  --line:       rgba(255,255,255,0.08);
  --line-input: rgba(255,255,255,0.10);
  --line-soft:  rgba(255,255,255,0.12);
  --text-muted: #b8b2a6;
  --text-desc:  #9c968a;
  --text-nav:   #a9a49a;
  --panel-2:    #141516;
}
:root[data-theme="light"]{
  --ink:        #f6f4ee;
  --text:       #1c1b17;
  --line:       rgba(0,0,0,0.09);
  --line-input: rgba(0,0,0,0.10);
  --line-soft:  rgba(0,0,0,0.12);
  --text-muted: #5c5749;
  --text-desc:  #6f6a5c;
  --text-dim:   #8a8374;
  --text-nav:   #6b6a5f;
  --placeholder:#948e7d;
  --panel-2:    #ece9e0;
}

.tc-page{ position:relative; z-index:1; min-height:100vh; }

.tc-section{
  position:relative; z-index:2;
  max-width:1280px; margin:32px auto 0; padding:100px 56px;
  border:1px solid var(--line); border-radius:20px;
}
.tc-section h2{
  font-family:var(--font-display); font-weight:600;
  font-size:38px; line-height:1.15; margin:0 0 48px; max-width:760px;
}
.tc-section h2 em{
  font-family:"Instrument Serif", Georgia, serif;
  font-style:italic; font-weight:400; color:var(--accent);
}

.tc-eyebrow{
  display:flex; align-items:center; margin-bottom:20px;
  font-size:11px; font-weight:400; letter-spacing:.28em;
  text-transform:uppercase; color:var(--accent);
}
.tc-eyebrow::before{
  content:""; width:22px; height:1px; background:var(--accent);
  display:inline-block; margin-right:10px; flex-shrink:0;
}
.tc-eyebrow--center::before{ display:none; }

.tc-feature{ padding-top:20px; border-top:1px solid var(--line); }
.tc-feature-num{
  font-family:var(--font-display); font-size:12px; font-weight:600;
  color:var(--accent); letter-spacing:.08em;
}
.tc-feature-title{ margin-top:16px; }

.tc-topbar{ padding:32px 56px; }
.tc-brand__title strong{ font-size:19px; }

.tc-brand > svg{ display:block; height:40px; width:auto; transition: color .2s ease; }
.tc-brand:hover > svg{ color: var(--accent); }

.tc-brand > svg[data-lang="en"]{ display:none; }
:root[lang="en"] .tc-brand > svg[data-lang="ru"]{ display:none; }
:root[lang="en"] .tc-brand > svg[data-lang="en"]{ display:block; }

.tc-nav-link{ position:relative; color: var(--text-nav); font-size:14px; }
.tc-nav-link::after{ content:""; position:absolute; left:0; bottom:-4px; width:0; height:1px; background:var(--accent); transition:width .25s ease; }
.tc-nav-link:hover{ color: var(--text); }
.tc-nav-link:hover::after{ width:100%; }

.tc-hero{
  margin-top:24px; padding:100px 56px;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center;
}
.tc-hero-badge-row{ display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.tc-hero-badge{
  font-size:11px; font-weight:600; letter-spacing:0.06em; color: var(--on-accent);
  background: var(--accent); padding:3px 9px; border-radius:4px;
}
.tc-hero-eyebrow{ font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color: var(--text-dim); }
.tc-hero h1{
  font-family: var(--font-display); font-weight:600; font-size:50px; line-height:1.1;
  margin:0 0 24px; letter-spacing:-0.01em; white-space:nowrap;
}
.tc-hero-cursor{ opacity:0.6; }
.tc-hero p.tc-hero-desc{ font-size:18px; line-height:1.6; color: var(--text-muted); max-width:480px; margin:0 0 40px; }

.tc-hero-input{
  display:flex; align-items:center; gap:2px;
  background: var(--panel-2); border:1px solid var(--line-input); border-radius:12px;
  padding:6px 6px 6px 20px; max-width:520px; margin-bottom:24px;
}
.tc-hero-input input{
  flex:1; min-width:0; font-size:15px; color: var(--text);
  background:none; border:none; padding:8px 0 8px 4px;
}
.tc-hero-input input::placeholder{ color: var(--placeholder); }
.tc-hero-input input:focus{ outline:none; }

.tc-hero-search{ position:relative; max-width:520px; margin-bottom:24px; }
.tc-hero-search .tc-hero-input{ margin-bottom:0; max-width:none; }
.tc-hero-suggest{
  position:absolute; z-index:30; left:0; right:0; top:calc(100% + 6px);
  list-style:none; margin:0; padding:6px;
  max-height:280px; overflow-y:auto;
  background: var(--panel-2);
  border:1px solid var(--line-input); border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,0.28);
}
.tc-hero-suggest__group{
  font-size:10px; text-transform:uppercase; letter-spacing:0.06em;
  color: var(--text-muted); padding:7px 8px 4px;
}
.tc-hero-suggest__item{
  display:flex; align-items:baseline; gap:8px;
  padding:8px; border-radius:7px; cursor:pointer;
}
.tc-hero-suggest__item:hover,
.tc-hero-suggest__item.is-active{ background: rgba(201,131,74,0.14); }
.tc-hero-suggest__name{
  color: var(--text); font-size:13.5px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.tc-hero-suggest__sub{
  margin-left:auto; flex-shrink:0;
  color: var(--text-muted); font-size:11px; font-family: var(--font-mono);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:45%;
}
.tc-cta-wrap{ position:relative; flex-shrink:0; }
@keyframes tcGradShift{ 0%{ background-position:0% 50%; } 100%{ background-position:200% 50%; } }
.tc-cta{
  position:relative; background:#c9834a; color:#241a0c;
  font-weight:600; font-size:14px; padding:14px 24px; border-radius:7px; cursor:pointer;
  white-space:nowrap; text-align:center; overflow:hidden;
  transition:transform .05s ease, box-shadow .25s ease;
}
.tc-cta:active{ transform:scale(0.96); }
:root .tc-cta:hover{ box-shadow:0 0 18px rgba(201,131,74,0.45); }
:root[data-theme="light"] .tc-cta:hover{ box-shadow:0 0 14px rgba(201,131,74,0.28); }

.tc-cta__shine{
  position:absolute; top:-60%; bottom:-60%; width:45%; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: tcCtaShine .65s ease-out;
}
.tc-cta-ring{
  position:absolute; inset:0; border-radius:7px; pointer-events:none;
  animation: tcCtaRing .65s ease-out;
}
@keyframes tcCtaShine{
  from{ transform:translateX(-180%) skewX(-20deg); }
  to{ transform:translateX(260%) skewX(-20deg); }
}
@keyframes tcCtaRing{
  from{ box-shadow:0 0 0 0 rgba(201,131,74,0.5), 0 0 0 0 rgba(201,131,74,0.3); }
  to{ box-shadow:0 0 0 8px rgba(201,131,74,0), 0 0 26px 10px rgba(201,131,74,0); }
}
@media (prefers-reduced-motion: reduce){
  .tc-cta__shine, .tc-cta-ring{ animation:none; display:none; }
}
.tc-cta:active{ transform:scale(0.96); }
[data-theme="dark"] .tc-cta:hover, :root:not([data-theme="light"]) .tc-cta:hover{ box-shadow:0 0 18px rgba(201,131,74,0.45); }
:root[data-theme="light"] .tc-cta:hover{ box-shadow:0 0 14px rgba(201,131,74,0.28); }
@keyframes tcClickPulse{ 0%{ box-shadow:0 0 0 0 rgba(201,131,74,0.5); } 100%{ box-shadow:0 0 0 16px rgba(201,131,74,0); } }
.tc-cta-pulse{ position:absolute; inset:0; border-radius:6px; animation:tcClickPulse .4s ease-out; }

.tc-hero-media{ position:relative; }

.tc-hero-model{
  position:relative; width:100%; aspect-ratio:4/5; border-radius:4px;
  overflow:hidden; cursor:grab; touch-action:pan-y;
}
.tc-hero-model:active{ cursor:grabbing; }
.tc-hero-model canvas{ display:block; width:100% !important; height:100% !important; }
.tc-hero-model .tc-slot{ position:absolute; inset:0; width:100%; height:100%; }
.tc-hero-model.is-ready .tc-slot{ display:none; }
.tc-hero-media .tc-slot{ width:100%; aspect-ratio:4/5; border-radius:4px; }
.tc-hero-media-foot{ margin-top:16px; display:flex; justify-content:space-between; font-size:13px; color: var(--text-dim); }

.tc-slot{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  background: rgba(127,127,127,.08); border:1.5px dashed currentColor;
  color: var(--text-dim); font-size:12.5px; text-align:center; padding:12px;
  overflow:hidden;
}
.tc-slot svg{ opacity:0.6; }

.tc-features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:48px; margin-top:56px; }
.tc-feature{ padding-top:20px; border-top:1px solid var(--line-soft); }
.tc-feature-title{ font-family:var(--font-display); font-size:18px; font-weight:600; margin-bottom:10px; }
.tc-feature-desc{ font-size:14px; line-height:1.55; color: var(--text-desc); }

.tc-section-sub{ font-size:15px; color: var(--text-dim); margin:0 0 40px; }
.tc-gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.tc-gallery-item .tc-slot{ width:100%; aspect-ratio:1/1; border-radius:8px; }

.tc-gallery-shape{
  position:relative; width:100%; padding-bottom:87%;
  border:1px solid var(--line-soft);
  background: rgba(127,127,127,.05);
  border-radius:14px; overflow:hidden;
  transition: padding-bottom .55s cubic-bezier(.22,1,.36,1),
              height .55s cubic-bezier(.22,1,.36,1),
              border-color .35s ease, box-shadow .45s ease,
              transform .45s cubic-bezier(.22,1,.36,1);
}
.tc-gallery-inner{ position:absolute; inset:0; display:flex; flex-direction:column; }
.tc-gallery-icon{
  width:94%; margin:0 auto; aspect-ratio:1/1; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color: var(--text-muted);
}
.tc-gallery-icon svg{ width:62%; height:62%; }
.tc-gallery-icon .tc-art-accent{ color: var(--accent); stroke: var(--accent); }

.tc-gallery-reveal{
  flex:1; min-height:0; padding:6px 14px 16px;
  display:flex; flex-direction:column;
  opacity:0; transform:translateY(6px);
  transition: opacity .4s ease .12s, transform .4s ease .12s;
}
.tc-gallery-media{
  width:100%; flex:none; aspect-ratio: var(--shot, 4/3);
  border-radius:6px; overflow:hidden;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.tc-gallery-media .tc-slot{ width:100%; height:100%; aspect-ratio:auto; border-radius:6px; }
.tc-gallery-media img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:6px; }

.tc-gallery-info{ font-size:12.5px; line-height:1.5; color: var(--text-desc); margin-top:10px; flex-shrink:0; }

.tc-gallery-item.is-open{ z-index:10; }
.tc-gallery-item.is-open .tc-gallery-shape{
  padding-bottom:180%;
  border-color: var(--accent);
  transform:translateY(-4px);
  box-shadow:0 22px 44px rgba(0,0,0,.28), 0 0 0 1px rgba(201,131,74,.14);
}
:root[data-theme="light"] .tc-gallery-item.is-open .tc-gallery-shape{
  box-shadow:0 22px 40px rgba(60,50,30,.12), 0 0 0 1px rgba(201,131,74,.18);
}
.tc-gallery-item.is-open .tc-gallery-reveal{ opacity:1; transform:translateY(0); }
.tc-gallery-grid.is-sized .tc-gallery-shape{ padding-bottom:0; }
.tc-gallery-grid.is-sized .tc-gallery-inner{ position:static; }
.tc-gallery-grid.is-sized .tc-gallery-item.is-open .tc-gallery-shape{ padding-bottom:0; }

@media (hover: hover){
  .tc-gallery-item:not(.is-open):hover .tc-gallery-shape{
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    transform: translateY(-2px);
  }
}

.tc-gallery-item{ cursor:pointer; -webkit-tap-highlight-color:transparent; }
.tc-gallery-item .tc-gallery-shape{ -webkit-user-select:none; user-select:none; }
.tc-gallery-item:focus-visible .tc-gallery-shape{
  outline:2px solid var(--accent); outline-offset:3px;
}

.tc-gallery-item-label{ font-size:14px; color: var(--text-desc); margin-top:12px; }

.tc-steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; margin-top:48px; }
.tc-step-n{ font-family:var(--font-display); font-size:15px; color: var(--accent); margin-bottom:16px; }
.tc-step-title{ font-size:18px; font-weight:600; margin-bottom:10px; }
.tc-step-desc{ font-size:14px; line-height:1.6; color: var(--text-desc); }

.tc-footer{
  margin:32px auto 40px; padding:40px 56px 24px;
  display:grid; grid-template-columns: 2fr 1fr 1fr; gap:40px;
  font-size:13px; color: var(--text-dim);
}
.tc-footer__mark{
  display:inline-block; color: var(--text);
  transition: color .2s ease;
}
.tc-footer__mark svg{ display:block; height:104px; width:auto; }
.tc-footer__mark:hover{ color: var(--accent); }
.tc-footer__mark:focus-visible{ outline:2px solid var(--accent); outline-offset:4px; border-radius:10px; }
.tc-footer__tagline{
  margin:12px 0 0; max-width:320px; font-size:13px; line-height:1.6; color: var(--text-desc);
}
.tc-footer__col{ display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.tc-footer__col-title{
  font-size:11px; letter-spacing:.16em; text-transform:uppercase; color: var(--text-dim);
  margin-bottom:2px;
}
.tc-footer__col a{ color: var(--text-desc); font-size:13px; text-decoration:none; padding:2px 0; }
.tc-footer__col a:hover{ color: var(--accent); }
.tc-footer__col a.mail{ font-family: var(--font-mono); font-size:12.5px; color: var(--accent); }
.tc-footer__note{ margin-top:4px; max-width:260px; font-size:12.5px; line-height:1.6; color: var(--text-dim); }
.tc-footer__bottom{
  grid-column:1 / -1; margin-top:12px; padding-top:20px;
  border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-size:12px; color: var(--text-dim);
}

@media (max-width:880px){
  .tc-hero-grid, .tc-hero{ grid-template-columns:1fr !important; gap:32px !important; }
  .tc-brand > svg{ height:34px; }
  .tc-footer{ grid-template-columns:1fr 1fr; }
  .tc-footer__brand{ grid-column:1 / -1; }
}
@media (max-width:680px){
  .tc-topbar{ padding:20px !important; }
  .tc-hide-mobile{ display:none !important; }
  .tc-brand > svg{ height:28px; }
  .tc-controls{ gap:8px; }
  .tc-login-link{ padding:9px 11px; }
  .tc-login-link span{ display:none; }
  .tc-section{ margin-left:12px !important; margin-right:12px !important; padding-left:22px !important; padding-right:22px !important; border-radius:16px !important; }
  .tc-hero{ padding-top:40px !important; padding-bottom:48px !important; margin-top:16px !important; }
  .tc-hero h1{ font-size:32px !important; white-space:normal !important; }
  .tc-hero-search{ max-width:none !important; }
  .tc-hero-input{ flex-direction:column !important; align-items:stretch !important; padding:14px !important; gap:12px !important; border-radius:14px !important; }
  .tc-hero-input span{ padding-left:4px; }
  .tc-features-grid{ grid-template-columns:1fr !important; gap:28px !important; }
  .tc-gallery-grid{ grid-template-columns:repeat(2,1fr) !important; gap:14px !important; }
  .tc-gallery-item:not(.is-open) .tc-gallery-reveal{ opacity:0 !important; }
  .tc-steps-grid{ grid-template-columns:1fr !important; gap:28px !important; }
  .tc-footer{ grid-template-columns:1fr !important; gap:28px !important; padding-top:32px !important; }
  .tc-footer__mark svg{ height:88px; }
}

@media (max-width:380px){
  .tc-brand > svg{ height:24px; }
  .tc-controls{ gap:6px; }
}

.tc-hero-status{
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 46ch;
}
.tc-hero-status.is-error{ color: var(--danger); }

.tc-hero-links{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-top: 14px; }
.tc-hero-open{ color: var(--accent); }

.tc-cta.is-busy{ opacity:.75; pointer-events:none; }

.tc-hero-bodies{ display:flex; gap:6px; flex-wrap:wrap; margin-top:14px; }
.tc-body-chip{
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.tc-body-chip::before{
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--body-dot, var(--text-dim));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.22);
}
.tc-body-chip[data-body="earth"]  { --body-dot: var(--body-earth); }
.tc-body-chip[data-body="moon"]   { --body-dot: var(--body-moon); }
.tc-body-chip[data-body="mars"]   { --body-dot: var(--body-mars); }
.tc-body-chip[data-body="mercury"]{ --body-dot: var(--body-mercury); }
.tc-body-chip[data-body="ceres"]  { --body-dot: var(--body-ceres); }
.tc-body-chip[data-body="vesta"]  { --body-dot: var(--body-vesta); }

.tc-body-chip:hover{ border-color: var(--accent); color: var(--text); }
.tc-body-chip:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.tc-body-chip.is-active{
  border-color: var(--accent);
  background: rgba(201,131,74,0.14);
  color: var(--text);
}

.tc-hero{ position:relative; overflow:hidden; align-items:center; margin-top:24px; }
.tc-hero-copy{ position:relative; z-index:2; }

.tc-hero-glow{
  position:absolute; inset:0; pointer-events:none; border-radius:20px;
  background: radial-gradient(ellipse 80% 60% at 15% 0%, rgba(201,131,74,0.16), transparent 62%);
}
.tc-hero-contours{
  position:absolute; inset:0; width:100%; height:100%;
  opacity:.7; pointer-events:none;
}
:root[data-theme="light"] .tc-hero-contours{ opacity:.55; }
.tc-hero-contours g{ fill:none; stroke: var(--accent); stroke-width:2; }
.tc-drift{ animation: tcDrift 46s linear infinite; }
.tc-drift--a{ opacity:.18; animation-duration:46s; }
.tc-drift--b{ opacity:.28; animation-duration:64s; animation-direction:reverse; }
.tc-drift--c{ opacity:.40; animation-duration:80s; }
.tc-drift--d{ opacity:.20; animation-duration:58s; }
@keyframes tcDrift{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .tc-drift{ animation:none; } }

.tc-hero-card{
  position:relative; z-index:2;
  background: var(--card-glass, rgba(20,21,22,0.55));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border:1px solid var(--line); border-radius:14px; padding:32px;
}
:root[data-theme="light"] .tc-hero-card{ --card-glass: rgba(255,255,255,0.55); }
.tc-hero-card__title{
  font-family: var(--font-display); font-weight:600; font-size:19px; margin-bottom:6px;
}
.tc-hero-card__desc{ font-size:13px; color: var(--text-muted); line-height:1.5; margin-bottom:20px; }
.tc-hero-card .tc-hero-search{ margin-bottom:14px; }
.tc-hero-card .tc-hero-bodies{ margin:0 0 16px; }
.tc-hero-card .tc-cta-wrap{ display:block; }
.tc-hero-card .tc-cta{ width:100%; text-align:center; }
.tc-hero-meta{
  margin-top:18px; display:flex; gap:10px 18px; flex-wrap:wrap;
  font-size:12px; letter-spacing:normal; text-transform:none; color: var(--text-muted);
}
.tc-hero-meta b{ color: var(--text); font-weight:600; }

.tc-drawer-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:90;
  opacity:0; transition:opacity .35s ease;
}
.tc-drawer-backdrop.is-open{ opacity:1; }
.tc-drawer{
  position:fixed; top:0; right:0; height:100vh; width:min(420px, 92vw);
  background: var(--panel); border-left:1px solid var(--line);
  box-shadow:-24px 0 60px rgba(0,0,0,0.35); z-index:91;
  transform:translateX(105%); transition:transform .45s cubic-bezier(.22,1,.36,1);
  padding:28px 24px; display:flex; flex-direction:column; gap:18px;
}
.tc-drawer.is-open{ transform:translateX(0); }
@media (prefers-reduced-motion: reduce){
  .tc-drawer{ transition:none; } .tc-drawer-backdrop{ transition:none; }
}
.tc-drawer__head{
  display:flex; align-items:center; justify-content:space-between;
  font-family: var(--font-display); font-weight:600; font-size:16px;
}
.tc-drawer__close{
  width:28px; height:28px; border-radius:50%; background:transparent;
  border:1px solid var(--line); color: var(--text-muted);
  font-size:16px; line-height:1; cursor:pointer;
}
.tc-drawer__close:hover{ border-color: var(--accent); color: var(--text); }
.tc-drawer__progress-label{ font-size:13px; color: var(--text-muted); margin-bottom:12px; }
.tc-drawer__bar{ height:2px; background: var(--line); border-radius:2px; overflow:hidden; }
.tc-drawer__bar-fill{
  height:100%; width:0; background: var(--accent);
  transition: width .4s ease;
}
.tc-drawer__body{ flex:1; display:flex; flex-direction:column; gap:14px; min-height:0; }
.tc-drawer .tc-hero-model{
  flex:1; min-height:220px; border-radius:10px; overflow:hidden;
  background: var(--panel-2); border:1px solid var(--line);
}
.tc-drawer__foot{
  display:flex; justify-content:space-between;
  font-family: var(--font-mono); font-size:12px; color: var(--text-muted);
}

.tc-philosophy{
  background:#f5efe6; color:#171310; text-align:center;
}
.tc-eyebrow--center{
  display:flex; align-items:center; justify-content:center;
  font-size:11px; letter-spacing:.28em; text-transform:uppercase;
  color: var(--accent); margin-bottom:28px;
}
.tc-quote{
  font-family: var(--font-display); font-weight:500;
  font-size: clamp(22px, 3vw, 34px); line-height:1.4; letter-spacing:-0.01em;
  max-width:880px; margin:0 auto;
}
.tc-quote em{
  font-family:"Instrument Serif", Georgia, serif;
  font-style:italic; font-weight:400; color: var(--accent);
}
.tc-quote-cite{
  display:block; margin-top:28px; font-style:normal;
  font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:#6b6459;
}
.tc-stats{
  margin-top:72px; padding-top:40px; border-top:1px solid rgba(23,19,16,0.14);
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.tc-stat h3{ font-family: var(--font-display); font-size:38px; font-weight:600; margin:0; }
.tc-stat span{
  display:block; margin-top:8px; font-size:11px;
  letter-spacing:.16em; text-transform:uppercase; color:#6b6459;
}
@media (max-width:680px){
  .tc-stats{ grid-template-columns:repeat(2,1fr); row-gap:32px; }
  .tc-hero-card{ padding:22px; }
}

#heroTypedLast{ color: var(--accent); }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
#features, #how-it-works, #faq, #start{ scroll-margin-top: 24px; }

:root{ --nav-bg: rgba(10,11,12,0.72); }
:root[data-theme="light"]{ --nav-bg: rgba(246,244,238,0.72); }

.tc-topbar{
  position: sticky; top: 0; z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
  padding: 20px 56px;
}
@media (max-width: 680px){
  .tc-topbar{ padding: 20px !important; }
}

.tc-faq{ border-top:1px solid var(--line); }
.tc-faq-item{ border-bottom:1px solid var(--line); }
.tc-faq-item summary{
  display:flex; align-items:flex-start; justify-content:space-between; gap:24px;
  padding:22px 0; cursor:pointer; list-style:none;
  font-family: var(--font-display); font-size:17px; font-weight:500; color: var(--text);
  -webkit-tap-highlight-color:transparent;
}
.tc-faq-item summary::-webkit-details-marker{ display:none; }
.tc-faq-item summary:hover{ color: var(--accent); }
.tc-faq-item summary:focus-visible{ outline:2px solid var(--accent); outline-offset:4px; border-radius:4px; }
.tc-faq-item summary::after{
  content:"+"; flex-shrink:0;
  font-family: var(--font-mono); font-size:18px; line-height:1;
  color: var(--accent); transition: transform .2s ease;
}
.tc-faq-item[open] summary::after{ content:"−"; }
.tc-faq-a{
  padding:0 0 24px; max-width:760px;
  font-size:14.5px; line-height:1.7; color: var(--text-desc);
}

.tc-final h2{ margin-bottom:20px; }
.tc-final .tc-section-sub{ margin-bottom:28px; max-width:560px; }
.tc-final__actions{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.tc-final__cta{
  display:inline-block; padding:14px 26px; border-radius:6px;
  background: var(--accent); color:#241a0c; text-decoration:none;
  font-family: var(--font-display); font-size:15px; font-weight:600;
  transition: transform .15s ease, opacity .15s ease;
}
.tc-final__cta:hover{ opacity:.9; }
.tc-final__cta:active{ transform:scale(0.97); }

@media (max-width:1024px){
  .tc-topbar a[href="#faq"]{ display:none; }
}
@media (max-width:680px){
  .tc-faq-item summary{ font-size:16px; gap:16px; }
  .tc-final__cta{ width:100%; text-align:center; }
}

.legal{
  max-width: 780px; margin: 0 auto; padding: 36px 24px 64px;
  color: var(--text); font-family: var(--font-body);
  font-size: 14.5px; line-height: 1.65;
}
.legal h1{ font-family: var(--font-display); font-size: 29px; line-height:1.2; margin: 0 0 6px; }
.legal h2{
  font-family: var(--font-display); font-size: 17px; line-height:1.3;
  margin: 32px 0 10px; padding-top: 18px; border-top: 1px solid var(--line);
}
.legal p{ margin: 0 0 14px; }
.legal-version{ font-family: var(--font-mono); font-size:12px; color: var(--text-muted); margin-bottom: 22px !important; }
.legal-list{ margin: 0 0 14px; padding-left: 20px; }
.legal-list li{ margin-bottom: 8px; }
.legal a{ color: var(--accent); border-bottom: 1px solid currentColor; }

.legal-nav{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom: 26px; }
.legal-nav a{
  padding: 6px 13px; border:1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--text-muted); border-bottom-color: var(--line);
}
.legal-nav a:hover{ border-color: var(--accent); color: var(--accent); }
.legal-nav a.is-current{
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}

.legal-note{
  padding: 12px 14px; border-left: 2px solid var(--accent);
  background: var(--panel-2); border-radius: 0 8px 8px 0;
  font-size: 13px;
}

.legal-fill{
  margin: 22px 0 0; padding: 16px 18px;
  border: 1px dashed var(--accent); border-radius: 12px;
  background: rgba(201,131,74,0.07);
}
.legal-fill__title{
  font-family: var(--font-display); font-size:13px;
  text-transform: uppercase; letter-spacing:0.06em;
  color: var(--accent); margin-bottom: 10px;
}
.legal-fill__list{
  display:grid; grid-template-columns: minmax(0,auto) minmax(0,1fr);
  gap: 6px 18px; margin:0; font-size:13.5px;
}
.legal-fill__list dt{ color: var(--text-muted); }
.legal-fill__list dd{ margin:0; font-family: var(--font-mono); }
.legal-fill__todo{ margin: 12px 0 0 !important; font-size:12px; color: var(--danger); }

.legal-foot{
  max-width: 780px; margin: 0 auto; padding: 18px 24px 40px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  border-top: 1px solid var(--line);
  color: var(--text-muted); font-family: var(--font-body); font-size:12.5px;
}

@media (max-width: 600px){
  .legal{ padding: 24px 18px 48px; font-size: 14px; }
  .legal h1{ font-size: 23px; }
  .legal-fill__list{ grid-template-columns: 1fr; gap:2px; }
  .legal-fill__list dd{ margin-bottom: 8px; }
}
