/* take-x-features.css —— 首页「为什么是 TAKE X」六卡区 + 三步流程
   视觉与文案来自 Codex 视觉稿（2026-09-20），类名统一加 tx- 前缀，避免与站内既有 CSS 冲突。
   卡片 01 文案沿用线上原文（俊导要求：保留写了哪些 Skill 的那段），其余卡片文案用 Codex 版。
   ⚠️ 只作用于 .tx-wrap 内部；导航 / 登录 / 生成器 / 支付 / 接口一律不受影响。 */

.tx-link,.tx-close,.tx-ok{font-family:inherit;cursor:pointer;color:inherit;background:none;border:0}
.tx-more{font-family:inherit;cursor:pointer;color:inherit;background:none}
.tx-wrap,.tx-footer{--tx-bg:#f7f8fc;--tx-paper:#fff;--tx-ink:#1d1d20;--tx-sub:#75757e;--tx-line:rgba(25,25,40,.085);--tx-purple:#7056df;--tx-tint:#f0edfc;--tx-glass:rgba(255,255,255,.82);--tx-soft:#f4f4f6;--tx-shadow:0 12px 36px rgba(30,25,55,.025)}
.tx-wrap{width:min(1180px,calc(100% - 72px));margin:auto}
.tx-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.tx-intro{padding:68px 0 35px;display:flex;align-items:flex-end;justify-content:space-between}
.tx-eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:600;color:var(--tx-sub);margin:0 0 15px}
.tx-intro h1,.tx-intro h2{font-size:39px;letter-spacing:-1.5px;font-weight:600;line-height:1.35;margin:0}
.tx-intro p{font-size:14px;line-height:1.9;color:var(--tx-sub);margin:12px 0 0}
.tx-note{font-size:11px;color:var(--tx-sub);padding-bottom:5px;letter-spacing:1px}
.tx-note span{display:inline-block;background:var(--tx-purple);width:5px;height:5px;border-radius:50%;margin-right:9px}
.tx-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.tx-card{background:var(--tx-paper);border:1px solid var(--tx-line);border-radius:23px;padding:29px 31px;position:relative;overflow:hidden;box-shadow:var(--tx-shadow)}
.tx-card-label{display:flex;align-items:center;gap:10px;color:var(--tx-sub);font-size:10px;letter-spacing:1.5px;font-weight:550}
.tx-card-label .tx-icon{width:17px;height:17px}
.tx-card h2{font-size:22px;font-weight:600;letter-spacing:-.5px;margin:16px 0 10px;line-height:1.4}
.tx-card p{font-size:13px;line-height:1.95;color:var(--tx-sub);margin:0;max-width:440px}
.tx-featured{grid-column:span 7;grid-row:span 2;padding:35px 38px;background:radial-gradient(ellipse at 90% 52%,rgba(112,86,223,.065),transparent 65%),var(--tx-paper);min-height:480px;display:flex;flex-direction:column}
.tx-featured h2{font-size:35px;line-height:1.42;letter-spacing:-1.3px;margin-top:34px;margin-bottom:15px;position:relative;z-index:1}
.tx-featured h2 span{color:var(--tx-sub);font-weight:500}
.tx-featured p{max-width:350px;position:relative;z-index:1}
.tx-ai{font-size:9px;padding:3px 6px;background:var(--tx-tint);color:var(--tx-purple);border-radius:4px;letter-spacing:.8px}
.tx-metrics{display:flex;gap:36px;margin-top:auto;padding-top:32px;position:relative;z-index:1}
.tx-metric strong{display:block;font-size:33px;letter-spacing:-1.3px;font-weight:550;color:var(--tx-purple);line-height:1.2}
.tx-metric small{display:block;font-size:11px;color:var(--tx-sub);margin-top:7px}
.tx-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:25px;padding-top:20px;border-top:1px solid var(--tx-line)}
.tx-tags{display:flex;gap:7px;flex-wrap:wrap;color:var(--tx-sub);font-size:10px}
.tx-tags span{background:var(--tx-soft);padding:5px 8px;border-radius:5px}
.tx-more{width:29px;height:29px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--tx-line);border-radius:50%;font-size:16px;transition:background .2s}
.tx-more:hover{background:var(--tx-tint);color:var(--tx-purple)}
.tx-small-top{grid-column:span 5;min-height:231px}
.tx-small-top h2{margin-top:14px;font-size:21px}
.tx-small-top .tx-tags{margin-top:17px;padding-right:25px}
.tx-corner{position:absolute;bottom:27px;right:29px}
.tx-small-bottom{grid-column:span 4;min-height:320px;padding:30px}
.tx-small-bottom h2{margin-top:22px}
.tx-small-bottom .tx-bottom{margin-top:22px}
.tx-engine{position:absolute;right:-64px;top:83px;width:260px;height:260px;opacity:.7;pointer-events:none}
.tx-engine circle,.tx-engine path{fill:none;stroke:var(--tx-line);stroke-width:1}
.tx-engine .core{fill:var(--tx-paper);stroke:var(--tx-line)}
.tx-engine text{fill:var(--tx-purple);font-size:29px;letter-spacing:-3px;font-weight:300}
.tx-print{font-size:10px;color:var(--tx-sub);margin-top:15px;opacity:.8}
.tx-flow{display:flex;align-items:center;gap:9px;margin-top:21px;font-size:10px;color:var(--tx-sub)}
.tx-flow span{padding:7px 10px;border:1px solid var(--tx-line);border-radius:5px}
.tx-flow i{height:1px;background:var(--tx-line);flex:1}
.tx-chat{display:flex;justify-content:flex-end;margin-top:20px}
.tx-chat span{font-size:11px;background:var(--tx-soft);padding:10px 14px;border-radius:12px 12px 3px 12px;color:var(--tx-sub)}
.tx-update{margin-top:22px;display:flex;gap:9px;align-items:center;font-size:11px;color:var(--tx-sub)}
.tx-update i{display:block;height:6px;width:6px;border-radius:50%;background:var(--tx-purple)}
.tx-workflow{padding:94px 0 92px}
.tx-head{display:flex;justify-content:space-between;align-items:flex-end}
.tx-workflow h2{font-size:29px;letter-spacing:-1px;font-weight:600;margin:0}
.tx-head p{font-size:13px;color:var(--tx-sub);margin:13px 0 0}
.tx-link{font-size:12px;display:flex;align-items:center;gap:15px;padding:10px 0}
.tx-track{display:grid;grid-template-columns:repeat(3,1fr);margin-top:43px;gap:40px}
.tx-step{position:relative;padding-top:32px}
.tx-step:before{content:"";position:absolute;top:8px;left:0;right:-40px;height:1px;background:linear-gradient(90deg,rgba(112,86,223,.22),var(--tx-line))}
.tx-step:last-child:before{right:0}
.tx-step:after{content:"";position:absolute;top:4px;left:0;width:7px;height:7px;background:var(--tx-bg);border:1px solid #a99dcf;border-radius:50%}
.tx-num{font-size:43px;font-weight:300;letter-spacing:-2px;color:#c5c4cd;line-height:1}
.tx-step h3{font-size:16px;font-weight:550;margin:20px 0 9px}
.tx-step p{font-size:12px;line-height:1.9;color:var(--tx-sub);max-width:290px;margin:0}
.tx-step .tx-caption{margin-top:15px;font-size:9px;letter-spacing:1.3px;color:var(--tx-sub)}
.tx-proto{border-top:1px solid var(--tx-line);font-size:9px;color:var(--tx-sub);padding:11px 0;text-align:center;letter-spacing:.5px}
dialog .tx-dtag{font-size:10px;letter-spacing:2px;color:var(--tx-purple)}
[data-theme='dark'] .tx-wrap,[data-theme='dark'] .tx-footer{--tx-bg:#070b20;--tx-paper:#1c1c1f;--tx-ink:#f1f1f3;--tx-sub:#a0a0ab;--tx-line:rgba(240,240,255,.10);--tx-purple:#b4a1ff;--tx-tint:#30283f;--tx-glass:rgba(22,22,25,.83);--tx-soft:#262629;--tx-shadow:none}
[data-theme='dark'] .tx-num{color:#53515f}
@media(min-width:1550px){.tx-wrap{width:1240px}
.tx-featured{min-height:495px}
.tx-intro{padding-top:80px}}
@media(max-width:1180px){.tx-featured{padding:30px}
.tx-engine{right:-110px;opacity:.5}
.tx-metrics{gap:26px}
.tx-card{padding:27px}
.tx-card h2{font-size:20px}
.tx-featured h2{font-size:32px}
.tx-small-bottom{padding:26px}
.tx-intro h1,.tx-intro h2{font-size:35px}}
@media(max-width:960px){.tx-wrap{width:calc(100% - 48px)}
.tx-featured{grid-column:span 7}
.tx-small-top{grid-column:span 5}
.tx-card p{font-size:12px}
.tx-metrics{gap:22px}
.tx-metric strong{font-size:29px}
.tx-featured h2{font-size:29px}
.tx-engine{opacity:.3}
.tx-note{display:none}
.tx-small-bottom{grid-column:span 4}
.tx-small-bottom h2{font-size:18px}
.tx-tags{font-size:9px}
.tx-bottom{align-items:flex-end}
.tx-workflow h2{font-size:25px}
.tx-intro{padding-top:48px}}
@media(max-width:740px){.tx-wrap{width:calc(100% - 36px)}
.tx-intro{padding:40px 0 25px}
.tx-eyebrow{font-size:9px;letter-spacing:1.8px}
.tx-intro h1,.tx-intro h2{font-size:29px;letter-spacing:-1px}
.tx-intro p{font-size:12px}
.tx-grid{gap:13px}
.tx-featured,.tx-small-top,.tx-small-bottom{grid-column:span 12;grid-row:auto;min-height:0;padding:26px}
.tx-featured{min-height:426px}
.tx-featured h2{font-size:31px;margin-top:29px}
.tx-featured p{max-width:270px}
.tx-engine{right:-110px;top:60px;opacity:.5}
.tx-metrics{gap:31px;padding-top:30px}
.tx-metric strong{font-size:31px}
.tx-featured .tx-bottom{margin-top:26px}
.tx-small-top{padding-bottom:29px}
.tx-small-top h2,.tx-small-bottom h2{font-size:21px}
.tx-small-bottom .tx-bottom{margin-top:22px}
.tx-card p{font-size:13px}
.tx-tags{font-size:10px}
.tx-small-bottom{min-height:255px}
.tx-workflow{padding:61px 0 55px}
.tx-head{display:block}
.tx-workflow h2{font-size:25px;line-height:1.5;max-width:290px}
.tx-link{margin-top:15px}
.tx-track{grid-template-columns:1fr;gap:0;margin-top:27px}
.tx-step{padding:0 0 34px 55px;min-height:150px}
.tx-step:before{top:4px;bottom:0;left:9px;right:auto;width:1px;height:auto}
.tx-step:after{left:5px;top:7px}
.tx-step:last-child{padding-bottom:0}
.tx-step:last-child:before{bottom:calc(100% - 10px)}
.tx-num{font-size:30px;float:right;margin-top:0}
.tx-step h3{margin:0 0 9px;padding-top:2px}
.tx-step p{max-width:240px}
.tx-proto{font-size:8px}
.tx-card-label{font-size:9px}}

/* —— 弹窗（↗ 查看详情） —— */
.tx-dialog{background:var(--tx-paper,#fff);color:var(--tx-ink,#1d1d20);border:1px solid var(--tx-line,rgba(25,25,40,.085));border-radius:23px;padding:34px;width:min(560px,calc(100% - 32px));box-shadow:0 30px 90px #0002}
.tx-dialog::backdrop{background:#10101950;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.tx-dialog h3{font-size:24px;margin:16px 0 12px;font-weight:600;letter-spacing:-.5px}
.tx-dialog p{font-size:13.5px;line-height:1.95;color:var(--tx-sub,#75757e);white-space:pre-line;margin:0}
.tx-dialog .tx-dtag{font-size:10px;letter-spacing:2px;color:var(--tx-purple,#7056df)}
.tx-dialog .tx-close{float:right;font-size:24px;margin-top:-14px;margin-right:-10px;border:0;background:none;cursor:pointer;color:inherit}
.tx-dialog .tx-ok{margin-top:18px;font-size:12px;background:var(--tx-ink,#1d1d20);color:var(--tx-paper,#fff);border:0;border-radius:9px;padding:11px 18px;cursor:pointer}

/* ===== 页脚（Codex 视觉稿移植 2026-09-20，tx- 前缀）===== */
.tx-footer{border-top:1px solid var(--tx-line);background:var(--tx-paper)}
.tx-brand{font-size:25px;font-weight:850;letter-spacing:-1.5px;display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none;color:var(--tx-ink)}
.tx-brand b{font-weight:650;font-size:34px;margin-left:3px;line-height:1;letter-spacing:-3px}
.tx-footer-inner{display:flex;justify-content:space-between;align-items:center;padding:40px 0 35px;gap:24px}
.tx-footer-brand .tx-brand{font-size:20px}
.tx-footer-brand .tx-brand b{font-size:27px}
.tx-footer-brand p{color:var(--tx-sub);font-size:10px;letter-spacing:.6px;margin:9px 0 0}
.tx-copyright{font-size:10px;color:var(--tx-sub);margin-top:16px}
.tx-footer-right{text-align:right;font-size:10px;color:var(--tx-sub);line-height:2}
.tx-footer-right nav{display:flex;justify-content:flex-end;gap:22px;margin-bottom:8px}
.tx-legal{display:flex;gap:20px;flex-wrap:wrap;justify-content:flex-end}
.tx-footer a{text-decoration:none;color:inherit}
.tx-footer a:hover{color:var(--tx-ink)}
.tx-legal img{vertical-align:-2px;margin-right:5px}
/* 断点：与 mock 一致 */
@media(max-width:960px){.tx-footer-inner{gap:40px}.tx-legal{gap:3px;flex-direction:column}}
@media(max-width:740px){.tx-brand{font-size:22px}.tx-brand b{font-size:29px}.tx-footer-inner{display:block;padding:29px 0}.tx-footer-right{text-align:left;margin-top:27px}.tx-footer-right nav{justify-content:flex-start}.tx-legal{justify-content:flex-start;gap:2px}.tx-copyright{margin-top:13px}}
/* 品牌字等比（mock 末尾覆盖：TAKE 与 X 同字号）*/
.tx-brand b,.tx-footer-brand .tx-brand b{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin-left:0}
.tx-brand{column-gap:.22em}
/* 深色：页脚底色跟页面底色，避免亮块 */
[data-theme='dark'] .tx-footer{background:var(--tx-bg)}
