:root{--bg:#0c1015;--surface:#171d24;--surface2:#1c242d;--ink:#edf1f4;--muted:#9da9b4;--red:#de4445;--line:#303a44;--max:1170px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 'Segoe UI',system-ui,-apple-system,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid #ff8282;outline-offset:4px}button{font:inherit}.wrap{width:min(var(--max),calc(100% - 48px));margin:0 auto}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
header{position:sticky;top:0;z-index:15;background:rgba(12,16,21,.93);backdrop-filter:blur(15px);border-bottom:1px solid rgba(188,199,208,.12)}.navbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:800;letter-spacing:-.6px}.brand strong{color:#f35252}.brand-mark{display:grid;place-items:center;border:1px solid #684044;background:linear-gradient(145deg,#302025,#151b22);width:40px;height:40px;border-radius:12px;color:#fb6a64}.links{display:flex;align-items:center;gap:28px;color:#b9c2cc;font-weight:600;font-size:14px}.links a:hover{color:white}.navcta{padding:11px 18px;border:1px solid #9d393c;border-radius:10px;color:white!important;background:linear-gradient(150deg,#a32b33,#6b2028)}.mobile-menu{display:none}
.hero{position:relative;overflow:hidden;border-bottom:1px solid #2c3642;background:radial-gradient(ellipse at 76% 53%,#543135 0,transparent 40%),radial-gradient(ellipse at 88% 8%,#2a3949 0,transparent 45%),linear-gradient(120deg,#101720,#0a1118 65%,#141a20)}.hero:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;background-image:repeating-linear-gradient(90deg,transparent 0 98px,rgba(220,225,235,.085) 99px 100px),repeating-linear-gradient(0deg,transparent 0 98px,rgba(220,225,235,.065) 99px 100px);mask-image:linear-gradient(90deg,transparent 14%,black 99%)}.hero-inner{position:relative;min-height:560px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:34px;padding:74px 0 78px;z-index:1}.eyebrow{font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:2.6px;color:#ff8681}.hero h1{font-size:clamp(46px,6vw,76px);line-height:1.03;letter-spacing:-3.2px;margin:18px 0 22px;max-width:680px}.hero h1 span{color:#f05251}.hero p{font-size:19px;color:#bfcad4;max-width:565px;margin-bottom:30px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:11px;padding:14px 20px;font-size:14px;font-weight:800;transition:transform .2s ease,background .2s ease}.btn:hover{transform:translateY(-2px)}.primary{background:linear-gradient(140deg,#d74345,#9b292e);border:1px solid #e75a59;box-shadow:0 10px 28px #a42c2b25;color:#fff}.secondary{background:#222b34;border:1px solid #394653;color:#d7e2e9}.fine{display:flex;gap:14px;flex-wrap:wrap;color:#99a6b3;font-size:13px;margin-top:22px}.fine span{display:inline-flex;gap:6px;align-items:center}.fine b{color:#aadeba}
section{padding:84px 0;scroll-margin-top:78px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:31px}.kicker{font-size:12px;letter-spacing:2px;color:#e87070;text-transform:uppercase;font-weight:800}.section-head h2,section h2{font-size:clamp(30px,3.4vw,42px);line-height:1.16;letter-spacing:-1.1px;margin:8px 0 0}.section-head p{max-width:400px;color:var(--muted);margin:0}.toolgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tool{background:linear-gradient(145deg,#1d2630,#151b22);border:1px solid #303c48;min-height:157px;padding:23px;border-radius:16px;position:relative;overflow:hidden}.tool:after{content:"";position:absolute;right:-35px;bottom:-70px;width:160px;height:160px;border:1px solid #7891a018;border-radius:50%;box-shadow:0 0 0 27px #80919c09,0 0 0 58px #80919c07}.tool-icon{display:grid;place-items:center;width:41px;height:41px;border:1px solid #6c4145;border-radius:11px;background:#47262b33;color:#ff7270;font-size:21px;margin-bottom:17px}.tool h3{margin:0 0 4px;font-size:18px}.tool p{margin:0;color:#97a5b1;font-size:14px}.band{background:linear-gradient(135deg,#19222a,#24242b);border-top:1px solid #3a454b;border-bottom:1px solid #3a454b}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.feature{padding:5px 0}.feature b{font-size:17px}.feature p{font-size:14px;color:#aab6c0;margin:8px 0 0}.feature-icon{font-size:27px;color:#e96d69;display:block;margin-bottom:11px}
.download-card{display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center;background:linear-gradient(110deg,#242b32,#201d23);border:1px solid #3f4852;border-radius:18px;padding:32px}.download-card h3{font-size:24px;margin:0 0 9px}.download-card p{color:#aab5bf;margin:0 0 10px}.version{font-size:12px;border:1px solid #468b6277;color:#b0dfbf;background:#1b342643;border-radius:6px;padding:5px 8px;display:inline-block;margin-bottom:12px;font-weight:800;letter-spacing:1px}.plain-link{color:#c8d8e3;text-decoration:underline;text-underline-offset:4px;font-size:13px}.support-lead{color:var(--muted);max-width:800px}.support-panel{border:1px solid #34414c;border-radius:17px;background:#151d25;padding:26px;margin-top:24px}.support-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.support-top b{font-size:19px}.support-top p{margin:3px 0 0;font-size:13px;color:#9aabba}.support-panel iframe{width:100%;height:860px;background:#22272f;border:0;border-radius:10px}.support-note{font-size:13px;color:#a5b1bc;margin-top:14px}.support-note a{color:#e4e9ef;text-decoration:underline}.donate-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:22px;border:1px solid #5a4144;border-radius:16px;padding:28px 30px;background:linear-gradient(120deg,#261d22,#171c22)}.donate-card h3{font-size:22px;margin:0 0 8px}.donate-card p{margin:0;color:#acb8c2}.soon{font-size:13px;font-weight:700;color:#d6b1b0;border:1px solid #754b4d;background:#372326;border-radius:9px;padding:10px 16px;white-space:nowrap}.faq{display:grid;grid-template-columns:1fr 1fr;gap:12px}details.faq-item{background:#171f27;border:1px solid #303c48;border-radius:12px;padding:18px 21px}details.faq-item summary{cursor:pointer;font-weight:700;list-style:none;position:relative;padding-right:24px}details.faq-item summary:after{content:'+';position:absolute;right:0;top:0;color:#e86c69;font-size:22px;line-height:1}details.faq-item[open] summary:after{content:'−'}details.faq-item p{font-size:14px;color:#a4b2be;margin-bottom:0}footer{border-top:1px solid #2e3b45;padding:28px 0 42px;color:#8c9ca9;font-size:13px}footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}footer a{text-decoration:underline;text-underline-offset:3px}footer b{color:#e4e9ee}
@media(max-width:940px){.links{gap:15px}.hero-inner{grid-template-columns:1fr .65fr;min-height:495px}.hero h1{font-size:56px}.toolgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.wrap{width:min(100% - 32px,var(--max))}.navbar{min-height:68px}.links{display:none}.mobile-menu{display:block;position:relative}.mobile-menu summary{font-size:14px;font-weight:700;cursor:pointer;border:1px solid #46525d;border-radius:9px;padding:8px 13px;list-style:none}.mobile-menu nav{position:absolute;top:45px;right:0;width:218px;background:#202832;padding:15px;border:1px solid #47545f;border-radius:12px;box-shadow:0 18px 50px #0008;display:grid;gap:12px}.mobile-menu nav a{font-size:14px}.hero-inner{display:block;min-height:0;padding:68px 0 70px}.hero h1{font-size:clamp(43px,10vw,60px);letter-spacing:-2px}.hero p{font-size:17px}section{padding:65px 0}.section-head{display:block}.section-head p{margin-top:12px}.toolgrid{grid-template-columns:1fr 1fr;gap:10px}.tool{min-height:156px;padding:16px}.tool h3{font-size:16px}.tool p{font-size:13px}.feature-row{grid-template-columns:1fr;gap:17px}.download-card{grid-template-columns:1fr;padding:24px}.support-panel{padding:12px}.support-top{display:block;padding:10px}.support-panel iframe{height:900px}.donate-card{grid-template-columns:1fr}.faq{grid-template-columns:1fr}}
@media(max-width:430px){.brand{font-size:18px}.hero h1{font-size:43px}.toolgrid{grid-template-columns:1fr}.tool{min-height:130px}.actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 1916px);
  height: 100%;
  object-fit: contain;
  object-position: right center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d151e 0%, #0d151ef0 24%, #0e151cbc 45%, #0e151c26 70%, transparent);
  z-index: 1;
}
.hero-inner { z-index: 2; grid-template-columns: minmax(0, 653px); }
.tool { --tool-padding: 23px; padding: var(--tool-padding); }
.tool-art {
  display: block;
  width: calc(100% + 2 * var(--tool-padding));
  height: auto;
  margin: calc(-1 * var(--tool-padding)) calc(-1 * var(--tool-padding)) 17px;
}

.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.preview-card {
  margin: 0;
  min-width: 0;
  border: 1px solid #303c48;
  border-radius: 16px;
  background: linear-gradient(145deg, #1d2630, #151b22);
}
.preview-card a { display: block; border-radius: 15px 15px 0 0; }
.preview-card img { display: block; width: 100%; height: auto; border-radius: inherit; }
.preview-card figcaption { padding: 12px 16px; font-size: 14px; font-weight: 600; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 560px); }
  .hero::before { background: linear-gradient(90deg, #0d151e 0%, #0d151ee8 30%, #0e151cb8 58%, transparent); }
}
@media (max-width: 720px) {
  .hero { display: flex; flex-direction: column; }
  .hero-art { position: static; order: 1; width: 100%; height: auto; }
  .hero::before { display: none; }
  .hero-inner { padding-bottom: 32px; }
  .tool { --tool-padding: 16px; }
  .preview-grid { grid-template-columns: 1fr; }
}

/* DayZ Companion: site refinement, Nov 2026 */
.brand-mark{overflow:hidden;border-color:#42525c;background:#111820;padding:0;flex:0 0 40px}
.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}
.hero-donate{display:inline-flex;align-items:center;color:#f0a4a1;font-size:14px;font-weight:700;padding:12px 5px;text-underline-offset:5px}
.hero-donate:hover,.hero-donate:focus-visible{color:#fff;text-decoration:underline}
.links a[href="#donate"]{color:#f0a4a1}
.links a[href="#donate"]:hover{color:#fff}
/* Full-bleed image cards; expanded description lives on the image, not below it. */
.tool .tool-icon,.tool h3,.tool p.tool-short,.tool .tool-action{z-index:2}
.toolgrid{align-items:stretch;gap:16px}
.tool{display:block;position:relative;isolation:isolate;min-height:350px;height:350px;padding:0;overflow:hidden;border-radius:16px;border:1px solid #3d4a57;background:#12191f;box-shadow:0 14px 30px #0003}
.tool:after{display:none}
.tool .tool-art{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:cover;object-position:center;transition:transform .42s ease;z-index:0}
.tool::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(7,11,16,.07) 0%,rgba(7,11,16,.20) 36%,rgba(7,11,16,.88) 80%,rgba(7,11,16,.97) 100%);transition:background .28s,opacity .28s}
.tool .tool-toggle{position:absolute;inset:0;z-index:5;display:block;background:transparent;border:0;width:100%;height:100%;cursor:pointer;border-radius:16px}
.tool .tool-toggle:focus-visible{outline:2px solid #fa9a93;outline-offset:-5px}
.tool .tool-toggle:hover{background:transparent}
.tool .tool-icon{position:absolute;top:20px;left:22px;width:39px;height:39px;margin:0;backdrop-filter:blur(8px);background:#18212abf;border:1px solid #a04b50;color:#ff8b86;font-size:19px;transition:opacity .2s}
.tool h3{position:absolute;bottom:89px;left:22px;right:20px;font-size:21px;line-height:1.15;margin:0;color:#fff;text-shadow:0 2px 10px #000c;transition:top .2s}
.tool p.tool-short{position:absolute;bottom:31px;left:22px;right:22px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.42;font-weight:500;color:#e0e8ed;margin:0;text-shadow:0 1px 5px #000b}
.tool .tool-action{position:absolute;bottom:11px;right:21px;font-size:11px;color:#f8b7b3;font-weight:700;opacity:.9}
.tool .tool-extra{position:absolute;inset:80px 20px 18px 22px;z-index:4;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .23s,transform .23s,visibility .23s;overflow:auto;overscroll-behavior:contain;pointer-events:none;scrollbar-width:thin;scrollbar-color:#626b77 #10151b}
.tool .tool-extra p{color:#e2e9ee;font-size:14px;line-height:1.6;font-weight:500;margin:0;text-shadow:0 1px 6px #0009}
.tool.is-open::before{background:linear-gradient(160deg,#090d12e8,#0d1319f3)}
.tool.is-open .tool-art{transform:scale(1.045)}
.tool.is-open h3{top:25px;bottom:auto}
.tool.is-open .tool-short,.tool.is-open .tool-icon,.tool.is-open .tool-action{opacity:0;visibility:hidden}
.tool.is-open .tool-extra{opacity:1;visibility:visible;transform:none;pointer-events:auto;z-index:6}
@media(hover:hover) and (pointer:fine){
 .tool:hover::before{background:linear-gradient(155deg,#090d12e8,#0d1319f1)}
 .tool:hover .tool-art{transform:scale(1.045)}
 .tool:hover h3{top:25px;bottom:auto}
 .tool:hover .tool-short,.tool:hover .tool-icon,.tool:hover .tool-action{opacity:0;visibility:hidden}
 .tool:hover .tool-extra{opacity:1;visibility:visible;transform:none;pointer-events:auto;z-index:6}
}
/* Focus alone must not reveal a card on touch devices. The .is-open state controls it.
   Keyboard users still see the existing .tool-toggle:focus-visible outline. */
/* Support should be compact: link to the form, not a tall embedded iframe. */
.support-panel.support-compact{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:28px 30px;min-height:150px}
.support-symbol{display:grid;place-items:center;width:66px;height:66px;border:1px solid #725154;border-radius:18px;background:#35252b;color:#ff8b84;font-size:31px}
.support-description b{font-size:19px}
.support-description p{margin:8px 0 0;color:#b0bdc7;font-size:14px;max-width:690px}
.support-panel.support-compact .btn{white-space:nowrap}
.donate-card{position:relative;grid-template-columns:auto 1fr auto;gap:22px;padding:32px;border-color:#73464a;background:linear-gradient(117deg,#32242b,#1a2028 64%,#161d24);overflow:hidden}
.donate-card::after{content:"";position:absolute;z-index:0;right:-85px;top:-105px;width:280px;height:280px;border-radius:50%;border:1px solid #e46a7030;box-shadow:0 0 0 42px #e46a7010,0 0 0 88px #e46a7008;pointer-events:none}
.donate-card>*{position:relative;z-index:1}
.donate-symbol{display:grid;place-items:center;width:65px;height:65px;border-radius:19px;background:#582b33;border:1px solid #9b4e56;color:#ff9b97;font-size:30px}
.donate-card h3{font-size:24px;line-height:1.2}
.donate-card .donate-info p{max-width:670px;line-height:1.6;font-size:14px}
.donate-caption{font-size:12px;margin-top:13px;color:#e5aca7}
.donate-button{white-space:nowrap}
@media(max-width:940px){.tool{min-height:360px;height:360px}.support-panel.support-compact{grid-template-columns:auto 1fr}.support-panel.support-compact .btn{grid-column:2;justify-self:start}.donate-card{grid-template-columns:auto 1fr}.donate-button{grid-column:2;justify-self:start}}
@media(max-width:720px){.tool{height:340px;min-height:340px}.tool h3{font-size:19px;bottom:83px}.tool .tool-extra p{font-size:13px;line-height:1.52}.tool .tool-extra{inset:75px 15px 14px 17px}.tool h3{left:17px}.tool p.tool-short{left:17px;right:17px}.tool .tool-icon{left:17px}.support-panel.support-compact{padding:22px;gap:14px}.donate-card{padding:24px;gap:17px}.hero-donate{padding:12px 5px}}
@media(max-width:600px){.toolgrid{grid-template-columns:1fr}.tool{height:310px;min-height:310px}.tool .tool-extra p{font-size:14px;line-height:1.55}.support-panel.support-compact{display:flex;flex-direction:column;align-items:flex-start}.support-panel.support-compact .btn{width:100%}.donate-card{display:flex;flex-direction:column;align-items:flex-start}.donate-button{width:100%}.donate-symbol{width:55px;height:55px}.tool h3{bottom:76px}}
@media(prefers-reduced-motion:reduce){.tool *,.tool::before{transition:none!important}}


/* Prevent the harsh seam where the hero image starts on wide monitors.
   Fade the left edge of the original image instead of stretching/cropping it. */
@media (min-width: 721px) {
  .hero-art {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 29%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 29%);
  }
  .hero-inner { padding-block: 39px 43px; }
}

/* Final compact pass: preserve design, reduce excessive height */
section { padding-block: 57px; }
.section-head { margin-bottom: 23px; }
.hero-inner { min-height: 450px; padding-block: 47px 51px; }
.hero h1 { font-size: clamp(43px, 5vw, 64px); letter-spacing: -2.1px; line-height: 1.07; margin: 12px 0 16px; }
.hero p { font-size: 18px; line-height: 1.48; margin: 0 0 22px; }
.fine { margin-top: 16px; }
.tool { --tool-padding: 17px; min-height: 0; padding: var(--tool-padding); }
.tool-art { height: 146px; object-fit: cover; object-position: center center; margin-bottom: 12px; }
.tool-icon { width: 35px; height: 35px; font-size: 18px; margin-bottom: 9px; }
.tool h3 { font-size: 17px; }
.tool p { line-height: 1.4; }
.feature-row { gap: 21px; }
.feature-icon { margin-bottom: 5px; }
.preview-card figcaption { padding: 10px 14px; }
.download-card { padding: 26px; }
.donate-card { padding: 24px 27px; }
#donate .btn { white-space: nowrap; }
@media(max-width: 940px) {
    .hero h1 { font-size: clamp(42px, 5.7vw, 58px); }
    .hero-inner { min-height: 420px; }
}
@media(max-width:720px) {
    section { padding-block: 46px; }
    .hero-inner { padding: 47px 0 27px; }
    .hero h1 { font-size: clamp(38px, 9vw, 52px); line-height: 1.07; }
    .tool { --tool-padding: 15px; }
    .tool-art { height: 145px; }
    .support-panel { margin-top: 19px; }
    .support-panel iframe { height: 900px; }
    .download-card { padding: 21px; }
    .donate-card { padding: 22px; }
    #donate .btn { width: fit-content; }
}
@media(max-width:430px) {
    .hero h1 { font-size: 39px; }
    .toolgrid { grid-template-columns: 1fr; }
    .tool-art { height: 153px; }
    .tool-icon { display: none; }
    .tool h3 { margin-top: 3px; }
}
@media(max-width:370px) {
    .navbar { min-height: 62px; gap: 9px; }
    .brand { font-size: 16px; gap: 7px; letter-spacing: -.5px; }
    .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
    .mobile-menu summary { padding: 7px 9px; font-size: 12px; }
    .hero h1 { font-size: 37px; }
}

/* Hero: lightweight rotating copy. Grid reserves the height of the longest slide,
   so buttons remain fixed while only the copy fades. */
.hero-slides{display:grid;max-width:653px;isolation:isolate}
.hero-slide{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .26s ease,visibility .26s ease}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .35s ease .28s,visibility 0s}
.hero-slide h1{overflow-wrap:normal}
.hero-switcher{display:flex;align-items:center;gap:7px;margin:0 0 19px;min-height:18px}
.hero-dot{cursor:pointer;width:10px;height:8px;padding:0;border:0;border-radius:999px;background:#687480;transition:width .3s ease,background .3s ease}
.hero-dot.is-active{width:30px;background:#ef5961}
.hero-dot:hover{background:#ffa1a5}
.hero-dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (min-width:721px){.hero-inner{grid-template-columns:minmax(0,720px)}.hero-slides{max-width:720px}}
@media (max-width:430px){.hero-slide h1{font-size:clamp(32px,8.5vw,36px)!important;letter-spacing:-1.1px;line-height:1.1}.hero-slide p{font-size:16px!important;line-height:1.46}}
@media (max-width:720px){.hero-slides{max-width:100%}.hero-switcher{margin-bottom:18px}}
@media (prefers-reduced-motion:reduce){.hero-slide,.hero-dot{transition:none!important}}

/* Targeted refinement: clearer typography + original white emblem without a frame. */
body { font-family: "Segoe UI", Arial, sans-serif; }
.brand { font-weight: 700; letter-spacing: -.45px; gap: 11px; }
.brand-mark {
  width: 58px; height: 43px; flex: 0 0 58px; display: flex; align-items: center;
  justify-content: center; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; overflow: visible;
}
.brand-mark img { width: 57px; height: auto; max-height: 42px; object-fit: contain; }
.btn, .navcta { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-shadow: none; }
.btn { transition: background-color .17s ease, border-color .17s ease, box-shadow .17s ease; }
.btn:hover { transform: none; }
.primary:hover { box-shadow: 0 7px 20px #b92d3340; background: linear-gradient(140deg,#e44b50,#a92b33); }
.secondary:hover { background: #293542; border-color: #63717e; }
.links { font-size: 14px; font-weight: 600; }
.hero p { color: #d4dbe1; }
.hero-donate { font-weight: 600; }
.section-head p, .support-lead { color: #b6c1cb; }
.kicker { letter-spacing: 1.65px; font-weight: 700; }
.tool p.tool-short { font-size: 14px; line-height: 1.45; font-weight: 400; color: #f1f4f6; }
.tool .tool-extra p { font-size: 14px; line-height: 1.63; font-weight: 400; color: #f0f4f7; }
.tool .tool-action { font-size: 12px; font-weight: 600; }
.faq { gap: 14px; }
.faq-item { background:#151d25; }
details.faq-item { padding: 19px 22px; }
details.faq-item summary { font-size: 16px; line-height: 1.45; font-weight: 600; letter-spacing: 0; }
details.faq-item p { font-size: 15px; color: #c6d0d9; line-height: 1.66; margin: 12px 0 1px; }
@media(max-width:370px) {
  .brand-mark { width: 44px; height: 34px; flex-basis: 44px; }
  .brand-mark img { width: 44px; max-height: 34px; }
}
@media(prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Independent FAQ columns avoid a tall blank card next to an expanded answer. */
.faq { align-items: start; }
.faq-column { display:flex; flex-direction:column; gap:14px; min-width:0; }
@media(max-width:720px) {
 .faq { display:flex; flex-direction:column; gap:14px; }
 .faq-column { display:contents; }
 .faq-1{order:1}.faq-2{order:2}.faq-3{order:3}.faq-4{order:4}
}

/* Original app SVG icons: consistent optical size, centred across all nine tools. */
.tool .tool-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  top: 18px;
  left: 20px;
  border-radius: 12px;
  padding: 0;
  background: rgba(14, 20, 28, .82);
  border: 1px solid rgba(175, 90, 95, .68);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
  color: inherit;
  line-height: 1;
}
.tool .tool-icon img {
  display: block;
  width: 25px;
  height: 25px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  flex: none;
}
@media (max-width: 720px) {
  .tool .tool-icon { left: 16px; top: 16px; }
}
@media (max-width: 430px) {
  .tool .tool-icon { display: grid; }
}

/* Lightweight RU / EN selector: no external fonts, images or libraries. */
.navbar{gap:13px}
.lang-switch{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;border:1px solid #384652;background:#171f28;padding:3px;border-radius:10px;white-space:nowrap}
.lang-option{display:inline-grid;place-items:center;border:0;min-width:34px;min-height:32px;padding:6px 8px;border-radius:7px;background:transparent;color:#b5c0ca;font:700 12px/1 "Segoe UI",Arial,sans-serif;cursor:pointer;transition:background .18s,color .18s}
.lang-option:hover{color:#fff;background:#27323d}
.lang-option[aria-current="page"]{background:#a8323a;color:#fff;box-shadow:0 1px 5px #0005}
.lang-option:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:1050px){.navbar{gap:10px}.links{gap:13px}.navcta{padding:10px 12px}}
@media(max-width:930px){.links{display:none}.mobile-menu{display:block}.lang-switch{margin-left:auto}}
@media(max-width:720px){.navbar{gap:10px}.lang-option{min-width:32px;min-height:30px;padding:6px}}
@media(max-width:430px){.mobile-menu summary{font-size:0;min-width:44px;min-height:35px;padding:6px;display:flex;align-items:center;justify-content:center}.mobile-menu summary::after{content:"☰";font-size:18px;line-height:1}}
@media(max-width:370px){.navbar{gap:7px}.brand{font-size:15px}.brand-mark{flex-basis:41px;width:41px}.brand-mark img{width:41px}.lang-switch{padding:2px}.lang-option{min-width:29px;min-height:29px;padding:5px}.mobile-menu summary{padding:6px}}
@media(prefers-reduced-motion:reduce){.lang-option{transition:none}}

/* Mobile card interaction fix (16 Nov 2026): tapping should toggle immediately,
   and a long description must not trap vertical page scrolling. */
@media (max-width: 600px), (hover: none) and (pointer: coarse) {
  .tool .tool-toggle {
    z-index: 8;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
  }
  .tool.is-open {
    height: auto;
    min-height: 310px;
  }
  .tool.is-open .tool-extra {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    min-height: 310px;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding: 78px 18px 28px;
    margin: 0;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .tool.is-open .tool-toggle::after {
    content: "×";
    position: absolute;
    top: 18px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    color: #f5f6f8;
    background: rgba(22, 30, 39, .85);
    border: 1px solid rgba(222, 105, 109, .7);
    border-radius: 9px;
    pointer-events: none;
  }
}

/* Long animated slogans should not reserve a huge blank region under shorter copy.
   Keep the controls fixed; scale only the longer headlines on desktop. */
@media (min-width: 721px) {
  .hero-slide:nth-child(2) h1,
  .hero-slide:nth-child(3) h1 {
    font-size: clamp(40px, 3.35vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.4px;
  }
}

.cookie-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: min(35rem, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
}
.cookie-notice.is-floating {
  position: fixed;
  z-index: 20;
  inset-inline-start: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  margin: 0;
  box-shadow: 0 8px 28px #0008;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice > div { flex: 1 1 16rem; }
.cookie-notice p { margin: 2px 0 0; color: var(--muted); }
.cookie-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice button {
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #677482;
  border-radius: 8px;
  background: var(--surface2);
  color: inherit;
  cursor: pointer;
}
.cookie-notice button:hover { background: #27323d; }
