/* TothAI commercial funnel — Link Communication 0.2.0 */
.tothai-product-page{
    --toth-green:#12c66a;
    --toth-green-deep:#07944f;
    --toth-ink:#07100c;
    --toth-muted:#66706a;
    background:#fff;
    color:#111513;
}
.tothai-product-page main{overflow:clip;background:#fff}
.tothai-product-page .premium-announcement{display:none!important}

/* Header scuro nella hero, chiaro nel resto della pagina */
.tothai-product-page .premium-header{
    background:rgba(4,9,7,.74)!important;
    border-color:rgba(255,255,255,.09)!important;
    transition:background .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.tothai-product-page .premium-header .global-header-links>a,
.tothai-product-page .premium-header .global-header-icon,
.tothai-product-page .premium-header .premium-nav-cta{color:#f5f7f6!important}
.tothai-product-page .premium-header .global-header-links>a::after{background:#fff!important}
.tothai-product-page .premium-header .global-coming-soon small{background:rgba(255,255,255,.13);color:#d9dfdc}
.tothai-product-page .premium-header .global-header-icon:hover,
.tothai-product-page .premium-header .global-header-icon:focus-visible,
.tothai-product-page .premium-header .premium-nav-cta:hover,
.tothai-product-page .premium-header .premium-nav-cta:focus-visible{background:rgba(255,255,255,.12)!important}
.tothai-product-page .premium-header .global-header-links>a[aria-current="page"]::after{left:0;right:0;background:var(--toth-green)!important;height:2px}
.tothai-product-page.tothai-header-light .premium-header{
    background:rgba(250,250,252,.88)!important;
    border-color:rgba(0,0,0,.08)!important;
    box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.tothai-product-page.tothai-header-light .premium-header .global-header-links>a,
.tothai-product-page.tothai-header-light .premium-header .global-header-icon,
.tothai-product-page.tothai-header-light .premium-header .premium-nav-cta{color:#1d1d1f!important}
.tothai-product-page.tothai-header-light .premium-header .global-header-links>a::after{background:#1d1d1f!important}
.tothai-product-page.tothai-header-light .premium-header .global-header-links>a[aria-current="page"]::after{background:var(--toth-green)!important}
.tothai-product-page.tothai-header-light .premium-header .global-coming-soon small{background:#e8e8ed;color:#6e6e73}

.tothai-hero{
    position:relative;
    isolation:isolate;
    min-height:calc(100svh - 48px);
    padding:clamp(82px,9vw,138px) 0 0;
    overflow:hidden;
    background:
        radial-gradient(circle at 72% 32%,rgba(16,181,96,.18),transparent 31%),
        radial-gradient(circle at 10% 7%,rgba(20,133,82,.12),transparent 24%),
        linear-gradient(145deg,#030604 0%,#07100c 56%,#020403 100%);
    color:#fff;
}
.tothai-hero::after{
    content:"";
    position:absolute;inset:0;z-index:-2;pointer-events:none;
    opacity:.26;
    background-image:radial-gradient(rgba(255,255,255,.7) .55px,transparent .55px);
    background-size:29px 29px;
    mask-image:linear-gradient(to bottom,#000,transparent 72%);
}
.tothai-ambient{position:absolute;border-radius:50%;filter:blur(20px);pointer-events:none;z-index:-1}
.tothai-ambient-one{width:420px;height:420px;right:-180px;top:80px;background:rgba(13,198,104,.13)}
.tothai-ambient-two{width:320px;height:320px;left:-160px;bottom:80px;background:rgba(22,108,74,.14)}
.tothai-hero-inner{
    width:min(1320px,calc(100% - 46px));
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,.83fr) minmax(520px,1.17fr);
    align-items:center;
    gap:clamp(32px,5.5vw,88px);
}
.tothai-hero-copy{position:relative;z-index:3;padding-bottom:78px}
.tothai-eyebrow{
    display:inline-flex;align-items:center;gap:9px;
    color:#94e9bd;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;
}
.tothai-eyebrow::before{content:"";width:24px;height:1px;background:currentColor;opacity:.8}
.tothai-eyebrow-dark{color:#078749}
.tothai-hero h1{
    margin:20px 0 26px;
    max-width:720px;
    font-size:clamp(55px,7.1vw,108px);
    line-height:.9;
    letter-spacing:-.073em;
    font-weight:720;
}
.tothai-hero h1 span{
    display:inline-block;
    background:linear-gradient(93deg,#fff 4%,#9effc9 54%,#1bd77b 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
}
.tothai-hero-copy>p{
    max-width:620px;margin:0;color:rgba(242,247,244,.73);
    font-size:clamp(17px,1.55vw,22px);line-height:1.54;letter-spacing:-.018em;
}
.tothai-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.tothai-button{
    min-height:48px;padding:0 23px;border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    border:1px solid transparent;font-size:14px;font-weight:750;letter-spacing:-.01em;
    transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.tothai-button:hover{transform:translateY(-2px)}
.tothai-button-primary{background:linear-gradient(135deg,#16d377,#08a75a);color:#fff;box-shadow:0 15px 38px rgba(10,184,95,.25)}
.tothai-button-primary:hover{box-shadow:0 20px 46px rgba(10,184,95,.34)}
.tothai-button-secondary{border-color:rgba(255,255,255,.26);background:rgba(255,255,255,.055);color:#fff;backdrop-filter:blur(12px)}
.tothai-button-secondary:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.42)}
.tothai-scroll-cue{display:inline-flex;align-items:center;gap:10px;margin-top:52px;color:rgba(255,255,255,.62);font-size:12px;font-weight:650}
.tothai-scroll-cue span{width:30px;height:30px;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:grid;place-items:center;animation:tothaiCue 2.2s ease-in-out infinite}

.tothai-hero-stage{position:relative;min-height:590px;display:grid;align-items:center;perspective:1500px;z-index:2}
.tothai-product-halo{position:absolute;width:90%;height:54%;left:8%;bottom:7%;border-radius:50%;background:rgba(13,208,110,.12);filter:blur(60px);transform:translateZ(-20px)}
.tothai-app-window{
    position:relative;z-index:2;width:105%;min-width:680px;margin-left:-2%;
    border:1px solid rgba(255,255,255,.18);border-radius:24px;overflow:hidden;
    background:linear-gradient(145deg,rgba(25,32,29,.96),rgba(10,15,13,.98));
    box-shadow:0 50px 100px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.14);
    transform:rotateY(-8deg) rotateX(2deg) translate3d(0,var(--tothai-stage-y,0),0);
    transition:transform .12s linear;
}
.tothai-app-topbar{height:54px;padding:0 18px;display:grid;grid-template-columns:150px 1fr 90px;gap:14px;align-items:center;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.tothai-app-brand{display:flex;align-items:center;gap:8px;font-size:13px}.tothai-app-brand i{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#14b968;color:#fff;font-style:normal;font-size:11px}.tothai-app-brand strong{font-size:13px}
.tothai-app-search{height:31px;border:1px solid rgba(255,255,255,.075);border-radius:9px;padding:0 12px;display:flex;align-items:center;color:rgba(255,255,255,.38);font-size:10px;background:rgba(255,255,255,.035)}
.tothai-app-actions{display:flex;justify-content:flex-end;gap:8px}.tothai-app-actions span{width:18px;height:18px;border:1px solid rgba(255,255,255,.17);border-radius:50%}
.tothai-app-body{min-height:460px;display:grid;grid-template-columns:145px minmax(310px,1fr) 180px}
.tothai-app-sidebar{padding:14px 12px;border-right:1px solid rgba(255,255,255,.075);display:flex;flex-direction:column;background:rgba(0,0,0,.12)}
.tothai-app-sidebar button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.045);border-radius:9px;color:#f1f5f3;height:34px;font-size:9px;text-align:left;padding:0 9px}.tothai-app-sidebar button b{color:#44dc92;margin-right:4px}
.tothai-app-sidebar nav{display:grid;gap:3px;margin-top:16px}.tothai-app-sidebar nav span{height:29px;padding:0 8px;display:flex;align-items:center;gap:8px;border-radius:7px;color:rgba(255,255,255,.48);font-size:10px}.tothai-app-sidebar nav span.is-active{background:rgba(18,198,106,.12);color:#fff}.tothai-app-sidebar nav em{font-style:normal}
.tothai-app-profile{margin-top:auto;display:flex;align-items:center;gap:8px;padding-top:12px}.tothai-app-profile>i{width:27px;height:27px;border-radius:50%;background:#d7a88e;color:#19110d;display:grid;place-items:center;font-style:normal;font-size:8px;font-weight:800}.tothai-app-profile span{display:grid}.tothai-app-profile b{font-size:8px}.tothai-app-profile small{font-size:7px;color:rgba(255,255,255,.38)}
.tothai-app-editor{padding:28px 28px 20px;background:linear-gradient(180deg,rgba(255,255,255,.022),transparent)}
.tothai-editor-kicker{display:flex;align-items:center;justify-content:space-between;color:#66e8a2;font-size:8px;text-transform:uppercase;letter-spacing:.1em}.tothai-editor-kicker small{padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.45);font-size:7px}
.tothai-app-editor h2{margin:18px 0 12px;font-size:23px;letter-spacing:-.035em}.tothai-app-editor>p{margin:0;max-width:470px;color:rgba(255,255,255,.58);font-size:10px;line-height:1.72}
.tothai-editor-lines{display:grid;gap:7px;margin:20px 0}.tothai-editor-lines i{height:4px;border-radius:4px;background:rgba(255,255,255,.055)}.tothai-editor-lines i:nth-child(2){width:86%}.tothai-editor-lines i:nth-child(3){width:68%}
.tothai-prompt-box{height:42px;border:1px solid rgba(255,255,255,.11);background:rgba(0,0,0,.18);border-radius:11px;padding:0 7px 0 13px;display:flex;align-items:center;justify-content:space-between;color:rgba(255,255,255,.38);font-size:9px}.tothai-prompt-box button{width:29px;height:29px;border:0;border-radius:8px;background:#13be69;color:#fff;font-size:15px}
.tothai-suggestion-row{display:flex;gap:6px;margin-top:10px}.tothai-suggestion-row span{padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.045);color:rgba(255,255,255,.45);font-size:7px}
.tothai-app-projects{padding:18px 12px;border-left:1px solid rgba(255,255,255,.075);background:rgba(0,0,0,.1)}
.tothai-app-projects>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.tothai-app-projects strong{font-size:9px}.tothai-app-projects>div:first-child small{font-size:7px;color:#4fe197}
.tothai-app-projects article{display:flex;gap:8px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.055)}.tothai-app-projects article i{width:25px;height:25px;border-radius:7px;background:rgba(18,198,106,.13);color:#4fe197;display:grid;place-items:center;font-style:normal;font-size:7px}.tothai-app-projects article span{display:grid;min-width:0}.tothai-app-projects article b{font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tothai-app-projects article small{font-size:6.5px;color:rgba(255,255,255,.3)}
.tothai-idea-card{margin-top:18px;padding:13px;border-radius:10px;background:linear-gradient(145deg,rgba(18,198,106,.1),rgba(255,255,255,.025))}.tothai-idea-card small{font-size:6px;color:#52e59b;letter-spacing:.08em}.tothai-idea-card strong{display:block;margin-top:7px;font-size:9px;line-height:1.35}
.tothai-mascot{position:absolute;z-index:4;object-fit:contain;filter:drop-shadow(0 28px 34px rgba(0,0,0,.38));pointer-events:none}
.tothai-mascot-hero{width:clamp(138px,16vw,230px);right:-5%;bottom:1%;animation:tothaiFloat 4.2s ease-in-out infinite;transform-origin:center bottom}
.tothai-capability-strip{position:relative;z-index:5;width:min(1320px,100%);margin:52px auto 0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.11);background:rgba(3,8,6,.42);backdrop-filter:blur(15px)}
.tothai-capability-strip article{min-height:92px;padding:20px 30px;display:flex;align-items:center;gap:15px;border-right:1px solid rgba(255,255,255,.1)}.tothai-capability-strip article:last-child{border-right:0}.tothai-capability-strip article>span{color:#54e99f;font-size:25px}.tothai-capability-strip div{display:grid;gap:3px}.tothai-capability-strip strong{font-size:13px}.tothai-capability-strip small{color:rgba(255,255,255,.45);font-size:10px}

.tothai-intro,.tothai-plans{padding:clamp(100px,11vw,170px) 0;background:#f7f8f7}
.tothai-section-heading{width:min(920px,calc(100% - 38px));margin:0 auto 64px;text-align:center}
.tothai-section-heading h2,.tothai-story-heading h2{margin:18px 0 20px;font-size:clamp(43px,6vw,78px);line-height:.96;letter-spacing:-.058em}.tothai-section-heading h2 span,.tothai-story-heading h2 span{color:#8b928e}
.tothai-section-heading>p{max-width:760px;margin:0 auto;color:#68716c;font-size:clamp(16px,1.5vw,21px);line-height:1.58}
.tothai-feature-grid{width:min(1200px,calc(100% - 38px));margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tothai-feature-card{min-height:330px;padding:31px;border:1px solid rgba(0,0,0,.055);border-radius:28px;background:#fff;box-shadow:0 16px 40px rgba(15,25,19,.045);display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease}.tothai-feature-card:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(15,25,19,.09)}
.tothai-feature-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:#e7f9ef;color:#07944f;font-size:25px}.tothai-feature-card small{margin-top:43px;color:#07944f;font-size:9px;font-weight:850;letter-spacing:.12em}.tothai-feature-card h3{margin:10px 0 12px;font-size:25px;letter-spacing:-.035em}.tothai-feature-card p{margin:0;color:#69716d;font-size:14px;line-height:1.62}

.tothai-story{padding:clamp(105px,12vw,185px) 0;background:#fff}
.tothai-story-heading{width:min(1200px,calc(100% - 38px));margin:0 auto 68px;text-align:left}
.tothai-story-layout{width:min(1200px,calc(100% - 38px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);gap:clamp(42px,7vw,96px);align-items:start}
.tothai-story-visual{position:sticky;top:100px;min-height:610px;display:grid;align-items:center}
.tothai-story-screen{border:10px solid #111815;border-radius:32px;overflow:hidden;background:#f8faf9;box-shadow:0 46px 100px rgba(11,25,17,.2);transform:perspective(1300px) rotateY(3deg)}
.tothai-story-screen-head{height:47px;padding:0 16px;display:flex;align-items:center;gap:8px;background:#fff;border-bottom:1px solid #e7eae8;color:#222a26;font-size:10px}.tothai-story-screen-head i{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#11b865;color:#fff;font-style:normal;font-weight:800}.tothai-story-screen-head span{font-weight:800;margin-right:auto}.tothai-story-screen-head b{width:16px;height:16px;border:1px solid #d5dad7;border-radius:50%}
.tothai-story-screen-body{min-height:485px;display:grid;grid-template-columns:58px 1fr 115px}
.tothai-story-screen-body>aside{padding:18px 13px;display:grid;align-content:start;gap:15px;background:#f2f5f3;border-right:1px solid #e1e6e3}.tothai-story-screen-body>aside span{width:28px;height:28px;border-radius:9px;background:#dde3df}.tothai-story-screen-body>aside span.is-active{background:#bff0d5}
.tothai-story-canvas{padding:48px 45px}.tothai-story-canvas>small{color:#078749;font-size:9px;font-weight:900;letter-spacing:.12em}.tothai-story-canvas h3{margin:15px 0 13px;font-size:clamp(27px,3vw,42px);letter-spacing:-.045em}.tothai-story-canvas>p{min-height:48px;margin:0;color:#6d756f;font-size:12px;line-height:1.62;transition:opacity .2s ease}.tothai-story-document{display:grid;gap:9px;margin:34px 0}.tothai-story-document i{height:6px;border-radius:10px;background:#e8ece9}.tothai-story-document i:nth-child(2){width:92%}.tothai-story-document i:nth-child(3){width:75%}.tothai-story-document i:nth-child(5){width:62%}
.tothai-story-prompt{height:52px;padding:0 8px 0 15px;border:1px solid #dbe1dd;border-radius:13px;display:flex;align-items:center;justify-content:space-between;color:#a1a8a4;font-size:10px}.tothai-story-prompt b{width:34px;height:34px;border-radius:10px;background:#10b866;color:#fff;display:grid;place-items:center}
.tothai-story-side{padding:22px 13px;border-left:1px solid #e1e6e3;display:grid;align-content:start;gap:10px}.tothai-story-side span{height:64px;border-radius:10px;background:linear-gradient(145deg,#eff5f1,#f9fbfa)}
.tothai-story-steps{display:grid;gap:14px;padding-top:10px}
.tothai-story-step{min-height:158px;padding:26px 24px;border-radius:24px;border:1px solid #e4e8e5;background:#fff;display:grid;grid-template-columns:44px 1fr;gap:17px;align-items:start;opacity:.52;transform:scale(.985);transition:opacity .35s ease,transform .35s ease,background .35s ease,border-color .35s ease}.tothai-story-step.is-active{opacity:1;transform:scale(1);background:#f4fbf7;border-color:#bde9cf}.tothai-story-step>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef1ef;color:#737b76;font-size:11px;font-weight:850}.tothai-story-step.is-active>span{background:#10b866;color:#fff}.tothai-story-step h3{margin:2px 0 8px;font-size:22px;letter-spacing:-.03em}.tothai-story-step p{margin:0;color:#707872;font-size:14px;line-height:1.55}

.tothai-audience{position:relative;padding:clamp(105px,11vw,170px) 0;overflow:hidden;background:radial-gradient(circle at 50% -10%,rgba(25,206,111,.2),transparent 35%),linear-gradient(145deg,#06100b,#020604);color:#fff}
.tothai-audience::before{content:"";position:absolute;inset:0;opacity:.2;background-image:radial-gradient(rgba(255,255,255,.7) .45px,transparent .45px);background-size:27px 27px}
.tothai-audience-inner{position:relative;width:min(1200px,calc(100% - 38px));margin:0 auto}.tothai-section-heading-light h2{color:#fff}.tothai-section-heading-light>p{color:rgba(255,255,255,.58)}
.tothai-audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tothai-audience-grid article{min-height:350px;padding:34px;border:1px solid rgba(255,255,255,.11);border-radius:28px;background:rgba(255,255,255,.045);backdrop-filter:blur(16px)}.tothai-audience-grid article>span{width:55px;height:55px;border-radius:18px;display:grid;place-items:center;background:rgba(24,217,116,.13);color:#56e99f;font-size:26px}.tothai-audience-grid small{display:block;margin-top:58px;color:#59eaa1;font-size:9px;font-weight:850;letter-spacing:.13em}.tothai-audience-grid h3{margin:11px 0 13px;font-size:27px;line-height:1.08;letter-spacing:-.04em}.tothai-audience-grid p{margin:0;color:rgba(255,255,255,.54);font-size:14px;line-height:1.62}

.tothai-plans{background:#f7f8f7}
.tothai-plan-grid{width:min(1080px,calc(100% - 38px));margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:17px;align-items:stretch}
.tothai-plan-card{position:relative;min-height:440px;padding:34px;border:1px solid #e2e7e4;border-radius:28px;background:#fff;box-shadow:0 18px 44px rgba(12,26,18,.045);display:flex;flex-direction:column}.tothai-plan-card>small{color:#078749;font-size:9px;font-weight:850;letter-spacing:.12em}.tothai-plan-card h3{margin:18px 0 12px;font-size:43px;letter-spacing:-.055em}.tothai-plan-card>p{margin:0;color:#6a736e;font-size:15px;line-height:1.6}.tothai-plan-card ul{margin:30px 0;padding:0;display:grid;gap:13px;list-style:none}.tothai-plan-card li{position:relative;padding-left:24px;color:#363d39;font-size:13px}.tothai-plan-card li::before{content:"✓";position:absolute;left:0;color:#0dae5f;font-weight:900}.tothai-plan-card>a{margin-top:auto;min-height:46px;border-radius:999px;border:1px solid #d8ddda;display:flex;align-items:center;justify-content:center;gap:8px;color:#171c19;font-size:13px;font-weight:800;transition:.2s ease}.tothai-plan-card>a:hover{background:#f0f4f1;border-color:#cbd2ce}.tothai-plan-card-featured{border-color:#11b967;box-shadow:0 24px 60px rgba(14,173,92,.12)}.tothai-plan-card-featured>a{background:#10b866;border-color:#10b866;color:#fff}.tothai-plan-card-featured>a:hover{background:#079d53}.tothai-plan-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);padding:7px 14px;border-radius:999px;background:#0daa5b;color:#fff;font-size:9px;font-weight:850;white-space:nowrap}

.tothai-final-cta{position:relative;min-height:680px;padding:120px 24px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#020403,#07100c);color:#fff;text-align:center}.tothai-final-cta::before{content:"";position:absolute;inset:0;opacity:.24;background-image:radial-gradient(rgba(255,255,255,.75) .5px,transparent .5px);background-size:28px 28px}.tothai-final-glow{position:absolute;width:min(800px,75vw);height:min(480px,45vw);left:50%;bottom:-180px;transform:translateX(-50%);border-radius:50%;background:rgba(13,201,104,.17);filter:blur(75px)}
.tothai-final-copy{position:relative;z-index:3;max-width:900px}.tothai-final-copy h2{margin:18px 0 22px;font-size:clamp(53px,7.5vw,102px);line-height:.9;letter-spacing:-.07em}.tothai-final-copy h2 span{color:#6fe9a6}.tothai-final-copy>p{max-width:650px;margin:0 auto;color:rgba(255,255,255,.58);font-size:clamp(17px,1.5vw,21px);line-height:1.55}.tothai-actions-centered{justify-content:center}.tothai-mascot-final{width:170px;right:7%;bottom:-15px;opacity:.88;transform:rotate(-8deg);animation:tothaiFloat 4.8s ease-in-out infinite}

.tothai-reveal{opacity:0;transform:translateY(24px);transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1)}
.tothai-reveal.is-visible{opacity:1;transform:translateY(0)}

@keyframes tothaiFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-16px) rotate(1.5deg)}}
@keyframes tothaiCue{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

@media(max-width:1120px){
    .tothai-hero-inner{grid-template-columns:minmax(0,.9fr) minmax(470px,1.1fr);gap:26px}
    .tothai-app-window{min-width:620px;width:108%}
    .tothai-feature-grid{grid-template-columns:repeat(2,1fr)}
    .tothai-feature-card{min-height:290px}
}
@media(max-width:900px){
    .tothai-product-page .premium-header .premium-nav.is-open{background:rgba(4,9,7,.99)!important;border-color:rgba(255,255,255,.08)!important}
    .tothai-product-page .premium-header .premium-nav-toggle span{background:#fff!important;transition:background .25s ease}
    .tothai-product-page.tothai-header-light .premium-header .premium-nav-toggle span{background:#1d1d1f!important}
    .tothai-product-page.tothai-header-light .premium-header .premium-nav.is-open{background:rgba(250,250,252,.99)!important;border-color:rgba(0,0,0,.06)!important}
    .tothai-product-page .premium-header .premium-nav.is-open .global-header-links>a{color:#fff!important;border-color:rgba(255,255,255,.1)}
    .tothai-product-page.tothai-header-light .premium-header .premium-nav.is-open .global-header-links>a{color:#1d1d1f!important;border-color:rgba(0,0,0,.08)}
    .tothai-hero{padding-top:88px}
    .tothai-hero-inner{grid-template-columns:1fr;width:min(720px,calc(100% - 34px));text-align:center}
    .tothai-hero-copy{padding-bottom:8px}.tothai-hero-copy>p{margin-inline:auto}.tothai-actions{justify-content:center}.tothai-scroll-cue{display:none}
    .tothai-hero-stage{min-height:530px;margin-top:16px}.tothai-app-window{width:780px;min-width:780px;left:50%;margin-left:-390px;transform:rotateY(0) rotateX(1deg) scale(.88) translate3d(0,var(--tothai-stage-y,0),0)}
    .tothai-mascot-hero{right:1%;bottom:-2%;width:165px}
    .tothai-capability-strip{grid-template-columns:repeat(2,1fr)}.tothai-capability-strip article:nth-child(2){border-right:0}.tothai-capability-strip article:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.1)}
    .tothai-story-layout{grid-template-columns:1fr}.tothai-story-visual{position:relative;top:auto;min-height:0}.tothai-story-steps{grid-template-columns:repeat(2,1fr)}
    .tothai-audience-grid,.tothai-plan-grid{grid-template-columns:1fr}.tothai-audience-grid article{min-height:290px}.tothai-plan-grid{max-width:620px}.tothai-plan-card{min-height:390px}
}
@media(max-width:640px){
    .tothai-hero{padding-top:70px}.tothai-hero-inner{width:calc(100% - 28px)}.tothai-hero h1{font-size:clamp(50px,16vw,70px)}.tothai-hero-copy>p{font-size:16px}.tothai-actions{flex-direction:column}.tothai-button{width:100%}
    .tothai-hero-stage{min-height:405px;overflow:visible}.tothai-app-window{width:680px;min-width:680px;margin-left:-340px;transform:rotateY(0) scale(.62) translate3d(0,var(--tothai-stage-y,0),0)}.tothai-mascot-hero{width:125px;right:-4%;bottom:1%}
    .tothai-capability-strip{margin-top:20px}.tothai-capability-strip article{min-height:78px;padding:15px 17px}.tothai-capability-strip article>span{font-size:20px}.tothai-capability-strip strong{font-size:12px}.tothai-capability-strip small{font-size:8px}
    .tothai-section-heading,.tothai-story-heading,.tothai-feature-grid,.tothai-story-layout,.tothai-audience-inner,.tothai-plan-grid{width:calc(100% - 28px)}.tothai-section-heading{margin-bottom:40px}.tothai-section-heading h2,.tothai-story-heading h2{font-size:clamp(39px,12vw,55px)}
    .tothai-feature-grid{grid-template-columns:1fr}.tothai-feature-card{min-height:255px;padding:26px}.tothai-feature-card small{margin-top:31px}
    .tothai-story-heading{margin-bottom:42px}.tothai-story-screen{border-width:6px;border-radius:23px;transform:none}.tothai-story-screen-body{min-height:380px;grid-template-columns:43px 1fr}.tothai-story-side{display:none}.tothai-story-canvas{padding:32px 22px}.tothai-story-canvas h3{font-size:30px}.tothai-story-steps{grid-template-columns:1fr}.tothai-story-step{min-height:132px;padding:22px 18px}
    .tothai-audience-grid article{min-height:270px;padding:28px}.tothai-audience-grid small{margin-top:42px}
    .tothai-plan-card{min-height:380px;padding:28px}.tothai-final-cta{min-height:610px;padding-inline:16px}.tothai-mascot-final{width:120px;right:-20px;bottom:-8px}.tothai-final-copy h2{font-size:clamp(49px,15vw,72px)}
}
@media(prefers-reduced-motion:reduce){
    .tothai-mascot,.tothai-scroll-cue span{animation:none!important}.tothai-reveal{opacity:1;transform:none;transition:none}.tothai-app-window{transition:none}
}

/* TothAI layout refinement — Link Communication 0.2.1
   Sezioni a colonna singola, mascotte indipendente e titoli coerenti con il sito. */
.tothai-product-page{
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
}

/* Tipografia coerente con le altre pagine pubbliche */
.tothai-hero h1{
    max-width:980px;
    margin:18px auto 24px;
    font-family:inherit;
    font-size:clamp(48px,6.3vw,84px);
    line-height:.93;
    letter-spacing:-.06em;
    font-weight:700;
}
.tothai-section-heading h2,
.tothai-story-heading h2,
.tothai-final-copy h2{
    max-width:980px;
    margin:14px auto 18px;
    font-family:inherit;
    font-size:clamp(38px,5vw,62px);
    line-height:.98;
    letter-spacing:-.052em;
    font-weight:700;
}
.tothai-section-heading,
.tothai-story-heading,
.tothai-final-copy{
    text-align:center;
}
.tothai-section-heading>p,
.tothai-final-copy>p{
    margin-left:auto;
    margin-right:auto;
}

/* Hero a colonna singola */
.tothai-hero-inner{
    width:min(1180px,calc(100% - 46px));
    display:grid;
    grid-template-columns:1fr;
    gap:36px;
    text-align:center;
}
.tothai-hero-copy{
    max-width:940px;
    margin:0 auto;
    padding-bottom:0;
}
.tothai-hero-copy>p{
    margin-inline:auto;
}
.tothai-actions{
    justify-content:center;
}
.tothai-scroll-cue{
    justify-content:center;
}
.tothai-hero-stage{
    width:100%;
    min-height:570px;
    margin:0 auto;
}
.tothai-app-window{
    width:min(1080px,100%);
    min-width:0;
    margin:0 auto;
    transform:rotateX(1deg) translate3d(0,var(--tothai-stage-y,0),0);
}
.tothai-product-halo{
    width:78%;
    left:11%;
}

/* Mascotte: area propria, mai sovrapposta alle anteprime */
.tothai-mascot-moment{
    position:relative;
    z-index:5;
    width:min(620px,calc(100% - 40px));
    margin:24px auto 12px;
    display:grid;
    justify-items:center;
    gap:2px;
    text-align:center;
}
.tothai-mascot-standalone{
    position:relative;
    width:clamp(112px,11vw,158px);
    filter:drop-shadow(0 22px 34px rgba(0,0,0,.36));
    animation:tothaiFloat 4.2s ease-in-out infinite;
}
.tothai-mascot-moment span{
    color:rgba(255,255,255,.62);
    font-size:12px;
    font-weight:650;
    letter-spacing:-.01em;
}
.tothai-mascot-hero,
.tothai-mascot-final{
    display:none!important;
}

/* Tutti i contenitori commerciali in una sola colonna */
.tothai-feature-grid,
.tothai-story-layout,
.tothai-audience-grid,
.tothai-plan-grid{
    grid-template-columns:1fr!important;
}
.tothai-feature-grid,
.tothai-story-layout,
.tothai-audience-inner,
.tothai-plan-grid{
    width:min(980px,calc(100% - 38px));
}
.tothai-feature-grid{
    gap:18px;
}
.tothai-feature-card{
    min-height:0;
    padding:38px;
}
.tothai-feature-card small{
    margin-top:28px;
}
.tothai-story-layout{
    gap:28px;
}
.tothai-story-visual{
    position:relative;
    top:auto;
    min-height:0;
}
.tothai-story-steps{
    grid-template-columns:1fr!important;
    gap:14px;
}
.tothai-audience-grid{
    gap:16px;
}
.tothai-audience-grid article{
    min-height:0;
    padding:38px;
}
.tothai-audience-grid small{
    margin-top:32px;
}
.tothai-plan-grid{
    max-width:820px;
    gap:18px;
}
.tothai-plan-card{
    min-height:0;
    padding:38px;
}
.tothai-plan-card>a{
    margin-top:30px;
}
.tothai-final-cta{
    min-height:560px;
}

@media(max-width:900px){
    .tothai-hero-inner{
        width:min(760px,calc(100% - 34px));
    }
    .tothai-hero-stage{
        min-height:500px;
    }
    .tothai-app-window{
        width:760px;
        max-width:none;
        min-width:760px;
        position:relative;
        left:50%;
        margin-left:-380px;
        transform:scale(.86) translate3d(0,var(--tothai-stage-y,0),0);
    }
}

@media(max-width:640px){
    .tothai-hero-inner{
        width:calc(100% - 28px);
        gap:24px;
    }
    .tothai-hero h1{
        font-size:clamp(44px,13vw,62px);
    }
    .tothai-section-heading h2,
    .tothai-story-heading h2,
    .tothai-final-copy h2{
        font-size:clamp(34px,10.5vw,48px);
    }
    .tothai-hero-stage{
        min-height:365px;
        overflow:hidden;
    }
    .tothai-app-window{
        width:650px;
        min-width:650px;
        margin-left:-325px;
        transform:scale(.56) translate3d(0,var(--tothai-stage-y,0),0);
        transform-origin:center top;
    }
    .tothai-mascot-moment{
        margin-top:4px;
    }
    .tothai-mascot-standalone{
        width:110px;
    }
    .tothai-feature-grid,
    .tothai-story-layout,
    .tothai-audience-inner,
    .tothai-plan-grid{
        width:calc(100% - 28px);
    }
    .tothai-feature-card,
    .tothai-audience-grid article,
    .tothai-plan-card{
        padding:27px;
    }
    .tothai-final-cta{
        min-height:520px;
    }
}

/* 0.2.2 — Il racconto torna a due colonne e i piani in orizzontale su desktop. */
@media (min-width:981px){
    .tothai-story-layout{
        width:min(1200px,calc(100% - 38px));
        grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr)!important;
        gap:clamp(42px,7vw,96px);
        align-items:start;
    }
    .tothai-story-visual{
        position:sticky;
        top:100px;
        min-height:610px;
    }
    .tothai-story-steps{
        grid-template-columns:1fr!important;
    }
    .tothai-plan-grid{
        width:min(1080px,calc(100% - 38px));
        max-width:none;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:17px;
        align-items:stretch;
    }
    .tothai-plan-card{
        min-height:440px;
        padding:34px;
    }
    .tothai-plan-card>a{
        margin-top:auto;
    }
}


/* TothAI typography refinement — Link Communication 0.2.3
   Punteggiatura rimossa dai titoli e spaziatura appena più ariosa. */
.tothai-product-page h1,
.tothai-product-page h2,
.tothai-product-page h3{
    word-spacing:.018em;
}
.tothai-hero h1{
    letter-spacing:-.045em;
}
.tothai-section-heading h2,
.tothai-story-heading h2,
.tothai-final-copy h2{
    letter-spacing:-.038em;
}
.tothai-feature-card h3,
.tothai-story-canvas h3,
.tothai-story-step h3,
.tothai-audience-grid h3,
.tothai-plan-card h3{
    letter-spacing:-.022em;
}
@media(max-width:640px){
    .tothai-product-page h1,
    .tothai-product-page h2,
    .tothai-product-page h3{
        word-spacing:.012em;
    }
}

/* ========================================================================
   TothAI refinement — 0.2.4
   Mascotte nell'occhiello, hero più compatta e fascia funzioni più leggibile.
   ======================================================================== */
.tothai-hero {
    min-height: 0;
    padding-top: clamp(76px, 7vw, 108px);
}

.tothai-eyebrow-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
}

.tothai-eyebrow-lockup img {
    width: 44px;
    height: 58px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .26));
    animation: tothaiFloat 4.2s ease-in-out infinite;
}

.tothai-eyebrow-lockup .tothai-eyebrow {
    margin: 0;
}

.tothai-hero h1 {
    margin-top: 12px;
}

.tothai-hero-stage {
    min-height: 510px;
}

.tothai-mascot-moment {
    display: none !important;
}

.tothai-capability-strip {
    width: min(1360px, calc(100% - 36px));
    margin-top: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.tothai-capability-strip article {
    min-height: 118px;
    padding: 27px 34px;
    gap: 18px;
}

.tothai-capability-strip article > span {
    min-width: 34px;
    font-size: 31px;
    line-height: 1;
}

.tothai-capability-strip div {
    gap: 6px;
}

.tothai-capability-strip strong {
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: -.018em;
}

.tothai-capability-strip small {
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: -.008em;
}

@media (max-width: 900px) {
    .tothai-hero-stage {
        min-height: 455px;
    }

    .tothai-capability-strip {
        width: min(720px, calc(100% - 28px));
        margin-top: 25px;
    }

    .tothai-capability-strip article {
        min-height: 106px;
        padding: 24px 28px;
    }
}

@media (max-width: 640px) {
    .tothai-hero {
        padding-top: 66px;
    }

    .tothai-eyebrow-lockup {
        min-height: 48px;
        gap: 8px;
    }

    .tothai-eyebrow-lockup img {
        width: 34px;
        height: 45px;
    }

    .tothai-eyebrow-lockup .tothai-eyebrow {
        font-size: 9px;
        letter-spacing: .1em;
    }

    .tothai-eyebrow-lockup .tothai-eyebrow::before {
        width: 16px;
    }

    .tothai-hero h1 {
        margin-top: 10px;
    }

    .tothai-hero-stage {
        min-height: 330px;
    }

    .tothai-capability-strip {
        width: calc(100% - 20px);
        margin-top: 18px;
    }

    .tothai-capability-strip article {
        min-height: 98px;
        padding: 20px 18px;
        gap: 13px;
    }

    .tothai-capability-strip article > span {
        min-width: 27px;
        font-size: 25px;
    }

    .tothai-capability-strip strong {
        font-size: 14px;
    }

    .tothai-capability-strip small {
        font-size: 10px;
    }
}

@media (max-width: 390px) {
    .tothai-capability-strip {
        grid-template-columns: 1fr;
    }

    .tothai-capability-strip article,
    .tothai-capability-strip article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .tothai-capability-strip article:last-child {
        border-bottom: 0;
    }
}


/* ========================================================================
   TothAI hero refinement — 0.2.5
   Mascotte appena più grande, nessun separatore nell'occhiello e CTA duplicata rimossa.
   ======================================================================== */
.tothai-eyebrow-lockup {
    gap: 11px;
}

.tothai-eyebrow-lockup img {
    width: 50px;
    height: 66px;
}

.tothai-eyebrow-lockup .tothai-eyebrow::before {
    display: none;
}

@media (max-width: 640px) {
    .tothai-eyebrow-lockup {
        gap: 9px;
    }

    .tothai-eyebrow-lockup img {
        width: 38px;
        height: 50px;
    }
}

/* ========================================================================
   TothAI story pacing & mobile scenes — Link Communication 0.2.6
   Desktop: avanzamento più lento e leggibile.
   Mobile/tablet: un visual statico dedicato sopra ogni singolo passaggio.
   ======================================================================== */
.tothai-story-mobile{
    display:none;
}

@media (min-width:981px){
    .tothai-story-desktop{
        display:block;
    }

    .tothai-story-layout{
        align-items:stretch;
    }

    .tothai-story-visual{
        top:clamp(90px,10vh,118px);
        min-height:610px;
        height:min(680px,calc(100vh - 145px));
    }

    .tothai-story-steps{
        padding-top:0;
    }

    .tothai-story-step-track{
        min-height:clamp(470px,62vh,680px);
        display:grid;
        align-items:center;
    }

    .tothai-story-step-track:first-child{
        min-height:clamp(410px,54vh,590px);
    }

    .tothai-story-step-track:last-child{
        min-height:clamp(440px,58vh,630px);
    }

    .tothai-story-step{
        width:100%;
        min-height:172px;
    }
}

@media (max-width:980px){
    .tothai-story-desktop{
        display:none!important;
    }

    .tothai-story-mobile{
        width:min(760px,calc(100% - 34px));
        margin:0 auto;
        display:grid;
        gap:clamp(52px,9vw,78px);
    }

    .tothai-story-mobile-scene{
        display:grid;
        gap:20px;
    }

    .tothai-story-mobile .tothai-story-visual{
        position:relative;
        inset:auto;
        min-height:0;
        height:auto;
        display:block;
    }

    .tothai-story-mobile .tothai-story-screen{
        transform:none;
        border-width:7px;
        border-radius:26px;
        box-shadow:0 28px 65px rgba(11,25,17,.15);
    }

    .tothai-story-mobile .tothai-story-screen-body{
        min-height:clamp(390px,58vw,475px);
        grid-template-columns:50px minmax(0,1fr);
    }

    .tothai-story-mobile .tothai-story-side{
        display:none;
    }

    .tothai-story-mobile .tothai-story-canvas{
        padding:clamp(32px,5vw,48px) clamp(24px,5vw,44px);
    }

    .tothai-story-mobile .tothai-story-step{
        min-height:0;
        width:100%;
        opacity:1;
        transform:none;
        background:#f4fbf7;
        border-color:#bde9cf;
    }

    .tothai-story-mobile .tothai-story-step>span{
        background:#10b866;
        color:#fff;
    }
}

@media (max-width:640px){
    .tothai-story-mobile{
        width:calc(100% - 28px);
        gap:54px;
    }

    .tothai-story-mobile-scene{
        gap:16px;
    }

    .tothai-story-mobile .tothai-story-screen{
        border-width:6px;
        border-radius:22px;
    }

    .tothai-story-mobile .tothai-story-screen-head{
        height:42px;
        padding-inline:13px;
    }

    .tothai-story-mobile .tothai-story-screen-body{
        min-height:340px;
        grid-template-columns:42px minmax(0,1fr);
    }

    .tothai-story-mobile .tothai-story-screen-body>aside{
        padding:15px 9px;
        gap:12px;
    }

    .tothai-story-mobile .tothai-story-screen-body>aside span{
        width:24px;
        height:24px;
        border-radius:8px;
    }

    .tothai-story-mobile .tothai-story-canvas{
        padding:28px 20px;
    }

    .tothai-story-mobile .tothai-story-canvas h3{
        font-size:clamp(28px,8.6vw,36px);
    }

    .tothai-story-mobile .tothai-story-document{
        margin:26px 0;
    }

    .tothai-story-mobile .tothai-story-step{
        padding:22px 18px;
        grid-template-columns:42px minmax(0,1fr);
        gap:15px;
        border-radius:22px;
    }
}
