:root{--landing-max:1240px}html{scroll-behavior:smooth}body{background:linear-gradient(180deg,#f8fbff 0,#fff 28%,#f7f9fc 100%);color:#122033}.landing-page{max-width:var(--landing-max);min-height:100vh}.landing-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:14px var(--thd-gutter);background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid var(--thd-border)}.landing-nav{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.landing-nav a,.landing-footer a{color:inherit;text-decoration:none;padding:10px 12px;border-radius:10px}.landing-nav a:hover{background:#edf5ff}.landing-header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.landing-header-actions select,.landing-header-actions button,.landing-nav a,button,input,select,textarea,summary{min-height:44px}.landing-section{padding:64px var(--thd-gutter);scroll-margin-top:88px}.landing-section+.landing-section{border-top:1px solid #e8eef7}.landing-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:48px;align-items:center;min-height:680px}.hero-copy h1{font-size:clamp(2.4rem,6vw,5.4rem);line-height:.98;letter-spacing:-.055em;max-width:900px;margin:18px 0}.hero-copy>p{font-size:clamp(1rem,2vw,1.2rem);max-width:720px;color:#56647a}.hero-prompt{margin-top:28px;padding:16px;border:1px solid #d9e5f5;border-radius:20px;background:#fff;box-shadow:0 22px 70px rgba(36,84,150,.12)}.hero-prompt textarea{width:100%;min-height:112px;border:0;resize:vertical;padding:14px;font:inherit;outline:none}.hero-options{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 14px}.hero-options label{display:flex;align-items:center;gap:8px;color:#66758c}.hero-options select,.template-toolbar input,.template-toolbar select,.help-layout input,.login-form input{border:1px solid #d9e5f5;border-radius:10px;padding:10px 12px;background:#fff}.hero-create{width:100%}.hero-shortcuts,.section-actions,.category-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.category-chips button{border:1px solid #d9e5f5;background:#fff;border-radius:999px;padding:10px 14px}.status-box{min-height:24px;margin-top:14px;color:#5c6c83}.status-box[data-state="error"],[data-login-status][data-state="error"]{color:#a11}.status-box[data-state="success"],[data-login-status][data-state="success"]{color:#087a4b}.created-project{margin-top:16px;padding:16px;border:1px solid #9fd8bf;background:#f0fff7;border-radius:14px;display:grid;gap:6px}.created-project code{word-break:break-all}.hero-art{min-height:480px;border-radius:32px;padding:26px;background:radial-gradient(circle at 30% 20%,#dff0ff,transparent 38%),linear-gradient(145deg,#eff8ff,#d9e8ff 48%,#f8fbff);display:grid;grid-template-columns:1fr 1fr;gap:14px;box-shadow:inset 0 0 0 1px #d5e5fa}.hero-art div{background:rgba(255,255,255,.82);border:1px solid #d7e4f5;border-radius:20px;padding:20px;display:flex;flex-direction:column;justify-content:space-between}.hero-art span{font-size:.78rem;color:#6b7a92}.hero-art strong{font-size:1.15rem}.section-heading{display:flex;gap:12px;align-items:center;margin-bottom:28px}.section-heading h2{font-size:clamp(1.8rem,4vw,3rem);margin:0}.landing-grid{display:grid;gap:18px}.landing-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-card{padding:22px;border:1px solid #dde7f4;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(34,69,115,.06)}.landing-card.accent{background:linear-gradient(145deg,#f5fbff,#e7f2ff)}.landing-card button,.section-actions button,.template-toolbar button,.help-layout button,.landing-section>button{border:1px solid #cbd9eb;background:#fff;border-radius:10px;padding:10px 14px}.template-toolbar,.help-layout{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.template-toolbar input,.help-layout input{flex:1 1 240px}.process-line{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:start}.process-line details,.landing-grid details{padding:18px;border:1px solid #dde7f4;border-radius:14px;background:#fff}.pricing-truth{display:flex;justify-content:space-between;gap:16px;align-items:center}.truth-note{color:#6c778a}.login-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}.login-form label{display:grid;gap:6px}.landing-footer{display:flex;gap:18px;align-items:center;justify-content:center;padding:30px;border-top:1px solid #e3eaf4;color:#65738a}dialog{border:0;border-radius:20px;padding:0;box-shadow:0 24px 90px rgba(10,32,70,.28);max-width:480px;width:calc(100% - 32px)}dialog::backdrop{background:rgba(18,32,51,.42);backdrop-filter:blur(5px)}.dialog-shell{padding:26px;display:grid;gap:14px}.dialog-close{justify-self:end;border:0;background:transparent;font-size:24px}@media(max-width:1024px){.landing-header{grid-template-columns:auto 1fr}.landing-nav{order:3;grid-column:1/-1;justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.landing-header-actions{justify-content:flex-end}.landing-hero{grid-template-columns:1fr;min-height:auto}.hero-art{min-height:280px}.landing-grid.three{grid-template-columns:1fr 1fr}.login-form{grid-template-columns:1fr 1fr}}@media(max-width:767px){.landing-header{position:relative;display:flex;flex-wrap:wrap;padding:12px 16px}.landing-nav{order:3;width:100%;overflow:auto;justify-content:flex-start;scrollbar-width:none}.landing-header-actions{width:100%;justify-content:flex-start}.landing-header-actions .thd-button{flex:1}.landing-section{padding:44px 16px}.landing-hero{gap:24px}.hero-copy h1{font-size:clamp(2.35rem,12vw,4rem)}.hero-art{grid-template-columns:1fr 1fr;min-height:240px;padding:14px}.landing-grid.three,.landing-grid.two{grid-template-columns:1fr}.process-line{grid-template-columns:1fr}.pricing-truth{align-items:flex-start;flex-direction:column}.login-form{grid-template-columns:1fr}}@media(max-width:430px){.landing-header-actions select{flex:1;min-width:0}.hero-art{grid-template-columns:1fr}.hero-options label{width:100%;justify-content:space-between}.hero-options select{max-width:55%}}html[dir="rtl"] .landing-header,html[dir="rtl"] .section-heading,html[dir="rtl"] .hero-shortcuts,html[dir="rtl"] .section-actions{direction:rtl}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important}}
/* THD-T090: 44x44 CSS-px touch targets for mobile/tablet and 200% zoom paths. */
@media(max-width:1440px){
 .landing-nav a,.landing-header-actions button,.landing-header-actions select,.landing-card button,.section-actions button,.template-toolbar button,.help-layout button,.landing-section>button{min-width:44px;min-height:44px}
}
@media(max-width:430px){
 html,body,.landing-page{width:100%;max-width:100%;min-width:0}
 .landing-page{overflow-x:clip}
 .landing-header{width:100%;max-width:100%;min-width:0}
 .landing-header>*{min-width:0;max-width:100%}
 .landing-header-actions{width:100%;min-width:0;max-width:100%;overflow:hidden}
 .landing-header-actions [data-session-nav-mount]{width:100%;min-width:0;max-width:100%;overflow:hidden}
 .landing-nav{width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden}
}

/* THD-T092: approved UI-01 visual shell. Functional bindings remain on the existing DOM. */
@media(min-width:1200px){
 body{background:radial-gradient(900px 360px at 12% 25%,rgba(91,163,255,.24),transparent 72%),radial-gradient(760px 330px at 92% 28%,rgba(126,96,255,.24),transparent 72%),linear-gradient(180deg,#eef6ff 0,#f8fbff 58%,#edf5ff 100%)}
 .landing-page{width:100%;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden}
 .landing-header{margin:12px clamp(20px,3.2vw,54px) 0;padding:8px 18px;min-height:62px;border:1px solid rgba(216,228,247,.95);border-radius:17px;box-shadow:0 10px 34px rgba(57,94,151,.08);grid-template-columns:auto minmax(520px,1fr) auto;background:rgba(255,255,255,.93)}
 .landing-header .thd-brand{font-size:19px;white-space:nowrap}.landing-header .thd-logo{width:34px;height:34px;border-radius:9px}
 .landing-nav{gap:3px;flex-wrap:nowrap;white-space:nowrap}.landing-nav a{padding:9px 12px;font-size:13px;color:#243451}.landing-nav a:first-child{color:#2458d7;font-weight:800;box-shadow:inset 0 -2px #2458d7;border-radius:0}
 .landing-header-actions{flex-wrap:nowrap;gap:6px}.landing-header-actions .thd-select{min-width:74px}.landing-header-actions button{padding-inline:17px}
 main{display:flex;flex-direction:column}
 #home{order:1}#templates{order:2}#capabilities{order:3}#process{order:4}#agents{order:5}#pricing{order:6}#help{order:7}#identity{order:8}#login{order:9}#legal{order:10}
 .landing-hero{position:relative;display:block;min-height:480px;padding:46px clamp(42px,7vw,120px) 18px;border:0;overflow:hidden;background:radial-gradient(380px 220px at 12% 36%,rgba(73,151,255,.17),transparent 70%),radial-gradient(390px 250px at 88% 42%,rgba(113,91,255,.18),transparent 72%)}
 .landing-hero:before,.landing-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(.2px);transform:rotate(-16deg);pointer-events:none}
 .landing-hero:before{width:580px;height:128px;left:-160px;top:120px;background:linear-gradient(90deg,rgba(70,169,255,.08),rgba(83,150,255,.58),rgba(142,91,255,.25));box-shadow:0 34px 70px rgba(68,130,255,.18)}
 .landing-hero:after{width:620px;height:145px;right:-170px;top:166px;background:linear-gradient(90deg,rgba(60,182,255,.28),rgba(76,117,255,.5),rgba(156,87,255,.42));box-shadow:0 30px 70px rgba(87,91,255,.2)}
 .hero-copy{position:relative;z-index:2;text-align:center;max-width:1320px;margin:0 auto}.hero-proof{display:none}
 .hero-copy h1{max-width:none;margin:0;font-size:clamp(42px,4vw,60px);line-height:1.08;letter-spacing:-.045em;color:#09143d;font-weight:900}.hero-copy h1::first-letter{letter-spacing:-.02em}
 .hero-brandline{margin:10px 0 6px;font-size:30px;line-height:1.15;color:#1d57d9;font-weight:850}.hero-brandline::after{content:"";display:inline-block;width:95px;height:20px;margin-left:8px;vertical-align:-2px;background:linear-gradient(90deg,#2969ff,#8c4cff);border-radius:999px;opacity:.16}
 .hero-copy>p{max-width:none;margin:8px auto 0;color:#3f506e;font-size:17px}
 .hero-prompt{width:min(1060px,82vw);margin:28px auto 0;padding:10px 12px 10px 22px;min-height:88px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"input action" "opts action";align-items:center;gap:0 12px;border-radius:20px;box-shadow:0 18px 50px rgba(53,95,167,.13);border-color:#d8e5f7}
 .hero-prompt textarea{grid-area:input;min-height:44px;height:44px;resize:none;padding:10px 8px;font-size:16px;background:transparent}
 .hero-options{grid-area:opts;margin:0;padding-left:4px;gap:8px;justify-content:flex-start}.hero-options label{font-size:10px;color:#72809a}.hero-options select{min-height:25px!important;padding:2px 7px;font-size:10px;border-radius:8px}
 .hero-create{grid-area:action;width:196px;height:58px;border-radius:16px!important;font-size:16px;background:linear-gradient(105deg,#2e9cf5,#6547f7)!important;border:0!important;box-shadow:0 10px 26px rgba(72,84,245,.22)}
 .hero-shortcuts{display:none}.category-chips{justify-content:center;margin:20px auto 0;gap:9px;max-width:1260px}.category-chips button{min-height:40px;padding:8px 15px;border:0;background:rgba(255,255,255,.9);box-shadow:0 7px 18px rgba(64,101,160,.09);color:#224f9a;font-size:12px;font-weight:700}
 .hero-trust{display:flex;justify-content:center;gap:34px;flex-wrap:wrap;margin-top:17px;font-size:11px;color:#526681}.hero-trust span::first-letter{color:#1fae73}.status-box{position:absolute;right:26px;bottom:8px;font-size:10px;min-height:16px}.created-project{max-width:800px;margin-inline:auto;text-align:left}
 .hero-art{position:absolute;z-index:1;right:42px;top:150px;width:295px;height:205px;min-height:0!important;padding:14px;grid-template-columns:1fr 1fr;gap:8px;transform:perspective(700px) rotateY(-12deg) rotateZ(-2deg);background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(221,235,255,.74));border:1px solid rgba(159,190,240,.7);box-shadow:0 25px 60px rgba(59,94,171,.18);opacity:.78}
 .hero-art div{padding:10px;border-radius:10px;background:rgba(255,255,255,.8)}.hero-art strong{font-size:11px}.hero-art span{font-size:9px}
 #templates{padding:10px clamp(42px,3.2vw,54px) 18px;border-top:0;background:rgba(255,255,255,.22)}
 #templates .section-heading{margin-bottom:8px}#templates .section-heading .thd-chip{display:none}#templates .section-heading h2{font-size:28px;color:#101a3b;font-weight:850}#templates .section-heading h2{font-size:0}#templates .section-heading h2:after{content:"热门模板";font-size:28px}
 .template-toolbar{margin:0 0 10px;justify-content:flex-start;gap:6px}.template-toolbar input{display:none}.template-toolbar select{flex:0 0 auto;min-height:34px;padding:5px 12px;border-radius:999px}.template-toolbar button{min-height:34px;padding:5px 12px;border-radius:999px;color:#2458d7}
 .template-market-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.template-card{min-width:0;padding:8px;border-radius:12px;box-shadow:0 5px 18px rgba(40,72,125,.07)}.template-cover{height:108px;border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:900;letter-spacing:.12em;overflow:hidden;position:relative}.template-cover:after{content:"";position:absolute;inset:18% 10%;border:1px solid rgba(255,255,255,.55);border-radius:7px;box-shadow:inset 0 0 0 8px rgba(255,255,255,.1)}.cover-navy{background:linear-gradient(135deg,#071b45,#2452ad)}.cover-coral{background:linear-gradient(135deg,#ff8c82,#e35d4d)}.cover-sky{background:linear-gradient(135deg,#73a7ff,#dce9ff);color:#1a4caa}.cover-blue{background:linear-gradient(135deg,#176ef5,#4cc8ff)}.cover-gold{background:linear-gradient(135deg,#71431c,#e69a39)}.cover-med{background:linear-gradient(135deg,#4998ff,#d9ebff);color:#164ba3}
 .template-card h3{font-size:14px;margin:8px 2px 2px}.template-card p{font-size:10px;color:#6a7891;margin:0 2px}.template-truth{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:7px 2px}.template-truth strong{font-size:12px;color:#e14f32}.template-truth small{font-size:8px;color:#65738b}.template-card button{min-height:30px;padding:4px 8px;font-size:9px;width:100%}
 .landing-trustbar{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:12px;padding:12px 16px;border:1px solid #dbe6f5;border-radius:14px;background:rgba(255,255,255,.86)}.landing-trustbar>div{display:grid;place-items:center;border-right:1px solid #e2e9f4}.landing-trustbar>div:last-child{border:0}.landing-trustbar strong{font-size:14px}.landing-trustbar span{font-size:9px;color:#71809a}
 #capabilities,#process,#agents,#pricing,#help,#identity,#login,#legal{background:#fff}
}
@media(max-width:1199px){.hero-brandline{font-size:clamp(20px,4vw,28px)}.hero-trust{display:flex;gap:12px;flex-wrap:wrap}.template-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-trustbar{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.template-market-grid{grid-template-columns:1fr 1fr}.hero-brandline{text-align:left}.hero-trust{justify-content:flex-start}.landing-trustbar{grid-template-columns:1fr 1fr}.template-card{padding:10px}}
@media(max-width:430px){.template-market-grid{grid-template-columns:1fr}.landing-trustbar{grid-template-columns:1fr}.landing-trustbar>div{padding:8px;border-right:0;border-bottom:1px solid #e2e9f4}}
@media(min-width:1200px){.landing-header-actions [data-session-nav-mount]{width:190px;overflow:hidden}.landing-header-actions .t086-session-nav{max-width:none}.landing-header-actions .t086-entry-links{max-width:115px;overflow:auto}.landing-header-actions .t086-session-status{display:none}.landing-header-actions .t086-session-action{min-width:44px}}
/* THD-T092/T091: AA-safe text colors in the approved visual shell. */
@media(min-width:1200px){.hero-options label{color:#52627d}.template-card p{color:#596883}.template-truth strong{color:#b93822}.template-truth small{color:#52627d}}
