:root{
  --bg:#f7f4ef;
  --surface:#ffffff;
  --surface-2:#eee8de;
  --ink:#22272b;
  --muted:#667078;
  --teal:#0b6b70;
  --teal-dark:#084f53;
  --gold:#b77b32;
  --walnut:#5e3b28;
  --line:#ded8cf;
  --shadow:0 14px 40px rgba(35,31,26,.08);
  --radius:18px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(calc(100% - 36px),var(--max));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,244,239,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(94,59,40,.10)}
.navbar{height:72px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:800;letter-spacing:-.03em;font-size:1.28rem;white-space:nowrap}
.brand-mark{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--teal) 0 48%,var(--gold) 48% 63%,var(--walnut) 63%);display:grid;place-items:center;color:#fff;font-size:.83rem;letter-spacing:-.08em;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
.brand .dotcom{font-weight:650;color:var(--muted)}
.nav-links{display:flex;align-items:center;gap:22px;margin-left:auto}
.nav-links a{text-decoration:none;font-weight:650;font-size:.94rem;color:#465057}
.nav-links a:hover{color:var(--teal)}
.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;text-decoration:none;font-weight:750;transition:.18s ease;border:0;cursor:pointer}
.nav-cta{padding:10px 15px;background:var(--ink);color:#fff!important}
.nav-cta:hover{background:var(--teal)!important}
.mobile-toggle{display:none;margin-left:auto;border:0;background:transparent;font-size:1.55rem;color:var(--ink);cursor:pointer}
.hero{padding:88px 0 68px;position:relative;overflow:hidden}
.hero:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-160px;top:-230px;background:radial-gradient(circle,rgba(11,107,112,.14),rgba(11,107,112,0) 68%);pointer-events:none}
.eyebrow{display:inline-flex;padding:7px 11px;border:1px solid #d6cec2;border-radius:999px;background:#fff;font-weight:750;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--walnut)}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:center}
h1{font-size:clamp(3rem,7vw,5.8rem);line-height:.94;letter-spacing:-.065em;margin:22px 0 24px;max-width:830px}
.hero h1 span{color:var(--teal)}
.hero-copy{font-size:1.16rem;max-width:680px;color:#59636a;margin:0 0 30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.button{padding:13px 18px;background:var(--teal);color:#fff;box-shadow:none}
.button:hover{background:var(--teal-dark);transform:translateY(-1px)}
.button.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}
.button.secondary:hover{background:#f0ece5}
.hero-art{aspect-ratio:1/1;border-radius:34px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:34px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);gap:7px;transform:rotate(2deg)}
.tile{border-radius:10px;background:var(--surface-2);position:relative;overflow:hidden}
.tile:nth-child(1),.tile:nth-child(6),.tile:nth-child(11){background:var(--teal)}
.tile:nth-child(2),.tile:nth-child(9),.tile:nth-child(16){background:#d6a25d}
.tile:nth-child(3),.tile:nth-child(8),.tile:nth-child(14){background:var(--walnut)}
.tile:nth-child(4),.tile:nth-child(5),.tile:nth-child(12){background:#343a3e}
.tile:nth-child(7),.tile:nth-child(10),.tile:nth-child(13),.tile:nth-child(15){background:#c8b596}
.tile:after{content:"";position:absolute;inset:-30%;border:1px solid rgba(255,255,255,.28);transform:rotate(35deg)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f1ece4}
.stat{padding:24px;text-align:center;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}.stat strong{display:block;font-size:1.55rem}.stat span{font-size:.9rem;color:var(--muted)}
.section{padding:78px 0}.section.alt{background:#fff}
.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:28px}
.section-head h2{font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.045em;line-height:1;margin:0}
.section-head p{max-width:530px;margin:0;color:var(--muted)}
.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tool-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 4px 18px rgba(35,31,26,.035);display:flex;flex-direction:column;min-height:260px;transition:.18s ease}
.tool-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cfc6ba}
.tool-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-weight:900;font-size:1.1rem;background:#e6f1f1;color:var(--teal);margin-bottom:22px}
.tool-card:nth-child(3n+2) .tool-icon{background:#f4e8d6;color:#915f20}
.tool-card:nth-child(3n) .tool-icon{background:#ece7e1;color:var(--walnut)}
.tool-card h3{font-size:1.23rem;margin:0 0 8px;letter-spacing:-.02em}.tool-card p{color:var(--muted);margin:0 0 22px;flex:1}.tool-link{font-weight:800;color:var(--teal);text-decoration:none}.tool-link:hover{text-decoration:underline}
.workflow{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:step}
.step{background:var(--bg);border-radius:var(--radius);padding:23px;border:1px solid var(--line);counter-increment:step}.step:before{content:"0" counter(step);display:block;font-weight:900;color:var(--gold);margin-bottom:30px}.step h3{margin:0 0 7px}.step p{margin:0;color:var(--muted);font-size:.94rem}
.callout{display:grid;grid-template-columns:1fr auto;gap:35px;align-items:center;background:var(--ink);color:#fff;padding:38px;border-radius:26px}.callout h2{margin:0 0 8px;font-size:2rem;letter-spacing:-.035em}.callout p{margin:0;color:#cad0d3;max-width:720px}.callout .button{background:#fff;color:var(--ink)}
.site-footer{padding:42px 0;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}.footer-links{display:flex;gap:18px}.footer-links a{text-decoration:none}.footer-links a:hover{color:var(--teal)}
.page-hero{padding:58px 0 28px}.page-hero h1{font-size:clamp(2.4rem,5vw,4.4rem);margin:14px 0}.page-hero p{max-width:720px;color:var(--muted);font-size:1.08rem}
.tool-shell{height:calc(100vh - 72px);min-height:650px;display:flex;flex-direction:column}.toolbar{display:flex;align-items:center;gap:12px;padding:10px 18px;background:#fff;border-bottom:1px solid var(--line)}.toolbar .back{text-decoration:none;font-weight:750;color:var(--teal)}.toolbar-title{font-weight:800;margin-left:4px}.toolbar-note{margin-left:auto;color:var(--muted);font-size:.82rem}.tool-frame{width:100%;height:100%;border:0;flex:1;background:#fff}
.legal{max-width:820px;padding:56px 0}.legal h1{font-size:3rem;margin:0 0 20px}.legal h2{margin-top:34px}.legal p,.legal li{color:#566067}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-art{max-width:560px}.tool-grid{grid-template-columns:repeat(2,1fr)}.workflow{grid-template-columns:repeat(2,1fr)}.nav-links{display:none}.mobile-toggle{display:block}.nav-links.open{display:flex;position:absolute;left:0;right:0;top:72px;background:#f7f4ef;border-bottom:1px solid var(--line);padding:20px;flex-direction:column;align-items:stretch}.nav-links.open .nav-cta{text-align:center}.toolbar-note{display:none}}
@media(max-width:620px){.container{width:min(calc(100% - 24px),var(--max))}.navbar{height:64px}.site-header .nav-links.open{top:64px}.hero{padding:58px 0 44px}h1{font-size:3.2rem}.tool-grid{grid-template-columns:1fr}.workflow{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)}.stat:last-child{border-bottom:0}.section{padding:58px 0}.section-head{display:block}.section-head p{margin-top:14px}.callout{grid-template-columns:1fr}.tool-shell{height:calc(100vh - 64px)}.toolbar{padding:9px 12px}.toolbar-title{font-size:.9rem}}


/* MosaicGenny dark mode */
:root{
  --mg-bg:#f7f5f0;
  --mg-surface:#ffffff;
  --mg-surface-2:#f0ede7;
  --mg-text:#20252b;
  --mg-muted:#687078;
  --mg-border:#d9d5ce;
  --mg-header:#ffffff;
  --mg-shadow:0 12px 30px rgba(25,30,35,.08);
  color-scheme:light;
}
html[data-theme="dark"]{
  --mg-bg:#12171b;
  --mg-surface:#1b2228;
  --mg-surface-2:#242d34;
  --mg-text:#f1f4f5;
  --mg-muted:#aeb8bf;
  --mg-border:#39434b;
  --mg-header:#171d22;
  --mg-shadow:0 12px 30px rgba(0,0,0,.28);
  color-scheme:dark;
}
body{
  background:var(--mg-bg)!important;
  color:var(--mg-text)!important;
  transition:background-color .2s ease,color .2s ease;
}
.site-header,.topbar,header{
  background:var(--mg-header);
  color:var(--mg-text);
}
.site-header a,.topbar a,header a,nav a{
  color:var(--mg-text);
}
.card,.tool-card,.panel,.feature,.section-card,.wrapper-card,
main section{
  background-color:var(--mg-surface);
  color:var(--mg-text);
  border-color:var(--mg-border);
}
p,.muted,.note,.subtitle,.eyebrow,.footer-note{
  color:var(--mg-muted);
}
footer,.site-footer{
  color:var(--mg-muted);
  border-color:var(--mg-border);
}
input,select,textarea{
  background:var(--mg-surface);
  color:var(--mg-text);
  border-color:var(--mg-border);
}
button{
  color:inherit;
}
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--mg-border);
  background:var(--mg-surface-2);
  color:var(--mg-text);
  border-radius:999px;
  padding:7px 11px;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  transition:background-color .2s ease,border-color .2s ease,transform .1s ease;
}
.theme-toggle:hover{transform:translateY(-1px)}
.theme-toggle:focus-visible{outline:2px solid #2f8f98;outline-offset:2px}
.theme-switch-track{
  width:34px;
  height:18px;
  border-radius:999px;
  background:#aeb7bd;
  position:relative;
  display:inline-block;
  flex:none;
}
.theme-switch-knob{
  position:absolute;
  top:2px;
  left:2px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#fff;
  transition:transform .2s ease;
  box-shadow:0 1px 3px rgba(0,0,0,.25);
}
html[data-theme="dark"] .theme-switch-track{background:#1f7880}
html[data-theme="dark"] .theme-switch-knob{transform:translateX(16px)}
.theme-icon{font-size:15px;line-height:1}
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
@media(max-width:760px){
  .theme-label{display:none}
  .theme-toggle{padding:7px 9px}
}


/* V6: dark-mode tool toolbar */
html[data-theme="dark"] .toolbar{
  background:#20282e;
  border-bottom-color:#344049;
  color:#eef3f5;
}
html[data-theme="dark"] .toolbar .back{
  color:#74cbd1;
}
html[data-theme="dark"] .toolbar-title{
  color:#eef3f5;
}
html[data-theme="dark"] .toolbar-note{
  color:#aeb8bf;
}
html[data-theme="dark"] .tool-frame{
  background:#11161a;
}


/* V7: dark-mode homepage stats strip */
html[data-theme="dark"] .stats{
  background:#20282e;
  border-top-color:#344049;
  border-bottom-color:#344049;
}
html[data-theme="dark"] .stat{
  border-right-color:#344049;
}
html[data-theme="dark"] .stat strong{
  color:#eef3f5;
}
html[data-theme="dark"] .stat span{
  color:#aeb8bf;
}
@media(max-width:620px){
  html[data-theme="dark"] .stat{
    border-bottom-color:#344049;
  }
}


/* V8: dark-mode alternate homepage/content sections */
html[data-theme="dark"] .section.alt{
  background:#1a2126;
}
html[data-theme="dark"] .section{
  color:#eef3f5;
}
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .section h3{
  color:#eef3f5;
}
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .section p{
  color:#aeb8bf;
}
html[data-theme="dark"] .eyebrow{
  color:#d5ddd6;
  border-color:#4c5b64;
  background:#20282e;
}


/* V9: dark-mode workflow cards */
html[data-theme="dark"] .step{
  background:#20282e;
  border-color:#344049;
}
html[data-theme="dark"] .step h3{
  color:#eef3f5;
}
html[data-theme="dark"] .step p{
  color:#aeb8bf;
}
html[data-theme="dark"] .step:before{
  color:#d28c28;
}


/* V10: integrated MosaicGenny MG logo */
.brand-mark{
  width:52px;
  height:38px;
  border-radius:10px;
  overflow:hidden;
  background:#f6f3ee;
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);
  flex:none;
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
@media(max-width:720px){
  .brand-mark{
    width:46px;
    height:34px;
  }
}


/* V11: larger logo in homepage hero artwork */
.hero-art{
  position:relative;
}
.hero-logo-showcase{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%) rotate(-4deg);
  width:min(72%, 320px);
  padding:16px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(27,35,44,.08);
  box-shadow:0 18px 40px rgba(20,28,35,.18);
  z-index:2;
}
.hero-logo-showcase img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
}
.hero-art .tile{
  z-index:1;
}
html[data-theme="dark"] .hero-logo-showcase{
  background:rgba(243,244,242,.96);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 18px 40px rgba(0,0,0,.34);
}
@media(max-width:960px){
  .hero-logo-showcase{
    width:min(68%, 280px);
    padding:14px;
    border-radius:20px;
  }
}
@media(max-width:640px){
  .hero-logo-showcase{
    width:min(66%, 240px);
    padding:12px;
    border-radius:18px;
  }
}
