:root{
  --bg:#f5f5f7;
  --card:#ffffff;
  --text:#1d1d1f;
  --muted:#6e6e73;
  --line:#e5e5ea;
  --accent:#0a66c2;
  --dark:#111827;
  --max:980px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",Arial,sans-serif;
  line-height:1.8;
  color:var(--text);
  background:var(--bg);
}
a{color:var(--accent);text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
.site-header{
  background:var(--dark);
  color:#fff;
  padding:20px;
}
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:space-between;
}
.brand{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.04em;
}
nav{display:flex;flex-wrap:wrap;gap:14px}
nav a{color:#fff;text-decoration:none;font-size:14px;opacity:.9}
.hero{
  background:linear-gradient(180deg,#111827 0%,#1f2937 100%);
  color:#fff;
  padding:72px 20px;
}
.hero-inner{max-width:var(--max);margin:0 auto}
.hero h1{font-size:clamp(34px,7vw,64px);line-height:1.08;margin:0 0 18px}
.hero p{max-width:760px;font-size:18px;opacity:.9;margin:0}
main{max-width:var(--max);margin:34px auto;padding:0 20px}
section,.card{
  background:var(--card);
  border-radius:18px;
  padding:30px;
  margin:0 0 24px;
  box-shadow:0 5px 24px rgba(0,0,0,.055);
}
h1,h2,h3{line-height:1.35}
h2{margin-top:0;font-size:28px}
h3{margin-top:30px}
.lead{font-size:18px;color:#343437}
.muted{color:var(--muted)}
.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.app-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  background:#fff;
}
.app-card h3{margin:0 0 8px}
.button{
  display:inline-block;
  padding:10px 15px;
  border-radius:10px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.tag{background:#eef2f7;border-radius:999px;padding:4px 10px;font-size:13px}
.note{
  border-left:4px solid #8b8b90;
  padding:12px 16px;
  background:#f8f8fa;
  border-radius:8px;
}
.article-list{padding-left:1.2em}
.article-list li{margin:.45em 0}
footer{
  padding:42px 20px;
  color:var(--muted);
  text-align:center;
}
.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-bottom:10px}
.footer-links a{color:var(--muted)}
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:18px}
.breadcrumb a{color:var(--muted)}
hr{border:0;border-top:1px solid var(--line);margin:30px 0}
code{background:#f1f1f3;border-radius:5px;padding:2px 5px}
@media(max-width:720px){
  .header-inner{align-items:flex-start;flex-direction:column}
  .grid{grid-template-columns:1fr}
  .hero{padding:54px 20px}
  section,.card{padding:23px}
}

.ad-section{
  text-align:center;
}
.ad-label{
  margin-bottom:10px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.08em;
}
.zucks-ad{
  width:300px;
  max-width:100%;
  min-height:250px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* English copy uses the existing visual design with responsive text sizing. */
.header-inner{flex-wrap:wrap}
.language-switch{display:flex;align-items:center;gap:12px;font-size:14px}
.language-switch a{color:#fff}
.language-switch [aria-current]{font-weight:700}
.brand,.ad-label{letter-spacing:0}
.hero h1{font-size:52px}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.app-card,.grid>*{min-width:0}
h1{font-size:32px;overflow-wrap:break-word}
a,p,li{overflow-wrap:break-word}
.button{max-width:100%;white-space:normal}
a:focus-visible{outline:3px solid #298ae8;outline-offset:4px}
@media(max-width:720px){.hero h1{font-size:38px}h1{font-size:28px}h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
