
:root {
  --ink: #091113;
  --paper: #fffaf2;
  --cream: #f6f0df;
  --muted: #485563;
  --soft: rgba(255,255,255,.88);
  --line: rgba(9,17,19,.13);
  --glass: rgba(255,255,255,.22);
  --glass-strong: rgba(255,255,255,.42);
  --shadow: 0 30px 90px rgba(32, 24, 65, .20);
  --radius: 28px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 14% 9%, rgba(255,255,255,.30), transparent 28rem),
    radial-gradient(circle at 80% 12%, rgba(255,255,255,.18), transparent 32rem),
    radial-gradient(circle at 72% 84%, rgba(255, 138, 108, .22), transparent 36rem),
    linear-gradient(135deg, #b54f94 0%, #8a79b4 48%, #74c9e6 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.05), rgba(255,255,255,.20));
  z-index: -1;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.1rem; }
.nav-actions { display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-start; gap:.65rem; }
.lang-switch { display:flex; align-items:center; justify-content:flex-end; gap:.35rem; padding:.34rem; border-radius:999px; border:1px solid rgba(255,255,255,.44); background:rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lang-switch button { border:0; background:transparent; color:rgba(255,255,255,.84); min-width:3rem; height:2.05rem; border-radius:999px; font:inherit; font-size:.78rem; font-weight:950; letter-spacing:.04em; cursor:pointer; }
.lang-switch button.active { background:rgba(255,255,255,.94); color:var(--ink); box-shadow:0 8px 18px rgba(0,0,0,.10); }
.brand { display: inline-flex; align-items: center; gap: .78rem; color:#fff; text-decoration:none; font-weight:950; letter-spacing:-.04em; white-space:nowrap; text-shadow:0 2px 22px rgba(0,0,0,.16); }
.nav-logo-img { width:48px; height:48px; border-radius:15px; object-fit:cover; box-shadow:0 12px 30px rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.42); background:rgba(255,255,255,.22); }
.brand span { font-size: clamp(1.05rem, 2vw, 1.35rem); }
.nav-links { display:flex; align-items:center; justify-content:flex-end; gap:.65rem; flex-wrap:wrap; }
.nav-links a, .nav-pill {
  display:inline-flex; justify-content:center; align-items:center;
  min-height:3.1rem; padding:0 1.2rem; border-radius:999px;
  color:#fff; text-decoration:none; font-size:.94rem; font-weight:950; letter-spacing:.01em; white-space:nowrap;
  border:1px solid rgba(255,255,255,.44); background:rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-links a:hover { background: rgba(255,255,255,.30); transform: translateY(-1px); }
.hero, .page-hero { text-align:center; padding: clamp(3.4rem, 8vw, 6.8rem) 0 2rem; }
.eyebrow { display:inline-flex; margin:0 auto 1.35rem; padding:.62rem 1rem; border-radius:999px; background:rgba(255,255,255,.20); border:1px solid rgba(255,255,255,.46); color:#fff; font-size:.92rem; font-weight:950; backdrop-filter:blur(12px); }
h1 { max-width:1040px; margin:0 auto 1.3rem; font-size:clamp(3.0rem, 7.2vw, 6.4rem); line-height:.92; letter-spacing:-.075em; color:#fff; text-shadow:0 16px 55px rgba(33,25,57,.18); }
.hero p, .page-hero p { max-width:790px; margin:0 auto 1.2rem; color:rgba(255,255,255,.92); font-size:clamp(1.05rem, 2vw, 1.36rem); font-weight:760; text-shadow:0 2px 20px rgba(0,0,0,.14); }
.breadcrumb { display:inline-flex; gap:.35rem; flex-wrap:wrap; color:#fff; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.26); border-radius:999px; padding:.5rem .9rem; font-weight:800; }
.cta-row { display:flex; justify-content:center; gap:.85rem; flex-wrap:wrap; }
.btn { border:0; display:inline-flex; align-items:center; justify-content:center; min-height:3.25rem; padding:0 1.45rem; border-radius:999px; background:var(--ink); color:#fff; box-shadow:0 18px 34px rgba(9,17,19,.22); text-decoration:none; font-weight:950; cursor:pointer; font:inherit; }
.btn.secondary { background:rgba(255,255,255,.94); color:var(--ink); }
.tool-shell { width:min(980px,100%); margin:0 auto 2.4rem; padding:clamp(1.25rem,3.5vw,2.6rem); border-radius:34px; background:rgba(255,255,255,.90); border:1px solid rgba(255,255,255,.55); box-shadow:var(--shadow); backdrop-filter:blur(16px); }
.tabs { display:flex; justify-content:center; gap:.65rem; flex-wrap:wrap; margin-bottom:1.3rem; }
.pill { display:inline-flex; padding:.72rem 1rem; border-radius:999px; background:rgba(255,255,255,.86); border:1px solid var(--line); color:var(--ink); font-weight:950; }
.pill.active { background:var(--ink); color:#fff; }
.tool-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:1.3rem; align-items:stretch; }
.tool-panel { border:1px solid var(--line); background:#fff; border-radius:24px; padding:1.25rem; }
label { display:block; margin:0 0 .45rem; color:var(--muted); font-size:.9rem; font-weight:900; }
input, select, textarea { width:100%; border:1px solid var(--line); border-radius:16px; padding:.95rem 1rem; margin:0 0 .9rem; font:inherit; color:var(--ink); background:#fff; }
textarea { min-height:150px; resize:vertical; }
.output { min-height:314px; padding:1.15rem; border:1px solid var(--line); border-radius:20px; background:#f8fbff; color:#14202a; font-weight:650; white-space:pre-wrap; }
.copy-row { display:flex; gap:.75rem; margin-top:.95rem; flex-wrap:wrap; }
.features, .content-grid { width:min(980px,100%); margin-left:auto; margin-right:auto; }
.features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.2rem; margin-bottom:2rem; }
.feature, .content-card, .card { border-radius:26px; padding:1.4rem; background:rgba(255,255,255,.88); border:1px solid rgba(255,255,255,.55); box-shadow:0 18px 55px rgba(32,24,65,.12); backdrop-filter:blur(14px); }
.feature h3, .content-card h2, .content-card h3, .card h2, .card h3 { margin:0 0 .65rem; line-height:1.05; letter-spacing:-.045em; }
.feature p, .content-card p, .card p { margin:0; color:var(--muted); font-weight:620; }
.content-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:1rem; align-items:start; margin-top:1.2rem; margin-bottom:1.2rem; }
.link-list { display:grid; gap:.75rem; margin-top:1rem; }
.link-list a { text-decoration:none; padding:.86rem 1rem; border-radius:16px; background:rgba(255,255,255,.78); border:1px solid var(--line); font-weight:900; }
.article { width:min(980px,100%); margin:0 auto 1.2rem; font-size:1.05rem; }
.article h2 { font-size:clamp(1.7rem,3vw,2.4rem); margin-top:1.8rem; }
.article p, .article li { color:#24313a; font-weight:570; }
.article ol, .article ul { color:#24313a; }
.prompt-box { margin:1rem 0; padding:1rem 1.1rem; border-radius:18px; background:#fff; border:1px solid var(--line); font-weight:800; color:#14202a; box-shadow:0 10px 30px rgba(32,24,65,.08); }
.faq { width:min(980px,100%); margin:1.2rem auto 0; }
.faq details { border-top:1px solid var(--line); padding:1rem 0; }
.faq details:first-of-type { border-top:0; }
.faq summary { cursor:pointer; font-weight:950; }
.site-footer { position:relative; overflow:hidden; margin-top:4rem; padding:5.8rem 1.5rem 3rem; color:#fff7ec; background:radial-gradient(circle at 14% 18%, rgba(255,255,255,.16), transparent 28rem), radial-gradient(circle at 82% 10%, rgba(255,255,255,.12), transparent 24rem), linear-gradient(135deg, rgba(29,35,45,.98), rgba(65,55,90,.98) 52%, rgba(26,70,86,.98)); }
.site-footer::before { content:""; position:absolute; inset:auto -10% -42% -10%; height:70%; background:radial-gradient(circle at 50% 0%, rgba(255,255,255,.22), transparent 64%); pointer-events:none; }
.footer-inner { position:relative; max-width:1120px; margin:0 auto; }
.footer-hero { display:grid; grid-template-columns:160px 1fr; gap:2rem; align-items:center; margin-bottom:2.2rem; }
.footer-logo-large { width:160px; height:160px; border-radius:36px; object-fit:cover; box-shadow:0 32px 95px rgba(0,0,0,.34); border:1px solid rgba(255,255,255,.30); }
.footer-kicker { display:inline-flex; margin-bottom:.9rem; padding:.42rem .85rem; border-radius:999px; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.21); font-size:.78rem; font-weight:800; letter-spacing:.02em; }
.site-footer h2 { max-width:820px; font-size:clamp(2.1rem,5vw,4.6rem); line-height:.9; letter-spacing:-.075em; margin:0 0 1rem; color:#fff; }
.site-footer p { max-width:760px; color:rgba(255,247,236,.80); font-size:1rem; line-height:1.75; margin:0 0 .75rem; }
.site-footer a { color:inherit; }
.footer-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:2rem; }
.footer-panel { padding:1.25rem; border-radius:22px; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.15); backdrop-filter:blur(14px); }
.footer-panel h3 { margin:0 0 .85rem; color:#fff; font-size:.95rem; }
.footer-panel a, .footer-links a { display:block; color:rgba(255,247,236,.84); text-decoration:none; font-size:.88rem; line-height:1.45; padding:.35rem 0; }
.footer-bottom { position:relative; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-top:2rem; padding-top:1.4rem; border-top:1px solid rgba(255,255,255,.16); color:rgba(255,247,236,.70); font-size:.82rem; }
.footer-bottom a { color:rgba(255,247,236,.82); text-decoration:underline; text-underline-offset:3px; display:inline; }
.toast { position:fixed; left:50%; bottom:1.25rem; transform:translateX(-50%); z-index:40; display:none; border-radius:999px; padding:.85rem 1.05rem; color:#fff; background:var(--ink); box-shadow:var(--shadow); font-weight:950; }
@media (max-width:980px){ .nav{align-items:flex-start; flex-direction:column;} .nav-actions{align-items:flex-start; width:100%;} .nav-links{justify-content:flex-start;} .lang-switch{align-self:flex-start;} .tool-grid,.content-grid{grid-template-columns:1fr;} }
@media (max-width:900px){ .footer-hero{grid-template-columns:1fr;} .footer-logo-large{width:136px;height:136px;border-radius:32px;} .footer-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:700px){ .features{grid-template-columns:1fr;} .hero,.page-hero{text-align:left;} .hero p,.hero h1,.page-hero p,.page-hero h1{margin-left:0;} .cta-row{justify-content:flex-start;} }
@media (max-width:560px){ .site-footer{padding:4rem 1rem 2.4rem;} .footer-grid{grid-template-columns:1fr;} .nav-links{width:100%;} .nav-links a{flex:1 1 auto;} .lang-switch{width:100%; justify-content:space-between;} .lang-switch button{flex:1;} }
