/* TextToHear homepage 2026 redesign. Scoped; does not change dashboard/billing CSS. */
:root { --tt-purple:#6836ed; --tt-purple-dark:#4f24c8; --tt-ink:#151a32; --tt-line:#e6e7f4; }
.tt-home { color:var(--tt-ink); background:#fafbff; overflow-x:clip; }
.tt-home * { box-sizing:border-box; }
.tt-shell { max-width:1392px; margin-inline:auto; padding-inline:clamp(20px,4.5vw,70px); }
.tt-section { padding-top:54px; padding-bottom:40px; }
.tt-section h2 { text-align:center; font-size:clamp(1.7rem,2.45vw,2.45rem); line-height:1.17; font-weight:800; letter-spacing:-.045em; color:#131932; }
.tt-section h2 span { color:#7437e9; }
.tt-section-subtitle { margin:10px auto 28px; max-width:700px; text-align:center; color:#67708c; line-height:1.6; }
.tt-section-kicker { color:#7947e7; letter-spacing:.09em; text-transform:uppercase; text-align:center; font-size:12px; font-weight:800; margin-bottom:12px; }
.tt-hero { position:relative; isolation:isolate; overflow:hidden; color:#fff; background:radial-gradient(circle at 86% 90%,rgba(175,62,243,.66),transparent 34%),radial-gradient(circle at 15% 25%,rgba(106,40,195,.36),transparent 33%),linear-gradient(115deg,#141034 0%,#121a55 60%,#2e1471 100%); }
.tt-hero::before,.tt-hero::after { content:""; position:absolute; inset:auto -4% -35% auto; width:55%; height:72%; border-radius:50%; border:1px solid rgba(192,166,255,.14); transform:rotate(-13deg); z-index:-1; }
.tt-hero::after { inset:auto auto -50% -12%; width:56%; border-color:rgba(192,166,255,.18); }
.tt-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); align-items:center; gap:clamp(30px,3.9vw,65px); padding-top:clamp(60px,6vw,90px); padding-bottom:clamp(65px,6vw,90px); }
.tt-eyebrow { display:inline-flex; align-items:center; gap:10px; background:rgba(165,110,237,.24); border:1px solid rgba(217,196,255,.18); border-radius:30px; color:#f5eaff; padding:9px 17px; font-size:13px; font-weight:700; }
.tt-hero h1 { max-width:660px; font-size:clamp(2.3rem,4.15vw,4.4rem); font-weight:850; line-height:1.045; letter-spacing:-.052em; margin:22px 0 16px; }
.tt-hero-emphasis { color:#c997ff; }
.tt-hero-description { max-width:650px; font-size:clamp(16px,1.25vw,19px); line-height:1.65; color:#e9e7fb; }
.tt-hero-checks { display:flex; flex-wrap:wrap; gap:10px 22px; margin:23px 0; font-size:13px; font-weight:700; }
.tt-hero-checks span::first-letter { color:#d7aaff; }
.tt-hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin:23px 0 13px; }
.tt-btn { min-height:52px; padding:14px 24px; display:inline-flex; gap:11px; align-items:center; justify-content:center; border-radius:9px; font-size:15px; font-weight:750; text-decoration:none; box-shadow:0 12px 25px rgba(17,13,66,.15); transition:transform .18s,box-shadow .18s; }
.tt-btn:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(17,13,66,.25); }
.tt-btn:focus-visible,.tt-nav a:focus-visible,.tt-home a:focus-visible { outline:3px solid #bba1ff; outline-offset:3px; }
.tt-btn-purple { background:linear-gradient(115deg,#a449f9,#6040e8); color:#fff; }
.tt-btn-white { background:#fff; color:#251c60; }
.tt-hero-smallprint { color:#c8bfef; font-size:12px; }
.tt-demo { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(177px,.78fr); border-radius:28px; padding:8px; border:6px solid rgba(194,169,255,.65); background:#ececff; box-shadow:0 22px 75px rgba(24,8,69,.38); transform:translateZ(0); }
.tt-demo-window { padding:11px; border-radius:19px; background:#f7f8ff; min-width:0; overflow:hidden; }
.tt-demo-topbar { display:flex; align-items:center; gap:6px; color:#64708f; font-size:11px; min-height:22px; margin-bottom:8px; }
.tt-demo-topbar span { width:7px; height:7px; background:#ff9996; border-radius:50%; }
.tt-demo-topbar span:nth-child(2) { background:#ffda76; }
.tt-demo-topbar span:nth-child(3) { background:#74d3a3; }
.tt-demo-topbar strong { font-size:11px; margin-left:auto; font-weight:700; }
.tt-demo-screen { position:relative; overflow:hidden; border-radius:12px; aspect-ratio:4/3; background:linear-gradient(120deg,#9eaff1,#e4d1fb); }
.tt-demo-screen img { display:block; width:100%; height:100%; object-fit:cover; }
.tt-demo-playbar { position:absolute; bottom:0; left:0; right:0; display:flex; align-items:center; gap:9px; padding:10px; color:#fff; background:linear-gradient(transparent,rgba(6,10,31,.87)); font-size:10px; font-weight:800; }
.tt-demo-track { height:3px; flex:1; border-radius:6px; background:linear-gradient(90deg,#fff 24%,rgba(255,255,255,.55) 24%); }
.tt-demo-caption { margin:9px 4px 2px; color:#69748b; font-size:11px; text-align:center; }
.tt-demo-control-panel { min-width:0; border-radius:17px; padding:15px 12px; background:#fff; color:#262648; display:flex; flex-direction:column; box-shadow:0 2px 13px rgba(55,31,155,.08); }
.tt-demo-control-label { font-weight:800; font-size:12px; margin-bottom:9px; }
.tt-demo-avatars { display:flex; gap:8px; margin-bottom:5px; }
.tt-demo-avatar { border-radius:10px; display:grid; place-items:center; height:44px; flex:1; background:linear-gradient(135deg,#d7dffb,#cfb6fc); font-size:17px; font-weight:850; color:#6a3acd; }
.tt-demo-avatar.active { border:2px solid #7045ef; background:#f1e8ff; }
.tt-demo-control-hint { font-size:10px; color:#69748b; margin-bottom:16px; }
.tt-demo-select { display:flex; align-items:center; justify-content:space-between; border:1px solid #dfe3ef; border-radius:8px; font-size:11px; color:#313552; padding:11px 9px; margin-bottom:14px; gap:5px; }
.tt-demo-cta { display:block; text-align:center; background:#653ce8; color:#fff; padding:12px 5px; font-weight:750; border-radius:9px; font-size:12px; margin-top:auto; }
.tt-demo-beta { margin-top:7px; font-size:10px; text-align:center; color:#7f7394; }
.tt-step-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:30px; }
.tt-step-card { display:grid; grid-template-columns:auto auto 1fr; gap:12px; align-items:start; border:1px solid #e9ebf7; background:linear-gradient(130deg,#f1f3ff,#fff); border-radius:18px; padding:19px; box-shadow:0 7px 16px rgba(34,34,85,.04); }
.tt-step-number { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; font-size:19px; font-weight:850; color:#6b43e5; background:#e7e5ff; }
.tt-step-icon { display:grid; place-items:center; min-width:42px; height:42px; background:#eeebff; border-radius:14px; font-size:28px; color:#673de4; }
.tt-step-card h3 { font-size:15px; font-weight:850; line-height:1.4; margin:2px 0 6px; }
.tt-step-card p { font-size:13px; color:#67708c; line-height:1.5; }
.tt-case-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px; margin-top:28px; }
.tt-case-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border-radius:16px; background:#fff; color:#1d2542; border:1px solid #e5e8f2; box-shadow:0 8px 17px rgba(22,28,62,.08); text-align:center; text-decoration:none; font-weight:800; font-size:13px; transition:transform .2s,border-color .2s; }
.tt-case-card:hover { transform:translateY(-4px); border-color:#ad8eff; color:#602de3; }
.tt-case-card > span:last-child { padding:12px 5px 14px; }
.tt-case-art { display:grid; place-items:center; height:118px; font-size:48px; color:#fff; }
.tt-case-business { background:linear-gradient(135deg,#766de1,#301454); }
.tt-case-social { background:linear-gradient(135deg,#17285f,#a84adb); }
.tt-case-training { background:linear-gradient(135deg,#4e65c0,#9baafa); }
.tt-case-announcement { background:linear-gradient(135deg,#5135ad,#b071ef); }
.tt-case-sales { background:linear-gradient(135deg,#d73f70,#ffac94); }
.tt-case-events { background:linear-gradient(135deg,#52436f,#c998ef); }
.tt-feature-ribbon { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin-block:14px 22px; background:#f2f5ff; border:1px solid #e1e5f6; border-radius:18px; padding-top:22px; padding-bottom:22px; box-shadow:0 10px 22px rgba(35,38,99,.05); }
.tt-feature-ribbon > div { position:relative; padding:0 18px 0 52px; }
.tt-feature-ribbon > div + div { border-left:1px solid #d5daef; }
.tt-feature-icon { position:absolute; top:-5px; left:16px; color:#673de4; font-size:29px; font-weight:800; }
.tt-feature-ribbon strong { display:block; font-size:15px; font-weight:850; }
.tt-feature-ribbon p { font-size:12px; line-height:1.55; color:#56617f; margin-top:5px; }
.tt-templates { display:grid; grid-template-columns:1fr 2fr; gap:30px; align-items:center; }
.tt-templates h2,.tt-templates .tt-section-kicker { text-align:left; }
.tt-templates p:not(.tt-section-kicker) { color:#646c86; margin-top:9px; line-height:1.5; }
.tt-template-links { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.tt-template-links a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:19px 16px; border:1px solid #e7e9f5; background:#fff; border-radius:13px; font-size:13px; font-weight:700; color:#302755; text-decoration:none; }
.tt-template-links a:hover { border-color:#9e7fff; color:#602de3; }
.tt-studio-section { padding-block:70px; background:radial-gradient(circle at 95% 15%,rgba(138,102,249,.16),transparent 43%),linear-gradient(#f5f4ff,#fbfbff); border-top:1px solid #ebebfa; }
.tt-studio-heading { max-width:710px; margin:0 auto 30px; text-align:center; }
.tt-studio-heading h2 { color:#151832; font-size:clamp(1.9rem,3.2vw,3rem); font-weight:850; letter-spacing:-.045em; line-height:1.1; }
.tt-studio-heading h2 span { color:#6b38ed; }
.tt-studio-heading p:last-child { color:#606982; margin-top:13px; }
.tt-generator-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.tt-generator-grid > div { min-width:0; }
.tt-generator-grid .tt-studio-card { border-radius:21px; box-shadow:0 12px 30px rgba(46,43,117,.08); border:1px solid #e5e4f3; }
.tt-generator-grid #app-container { scroll-margin-top:96px; }
.tt-generator-grid #avatarVideoWidget { scroll-margin-top:96px; }
.tt-lower { padding-top:48px; padding-bottom:50px; }
.tt-lower > section { margin-bottom:52px; }
.tt-lower .tt-pricing h2 { font-size:clamp(1.75rem,2.4vw,2.4rem); }
.tt-lower .tt-guides { background:#fff; border:1px solid #e7e9f5; border-radius:18px; padding:28px; }
.tt-lower .tt-guides h2 { font-size:20px; font-weight:850; }
.tt-lower .tt-guides p { color:#657089; line-height:1.6; }
.tt-lower .tt-guides ul { display:flex; flex-wrap:wrap; column-gap:24px; row-gap:12px; margin-top:18px; }
.tt-lower .tt-guides li { list-style:none; }
.tt-lower .tt-guides a { color:#5e35d5; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.tt-lower .tt-faq h2 { font-size:clamp(1.6rem,2.3vw,2.2rem); font-weight:850; margin-bottom:18px; }
.tt-lower .tt-faq details { border:1px solid #e5e8f3; background:#fff; border-radius:12px; padding:18px 20px; margin-bottom:10px; }
.tt-lower .tt-faq summary { cursor:pointer; font-weight:750; }
.tt-lower .tt-faq details p { margin-top:12px; color:#636b84; line-height:1.6; }
.tt-home #creator,.tt-home #how-it-works,.tt-home #use-cases,.tt-home #templates,.tt-home #faq,.tt-home #pricing { scroll-margin-top:95px; }
@media (max-width:1100px) {
  .tt-hero-grid { grid-template-columns:1fr; }
  .tt-hero-copy { max-width:850px; }
  .tt-demo { width:min(790px,100%); margin-inline:auto; }
  .tt-case-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tt-feature-ribbon { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 0; }
  .tt-feature-ribbon > div:nth-child(3) { border-left:none; }
  .tt-step-card { grid-template-columns:auto 1fr; }
  .tt-step-icon { display:none; }
}
@media (max-width:760px) {
  .tt-hero-grid { padding-block:52px; }
  .tt-hero h1 { font-size:clamp(2.15rem,8vw,3.35rem); }
  .tt-hero-checks { gap:10px; }
  .tt-hero-actions > a { flex:1; min-width:180px; }
  .tt-step-grid,.tt-generator-grid,.tt-templates { grid-template-columns:1fr; }
  .tt-steps { padding-top:43px; }
  .tt-step-card { grid-template-columns:auto 1fr; }
  .tt-case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tt-case-art { height:95px; }
  .tt-feature-ribbon { grid-template-columns:1fr; gap:16px; }
  .tt-feature-ribbon > div { border-left:none!important; }
  .tt-templates h2,.tt-templates .tt-section-kicker { text-align:center; }
  .tt-templates p:not(.tt-section-kicker) { text-align:center; }
  .tt-studio-section { padding-block:50px; }
}
@media (max-width:480px) {
  .tt-hero-actions { flex-direction:column; }
  .tt-hero-actions > a { width:100%; }
  .tt-demo { grid-template-columns:1fr; }
  .tt-demo-control-panel { display:none; }
  .tt-case-grid { gap:10px; }
  .tt-case-card { font-size:12px; }
  .tt-template-links { grid-template-columns:1fr; }
  .tt-lower .tt-guides { padding:20px; }
}
@media (prefers-reduced-motion:reduce) { .tt-home * { scroll-behavior:auto!important; transition:none!important; } }
