*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Roboto",Arial,sans-serif;background:#f7f8fb;color:#151821}
a{text-decoration:none;color:inherit}
.wrap{width:min(1160px,calc(100% - 32px));margin:0 auto}
.site-header{position:relative;background:#333545;border-bottom:1px solid #cbd0d9;color:#111827}
.header-row{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;color:#111827}
.brand-mark{width:44px;height:44px;display:grid;place-items:center;background:#5865f2;color:#ffffff}
.brand-mark svg{width:26px;height:26px;display:block}
.brand-title{margin:0;font-size:28px;line-height:1;letter-spacing:-.04em;font-weight:900;color:#d5d5d5}
.nav-links{display:flex;align-items:center;gap:26px;color:#d5d5d5;font-size:17px;font-weight:500}
.nav-links a:hover{color:#d5d5d5;text-decoration:underline;}
.hero{padding:70px 0 36px;background:#ffffff;border-bottom:1px solid #e6e9f0}
.hero-copy{max-width:880px}
.hero-title{margin:0 0 18px;font-size:clamp(42px,7vw,84px);line-height:.94;letter-spacing:-.08em;color:#333545;max-width:940px;font-weight:900}
.hero-copy p{margin:0;color:#5b6474;font-size:19px;line-height:1.76;max-width:760px}
.generator-panel{padding:34px 0 26px;background:#f7f8fb}
.composer{background:#ffffff;border:1px solid #dfe4ee;padding:26px;box-shadow:0 16px 45px rgba(17,24,39,.06)}
.composer-top{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.composer-title h2{margin:0 0 6px;font-size:28px;letter-spacing:-.055em;color:#333545}
.composer-title p{margin:0;color:#667085;line-height:1.6}
.counter{font-size:15px;color:#333545;font-weight:900;white-space:nowrap}
textarea{display:block;width:100%;min-height:150px;resize:vertical;background:#fbfcff;border:2px solid #e4e8f0;color:#111827;font-size:24px;line-height:1.5;padding:20px 22px;outline:none;font-family:inherit}
textarea:focus{border-color:#5865f2;box-shadow:0 0 0 5px rgba(88,101,242,.10)}
textarea::placeholder{color:#98a2b3}
.filter-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.filter{border:1px solid #d8deea;background:#ffffff;color:#4b5563;padding:12px 15px;font-weight:950;cursor:pointer;font-family:inherit}
.filter:hover{border-color:#5865f2;color:#5865f2;background:#f7f8ff}
.filter.active{background:#fe6000;border-color:#fe6000;color:#ffffff}
.results{padding:20px 0 68px;background:#f7f8fb}
.results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.results-head h2{margin:0;font-size:38px;line-height:1.05;letter-spacing:-.06em;color:#333545}
.results-head p{margin:0;color:#667085;line-height:1.65;max-width:520px}
.category-block{margin-bottom:30px}
.category-title{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#333545;font-size:18px;letter-spacing:-.03em}
.category-title span{display:block;width:12px;height:12px;background:#fe6000}
.font-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.font-card{background:#ffffff;border:1px solid #dfe4ee;padding:17px;box-shadow:0 10px 28px rgba(17,24,39,.04)}
.font-card:hover{border-color:#bfc6ff;box-shadow:0 18px 44px rgba(17,24,39,.08)}
.font-name{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.09em;color:#667085;margin-bottom:12px}
.output{min-height:74px;display:flex;align-items:center;word-break:break-word;font-size:23px;line-height:1.42;color:#111827}
.copy-row{margin-top:14px;display:block}
.copy{width:100%;border:0;background:#333545;color:#ffffff;padding:14px 16px;font-size:17px;font-weight:950;cursor:pointer;font-family:inherit;letter-spacing:.02em}
.copy:hover{background:#fe6000}
.copy.done{background:#12b76a}
.empty{background:#ffffff;border:1px dashed #cbd5e1;color:#667085;padding:24px;text-align:center;font-weight:850}
.info-section{padding:70px 0;background:#ffffff;border-top:1px solid #e6e9f0}
.info-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:32px;align-items:start}
.info-side h2{margin:0 0 14px;font-size:42px;line-height:1.03;letter-spacing:-.06em;color:#111827}
.info-side p{margin:0;color:#667085;line-height:1.75}
.info-card{border:1px solid #dfe4ee;background:#ffffff;padding:30px;box-shadow:0 16px 45px rgba(17,24,39,.055)}
.info-card h3{font-size:24px;letter-spacing:-.04em;color:#111827;margin:0 0 10px}
.info-card h3:not(:first-child){margin-top:28px}
.info-card p{color:#5b6474;line-height:1.85;margin:0 0 16px}
.faq-section{padding:70px 0;background:#f7f8fb;border-top:1px solid #e6e9f0}
.section-heading{max-width:760px;margin:0 0 28px}
.section-heading h2{margin:0 0 12px;font-size:42px;line-height:1.04;letter-spacing:-.06em;color:#333545}
.section-heading p{margin:0;color:#667085;line-height:1.7}
.faq-list{display:grid;gap:12px}
details{background:#ffffff;border:1px solid #dfe4ee;padding:19px 20px;box-shadow:0 9px 24px rgba(17,24,39,.04)}
summary{cursor:pointer;font-weight:950;color:#111827}
details p{color:#5b6474;line-height:1.75;margin:13px 0 0}
.usage-section{padding:70px 0;background:#ffffff;border-top:1px solid #e6e9f0}
.usage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.usage-card{border:1px solid #dfe4ee;background:#ffffff;padding:22px;box-shadow:0 10px 28px rgba(17,24,39,.04)}
.usage-card strong{display:block;color:#5865f2;font-size:13px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px}
.usage-card h3{margin:0 0 10px;font-size:21px;letter-spacing:-.035em;color:#111827}
.usage-card p{margin:0;color:#5b6474;line-height:1.7}
.site-footer{padding:36px 0;background:#e5e7eb;border-top:1px solid #cbd0d9;color:#4b5563;text-align:center;font-weight:800}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,12px);opacity:0;background:#111827;color:#ffffff;padding:13px 18px;font-weight:950;box-shadow:0 16px 45px rgba(17,24,39,.18);transition:.2s;z-index:100}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.nav-links{display:none}.font-grid{grid-template-columns:repeat(2,1fr)}.info-grid{grid-template-columns:1fr}.usage-grid{grid-template-columns:repeat(2,1fr)}.results-head{display:block}.results-head p{margin-top:8px}}
@media(max-width:620px){.wrap{width:min(100% - 22px,1160px)}.header-row{height:68px}.brand-title{font-size:22px}.brand-mark{width:38px;height:38px}.hero{padding:46px 0 28px}.hero-title{font-size:44px}.hero-copy p{font-size:17px}.composer{padding:18px}.composer-top{display:block}.counter{display:block;margin-top:10px}textarea{font-size:19px;padding:16px;min-height:130px}.font-grid,.usage-grid{grid-template-columns:1fr}.results-head h2,.info-side h2,.section-heading h2{font-size:32px}.output{font-size:20px}}
.menu-toggle{display:none;border:1px solid #cbd0d9;background:#ffffff;color:#111827;width:46px;height:42px;padding:9px;cursor:pointer;font-family:inherit}
.menu-toggle span{display:block;height:3px;background:#111827;margin:5px 0;width:100%}
.menu-toggle:hover{border-color:#5865f2;background:#f7f8ff}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:18px}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 22px;font-size:15px;color:#374151;font-weight:900}
.footer-links a:hover{color:#5865f2}
.back-to-top{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border:0;background:#333545;color:#ffffff;font-size:24px;font-weight:900;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s ease,visibility .2s ease,transform .2s ease,background .2s ease;z-index:110;font-family:inherit}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{background:#333545}
.breadcrumb-section{background:#ffffff;border-bottom:1px solid #e6e9f0;padding:18px 0;color:#667085;font-size:15px;font-weight:800}
.breadcrumb-section a{color:#5865f2;font-weight:950}
.page-hero{padding:58px 0 34px;background:#ffffff;border-bottom:1px solid #e6e9f0}
.page-hero h2{margin:0 0 14px;font-size:clamp(38px,6vw,68px);line-height:.98;letter-spacing:-.07em;color:#111827;font-weight:900}
.page-hero p{margin:0;color:#5b6474;font-size:18px;line-height:1.75;max-width:820px}
.legal-section{padding:54px 0 76px;background:#f7f8fb}
.legal-card{background:#ffffff;border:1px solid #dfe4ee;padding:34px;box-shadow:0 16px 45px rgba(17,24,39,.055)}
.legal-card h3{margin:28px 0 10px;font-size:25px;line-height:1.18;letter-spacing:-.04em;color:#111827}
.legal-card h3:first-child{margin-top:0}
.legal-card p{margin:0 0 16px;color:#5b6474;line-height:1.86;font-size:16px}
.legal-card ul{margin:0 0 20px 20px;color:#5b6474;line-height:1.85;padding:0}
.legal-card li{margin-bottom:8px}
.contact-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}
.contact-item{border:1px solid #dfe4ee;background:#fbfcff;padding:20px}
.contact-item strong{display:block;color:#111827;margin-bottom:7px;font-size:16px}
.contact-item span{color:#5b6474;line-height:1.6}
@media(max-width:980px){.header-row{position:relative}.menu-toggle{display:block;margin-left:auto}.nav-links{display:none;position:absolute;left:0;right:0;top:100%;background:#e5e7eb;border-top:1px solid #cbd0d9;border-bottom:1px solid #cbd0d9;padding:12px 16px;z-index:50;box-shadow:0 18px 34px rgba(17,24,39,.10)}.nav-links.open{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav-links a{display:block;padding:15px 4px;border-bottom:1px solid #cbd0d9;font-size:18px}.nav-links a:last-child{border-bottom:0}.contact-list{grid-template-columns:1fr}.footer-links{gap:12px 16px}.back-to-top{right:16px;bottom:16px}}
@media(max-width:620px){.page-hero{padding:42px 0 26px}.page-hero h2{font-size:38px}.legal-card{padding:22px}.breadcrumb-section{font-size:14px}.footer-inner{align-items:flex-start;text-align:left}.footer-links{justify-content:flex-start;flex-direction:column;align-items:flex-start;gap:11px}}


/* Professional mobile menu: expands header instead of covering page content */
@media(max-width:980px){
  .site-header{z-index:30}
  .header-row{height:auto;min-height:76px;display:flex;flex-wrap:wrap;align-items:center;padding:14px 0;position:relative}
  .brand{flex:1 1 auto;min-width:0}
  .menu-toggle{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:48px;height:44px;margin-left:auto;background:#ffffff;border:1px solid #cbd0d9;padding:0;transition:background .18s ease,border-color .18s ease}
  .menu-toggle span{display:block;width:24px;height:3px;margin:0;background:#111827;transition:transform .18s ease,opacity .18s ease}
  .menu-toggle.is-open{border-color:#fe6000;background:#fff7ed}
  .menu-toggle.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .menu-toggle.is-open span:nth-child(2){opacity:0}
  .menu-toggle.is-open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .nav-links{position:static!important;left:auto!important;right:auto!important;top:auto!important;display:none;width:100%;flex-basis:100%;order:5;margin-top:14px;background:#ffffff;border:1px solid #cbd0d9;padding:0;box-shadow:0 14px 30px rgba(17,24,39,.10);color:#111827;z-index:auto}
  .nav-links.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;align-items:stretch}
  .nav-links a{display:flex!important;align-items:center;justify-content:flex-start;min-height:52px;padding:15px 18px!important;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;color:#111827!important;font-size:17px;font-weight:900;line-height:1.2;background:#ffffff;text-decoration:none!important}
  .nav-links a:hover{background:#f7f8fb;color:#fe6000!important;text-decoration:none!important}
  .nav-links a:nth-child(2n){border-right:0}
  .nav-links a:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:620px){
  .header-row{min-height:68px;padding:12px 0}
  .nav-links.open{grid-template-columns:1fr}
  .nav-links a{border-right:0!important;border-bottom:1px solid #e5e7eb!important;font-size:16px;min-height:50px}
  .nav-links a:last-child{border-bottom:0!important}
}

/* PWA install button */
.install-app-btn{display:inline-flex;align-items:center;gap:7px;color:#d5d5d5;font-size:17px;font-weight:500;font-family:inherit;line-height:1;background:transparent;border:0;padding:0;cursor:pointer;text-decoration:none}
.install-app-btn:hover{color:#d5d5d5;text-decoration:underline}
.install-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 auto}
.install-icon svg{width:18px;height:18px;display:block}
.install-app-btn.is-installed{opacity:.72;cursor:default}
@media(max-width:980px){
  .nav-links .install-app-btn{display:flex!important;align-items:center;justify-content:flex-start;gap:9px;min-height:52px;padding:15px 18px!important;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;color:#111827!important;font-size:17px;font-weight:900;line-height:1.2;background:#ffffff;text-decoration:none!important}
  .nav-links .install-app-btn:hover{background:#f7f8fb;color:#fe6000!important;text-decoration:none!important}
  .nav-links.open > :nth-child(2n){border-right:0!important}
  .nav-links.open > :nth-last-child(-n+2){border-bottom:0!important}
}
@media(max-width:620px){
  .nav-links .install-app-btn{border-right:0!important;border-bottom:1px solid #e5e7eb!important;font-size:16px;min-height:50px}
  .nav-links.open > :last-child{border-bottom:0!important}
}
/* End PWA install button */
