/* Titan, presented the TrendTrack way (preview) */
:root { --y: #f3d94e; --y2: #ffe873; --ink: #08090a; --sheet: #fafafa; --line-l: #e9e9ea; --mut-l: #4d525a; --mut: #8a8f98; }
body.home, .tt { background: var(--ink); }
.tt { overflow-x: clip; font-family: Geist, -apple-system, system-ui, sans-serif; }
.tt h1, .tt h2, .tt h3 { font-family: Geist, -apple-system, system-ui, sans-serif; }
/* the one call to action */
.tcta { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 7px 0 20px; border-radius: 12px; background: linear-gradient(180deg, var(--y2), var(--y)); color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.2); transition: transform .15s ease-out, filter .15s ease-out; }
.tcta .arr { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(8,9,10,.1); transition: transform .2s cubic-bezier(.16,1,.3,1); }
.tcta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .tcta:hover { filter: brightness(1.05); } .tcta:hover .arr { transform: translateX(3px); } }
.tcta:active { transform: scale(.97); }
.tcta:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }
/* ===== hero ===== */
.t-hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 72px 20px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.t-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 13.5px; font-weight: 500; color: #e6e8eb; }
.t-dots { display: inline-flex; } .t-dots i { display: grid; place-items: center; width: 24px; height: 24px; margin-inline-start: -6px; border-radius: 50%; background: #f7f8f8; box-shadow: 0 0 0 2px var(--ink); }
.t-dots i:first-child { margin: 0; } .t-dots i.y { background: var(--y); }
.t-hero h1 { margin: 0; font-size: clamp(42px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -0.05em; font-weight: 600; color: #fff; }
.t-hero h1 span { color: var(--y); }
.t-sub { margin: 20px 0 0; font-size: 18px; line-height: 1.5; color: #b4b9c0; }
.t-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 30px; padding: 0; }
.t-chips li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 14px; font-weight: 500; color: #eef0f2; }
.t-chips svg, .cols3 svg { width: 16px; height: 16px; fill: none; stroke: var(--y); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-film { width: 100%; max-width: 980px; margin-top: 56px; padding: 10px; border-radius: 28px; background: #121315; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 100px -40px #000; }
.t-film .stage { margin: 0 !important; width: 100%; } .t-film .dvp { width: 100%; border-radius: 18px; outline: 0; box-shadow: none; } .t-film .dvp video, .t-film .dvp-play { border-radius: 18px; }
.t-works { margin: 40px 0 12px; font-size: 15px; color: #b4b9c0; }
.t-logos { display: flex; gap: 24px; margin: 0; font-size: 16px; font-weight: 500; color: #eef0f2; }
.t-logos span { display: inline-flex; align-items: center; gap: 8px; } .t-logos .oa { filter: invert(1); }
.t-logos .mcp { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--mut); }
.t-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; margin-top: 48px; text-align: start; }
.t-cards article { display: flex; flex-direction: column; min-height: 270px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, #121315, #0d0e0f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.t-cards header { display: flex; align-items: center; gap: 12px; }
.t-cards .av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #f7f8f8; font-weight: 700; font-size: 18px; color: var(--ink); }
.t-cards .av.y { background: var(--y); } .t-cards .av.txt { background: #2a2b2e; color: #fff; }
.t-cards header b { display: block; font-size: 15px; color: #fff; font-weight: 500; } .t-cards header small { color: var(--mut); font-size: 14px; }
.t-cards p { margin: 18px 0 0; font-size: 16px; line-height: 1.45; color: #eef0f2; }
.t-cards footer { margin-top: auto; padding-top: 24px; color: var(--mut); font-size: 14px; } .t-cards footer b { color: #fff; font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-inline-end: 6px; }
/* ===== light sheet ===== */
.sheet { margin: 120px 8px 0; border-radius: 28px; overflow: hidden; color: #0b0b0c;
  background: repeating-linear-gradient(135deg, #efeff0 0 1px, #f6f6f6 1px 9px); }
.sheet > * { max-width: 1200px; margin-inline: auto; background: var(--sheet); border-inline: 1px solid var(--line-l); }
.s-block { padding: 96px 72px; }
.s-block + .s-block, .s-strip + .s-block, .fc-grid + .s-block { border-top: 1px solid var(--line-l); }
.br { margin: 0 0 14px; font: 500 14px/1 ui-monospace, Menlo, monospace; letter-spacing: .04em; color: #b38f00; }
.br span { color: #5b6068; } .br.dark span { color: #b4b9c0; } .br.dark { color: var(--y); }
.s-block h2 { margin: 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; color: #0b0b0c; }
.s-sub { margin: 18px 0 0; font-size: 17px; line-height: 1.5; color: var(--mut-l); }
.s-sub.big { font-size: 19px; color: #0b0b0c; max-width: 32em; } .s-sub.big span { color: #8a8f98; }
.s-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.s-block.center { text-align: center; } .s-block.center .tcta { margin-top: 28px; }
/* feature cards */
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-l); }
.fc { padding: 40px 44px 48px; } .fc + .fc { border-inline-start: 1px solid var(--line-l); }
.fc-vis { display: grid; place-items: end center; height: 330px; margin-bottom: 28px; overflow: hidden; }
.fc h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.fc p { margin: 0; max-width: 34em; font-size: 16px; line-height: 1.5; color: var(--mut-l); }
.crop { width: 300px; height: 320px; overflow: hidden; padding: 8px 8px 0; border-radius: 34px 34px 0 0; background: #0b0b0c; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.crop img { display: block; width: 100%; height: auto; border-radius: 27px 27px 0 0; }
.crop.focus img { margin-top: -62%; border-radius: 0; }
.crop.focus { border-radius: 26px 26px 0 0; }
/* light chat */
.lchat { width: 400px; align-self: center; display: grid; gap: 12px; padding: 0 0 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #eaeaea, 0 24px 50px -24px rgba(0,0,0,.25); text-align: start; font-size: 14.5px; overflow: hidden; }
.lchat-top { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-bottom: 1px solid #f0f0f0; font-weight: 600; font-size: 13px; }
.lmsg { margin: 0 18px; line-height: 1.45; } .lmsg.u { justify-self: end; padding: 9px 14px; border-radius: 16px; background: #f1f1f2; }
.lmsg.a { color: #3d4249; } .lmsg.a b { color: #0b0b0c; font-weight: 600; }
.ltool { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin: 0 18px; height: 30px; padding: 0 11px; border-radius: 9px; background: #fff8d1; box-shadow: inset 0 0 0 1px #f0dd7c; color: #6b5600; font-size: 13px; font-weight: 500; }
.ltool img { border-radius: 4px; } .ltool svg { width: 14px; height: 14px; fill: none; stroke: #8a6f00; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* chip strip */
.s-strip { padding: 22px 20px; border-top: 1px solid var(--line-l); }
.t-chips.light { margin: 0; } .t-chips.light li { background: #fff; color: #0b0b0c; box-shadow: 0 0 0 1px #e8e8e9, 0 2px 6px -3px rgba(0,0,0,.12); }
.t-chips.light svg { stroke: #b38f00; }
/* chart */
.chart { position: relative; max-width: 960px; height: 300px; margin: 64px auto 0; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: #ececed; } .chart .ln { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; } .chart .w { stroke: #e2c42a; } .chart .b { stroke: #3b82f6; }
.chart .cur { stroke: #d4d4d6; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.tip { position: absolute; top: 40px; transform: translateX(-108%); min-width: 230px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ececec, 0 18px 40px -18px rgba(0,0,0,.25); text-align: start; }
.tip b { display: block; margin-bottom: 8px; font-weight: 600; } .tip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: #5b6068; }
.tip li { display: flex; align-items: center; gap: 8px; } .tip em { margin-inline-start: auto; font-style: normal; color: #0b0b0c; font-weight: 500; }
.tip i { width: 8px; height: 8px; border-radius: 50%; } .tip .w { background: #e2c42a; } .tip .b { background: #3b82f6; } .tip .g { background: #22c55e; } .tip .o { background: #f97316; }
.chart .ex { position: absolute; right: 0; bottom: -28px; font-size: 12px; color: #9a9ea5; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; text-align: start; }
.cols3 > div { padding: 0 28px; border-inline-start: 1px solid var(--line-l); } .cols3 > div:not(.on) { opacity: .55; }
.cols3 svg { stroke: #b38f00; } .cols3 h3 { margin: 14px 0 10px; font-size: 18px; font-weight: 500; } .cols3 p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mut-l); }
.fc-grid.tight { border-top: 1px solid var(--line-l); }
/* ask your AI */
.lbtn { flex: none; display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 12px; background: #efefef; color: #0b0b0c; font-weight: 500; text-decoration: none; transition: background-color .15s; }
.lbtn:hover { background: #e6e6e6; } .lbtn:active { transform: scale(.97); }
.ask { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 72px; padding: 80px 0 10px;
  background: linear-gradient(var(--line-l), var(--line-l)) center / 100% 1px no-repeat; }
.ask-box { width: min(560px, 100%); padding: 18px 18px 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ebebeb, 0 24px 60px -30px rgba(0,0,0,.3); text-align: start; }
.ask-text { min-height: 26px; font-size: 16px; color: #0b0b0c; }
.ask-text.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-inline-start: 2px; vertical-align: -3px; background: #0b0b0c; animation: tblink .9s steps(1) infinite; }
.ask-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.tchip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 6px; border-radius: 999px; background: #f4f4f5; font-size: 14px; font-weight: 500; }
.tchip img { border-radius: 50%; } .tchip i { font-style: normal; color: #8a8f98; }
.send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--y); }
.send svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ask-w { margin: 36px 0 14px; color: #8a8f98; }
.ask-logos { display: flex; gap: 14px; } .ask-logos span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ebebeb, 0 6px 14px -8px rgba(0,0,0,.2); font-weight: 600; font-size: 14px; }
.ask-logos .txt { font-weight: 600; }
/* ===== FAQ (dark) ===== */
.t-faq { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; max-width: 1200px; margin: 0 auto; padding: 120px 20px 40px; }
.t-faq h2 { margin: 0; font-size: clamp(40px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; color: #fff; }
.t-faq > div > p:last-child { margin-top: 22px; color: #b4b9c0; font-size: 16px; line-height: 1.5; } .t-faq a { color: #fff; }
.t-faq .faq details { border-bottom: 1px dashed rgba(255,255,255,.14); border-top: 0; }
.t-faq .faq summary { padding: 20px 28px 20px 0; font-size: 16px; font-weight: 500; color: #fff; }
.t-faq .faq p { color: #b4b9c0; }
/* ===== final ===== */
.t-final { display: flex; flex-direction: column; align-items: center; padding: 120px 20px 0; text-align: center; overflow: hidden; }
.t-final h2 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; color: #fff; }
.t-final .get-app { display: flex; gap: 12px; margin: 30px 0 0; }
.final-phone { width: 340px; height: 440px; margin-top: 56px; padding: 10px 10px 0; border-radius: 48px 48px 0 0; background: #121315; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.final-phone img { display: block; width: 100%; height: auto; border-radius: 38px 38px 0 0; }
/* ===== motion ===== */
@keyframes tblink { 50% { opacity: 0; } }
@keyframes trise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .t-sub, .t-chips, .t-hero > .tcta { animation: trise .6s cubic-bezier(.16,1,.3,1) both; }
  .t-sub { animation-delay: .1s; } .t-hero .t-chips { animation-delay: .18s; } .t-hero > .tcta { animation-delay: .26s; }
  .t-film { animation: trise .9s .34s cubic-bezier(.16,1,.3,1) both; }
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  .rv.in { opacity: 1; transform: none; }
  .chart .ln { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.8s cubic-bezier(.65,0,.35,1); }
  .chart .area, .chart .tip { opacity: 0; transition: opacity .8s ease .9s; }
  .chart.in .ln { stroke-dashoffset: 0; } .chart.in .area, .chart.in .tip { opacity: 1; }
  .chart .tip { transition-delay: 1.5s; }
}
/* ===== responsive ===== */
@media (max-width: 900px) {
  .t-cards, .fc-grid, .cols3, .t-faq { grid-template-columns: 1fr; }
  .fc + .fc { border-inline-start: 0; border-top: 1px solid var(--line-l); }
  .cols3 { gap: 28px; } .cols3 > div { opacity: 1 !important; }
  .s-block { padding: 72px 24px; } .s-split { flex-direction: column; align-items: flex-start; }
  .fc { padding: 32px 24px 40px; }
}
@media (max-width: 600px) {
  .t-hero { padding-top: 48px; } .t-sub { font-size: 16px; } .t-sub br, .s-sub br { display: none; }
  .t-film { padding: 6px; border-radius: 18px; margin-top: 40px; }
  .sheet { margin: 80px 0 0; border-radius: 22px; } .sheet > * { border-inline: 0; }
  .lchat { width: 100%; } .crop { width: 260px; } .fc-vis { height: 300px; }
  .chart { height: 220px; } .tip { transform: translateX(-60%); top: -10px; min-width: 200px; font-size: 13px; }
  .t-final .get-app { flex-wrap: wrap; justify-content: center; } .final-phone { width: 280px; height: 360px; }
}
/* cards span the whole sheet width, like the reference */
.s-block > .fc-grid { margin: 64px -72px -96px; }
@media (max-width: 900px) { .s-block > .fc-grid { margin: 48px -24px -72px; } }
/* FAQ as plain rows */
.t-faq .faq { display: block; }
.t-faq .faq details { margin: 0; padding: 0; background: none !important; border-radius: 0 !important; box-shadow: none !important; border: 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.t-faq .faq details:first-child { border-top: 1px dashed rgba(255,255,255,.14); }
.t-faq .faq summary { padding: 22px 32px 22px 0; }
.t-faq .faq p { margin: 0 0 22px; padding: 0; line-height: 1.6; }
/* hero motion never hides content: movement only */
@keyframes tlift { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .t-sub, .t-hero .t-chips, .t-hero > .tcta, .t-film { animation-name: tlift; }
}
@media (max-width: 600px) { .chart .tip { display: none; } }
/* ===== hero, matched to the reference at 1440px ===== */
body.home, .tt { background: #09090a; }
.t-hero { padding-top: 84px; isolation: isolate; }
.t-bg { position: absolute; z-index: -1; left: 50%; top: 0; width: 1400px; height: 600px; transform: translateX(-50%); pointer-events: none; }
.t-bg .wash { position: absolute; inset: 0 100px; background: radial-gradient(59% 50% at 50% 50%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 100%); }
.t-bg .l, .t-bg .r { position: absolute; top: 40px; width: 420px; height: 520px; opacity: .55; filter: blur(14px);
  background: repeating-radial-gradient(ellipse 60% 48% at 0% 45%, rgba(243,217,78,.22) 0 10px, rgba(243,217,78,0) 10px 34px), radial-gradient(60% 50% at 0% 45%, rgba(243,217,78,.25), transparent 70%);
  -webkit-mask-image: radial-gradient(70% 60% at 0% 45%, #000 0%, transparent 100%); mask-image: radial-gradient(70% 60% at 0% 45%, #000 0%, transparent 100%); }
.t-bg .l { left: 0; }
.t-bg .r { right: 0; transform: scaleX(-1); top: 0; height: 480px; opacity: .45; }
.t-pill { margin-bottom: 21px; padding: 6px 14px 6px 6px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 14px; color: #fff; }
.t-dots i { width: 20px; height: 20px; margin-inline-start: -5px; box-shadow: 0 0 0 1.5px #09090a; } .t-dots img { width: 12px; height: 12px; }
.t-hero h1 { max-width: 960px; font-size: 68px; line-height: 1.1; letter-spacing: -0.042em; font-weight: 600; text-wrap: balance; }
.t-hero h1 span { background: linear-gradient(135deg, #fff1a1 0%, #f3d94e 45%, #e9b923 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-sub { margin-top: 16px; font-size: 18px; line-height: 1.4; color: rgba(255,255,255,.73); }
.t-hero .t-chips { gap: 12px; margin: 16px 0 28px; }
.t-hero .t-chips li { height: auto; padding: 6px 12px; gap: 8px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 14px; color: #fff; }
.t-hero .t-chips svg { width: 16px; height: 16px; }
.t-hero > .tcta, .s-block .tcta, .s-split .tcta { height: 48px; padding: 8px 8px 8px 18px; gap: 14px; border-radius: 18px; font-size: 16px;
  background: linear-gradient(0deg, rgba(9,9,10,.06), rgba(9,9,10,.06)), linear-gradient(135deg, #fff08a 0%, #f3d94e 50%, #ebc22c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 8px rgba(255,255,255,.44), 0 16px 32px rgba(243,217,78,.08), 0 4px 10px rgba(243,217,78,.12); }
.tcta .arr { width: 32px; height: 32px; border-radius: 12px; background: rgba(9,9,10,.08); box-shadow: inset 0 0 0 1px rgba(9,9,10,.1); }
.t-film { max-width: 980px; margin-top: 64px; padding: 10px; border-radius: 36px; background: rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 0 70px rgba(255,255,255,.02), inset 0 0 12px rgba(255,255,255,.04); }
.t-film .dvp, .t-film .dvp video, .t-film .dvp-play { border-radius: 26px; }
.t-film .dvp { outline: 1px solid rgba(255,255,255,.04); }
.t-works { margin-top: 44px; font-size: 16px; color: rgba(255,255,255,.73); }
.t-logos { gap: 20px; font-size: 18px; font-weight: 500; }
/* nav buttons like the reference: quiet outlined pills */
.tt-nav-fix, body.home .nav .btn { background: rgba(255,255,255,.04) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1) !important; border-radius: 10px !important; }
body.home .nav .btn:hover { background: rgba(255,255,255,.08) !important; }
@media (max-width: 900px) { .t-hero h1 { font-size: 48px; } .t-bg { width: 100%; } .t-bg .l, .t-bg .r { width: 220px; } }
@media (max-width: 600px) { .t-hero { padding-top: 48px; } .t-hero h1 { font-size: 40px; } .t-sub { font-size: 16px; } .t-film { border-radius: 22px; padding: 6px; } .t-film .dvp, .t-film .dvp video { border-radius: 16px; } }
/* quieter edges: texture, not glow */
.t-bg .l { opacity: .28; } .t-bg .r { opacity: .22; }
/* sound button top-right, like the reference */
/* sound button stays bottom-left: top-right would cover the film's own headline */
/* our own buttons (styles.css .btn): drop the reference's arrow button */

.tt a.btn.tcta { height: 44px; min-height: 44px; padding: 0 20px; border-radius: 8px; gap: 8px; font-size: 15px; background: #f3d94e; color: #08090a; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); filter: none; }
@media (hover: hover) { .tt a.btn.tcta:hover { background: #ffe56b; } }
.tt a.btn.btn-ink { height: 44px; min-height: 44px; padding: 0 20px; border-radius: 8px; font-size: 15px; background: #08090a; color: #f7f8f8; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
@media (hover: hover) { .tt a.btn.btn-ink:hover { background: #1f2023; } }
.tt a.btn.tcta, .tt a.btn.btn-ink { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
.tt a.btn.tcta .arr { display: none; }
.t-logos { margin-bottom: 0; } .t-hero { padding-bottom: 0; }
/* ===== training: the real gym screen in motion ===== */
#gym ~ .fc-grid .fc-vis, .fc-grid.tight .fc-vis { height: 600px; }
.crop.tall { width: 300px; height: 600px; }
.ph-live { position: relative; width: 300px; height: 600px; overflow: hidden; padding: 8px 8px 0; border-radius: 34px 34px 0 0; background: #0b0b0c; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); text-align: start; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; }
.ph-live .base { display: block; width: 100%; height: auto; border-radius: 27px 27px 0 0; }
.ph-live > :not(.base) { position: absolute; }
/* the squat plays inside the illustration card */
.ph-live .sq { left: calc(8px + 2.6% * .947); top: calc(8px + 21.4% * 0 + 21.4% * 1.0 * (284 / 600) * (652 / 300) / 2.17); }
.ph-live .sq { left: 15px; top: 148px; width: 270px; height: 186px; object-fit: contain; background: rgb(39,41,45); border-radius: 10px; }
/* the app's own button, pressed at the start of each loop */
.ph-live .logbtn { left: 15px; right: 15px; top: 600px; height: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; background: #f3d94e; color: #08090a; font-size: 11.5px; font-weight: 600; transition: transform .12s ease-out, filter .12s; }
.ph-live .logbtn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.ph-live.press .logbtn { transform: scale(.96); filter: brightness(.92); }
/* rest dock, as RestDock in the app */
.ph-live .dock { left: 17px; right: 17px; bottom: 14px; padding: 12px; border-radius: 14px; background: #1c1d20; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px -12px rgba(0,0,0,.8); color: #f2f2f2;
  transform: translateY(130%); transition: transform .45s cubic-bezier(.16,1,.3,1), background-color .3s, border-color .3s; }
.ph-live.rest .dock { transform: none; }
.ph-live.done .dock { background: #173127; border-color: #22c55e; }
.dock-top { display: flex; justify-content: space-between; align-items: center; }
.dock-l { display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .08em; color: #9aa0a8; }
.dock-top b { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; }
.clock { color: #f3d94e; font-size: 28px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.ph-live.done .clock { color: #4ade80; }
.track { height: 4px; margin: 10px 0; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.track i { display: block; height: 100%; width: 100%; background: #f3d94e; border-radius: 4px; transform-origin: left; }
.ph-live.done .track i { background: #22c55e; }
.acts { display: flex; gap: 6px; } .acts span { flex: 1; display: grid; place-items: center; height: 26px; border-radius: 8px; background: rgba(255,255,255,.07); font-size: 8.5px; font-weight: 600; letter-spacing: .04em; color: #e6e6e6; }
/* lock-screen style notification */
.ph-live .nban { left: 14px; right: 14px; top: 14px; display: flex; gap: 9px; padding: 10px; border-radius: 16px; background: rgba(58,58,62,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; font-size: 11px; line-height: 1.3;
  transform: translateY(-140%); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ph-live.ping .nban { transform: none; }
.nban img { border-radius: 6px; flex: none; } .nban > div { flex: 1; }
.nb-top { display: flex; justify-content: space-between; font-size: 9px; color: rgba(255,255,255,.6); } .nb-top b { font-weight: 500; letter-spacing: .04em; }
.nban p { margin: 1px 0 0; color: rgba(255,255,255,.85); }
@media (max-width: 600px) { .ph-live, .crop.tall { width: 270px; height: 540px; } .ph-live .sq { left: 13px; top: 133px; width: 244px; height: 168px; } .ph-live .logbtn { top: 540px; } .fc-grid.tight .fc-vis { height: 540px; } }
/* measured from the screenshot (760px wide, shown at 284px) */
.ph-live .sq { left: 16px; top: 135px; width: 269px; height: 219px; border-radius: 9px; background: rgb(39,41,45); }
.ph-live .logbtn { left: 16px; right: 16px; top: 570px; height: 33px; border-radius: 11px; }
@media (max-width: 600px) { .ph-live .sq { left: 14px; top: 122px; width: 242px; height: 197px; } .ph-live .logbtn { top: 513px; height: 30px; left: 14px; right: 14px; } }
/* the video's grey and the screenshot's grey differ slightly: keep the video square and fade its edges into the card */
.ph-live .sq { left: 41px; top: 135px; width: 219px; height: 219px; background: transparent; border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-composite: intersect; }
@media (max-width: 600px) { .ph-live .sq { left: 37px; top: 122px; width: 197px; height: 197px; } }
/* nutrition: show the whole screen, meals included */
#food .fc-vis { height: 600px; }
#food .lchat { align-self: center; }
@media (max-width: 600px) { #food .fc-vis { height: 540px; } }
.cols3 > div:not(.on) { opacity: 1; }
.t-bg .wash { inset: 0; background: radial-gradient(closest-side, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 55%, rgba(255,255,255,0) 100%); }
/* contrast (Lighthouse): small text on the light sheet needs >= 4.5:1 */
.chart .ex { color: #686d75; }
.br { color: #8a6d00; } .br span { color: #565b63; }
/* the kept headlines: the accent line is the gold gradient, nested spans just inherit it */
.t-hero h1 .accent { display: block; background: linear-gradient(135deg, #fff1a1 0%, #f3d94e 45%, #e9b923 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-hero h1 .accent span { background: none; color: inherit; -webkit-background-clip: initial; background-clip: initial; }
.t-final h2 .accent { color: #f3d94e; }
.t-hero h1 .keep, .t-final h2 .keep { white-space: nowrap; }
@media (max-width: 480px) { .t-hero h1 .keep, .t-final h2 .keep { white-space: normal; } }
.ph-live .dock { bottom: 6px; } .ph-live.rest .logbtn { opacity: 0; transition: opacity .2s; }
.nb-top .nb-app { font-weight: 500; letter-spacing: .04em; }
/* phones: visuals take their own height; no fixed desktop boxes leaving empty space */
@media (max-width: 900px) {
  .fc-vis, #food .fc-vis, .fc-grid.tight .fc-vis { height: auto !important; margin-bottom: 24px; padding-top: 8px; overflow: visible; }
  .fc-vis > .crop, .fc-vis > .ph-live { margin: 0 auto; }
  .fc-vis > .lchat { margin: 8px auto 0; }
  .fc { padding: 32px 20px 36px; }
}
@media (max-width: 900px) {
  .ask { margin-top: 36px; padding-top: 36px; background: none; }
  .ask-w { margin-top: 28px; }
  .s-split .tcta, .s-split .btn-ink { margin-top: 4px; }
  .ph-live { height: 540px; }
}
/* ===== hero rings (TrendTrack's hero animation, in Titan yellow) =====
   Three blurred rings grow from the centre and fade, 9 s each, 3 s apart, seen through a stippled dot mask
   and faded at the top and bottom. They pause off screen and stay off for reduced motion. */
.t-bg .l, .t-bg .r { display: none; }
.t-bg { height: 640px; -webkit-mask: linear-gradient(#0000 0%, #fff 50%, #0000 100%); mask: linear-gradient(#0000 0%, #fff 50%, #0000 100%); }
.rings-mask { position: absolute; inset: 0; overflow: hidden; isolation: isolate; backface-visibility: hidden;
  -webkit-mask: linear-gradient(#0000 0%, #fff 15% 65%, #0000 100%); mask: linear-gradient(#0000 0%, #fff 15% 65%, #0000 100%); }
.rings-dots { position: absolute; inset: 0; -webkit-mask: url(/assets/v28/dots.png) 0 0 / 201px 201px; mask: url(/assets/v28/dots.png) 0 0 / 201px 201px; }
.rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; filter: blur(14px); }
.rings i { position: absolute; width: 100%; aspect-ratio: 1; border-radius: 999em; border: clamp(64px, 10vh, 160px) solid #f3d94e; transform: scale(0); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rings i { animation: t-ring 9s ease infinite; }
  .rings i:nth-child(2) { animation-delay: 3s; } .rings i:nth-child(3) { animation-delay: 6s; }
  .rings.paused i { animation-play-state: paused; }
}
@keyframes t-ring { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@media (max-width: 900px) { .t-bg { width: 100%; height: 560px; } }
/* ===== hero frame lines (TrendTrack's two nested frames) =====
   An outer frame with a soft light and an inner black frame 72px in; each has 1px side lines at 20% white that
   fade out toward the top and bottom. The rings live inside the inner frame. */
.t-hero { padding-top: 0 !important; }
.t-frame { position: relative; width: 100%; max-width: 1200px; padding: 0 72px; background: radial-gradient(59.01% 50% at 50% 50%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 100%); }
.t-frame-in { position: relative; display: flex; flex-direction: column; align-items: center; padding: 60px 20px; background: #09090a; isolation: isolate; }
.t-frame::before, .t-frame-in::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  border-left: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.2);
  -webkit-mask: radial-gradient(68.48% 50% at 50% 50%, #fff 0%, rgba(255,255,255,0) 100%); mask: radial-gradient(68.48% 50% at 50% 50%, #fff 0%, rgba(255,255,255,0) 100%); }
.t-frame-in .t-bg { left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; transform: none; z-index: -1; }
.t-frame-in .t-bg .wash { display: none; }
.t-frame + .t-film { margin-top: 40px; }
@media (max-width: 900px) { .t-frame { padding: 0 16px; } .t-frame-in { padding: 48px 16px; } }
@media (max-width: 600px) { .t-frame { padding: 0; } .t-frame-in { padding: 40px 20px 44px; } }
.ask-w { color: #686d75; }
/* ===== nutrition: type, send, Titan logs it, the phone updates ===== */
.lchat { padding-bottom: 0; }
.lchat-body { display: grid; gap: 12px; min-height: 186px; align-content: start; padding: 4px 0 14px; }
.lchat-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; min-height: 46px; padding: 6px 6px 6px 16px; border-radius: 23px; background: #f4f4f5; box-shadow: inset 0 0 0 1px #e8e8ea; font-size: 14.5px; color: #0b0b0c; }
.li-text { flex: 1; min-height: 1.4em; line-height: 1.4; }
.li-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d9d9dc; transition: background-color .2s, transform .15s; }
.li-send svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ltool .spin { display: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(138,111,0,.25); border-top-color: #8a6f00; animation: m-spin .7s linear infinite; }
@keyframes m-spin { to { transform: rotate(360deg); } }
.shotbox { position: relative; }
.shotbox img { display: block; width: 100%; height: auto; border-radius: 27px 27px 0 0; }
.shotbox .after { position: absolute; inset: 0; }
.newrow { position: absolute; left: 3%; right: 3%; border-radius: 14px; box-shadow: inset 0 0 0 2px #f3d94e; opacity: 0; pointer-events: none; }
/* states, set by v28.js; without it everything shows the finished result */
[data-meal].m-ready .lmsg, [data-meal].m-ready .ltool { opacity: 0; transform: translateY(8px); transition: opacity .35s ease-out, transform .45s cubic-bezier(.16,1,.3,1); }
[data-meal].m-ready .shotbox .after { opacity: 0; transition: opacity .6s ease; }
[data-meal].m-typing .li-text::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-inline-start: 1px; vertical-align: -2px; background: #0b0b0c; animation: m-blink .9s steps(1) infinite; }
@keyframes m-blink { 50% { opacity: 0; } }
[data-meal].m-can-send .li-send { background: #0b0b0c; }
[data-meal].m-press .li-send { transform: scale(.88); }
[data-meal].m-sent .lmsg.u, [data-meal].m-tool .ltool, [data-meal].m-done .lmsg.a { opacity: 1; transform: none; }
[data-meal].m-tool:not(.m-done) .ltool .spin { display: inline-block; } [data-meal].m-tool:not(.m-done) .ltool svg { display: none; }
[data-meal].m-synced .shotbox .after { opacity: 1; }
[data-meal].m-synced .newrow { animation: m-row 1.8s ease-out .3s both; }
@keyframes m-row { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .newrow { display: none; } }
/* ===== the logged meal flies from ChatGPT into the phone ===== */
[data-meal] { position: relative; }
.m-fly { position: absolute; left: 0; top: 0; z-index: 6; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 7px; border-radius: 999px;
  background: #f3d94e; color: #08090a; font: 600 13.5px/1 Geist, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 12px 28px -12px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4);
  opacity: 0; pointer-events: none; will-change: transform, opacity; }
.m-fly img { width: 18px; height: 18px; border-radius: 5px; }
[data-meal].m-synced .newrow { animation: m-row 1.8s ease-out .15s both, m-ping .9s ease-out both; }
@keyframes m-ping { 0% { box-shadow: inset 0 0 0 2px #f3d94e, 0 0 0 0 rgba(243,217,78,.55); } 100% { box-shadow: inset 0 0 0 2px #f3d94e, 0 0 0 22px rgba(243,217,78,0); } }
/* phones: the chat sits right above a compact phone, so the whole flight stays on screen */
@media (max-width: 900px) {
  .fc-grid[data-meal] { display: flex; flex-direction: column; }
  [data-meal] > .fc { display: contents; }
  [data-meal] .fc-vis { margin: 0; padding: 0 20px; }
  [data-meal] > .fc:nth-child(1) .fc-vis { order: 1; padding-top: 28px; }
  [data-meal] > .fc:nth-child(2) .fc-vis { order: 2; margin-top: 14px; }
  [data-meal] > .fc:nth-child(1) h3 { order: 3; margin: 28px 20px 6px; } [data-meal] > .fc:nth-child(1) p { order: 4; margin: 0 20px; }
  [data-meal] > .fc:nth-child(2) h3 { order: 5; margin: 24px 20px 6px; } [data-meal] > .fc:nth-child(2) p { order: 6; margin: 0 20px 36px; }
  [data-meal] .lchat-body { min-height: 150px; }
  [data-meal] .crop.tall { width: 236px; height: 440px; }
}
@media (max-width: 900px) {
  [data-meal] .lchat-body { min-height: 128px; }
  [data-meal] .crop.tall { width: 212px; height: 400px; border-radius: 30px 30px 0 0; }
  [data-meal] > .fc:nth-child(2) .fc-vis { margin-top: 12px; }
}
