/* TextCase product landing — extends home.css tokens/patterns */

@import url("textcase-chrome.css");


:root {
  --tc-header-height: 76px;
  --tc-subnav-height: 52px;
  --tc-nav-offset: calc(
    var(--tc-announcement-height) + var(--tc-announcement-gap) + var(--tc-header-height)
  );
  --tc-anchor-offset: calc(
    var(--tc-nav-offset) + var(--tc-subnav-height) + 40px
  );
}

/* Push fixed nav + page content below the announcement bar */
html:has(.tc-announcement):not(.tc-announcement--dismissed) .site-header {
  top: calc(var(--tc-announcement-height) + var(--tc-announcement-gap));
}

html:has(.tc-announcement):not(.tc-announcement--dismissed) .hero,
html:has(.tc-announcement):not(.tc-announcement--dismissed) .tc-hero {
  padding-top: calc(var(--tc-nav-offset) + var(--space-lg));
}

html:has(.tc-announcement):not(.tc-announcement--dismissed) .mobile-nav {
  top: var(--tc-nav-offset);
  height: calc(100dvh - var(--tc-nav-offset));
}

.tc-hero {
  min-height: min(88vh, 780px);
  justify-content: center;
}

.tc-hero .hero-bg__fade {
  background-position: center 40%;
}

/* Override homepage .hero-copy narrow column so this stays near slider width */
.tc-hero-copy.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 56rem);
  max-width: min(100%, 56rem);
}

.tc-hero-head {
  display: flex;
  align-items: center;
  gap: 1.35rem 1.75rem;
  width: 100%;
  margin-bottom: var(--space-lg);
}

.tc-hero-icon-wrap {
  flex-shrink: 0;
}

.tc-hero-icon {
  display: block;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0;
  border-radius: 22.5%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.tc-hero-text {
  min-width: 0;
  flex: 1;
}

.tc-hero-text .hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
}

.tc-hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.tc-hero-lede {
  margin: 0;
  max-width: 28rem;
  color: rgba(244, 246, 251, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.tc-hero-docs__short {
  display: none;
}

.tc-hero-meta {
  margin: var(--space-md) 0 0;
  color: rgba(244, 246, 251, 0.55);
  font-size: 0.88rem;
}

.tc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.tc-feature {
  padding: calc(var(--space-md) + 4px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.tc-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--purple);
  background: rgba(132, 88, 255, 0.1);
}

.tc-feature__icon i,
.tc-feature__icon svg {
  width: 22px;
  height: 22px;
}

.tc-feature h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tc-feature__count {
  color: var(--purple);
  font-weight: 800;
}

.tc-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tc-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.tc-shot {
  margin: 0; /* reset UA figure margins so grid matches .tc-support-grid */
  aspect-ratio: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  background: var(--placeholder);
  text-align: center;
  padding: var(--space-md);
}

.tc-shot--image {
  aspect-ratio: auto;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: left;
}

.tc-shot__media {
  aspect-ratio: var(--app-shot-aspect, 1024 / 611);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.tc-shot--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tc-shot--image .tc-shot__title {
  padding: 12px calc(var(--space-md) + 4px) calc(var(--space-md) + 4px);
  width: 100%;
  text-align: left;
}

.tc-shot__title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.tc-shot__soon {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.tc-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.tc-cta__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.tc-cta__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tc-cta__copy p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
}

.tc-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 220px;
}

.tc-cta__actions .btn {
  justify-content: center;
}

.site-header.tc-header-solid {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(232, 235, 242, 0.88);
  box-shadow: 0 8px 28px rgba(16, 20, 37, 0.07);
}

.site-header.tc-header-solid .main-nav a,
.site-header.tc-header-solid .brand-name {
  color: #1f2740;
}

.site-header.tc-header-solid .brand-logo {
  filter: none;
}

/* Full-bleed sticky subnav — matches scrolled (white) main nav */

.tc-subnav-bar {
  position: sticky;
  top: var(--tc-nav-offset);
  z-index: 25;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 8px 28px rgba(16, 20, 37, 0.06);
}

.tc-subnav-bar__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
}

.tc-subnav--desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  width: 100%;
  color: #1f2740;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.tc-subnav--desktop a {
  color: #1f2740;
  transition: color 0.15s ease;
}

.tc-subnav--desktop a:hover,
.tc-subnav--desktop a:focus-visible,
.tc-subnav--desktop a.is-active {
  color: var(--purple);
  outline: none;
}

.tc-subnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tc-subnav__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.tc-subnav__sep {
  color: var(--line-strong);
  font-weight: 500;
  user-select: none;
}

.tc-subnav-jump {
  display: none;
  width: 100%;
  margin: 0;
}

.tc-section-after-subnav {
  padding-top: calc(var(--space-2xl) + var(--space-sm));
}

#features,
#screenshots,
#support,
#faq,
#bug-report,
#feature-request,
#contact,
.section-head[id] {
  scroll-margin-top: var(--tc-anchor-offset);
}

@media (max-width: 860px) {
  .tc-subnav-bar {
    top: var(--tc-nav-offset);
  }

  .tc-subnav-bar__inner {
    min-height: 0;
    padding: 0.45rem 0;
  }

  .tc-subnav--desktop {
    display: none;
  }

  .tc-subnav-jump {
    display: block;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 28px rgba(16, 20, 37, 0.08);
  }

  .tc-section-after-subnav {
    padding-top: var(--space-xl);
  }
}

/* Support */

.tc-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.tc-support-block {
  margin-top: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

.tc-support-block .section-head {
  margin-bottom: var(--space-md);
}

.tc-support-block .section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.tc-support-block__lede {
  margin: -4px 0 20px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.tc-support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: calc(var(--space-md) + 4px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tc-support-card:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 88, 255, 0.28);
  box-shadow: var(--shadow-md);
}

.tc-support-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--purple);
  background: rgba(132, 88, 255, 0.1);
}

.tc-support-card__icon i,
.tc-support-card__icon svg {
  width: 20px;
  height: 20px;
}

.tc-support-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tc-support-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tc-support-card__cta {
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 800;
}

.tc-support-note {
  margin: var(--space-md) 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.94rem;
}

.tc-support-note strong {
  color: var(--ink);
}

.tc-faq {
  display: grid;
  gap: 12px;
  margin-bottom: var(--space-xl);
}

.tc-faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.tc-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.tc-faq__item summary::-webkit-details-marker {
  display: none;
}

.tc-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--purple);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.tc-faq__item[open] summary::after {
  content: "–";
  font-size: 1.65rem;
  font-weight: 600;
}

.tc-faq__body {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tc-faq__body p {
  margin: 0 0 10px;
}

.tc-faq__body p:last-child {
  margin-bottom: 0;
}

.tc-faq__body a {
  color: var(--purple);
  font-weight: 700;
}

.tc-report-shell {
  margin-bottom: var(--space-xl);
}

.tc-report-tab {
  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

.tc-report-tab__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-bottom-color: transparent;
  border-radius: 12px 12px 0 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tc-report-tab__btn:hover,
.tc-report-tab__btn:focus-visible {
  color: var(--purple);
  border-color: rgba(132, 88, 255, 0.35);
  border-bottom-color: transparent;
  background: rgba(132, 88, 255, 0.06);
}

.tc-report-tab__btn:focus-visible {
  outline: 2px solid rgba(132, 88, 255, 0.45);
  outline-offset: 2px;
}

.tc-report-tab__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tc-report-tab__icon svg {
  width: 18px;
  height: 18px;
}

.tc-report-tab__icon--check {
  display: none;
  color: #16a34a;
}

.tc-report-tab__btn.is-copied {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.35);
  border-bottom-color: transparent;
  background: rgba(22, 163, 74, 0.08);
}

.tc-report-tab__btn.is-copied .tc-report-tab__icon--copy {
  display: none;
}

.tc-report-tab__btn.is-copied .tc-report-tab__icon--check {
  display: block;
}

.tc-bug-fallback {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.55;
  resize: vertical;
}

.tc-bug-fallback[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tc-report {
  margin-bottom: 0;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tc-report__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.tc-report__group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.02rem;
}

.tc-report__num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(132, 88, 255, 0.12);
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 800;
}

.tc-report__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tc-report__list li + li {
  margin-top: 10px;
}

.tc-report__label {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
}

.tc-report__hint {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.tc-report__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.tc-report__attach {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.tc-report__attach strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.tc-support-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.tc-support-panel {
  padding: calc(var(--space-md) + 4px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.tc-support-panel h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tc-support-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tc-support-panel a:not(.btn) {
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 960px) {
  .tc-feature-grid,
  .tc-shot-grid,
  .tc-support-grid,
  .tc-report__grid,
  .tc-support-lower {
    grid-template-columns: 1fr;
  }

  .tc-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .tc-cta__actions {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .tc-hero {
    min-height: min(58vh, 520px);
  }

  html:has(.tc-announcement):not(.tc-announcement--dismissed) .tc-hero {
    padding-top: calc(var(--tc-nav-offset) + var(--space-sm));
  }

  .tc-hero-head {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem 0.75rem;
    margin-bottom: var(--space-sm);
  }

  .tc-hero-icon {
    width: 2.85rem;
    height: 2.85rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  }

  .tc-hero-text .hero-eyebrow {
    margin-bottom: 6px;
    padding: 5px 8px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .tc-hero-title {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .tc-hero-lede {
    width: 100%;
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .tc-hero .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-top: var(--space-sm);
  }

  .tc-hero .hero-actions .btn,
  .tc-hero .hero-actions .btn-store {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    min-height: 40px;
    font-size: 0.88rem;
  }

  .tc-hero .hero-actions .btn-store {
    min-height: 40px;
    padding: 0.3rem 0.85rem 0.3rem 0.7rem;
    border-radius: 12px;
  }

  .tc-hero .hero-actions .tc-hero-docs {
    flex: 0 0 auto;
    padding-inline: 14px;
  }

  .tc-hero-docs__full {
    display: none;
  }

  .tc-hero-docs__short {
    display: inline;
  }

  .tc-hero-meta {
    margin-top: 10px;
    font-size: 0.78rem;
  }
}

/* —— Transformations catalog page —— */

.tc-feature {
  display: flex;
  flex-direction: column;
}

.tc-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 800;
}

.tc-feature__link:hover {
  color: var(--purple-dark);
}

.tc-xform-page .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(232, 235, 242, 0.88);
  box-shadow: 0 8px 28px rgba(16, 20, 37, 0.07);
}

.tc-xform-page .site-header .main-nav > a,
.tc-xform-page .site-header .brand-name {
  color: #1f2740;
}

.tc-xform-page .site-header .brand-logo {
  filter: none;
}

.tc-xform {
  padding: calc(var(--header-height, 76px) + var(--space-xl)) 0 var(--space-2xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(132, 88, 255, 0.08), transparent 28rem),
    var(--bg);
}

.tc-xform__intro {
  margin-bottom: var(--space-xl);
}

.tc-xform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.tc-xform-content {
  min-width: 0;
}

.tc-xform-sidebar {
  position: sticky;
  top: calc(var(--header-height, 76px) + 24px);
}

.tc-xform-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.tc-xform-promo__icon img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.tc-xform-promo__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tc-xform-promo__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.tc-xform-promo__actions {
  width: 100%;
  margin-top: 4px;
}

.tc-xform-promo__actions .btn-store {
  width: 100%;
  justify-content: center;
}

.tc-xform-dock {
  display: none;
}

.tc-xform__intro h1 {
  margin: 0 0 12px;
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.tc-xform__lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.tc-xform__tip {
  display: inline;
  color: var(--ink);
}

.tc-xform__tip .kbd {
  margin-inline: 2px;
}

.tc-xform-section {
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.tc-xform-section__title {
  margin: 0 0 var(--space-md);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tc-xform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tc-xform-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tc-xform-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--purple);
  background: rgba(132, 88, 255, 0.1);
}

.tc-xform-card__icon i,
.tc-xform-card__icon svg {
  width: 20px;
  height: 20px;
}

.tc-xform-card__copy {
  min-width: 0;
}

.tc-xform-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.tc-xform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tc-xform__back {
  margin: var(--space-lg) 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tc-xform__back a {
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 960px) {
  .tc-xform-layout {
    grid-template-columns: 1fr;
  }

  .tc-xform-sidebar {
    display: none;
  }

  .tc-xform-page {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }

  .tc-xform {
    padding-bottom: var(--space-2xl);
  }

  .tc-xform-dock {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px 14px;
    align-items: center;
    position: fixed;
    z-index: 45;
    left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 20, 37, 0.16);
  }

  .tc-xform-dock__icon img {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
  }

  .tc-xform-dock__copy {
    min-width: 0;
  }

  .tc-xform-dock__title {
    display: block;
    margin: 0 0 2px;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: var(--ink);
  }

  .tc-xform-dock__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .tc-xform-dock__actions .btn-store {
    min-height: 42px;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .tc-xform-grid {
    grid-template-columns: 1fr;
  }

  .tc-xform-section {
    padding: 16px;
  }

  .tc-xform-dock {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tc-xform-dock__actions {
    grid-column: 1 / -1;
  }

  .tc-xform-dock__actions .btn-store {
    width: 100%;
    justify-content: center;
  }

  .tc-xform-page {
    padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px));
  }
}
