/* Doybit Gratiswelt Premium · 0.47.00 WIP
   Scoped to the /gratis landing page; existing Doybit design system,
   typography, product pages and offline/browser tools remain untouched.
   Respect device motion preferences and high-contrast keyboard focus.
*/
body.dx-gratis-premium-page{
 --dx-premium-blue:#155fda;
 --dx-premium-navy:#152947;
 --dx-premium-muted:#506684;
 --dx-premium-ring:#315cdb;
}
/* The existing Doybit editorial hero remains the image source. */
.dx-gratis-premium-page .dx-gratis-hero-wrap{
 position:relative;isolation:isolate;margin:12px 0 10px;
 background:radial-gradient(ellipse at 78% 22%,#caedff 0%,transparent 44%);
 border:1px solid rgba(186,211,242,.75);border-radius:30px;
 box-shadow:0 28px 70px rgba(32,93,170,.10),inset 0 1px 0 #fff;
 overflow:hidden;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap:after{
 content:"";position:absolute;pointer-events:none;z-index:1;
 width:min(68%,750px);height:220px;right:-10%;bottom:-175px;
 background:linear-gradient(130deg,rgba(96,175,255,.23),rgba(92,133,236,.06));
 border-radius:50% 50% 0 0;transform:rotate(-12deg);
}
.dx-gratis-premium-page .dx-gratis-hero-wrap>.sg-hero{
 border:0!important;border-radius:30px!important;box-shadow:none!important;
 background:linear-gradient(105deg,rgba(255,255,255,.96),rgba(246,251,255,.89) 47%,rgba(224,241,255,.34))!important;
 padding:clamp(23px,3.1vw,46px)!important;min-height:370px;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-hero-copy{z-index:3}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-kicker{
 display:inline-flex;align-items:center;gap:8px;color:#295ca9!important;
 font-size:11px!important;font-weight:850!important;letter-spacing:.08em;
 text-transform:uppercase;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-kicker:before{
 content:"";display:inline-block;width:8px;height:8px;border-radius:50%;
 background:#20c3a0;box-shadow:0 0 0 4px rgba(23,193,160,.14);
}
.dx-gratis-premium-page .dx-gratis-hero-wrap h1{
 color:var(--dx-premium-navy)!important;
 font-size:clamp(35px,4.5vw,62px)!important;letter-spacing:-.058em!important;
 line-height:1.08!important;margin:14px 0 18px!important;
 text-wrap:balance;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap h1 em{
 color:#1264e3!important;letter-spacing:-.054em!important;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-hero-copy>p{
 max-width:530px!important;color:#405a7b!important;
 font-size:clamp(14px,1.36vw,17px)!important;line-height:1.72!important;
 margin-bottom:24px!important;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions{gap:11px}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions .button{
 min-height:48px;padding:12px 21px!important;border-radius:16px!important;
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 font-size:13px;font-weight:820;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions .button.primary{
 background:linear-gradient(115deg,#087adf,#1e4cdb)!important;
 border:1px solid rgba(20,80,195,.42)!important;
 box-shadow:0 14px 30px rgba(25,94,216,.23)!important;color:#fff!important;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions .button.ghost{
 border-color:#c9dcef!important;color:#1c427d!important;
 background:rgba(255,255,255,.91)!important;
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-editorial-hero{
 z-index:1;border-radius:24px;filter:saturate(1.08);
}
.dx-gratis-premium-page .dx-gratis-hero-wrap .sg-hero-caption{z-index:3;color:#637e9e!important}
.dx-gratis-premium-page .dx-gratis-hero-badge{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 position:absolute;z-index:5;pointer-events:none;white-space:nowrap;
 border:1px solid rgba(198,221,246,.92);background:rgba(255,255,255,.93);
 border-radius:999px;padding:9px 14px;
 box-shadow:0 12px 28px rgba(37,73,129,.13);
 color:#254267;font-size:11px;font-weight:800;line-height:1.2;
}
.dx-gratis-premium-page .dx-gratis-hero-badge svg{width:15px;height:15px;color:#118f79}
.dx-gratis-premium-page .dx-gratis-hero-badge-top{top:35px;right:26px}
.dx-gratis-premium-page .dx-gratis-hero-badge-bottom{right:26px;bottom:38px}
.dx-gratis-premium-page .dx-gratis-hero-badge-bottom svg{color:#1e67da}
/* Trust band stays a part of the original shop, not an invented new product. */
.dx-gratis-premium-page .dx-free-intro{padding:6px 0 19px!important;margin:0!important}
.dx-gratis-premium-page .dx-free-intro .dx-free-trust{
 display:flex;justify-content:space-around;align-items:center;
 gap:0;min-height:63px;padding:10px 18px;box-sizing:border-box;
 background:linear-gradient(110deg,rgba(255,255,255,.97),rgba(235,245,255,.92));
 border:1px solid rgba(208,226,247,.94);border-radius:19px;
 box-shadow:0 12px 30px rgba(51,97,160,.10);
}
.dx-gratis-premium-page .dx-free-intro .dx-free-trust span{
 justify-content:center;flex:1;min-height:34px;white-space:nowrap;
 color:#29486e;font-size:12px;font-weight:800;text-align:center;
}
.dx-gratis-premium-page .dx-free-intro .dx-free-trust span+span{border-left:1px solid #d4e3f5}
.dx-gratis-premium-page .dx-free-intro .dx-free-trust svg{width:17px;height:17px;color:#098d88}
/* Search + filter + SORT: actual local browser functionality. */
.dx-gratis-premium-page .dx-gratis-catalog{scroll-margin-top:96px;padding-top:clamp(21px,3vw,40px)!important}
.dx-gratis-premium-page .dx-gratis-catalog>.sg-head{align-items:end;gap:18px;margin-bottom:21px}
.dx-gratis-premium-page .dx-gratis-catalog .sg-head h2{
 color:var(--dx-premium-navy);font-size:clamp(24px,3.3vw,39px)!important;
 font-weight:850;line-height:1.15;letter-spacing:-.05em;text-wrap:balance;
 margin:5px 0 0!important;
}
.dx-gratis-premium-page .dx-gratis-catalog .sg-head>p{
 color:var(--dx-premium-muted);font-size:13px!important;line-height:1.63;
 max-width:360px;margin:0!important;
}
.dx-gratis-premium-page .dx-tool-search{
 display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr) minmax(0,.85fr);
 gap:14px 16px;align-items:end;
 margin:0 0 22px!important;padding:clamp(15px,2vw,24px)!important;
 border:1px solid #d4e3f4!important;border-radius:23px!important;
 background:linear-gradient(145deg,#fff,rgba(241,248,255,.97))!important;
 box-shadow:0 16px 38px rgba(39,85,150,.075),inset 0 1px 0 #fff;
}
.dx-gratis-premium-page .dx-tool-search>div{min-width:0}
.dx-gratis-premium-page .dx-tool-search label{
 display:flex;align-items:center;gap:7px;
 color:#2d496f;font-size:12px!important;font-weight:790;margin-bottom:8px!important;
}
.dx-gratis-premium-page .dx-tool-search label svg{width:15px;height:15px;color:#1467c5}
.dx-gratis-premium-page .dx-tool-search :is(input,select){
 font:inherit;font-size:13px;color:#183753;
 min-height:52px!important;padding:11px 15px!important;
 border:1px solid #cbdced!important;border-radius:14px!important;
 background:#fff!important;box-shadow:0 5px 14px rgba(33,70,115,.035);
}
.dx-gratis-premium-page .dx-tool-search input::placeholder{color:#7187a2}
.dx-gratis-premium-page .dx-tool-search :is(input,select):focus-visible{
 outline:3px solid rgba(48,102,216,.40)!important;outline-offset:2px;
}
.dx-gratis-premium-page .dx-tool-search-summary{grid-column:1/-1;display:flex;gap:14px;align-items:center}
.dx-gratis-premium-page .dx-tool-search-summary p{
 color:#345a89;font-size:12px!important;font-weight:800;
}
.dx-gratis-premium-page .dx-tool-search-summary .button{
 min-height:41px;padding:9px 15px!important;border-radius:12px!important;
 background:#fff!important;border-color:#d0e0f1!important;color:#2f5085!important;
 font-weight:750;
}
.dx-gratis-premium-page .dx-gratis-results-head{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 margin:0 0 17px;color:#233e68;
}
.dx-gratis-premium-page .dx-gratis-results-head>span{
 display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:850;
}
.dx-gratis-premium-page .dx-gratis-results-head svg{width:17px;height:17px;color:#1c67ce}
.dx-gratis-premium-page .dx-gratis-results-head small{font-size:11px;color:#57718f}
/* Premium tile catalog – same Doybit glass/blue identity, no image downloads. */
.dx-gratis-premium-page .dx-free-grid{
 gap:clamp(12px,1.45vw,20px)!important;
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.dx-gratis-premium-page .dx-free-tile{
 position:relative;isolation:isolate;overflow:hidden;
 padding:clamp(19px,2vw,27px)!important;gap:0!important;
 min-height:224px;box-sizing:border-box;
 border:1px solid rgba(212,226,245,.93)!important;border-radius:22px!important;
 background:linear-gradient(155deg,#fff 12%,#f5f9ff 100%)!important;
 box-shadow:0 12px 27px rgba(32,78,136,.085),inset 0 1px 0 #fff!important;
 transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.dx-gratis-premium-page .dx-free-tile[hidden]{display:none!important}
.dx-gratis-premium-page .dx-free-tile:before{
 content:"";position:absolute;z-index:-1;inset:-48px -64px auto auto;
 width:155px;height:155px;border-radius:50%;opacity:.50;
 background:radial-gradient(circle,var(--dx-card-glow,#e3f0ff),transparent 72%);
 pointer-events:none;
}
.dx-gratis-premium-page .dx-free-tile-icon{
 display:grid;place-items:center;flex:0 0 auto;
 width:49px;height:49px;margin:0 0 13px;
 border:1px solid var(--dx-card-edge,#cfe1fa);border-radius:16px;
 background:linear-gradient(145deg,var(--dx-card-bg,#dbefff),#fff);
 color:var(--dx-card-ink,#1469d1)!important;
 box-shadow:0 8px 20px rgba(68,108,167,.08);
}
.dx-gratis-premium-page .dx-free-tile-icon svg{width:25px;height:25px;stroke-width:1.85}
.dx-gratis-premium-page .dx-free-tile-kind{
 margin:0 0 5px!important;font-size:10px!important;line-height:1.3;
 letter-spacing:.08em;font-weight:800;color:#627d9d;
}
.dx-gratis-premium-page .dx-free-tile h3{
 margin:0 0 9px!important;color:#193456!important;
 font-size:clamp(17px,1.65vw,21px)!important;line-height:1.22;
 font-weight:840;letter-spacing:-.035em;text-wrap:pretty;
}
.dx-gratis-premium-page .dx-free-tile p{
 flex:1 0 auto;font-size:12.5px!important;line-height:1.57!important;
 color:#4b6684;margin:0 0 17px!important;
}
.dx-gratis-premium-page .dx-free-tile-link{
 margin-top:auto!important;display:inline-flex;gap:7px;
 align-items:center;flex-wrap:wrap;color:#1159c6!important;
 font-size:12px;font-weight:840;line-height:1.35;
}
.dx-gratis-premium-page .dx-free-tile-link::after{content:"";height:1px;position:absolute;bottom:0;left:15%;right:15%;background:transparent}
.dx-gratis-premium-page .dx-free-tile[data-tool-tone="violet"]{
 --dx-card-bg:#e6e5ff;--dx-card-edge:#d8d4ff;--dx-card-ink:#594cce;--dx-card-glow:#e3dfff;
}
.dx-gratis-premium-page .dx-free-tile[data-tool-tone="teal"]{
 --dx-card-bg:#dcf8f3;--dx-card-edge:#c4eae5;--dx-card-ink:#17887f;--dx-card-glow:#d6faf5;
}
.dx-gratis-premium-page .dx-free-tile[data-tool-tone="rose"]{
 --dx-card-bg:#ffebf0;--dx-card-edge:#f4d8e4;--dx-card-ink:#d54c79;--dx-card-glow:#fce6ed;
}
.dx-gratis-premium-page .dx-free-tile[data-tool-tone="amber"]{
 --dx-card-bg:#fff1d6;--dx-card-edge:#f5e0b3;--dx-card-ink:#a86d13;--dx-card-glow:#ffefce;
}
/* Featured CV/brief tools are different only in restrained light-blue tint. */
.dx-gratis-premium-page .dx-free-tile.dx-free-primary{
 background:linear-gradient(148deg,rgba(247,250,255,.98),rgba(232,242,255,.91))!important;
}
@media (hover:hover) and (pointer:fine){
 .dx-gratis-premium-page .dx-free-tile:hover{
  transform:translateY(-4px)!important;border-color:#a7c8ef!important;
  box-shadow:0 25px 47px rgba(29,82,157,.15),inset 0 1px 0 #fff!important;
 }
 .dx-gratis-premium-page .dx-free-tile:hover .dx-free-tile-icon{transform:scale(1.045)}
 .dx-gratis-premium-page .dx-tool-search-summary .button:hover{background:#eaf3ff!important}
}
.dx-gratis-premium-page .dx-free-tile:focus-visible{
 transform:none!important;outline:3px solid var(--dx-premium-ring)!important;
 outline-offset:3px!important;box-shadow:0 17px 38px rgba(29,82,157,.14)!important;
}
.dx-gratis-premium-page .dx-tool-empty{
 border-color:#b7d3f4;background:linear-gradient(145deg,#f8fbff,#eaf4ff);
 color:#294a7a;text-align:center;padding:25px!important;
}
/* Gentle benefits section, identical rounded Doybit visuals and brand colors. */
.dx-gratis-premium-page .dx-gratis-benefit-section{
 margin-top:clamp(30px,4vw,52px)!important;padding:clamp(22px,3vw,40px)!important;
 border:1px solid #d4e5f8!important;border-radius:26px!important;
 background:linear-gradient(135deg,#f8fcff,#e7f2ff 85%)!important;
}
.dx-gratis-premium-page .dx-gratis-benefit-section>.sg-head h2{
 color:#18345a!important;font-size:clamp(22px,2.7vw,33px)!important;
 letter-spacing:-.04em;
}
.dx-gratis-premium-page .dx-free-benefits{gap:13px}
.dx-gratis-premium-page .dx-free-benefits article{
 padding:clamp(16px,2vw,25px);border:1px solid #dce8f7;border-radius:19px;
 background:rgba(255,255,255,.90);box-shadow:0 9px 24px rgba(38,88,153,.06);
}
.dx-gratis-premium-page .dx-free-benefits article>svg{
 width:26px;height:26px;color:#1e66d1;margin:0 0 4px;
}
.dx-gratis-premium-page .dx-free-benefits h3{font-size:16px;color:#1d385b;letter-spacing:-.02em}
.dx-gratis-premium-page .dx-free-benefits p{font-size:13px;line-height:1.6;color:#4b6380}
@media(max-width:1070px){
 .dx-gratis-premium-page .dx-free-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dx-gratis-premium-page .dx-tool-search{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dx-gratis-premium-page .dx-tool-sort{grid-column:1/-1}
}
@media(max-width:900px){
 .dx-gratis-premium-page .dx-gratis-hero-wrap>.sg-hero{padding:24px!important}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-editorial-hero{max-width:600px}
 .dx-gratis-premium-page .dx-gratis-hero-badge-top{top:auto;bottom:63px;left:23px;right:auto}
 .dx-gratis-premium-page .dx-gratis-hero-badge-bottom{right:23px;bottom:63px}
 .dx-gratis-premium-page .dx-gratis-catalog>.sg-head{align-items:flex-start}
}
@media(max-width:670px){
 .dx-gratis-premium-page .dx-gratis-hero-wrap{margin:8px 0 0;border-radius:23px}
 .dx-gratis-premium-page .dx-gratis-hero-wrap>.sg-hero{border-radius:23px!important;padding:19px!important;gap:13px!important;min-height:0}
 .dx-gratis-premium-page .dx-gratis-hero-wrap h1{font-size:clamp(32px,9vw,42px)!important}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-hero-copy>p{font-size:14px!important;line-height:1.65!important}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions{display:flex;flex-direction:column;align-items:stretch}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions .button{width:100%;max-width:none;box-sizing:border-box}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-editorial-hero{max-width:100%;width:100%;margin:2px auto 0}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-hero-caption{margin:0!important;font-size:10px!important}
 .dx-gratis-premium-page .dx-gratis-hero-badge{position:relative;top:auto;bottom:auto;left:auto;right:auto;margin:0 0 14px 14px;padding:8px 11px;font-size:10px}
 .dx-gratis-premium-page .dx-gratis-hero-badge-bottom{margin-left:3px}
 .dx-gratis-premium-page .dx-free-intro{padding:10px 0 14px!important}
 .dx-gratis-premium-page .dx-free-intro .dx-free-trust{padding:9px 10px;gap:6px;min-height:0;flex-wrap:wrap}
 .dx-gratis-premium-page .dx-free-intro .dx-free-trust span{font-size:10px;min-width:0;flex-basis:calc(50% - 7px);white-space:normal;line-height:1.35}
 .dx-gratis-premium-page .dx-free-intro .dx-free-trust span+span{border:0}
 .dx-gratis-premium-page .dx-gratis-catalog>.sg-head{display:block!important}
 .dx-gratis-premium-page .dx-gratis-catalog .sg-head>p{max-width:none!important;margin-top:9px!important;font-size:12px!important}
 .dx-gratis-premium-page .dx-tool-search{grid-template-columns:minmax(0,1fr)!important;gap:12px}
 .dx-gratis-premium-page .dx-tool-sort{grid-column:1}
 .dx-gratis-premium-page .dx-tool-search-summary{grid-column:1;align-items:center;gap:8px}
 .dx-gratis-premium-page .dx-tool-search-summary .button{font-size:11px;padding:8px 10px!important}
 .dx-gratis-premium-page .dx-gratis-results-head{flex-direction:column;align-items:flex-start;gap:4px}
 .dx-gratis-premium-page .dx-free-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .dx-gratis-premium-page .dx-free-tile{min-height:0;padding:20px!important;gap:0!important}
 .dx-gratis-premium-page .dx-free-tile h3{font-size:19px!important}
 .dx-gratis-premium-page .dx-free-tile p{font-size:13px!important;margin:0 0 15px!important}
 .dx-gratis-premium-page .dx-gratis-benefit-section{padding:17px!important;margin-top:20px!important}
 .dx-gratis-premium-page .dx-free-benefits{grid-template-columns:1fr}
}
@media(max-width:370px){
 .dx-gratis-premium-page .dx-gratis-hero-badge{margin:0 0 7px 9px}
 .dx-gratis-premium-page .dx-gratis-hero-wrap .sg-actions .button{font-size:12px}
 .dx-gratis-premium-page .dx-tool-search-summary{flex-direction:column;align-items:stretch}
 .dx-gratis-premium-page .dx-tool-search-summary .button{text-align:center}
}
@media(prefers-reduced-motion:reduce){
 .dx-gratis-premium-page .dx-free-tile,
 .dx-gratis-premium-page .dx-free-tile-icon{transition:none!important}
 .dx-gratis-premium-page .dx-free-tile:hover{transform:none!important}
}
@media print{
 .dx-gratis-premium-page .dx-free-tile{break-inside:avoid;box-shadow:none!important}
 .dx-gratis-premium-page .dx-gratis-hero-wrap{box-shadow:none!important}
}
