/* Hydra public surfaces, inspired by the spacing and depth of the supplied reference.
   No player selectors or behavior. Existing configuration variables remain authoritative. */
body.hydra-site{--hydra-card-shadow:0 12px 36px #00000020;--hydra-green-shadow:0 9px 28px #24c96b26;line-height:1.6}
body.hydra-site .site-wrap{width:min(1200px,calc(100% - 80px))}
body.hydra-site .site-header{background:var(--site-bg);border-bottom:1px solid var(--site-line);box-shadow:0 3px 20px #00000008}
body.hydra-site .site-header .nav{height:78px;gap:24px}
body.hydra-site .site-brand{font-size:23px;letter-spacing:-.65px;gap:12px}
body.hydra-site .header-shortcuts{font-size:13px;font-weight:650;gap:26px}
body.hydra-site .header-shortcuts a{padding:8px 0;border-bottom:2px solid transparent;transition:color .18s,border-color .18s}
body.hydra-site .header-shortcuts a:hover{color:var(--site-primary);border-color:var(--site-primary)}
body.hydra-site :is(.site-btn,.btn,.platform-link,.contact-submit){display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:13px 20px;border:1px solid var(--site-line);border-radius:12px;font-size:13px;font-weight:700;line-height:1.45;box-shadow:0 3px 12px #0000000c;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;text-decoration:none}
body.hydra-site :is(.site-btn.primary,.btn.primary,.contact-submit){background:linear-gradient(125deg,var(--site-primary),#29ce76);color:#062515;border-color:transparent;box-shadow:var(--hydra-green-shadow)}
body.hydra-site :is(.site-btn.primary,.btn.primary,.contact-submit):hover{background:linear-gradient(125deg,var(--site-primary),#45e391);transform:translateY(-2px);box-shadow:0 13px 30px #24c96b30}
body.hydra-site :is(.site-btn.outline,.btn:not(.primary),.platform-link){background:var(--site-surface);color:var(--site-fg);border-color:var(--site-line)}
body.hydra-site :is(.site-btn.outline,.btn:not(.primary),.platform-link):hover{border-color:var(--site-primary);background:var(--site-surface);transform:translateY(-2px);box-shadow:var(--hydra-card-shadow)}
body.hydra-site :is(.site-btn.compact,.btn.small){min-height:40px;padding:10px 14px;font-size:12px;gap:9px;border-radius:10px}
body.hydra-site :is(button:disabled,.btn[aria-disabled=true]){opacity:.45;cursor:not-allowed;transform:none!important;box-shadow:none!important}
body.hydra-site :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--site-primary);outline-offset:4px}
body.hydra-site .menu-toggle{height:43px;border-radius:12px;padding:6px 7px 6px 16px;gap:13px;background:var(--site-surface);border-color:var(--site-line);box-shadow:0 3px 12px #0000000b}
body.hydra-site .menu-bubble{width:29px;height:29px;border-radius:8px;background:linear-gradient(135deg,var(--site-primary),#29ce76);color:#062515}
body.hydra-site .site-language select{border-radius:10px;background:var(--site-surface);border:1px solid var(--site-line);padding:9px 12px;min-height:40px;color:var(--site-fg)}
body.hydra-site .site-hero{padding:54px 0 36px;background:radial-gradient(ellipse at 82% 18%,#28d47821,transparent 48%),radial-gradient(ellipse at 68% 80%,#27b9a914,transparent 48%),var(--site-bg);border-bottom:1px solid var(--site-line)}
body.hydra-site .hero-grid{opacity:.14;background-image:radial-gradient(#91d9a843 1px,transparent 1px);background-size:22px 22px}
body.hydra-site .hero-layout{grid-template-columns:1.14fr 1fr;gap:60px;align-items:center;min-height:470px}
body.hydra-site .hero-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:8px 13px;border-radius:999px;background:var(--site-surface);border:1px solid var(--site-line);font-size:10px;font-weight:750;letter-spacing:1.35px;box-shadow:0 3px 12px #00000008}
body.hydra-site .hero-copy h1{font-size:clamp(45px,5.5vw,72px);line-height:1.04;letter-spacing:-3.2px;margin:24px 0 22px;font-weight:800}
body.hydra-site .hero-copy h1 em{font-style:normal;color:var(--site-primary);background:linear-gradient(110deg,var(--site-primary),#26cc7c);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.hydra-site .hero-description{font-size:17px;line-height:1.8;max-width:545px;color:var(--site-muted);margin-bottom:26px}
body.hydra-site .site-actions{gap:12px;flex-wrap:wrap}
body.hydra-site .hero-formats{margin-top:24px;gap:13px;font-size:11px;color:var(--site-muted)}
body.hydra-site .hero-visual{position:relative;isolation:isolate}
body.hydra-site .visual-halo{background:radial-gradient(ellipse,#24cd6d30,transparent 65%);filter:blur(14px);opacity:.9}
body.hydra-site .hero-brand-art{display:flex;align-items:center;justify-content:center;padding:24px;max-width:100%;height:auto;aspect-ratio:1;max-height:450px;border-radius:32px;background:radial-gradient(ellipse at 30% 20%,#b3ffcc0e,transparent 65%);box-shadow:inset 0 0 0 1px #91d9a814}
body.hydra-site .hero-brand-art img{position:static;width:min(100%,360px);height:auto;aspect-ratio:1;object-fit:contain;margin:auto;transform:none;filter:drop-shadow(0 18px 26px #00000020)}
body.hydra-site .hero-visual-label{border:1px solid var(--site-line);background:var(--site-surface);box-shadow:0 14px 34px #00000026;border-radius:15px;padding:15px 20px;line-height:1.5}
body.hydra-site .explore-link{font-size:11px;color:var(--site-muted);margin-top:28px}
body.hydra-site .format-rail{padding:30px 0;border-bottom:1px solid var(--site-line);background:var(--site-bg)}
body.hydra-site .site-section{padding:76px 0;border-bottom:1px solid var(--site-line)}
body.hydra-site .section-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--site-primary);font-size:10px;letter-spacing:1.5px;font-weight:750;text-transform:uppercase}
body.hydra-site :is(.section-heading,.narrow-heading) h2{font-size:clamp(30px,3.4vw,45px);line-height:1.13;letter-spacing:-1.5px;margin:14px 0 18px}
body.hydra-site :is(.section-heading,.narrow-heading) p{font-size:15px;line-height:1.8;color:var(--site-muted)}
body.hydra-site :is(.feature-grid,.platform-grid,.steps-grid,.plans-grid,.service-grid){gap:20px}
body.hydra-site :is(.feature-grid>article,.platform-card,.license-card,.service-link,.steps-grid>article){padding:27px;border:1px solid var(--site-line);border-radius:18px;background:var(--site-surface);box-shadow:var(--hydra-card-shadow);transition:border-color .2s,transform .2s,box-shadow .2s}
body.hydra-site :is(.feature-grid>article,.platform-card,.license-card,.service-link):hover{border-color:var(--site-primary);transform:translateY(-3px);box-shadow:0 18px 40px #00000028}
body.hydra-site :is(.feature-grid,.platform-grid,.steps-grid,.service-grid) h3{font-size:19px;font-weight:750;line-height:1.35;letter-spacing:-.4px;margin:18px 0 10px}
body.hydra-site :is(.feature-grid,.platform-grid,.steps-grid,.service-grid) p{font-size:13px;line-height:1.8;color:var(--site-muted)}
body.hydra-site :is(.platform-symbol,.service-number){display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#36d57c15;color:var(--site-primary);border:1px solid #58e38c25}
body.hydra-site .screenshots figure{border-radius:20px;overflow:hidden;border:1px solid var(--site-line);background:var(--site-surface);box-shadow:0 18px 44px #00000020}
body.hydra-site .reseller-banner{border:1px solid var(--site-line);border-radius:24px;background:radial-gradient(ellipse at 90% 20%,#2ad77620,transparent 58%),var(--site-surface);padding:42px;box-shadow:var(--hydra-card-shadow)}
body.hydra-site .reseller-packages{gap:14px}
body.hydra-site .reseller-packages>div{border:1px solid var(--site-line);border-radius:13px;background:var(--site-bg);padding:18px}
body.hydra-site .faq-list details{padding:20px 22px;margin-bottom:11px;border:1px solid var(--site-line);border-radius:13px;background:var(--site-surface);transition:border-color .2s}
body.hydra-site .faq-list details[open]{border-color:var(--site-primary);box-shadow:var(--hydra-card-shadow)}
body.hydra-site .faq-list summary{font-size:14px;font-weight:650;line-height:1.5}
body.hydra-site .contact-form{padding:30px;border:1px solid var(--site-line);border-radius:20px;background:var(--site-surface);box-shadow:var(--hydra-card-shadow)}
body.hydra-site :is(.contact-form,.tools-panel) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:1px solid var(--site-line);border-radius:11px;background:var(--site-bg);min-height:46px;padding:12px 14px;color:var(--site-fg);font-size:13px;box-shadow:none;transition:border-color .18s,box-shadow .18s}
body.hydra-site :is(input,select,textarea):focus{border-color:var(--site-primary);box-shadow:0 0 0 3px #29ce7616;outline:none}
body.hydra-site .site-footer{background:var(--site-bg);padding-top:38px}
body.hydra-site .site-footer .footer-bottom{padding-top:23px;margin-top:26px;border-top:1px solid var(--site-line);font-size:11px;color:var(--site-muted)}
body.hydra-site .legal-dialog{max-width:720px;padding:30px;border:1px solid var(--site-line);border-radius:20px;background:var(--site-surface);color:var(--site-fg);box-shadow:0 25px 80px #0007}
body.hydra-site .legal-dialog::backdrop{background:#020b07c9}
/* Conventional dropdown: preserve the existing focus/inert/close behavior. */
body.hydra-site .site-surface,body.hydra-site.menu-open .site-surface{transform:none!important;border-radius:0!important;box-shadow:none!important;transition:opacity .2s ease!important}
body.hydra-site.menu-open .site-surface{opacity:.42;pointer-events:none}
body.hydra-site .navlinks.menu-overlay{inset:calc(var(--hydra-header-height,78px) + 12px) max(24px,calc((100vw - 1200px)/2)) auto auto!important;width:min(440px,calc(100vw - 32px));height:auto;max-height:calc(100vh - var(--hydra-header-height,78px) - 40px);min-height:0;grid-template-columns:minmax(0,1fr);align-content:start;gap:0;padding:25px!important;border:1px solid var(--site-line);border-radius:20px;background:var(--site-surface);box-shadow:0 25px 75px #0005;z-index:40}
body.hydra-site .navlinks.menu-overlay>.menu-major{font-family:inherit;font-size:20px;line-height:1.35;letter-spacing:-.5px;padding:14px 0;transition:opacity .18s,transform .18s;transition-delay:0s!important}
body.hydra-site .menu-secondary{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px;margin-top:18px;padding-top:20px;border-color:var(--site-line)}
body.hydra-site.menu-open .site-header{background:var(--site-bg);border-color:var(--site-line)}
/* Playlist, activation, DNS and migration portal. */
body.hydra-site.site-tools{background:radial-gradient(ellipse at 80% 8%,#21d17313,transparent 40%),var(--site-bg)}
body.hydra-site.site-tools .tools-shell{max-width:1100px;padding-top:32px;padding-bottom:80px}
body.hydra-site .tools-navigation{padding:7px;border:1px solid var(--site-line);border-radius:15px;background:var(--site-surface);display:flex;gap:7px;flex-wrap:wrap}
body.hydra-site .tools-navigation .btn{box-shadow:none;background:transparent;min-height:41px;border-color:transparent;border-radius:10px;font-size:12px;padding:10px 15px}
body.hydra-site .tools-navigation .btn[aria-current=page]{color:#062515;background:linear-gradient(125deg,var(--site-primary),#29ce76);box-shadow:0 4px 14px #24c96b20}
body.hydra-site .tools-intro{margin:34px 0 26px;gap:24px}
body.hydra-site .tools-intro h1{font-size:clamp(31px,3.6vw,43px);line-height:1.15;letter-spacing:-1.5px;margin:13px 0 16px}
body.hydra-site .tools-intro p{font-size:14px;line-height:1.8}
body.hydra-site .tools-panel{padding:30px;border:1px solid var(--site-line);border-radius:22px;background:var(--site-surface);box-shadow:0 18px 48px #00000019;overflow:hidden}
body.hydra-site .playlist-portal{margin:-30px}
body.hydra-site .playlist-layout{grid-template-columns:275px minmax(0,1fr);min-height:490px}
body.hydra-site.site-tools .playlist-methods{padding:19px;background:var(--site-bg);border-right:1px solid var(--site-line);border-radius:21px 0 0 21px;gap:7px}
body.hydra-site.site-tools .playlist-method{padding:20px 16px;border:1px solid transparent;border-radius:13px;margin:0;gap:13px;background:transparent;color:var(--site-muted);transition:background .18s,border-color .18s,box-shadow .18s}
body.hydra-site.site-tools .playlist-method:hover{background:var(--site-surface);border-color:var(--site-line)}
body.hydra-site.site-tools .playlist-method[aria-pressed=true]{border-color:#4ae48e55;background:var(--site-surface);color:var(--site-fg);box-shadow:0 6px 22px #00000018}
body.hydra-site.site-tools .playlist-method strong{font-size:13px;font-weight:700}
body.hydra-site.site-tools .playlist-method small{font-size:11px;line-height:1.75;color:var(--site-muted)}
body.hydra-site .playlist-content{padding:32px}
body.hydra-site .portal-stage h2{font-family:HydraDisplay,Arial,sans-serif;font-size:26px;line-height:1.3;font-weight:800;letter-spacing:-.8px;margin:16px 0}
body.hydra-site .portal-step{font-size:9px;letter-spacing:1.2px;color:var(--site-muted)}
body.hydra-site .portal-stage>.notice{font-size:13px;color:var(--site-muted)}
body.hydra-site .device-summary{border-bottom:1px solid var(--site-line);padding-bottom:22px;margin-bottom:23px;gap:15px}
body.hydra-site .playlist-row{padding:21px 0;gap:14px;border-color:var(--site-line)}
body.hydra-site .playlist-row-icon{width:40px;height:40px;border-radius:12px;background:#31d87810;color:var(--site-primary);flex:none}
body.hydra-site .playlist-row strong{font-size:14px;font-weight:650;line-height:1.5}
body.hydra-site .playlist-row>div>span{font-size:11px;color:var(--site-muted)}
body.hydra-site .playlist-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none}
body.hydra-site .playlist-row-actions .btn{font-size:11px;min-height:36px;padding:8px 12px;border-radius:9px}
body.hydra-site .playlist-row-actions .btn.muted{color:var(--site-muted);background:transparent}
body.hydra-site .playlist-empty{padding:27px;border:1px dashed var(--site-line);border-radius:15px;background:var(--site-bg)}
body.hydra-site .playlist-empty p{font-size:12px;line-height:1.8;color:var(--site-muted)}
body.hydra-site .playlist-action{padding:24px;border:1px solid var(--site-line);border-radius:15px;background:var(--site-bg);gap:21px}
body.hydra-site .tools-panel .form-grid{gap:21px 22px}
body.hydra-site .tools-panel .field{font-size:12px;color:var(--site-muted);gap:9px}
body.hydra-site .tools-panel .actions{gap:10px;align-items:center;flex-wrap:wrap}
body.hydra-site .secret-input{display:flex;align-items:stretch;gap:8px}
body.hydra-site .secret-input>input{min-width:0;flex:1}
body.hydra-site .reveal-password{flex:none;min-width:44px;border:1px solid var(--site-line);border-radius:10px;background:var(--site-bg);color:var(--site-muted)}
body.hydra-site .protection-control{border:1px solid var(--site-line);border-radius:12px;padding:16px;background:var(--site-bg)}
body.hydra-site .protection-check{gap:10px;align-items:center;font-size:12px}
body.hydra-site .portal-help{padding:16px!important;border:1px solid var(--site-line)!important;border-radius:12px!important;background:var(--site-bg)!important;color:var(--site-muted)!important;font-size:11px!important;line-height:1.8}
body.hydra-site #status:not(:empty){padding:14px 16px;border-radius:12px;border:1px solid var(--site-line);background:var(--site-bg);font-size:12px;margin-top:18px}
/* Same treatment for the standalone download page; links/cards stay owned by its publisher. */
body.hydra-downloads{margin:0;background:radial-gradient(ellipse at 90% 0,#28d4781b,transparent 44%),#0c1110;color:#edf6f0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body.hydra-downloads main{max-width:1120px;padding:38px 28px 64px}
body.hydra-downloads header{padding-bottom:25px;border-bottom:1px solid #293d32;margin-bottom:32px;gap:15px}
body.hydra-downloads header img{width:52px;height:52px;border-radius:13px}
body.hydra-downloads h1{font-size:clamp(34px,4.8vw,51px);letter-spacing:-1.8px;line-height:1.12;margin-bottom:18px}
body.hydra-downloads .intro{font-size:15px;line-height:1.8;color:#acbeb2;margin-bottom:30px}
body.hydra-downloads .downloads{gap:17px}
body.hydra-downloads .card{padding:26px;background:#141f18;border:1px solid #2d4235;border-radius:18px;gap:24px;box-shadow:0 8px 28px #00000015;transition:transform .18s,border-color .18s,box-shadow .18s}
body.hydra-downloads .card:hover{transform:translateY(-2px);border-color:#4ae48e88;box-shadow:0 14px 34px #00000025}
body.hydra-downloads .card h2{font-size:21px;letter-spacing:-.5px;margin-bottom:9px}
body.hydra-downloads .meta{font-size:12px;line-height:1.6;color:#99b6a5}
body.hydra-downloads .detail{font-size:13px;line-height:1.8;color:#bdcfc3}
body.hydra-downloads .download{border:0;border-radius:12px;padding:14px 20px;min-height:48px;font-size:13px;font-weight:750;background:linear-gradient(125deg,#b9f1cc,#29ce76);color:#062515;box-shadow:0 8px 24px #24c96b24;transition:transform .18s,box-shadow .18s}
body.hydra-downloads .download:hover{background:linear-gradient(125deg,#d5f9df,#47e38f);transform:translateY(-2px);box-shadow:0 12px 28px #24c96b30}
@media(max-width:1000px){body.hydra-site .hero-layout{gap:25px;grid-template-columns:1.05fr 1fr}body.hydra-site .hero-copy h1{font-size:56px;letter-spacing:-2.3px}body.hydra-site .hero-description{font-size:15px}body.hydra-site .playlist-layout{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:700px){body.hydra-site .site-wrap{width:calc(100% - 36px)}body.hydra-site .site-header .nav{height:auto;min-height:76px;padding-block:12px}body.hydra-site .site-hero{padding:32px 0 26px}body.hydra-site .hero-layout{display:flex;flex-direction:column;min-height:0;gap:30px}body.hydra-site .hero-copy h1{font-size:clamp(43px,10vw,60px);letter-spacing:-2px;line-height:1.06}body.hydra-site .hero-description{font-size:15px;line-height:1.8}body.hydra-site .hero-eyebrow{font-size:8px;letter-spacing:1px;padding:8px 11px}body.hydra-site .hero-visual{max-width:380px;width:100%;margin:auto}body.hydra-site .hero-brand-art{padding:18px;max-height:none}body.hydra-site .hero-visual-label{position:static;transform:none;align-self:center;margin:12px 0;max-width:100%}body.hydra-site .site-section{padding:54px 0}body.hydra-site :is(.feature-grid,.platform-grid,.steps-grid,.plans-grid,.service-grid){gap:16px}body.hydra-site .reseller-banner{padding:26px}body.hydra-site .contact-form{padding:23px}body.hydra-site.site-tools .tools-shell{padding-top:24px}body.hydra-site .tools-panel{padding:22px}body.hydra-site .playlist-portal{margin:-22px}body.hydra-site .playlist-layout{display:flex;flex-direction:column;min-height:0}body.hydra-site.site-tools .playlist-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-right:0;border-bottom:1px solid var(--site-line);border-radius:21px 21px 0 0;padding:16px}body.hydra-site.site-tools .playlist-method{flex-direction:column;align-items:flex-start;min-height:125px;padding:15px 13px;gap:10px;border-color:var(--site-line)}body.hydra-site .playlist-content{padding:25px 20px}body.hydra-site .playlist-row{flex-wrap:wrap;gap:12px}body.hydra-site .playlist-row-actions{margin-left:52px}body.hydra-site .tools-panel .form-grid{grid-template-columns:minmax(0,1fr)}body.hydra-site .tools-navigation .btn{font-size:11px;padding:10px 11px}body.hydra-site .navlinks.menu-overlay{right:16px!important;padding:22px!important}body.hydra-downloads main{padding:25px 18px 45px}body.hydra-downloads .card{grid-template-columns:1fr;padding:22px;gap:18px}body.hydra-downloads .download{width:100%}}
@media(max-width:430px){body.hydra-site .site-actions .site-btn{width:100%}body.hydra-site .hero-copy h1{font-size:42px}body.hydra-site .tools-navigation{gap:5px;padding:5px}body.hydra-site .tools-navigation .btn{flex:1 1 40%;text-align:center}body.hydra-site .playlist-row-actions{width:100%;margin-left:0;justify-content:flex-start}body.hydra-site .tools-intro h1{font-size:31px}body.hydra-site .portal-stage h2{font-size:23px}body.hydra-site .tools-panel .actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){body.hydra-site *,body.hydra-downloads *{transition:none!important;animation:none!important;scroll-behavior:auto!important}body.hydra-site.menu-open .site-surface{transform:none!important}}
