body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  margin:0;
  background:#fafafa;
  color:#222;
  line-height:1.65;
  margin-top:42px;
}

header{
  background:#1f2937;
  color:white;
  padding:60px 20px;
}

header h1{
  font-size:2.4rem;
  margin-bottom:10px;
}

header .hook{
  font-size:1.15rem;
  margin-top:14px;
  opacity:0.95;
}

.container{
  max-width:1000px;
  margin:auto;
  padding:40px 20px;
}

h2{
  margin-top:40px;
  font-size:1.6rem;
  border-bottom:2px solid #e5e7eb;
  padding-bottom:6px;
}

ul{
  padding-left:20px;
}

.workflow{
  background:#f3f4f6;
  padding:18px;
  border-radius:6px;
  font-family:monospace;
  margin:20px 0;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.card{
  background:white;
  padding:20px;
  border-radius:6px;
  border:1px solid #e5e7eb;
}

.highlight{
  background:#f3f4f6;
  padding:20px;
  border-radius:6px;
  border:1px solid #e5e7eb;
  margin-top:20px;
}

footer{
  background:#1f2937;
  color:white;
  padding:40px 20px;
  margin-top:60px;
}

a{
  color:#2563eb;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.cta{
  font-weight:600;
  margin-top:20px;
}

.note{
  font-size:0.95rem;
  color:#555;
  margin-top:10px;
}

/* language bar */

.lang-bar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:42px;
  background:#111;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  z-index:9999;
  font-family:system-ui,sans-serif;
}

.lang-bar a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  padding:6px 10px;
  border-radius:4px;
}

.lang-bar a:hover{
  background:#444;
}

/* share buttons */

.share-bar{
  margin-top:20px;
}

.share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:50px;      /* larger button */
  height:50px;     /* larger button */
  border-radius:8px;
  border:1px solid #e5e7eb;
  background:#fff;
  cursor:pointer;
  transition: background 0.2s, transform 0.2s;
}

.share-btn:hover{
  background:#f3f4f6;
  transform: scale(1.05); /* subtle hover pop */
}

.share-btn svg{
  width:28px;      /* scaled up icon */
  height:28px;     /* scaled up icon */
  pointer-events:none;
}

#share-hint{
flex-basis:100%;
margin-top:0.6rem;
font-style:italic;
}
/* UI font normalization */

header .logo,
nav a,
.share-btn,
.copy-btn,
#lang-bar a,
.rss-link{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Noto Sans',sans-serif;
}

form { 
  max-width: 500px; 
  margin: 2rem auto; 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
}

input, textarea { 
  padding: 0.6rem; 
  font-size: 1rem; 
  width: 100%; 
}

button { 
  padding: 0.7rem; 
  font-size: 1rem; 
  cursor: pointer; 
}

button:disabled { 
  opacity: 0.6; 
  cursor: not-allowed; 
}

#result { 
  max-width: 600px; 
  margin: 1rem auto; 
  font-family: monospace; 
  white-space: pre-wrap; 
  min-height: 2rem; 
  font-size: 1.1rem; 
}

.success { 
  color: #1a7f37; 
}

.error { 
  color: #c62828; 
}

.sr-only{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}
