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

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

header h1{
  font-size:2.35rem;
  margin:0 0 6px 0;
}

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

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

h2{
  margin-top:28px;
  font-size:1.65rem;
  border-bottom:2px solid #e5e7eb;
  padding-bottom:4px;
}

ul{
  padding-left:20px;
  margin-top:8px;
}

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

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

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

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

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

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

a:hover{
  text-decoration:underline;
}

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

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

/* 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:16px;
}

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

.share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  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);
}

.share-btn svg{
  width:26px;
  height:26px;
  pointer-events:none;
}

#share-hint{
  flex-basis:100%;
  margin-top:0.5rem;
  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;
}

/* forms */

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

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;
}
