/* Tofu AI product page and guides (/tofu/, /tr/tofu/, /tofu/*). Uses tokens from base.css. */

.tf-main { flex: 1 0 auto; }
.tf-main h1, .tf-main h2, .tf-main h3 { font-weight: 800; letter-spacing: -.035em; }

.tf-kicker { margin: 0 0 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.tf-kicker a { color: inherit; text-decoration: none; }
.tf-lead { margin: 20px 0 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--ink-soft); }

/* hero */
.tf-hero { max-width: 1200px; margin: 0 auto; padding: 72px 24px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tf-hero-text { flex: 1 1 460px; min-width: 0; }
.tf-hero h1 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: .98; }
.tf-shots { flex: 1 1 360px; display: flex; justify-content: center; gap: 14px; }
.tf-shots img { width: 31%; max-width: 168px; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 26px; border: 4px solid #2E1A5E; box-shadow: 0 24px 50px rgba(0,0,0,.45); background: #2A1460; }
.tf-shots img:nth-child(1) { transform: rotate(-4deg) translateY(16px); }
.tf-shots img:nth-child(3) { transform: rotate(4deg) translateY(16px); }

/* buttons */
.tf-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tf-store { display: inline-flex; align-items: center; background: var(--lime); color: var(--night); text-decoration: none; padding: 16px 26px; border-radius: 999px; font-weight: 800; font-size: 17px; }
.tf-store:hover { color: var(--night); }
.tf-ghost { display: inline-flex; align-items: center; border: 2px solid var(--cream); color: var(--cream); text-decoration: none; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.tf-ghost:hover { color: var(--cream); }

/* sections */
.tf-sec { max-width: 1200px; margin: 0 auto; padding: 36px 24px; }
.tf-sec h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
.tf-sec p, .tf-article p { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.tf-note { font-size: 15px !important; color: var(--ink-mute) !important; }

.tf-list, .tf-steps { max-width: 760px; margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.tf-list li::marker { color: var(--pink); }
.tf-steps li::marker { color: var(--lime); font-weight: 800; }
.tf-list strong, .tf-steps strong { color: var(--cream); }

.tf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tf-card { background: #24114F; border: 1px solid var(--edge); border-radius: 26px; padding: 24px; }
.tf-card h3 { margin: 0 0 8px; font-size: 22px; }
.tf-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

.tf-table-wrap { overflow-x: auto; max-width: 760px; }
.tf-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tf-table th, .tf-table td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--edge); }
.tf-table th { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.tf-table td:first-child { font-weight: 800; color: var(--cream); }
.tf-table td { color: var(--ink-soft); }

.tf-faq { max-width: 820px; background: #24114F; border: 1px solid var(--edge); border-radius: 20px; padding: 0 22px; margin-bottom: 10px; }
.tf-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 800; color: var(--cream); }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after { content: "+"; float: inline-end; color: var(--lime); font-weight: 800; }
.tf-faq[open] summary::after { content: "–"; }
.tf-faq p { margin: 0 0 20px; }

.tf-band { max-width: 1152px; margin: 36px auto 100px; padding: clamp(32px, 5vw, 56px); background: var(--purple); border-radius: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.tf-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff; }
.tf-band .tf-ctas { margin-top: 0; }
@media (max-width: 1200px) { .tf-band { margin-left: 24px; margin-right: 24px; } }

/* guides */
.tf-article { max-width: 820px; margin: 0 auto; padding: 72px 24px 100px; }
.tf-article h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; }
.tf-article h2 { margin: 44px 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.tf-article .tf-ctas { margin: 26px 0 8px; }
.tf-more { margin-top: 48px !important; font-size: 15px !important; }

.tf-langlink { font-family: var(--font-mono); font-size: 13px; }
