
:root{
  --sm-dark:#071b16;
  --sm-dark2:#0d2921;
  --sm-panel:#102d25;
  --sm-green:#75c800;
  --sm-green2:#5fa900;
  --sm-soft:#eef2f0;
  --sm-text:#12211c;
  --sm-muted:#66736e;
  --sm-line:#dce7e2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.sm-public-home{
  margin:0;
  background:var(--sm-soft);
  color:var(--sm-text);
  font-family:Arial,Helvetica,sans-serif;
}
.sm-home-hero{
  min-height:650px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(1,12,9,.84) 0%,rgba(3,20,15,.67) 47%,rgba(2,15,11,.72) 100%),
    url('/assets/img/landing-bg.png') center center/cover no-repeat;
  position:relative;
  overflow:hidden;
}
.sm-home-hero:after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 44% 52%,rgba(78,168,24,.16),transparent 35%);
}
.sm-home-header,
.sm-home-hero-inner,
.sm-section-inner{
  width:min(1320px,calc(100% - 64px));
  margin:0 auto;
}
.sm-home-header{
  position:relative; z-index:3;
  height:104px;
  display:flex;
  align-items:center;
  gap:36px;
}
.sm-home-logo img{
  width:190px; height:auto; display:block;
}
.sm-home-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:34px;
}
.sm-home-nav a{
  color:#fff;text-decoration:none;font-size:13px;font-weight:800;
  letter-spacing:.4px;text-transform:uppercase;opacity:.95;
}
.sm-home-nav a:hover{color:#9fe53d}
.sm-nav-actions{display:flex;gap:12px;margin-left:12px}
.sm-nav-btn{
  height:42px;padding:0 24px;border-radius:8px;
  border:1px solid rgba(255,255,255,.62);
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff!important;text-decoration:none!important;
  font-weight:800;text-transform:none!important;
}
.sm-nav-btn.primary{
  background:linear-gradient(#80cf0b,#60a800);
  border-color:#8be319;
}
.sm-home-hero-inner{
  position:relative; z-index:2;
  padding:48px 0 70px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.8fr);
  gap:84px;
  align-items:center;
}
.sm-home-copy h1{
  font-size:58px;line-height:1.03;margin:0 0 22px;
  letter-spacing:-2px;max-width:680px;
}
.sm-home-copy h1 span{color:#79d000}
.sm-home-copy .sm-lead{
  font-size:19px;line-height:1.58;color:#e7ece9;
  max-width:625px;margin:0 0 28px;
}
.sm-hero-actions{display:flex;gap:16px;align-items:center;margin-bottom:34px}
.sm-cta{
  min-height:52px;padding:0 28px;border-radius:8px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;text-decoration:none;font-size:16px;
}
.sm-cta.primary{background:linear-gradient(#80cf0b,#61aa00);color:#fff}
.sm-cta.secondary{border:1px solid rgba(255,255,255,.75);color:#fff}
.sm-hero-points{
  display:flex;gap:28px;flex-wrap:wrap
}
.sm-hero-point{
  display:flex;gap:10px;align-items:center;
  color:#fff;font-size:12px;line-height:1.25;
}
.sm-hero-point svg{width:28px;height:28px;stroke:#80d20e;fill:none;stroke-width:2}
.sm-login-card{
  background:linear-gradient(180deg,rgba(18,49,41,.95),rgba(9,31,25,.95));
  border:1px solid rgba(191,232,215,.28);
  box-shadow:0 18px 60px rgba(0,0,0,.28);
  border-radius:18px;
  padding:30px;
}
.sm-login-card h2{font-size:22px;margin:0 0 22px}
.sm-login-card .field{margin-bottom:16px}
.sm-login-card label{display:block;font-size:12px;font-weight:800;margin-bottom:7px;color:#fff}
.sm-login-card input{
  width:100%;height:46px;border-radius:7px;
  border:1px solid rgba(190,217,207,.28);
  background:rgba(4,21,16,.58);color:#fff;
  padding:0 13px;outline:none;
}
.sm-login-card input:focus{border-color:#76c900;box-shadow:0 0 0 3px rgba(117,200,0,.12)}
.sm-login-submit{
  width:100%;height:50px;border:0;border-radius:7px;
  background:linear-gradient(#80cf0b,#60a800);color:#fff;
  font-weight:800;font-size:16px;cursor:pointer;margin-top:4px;
}
.sm-login-secondary{
  color:#fff!important;text-align:center;font-size:13px;margin:20px 0 0;
}
.sm-login-secondary a{color:#8bdc1c!important;font-weight:800;text-decoration:none}
.sm-alert{
  padding:11px 13px;border-radius:8px;margin:0 0 14px;font-size:13px;line-height:1.35
}
.sm-alert.error{background:#5c2424;color:#fff}
.sm-alert.success{background:#174e3b;color:#fff}
.sm-resend{
  margin-bottom:14px;padding:13px;border:1px solid rgba(255,255,255,.14);
  border-radius:10px;background:rgba(255,255,255,.05)
}
.sm-resend p{font-size:12px;margin:0 0 8px}
.sm-resend button{
  border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff;
  border-radius:7px;padding:8px 12px;font-weight:700;cursor:pointer
}

/* feature cards */
.sm-features{
  padding:30px 0 36px;background:#f4f7f5;
}
.sm-feature-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.sm-feature-card{
  background:linear-gradient(145deg,#10352c,#0c2b23);
  color:#fff;border-radius:10px;padding:25px 20px 22px;
  box-shadow:0 8px 22px rgba(14,44,35,.12);
  min-height:195px;
}
.sm-feature-icon{
  width:44px;height:44px;border:1px solid #70c600;border-radius:50%;
  display:flex;align-items:center;justify-content:center;margin-bottom:18px
}
.sm-feature-icon svg{width:24px;height:24px;stroke:#7dd20c;fill:none;stroke-width:1.9}
.sm-feature-card h3{font-size:19px;line-height:1.15;margin:0 0 12px}
.sm-feature-card p{color:#d8e0dd;font-size:13px;line-height:1.55;margin:0}

/* how */
.sm-how{padding:24px 0 50px;background:#f4f7f5}
.sm-how h2{text-align:center;font-size:32px;margin:0 0 30px}
.sm-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.sm-step{text-align:center;position:relative;padding:0 28px}
.sm-step-number{
  width:31px;height:31px;background:#0d352b;color:#fff;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px
}
.sm-step-icon{height:48px;margin-bottom:9px}
.sm-step-icon svg{width:48px;height:48px;stroke:#74c900;fill:none;stroke-width:1.8}
.sm-step h3{font-size:16px;margin:0 0 7px}
.sm-step p{font-size:13px;color:#6b7772;line-height:1.45;margin:0}

/* showcase */
.sm-showcase{
  background:linear-gradient(135deg,#0c3329,#0a281f);
  padding:44px 0 35px;color:#fff;
}
.sm-showcase-grid{
  display:grid;grid-template-columns:240px minmax(0,1fr);gap:42px;align-items:center
}
.sm-showcase-copy .eyebrow{color:#8fe31e;font-size:11px;font-weight:900;letter-spacing:1px}
.sm-showcase-copy h2{font-size:36px;line-height:1.05;margin:14px 0}
.sm-showcase-copy h2 span{color:#7dd10b}
.sm-showcase-copy p{font-size:14px;line-height:1.65;color:#d9e2de}
.sm-showcase-frame{
  border-radius:16px;border:2px solid rgba(118,205,12,.36);
  box-shadow:0 20px 44px rgba(0,0,0,.25);overflow:hidden;background:#eef2f0
}
.sm-showcase-frame img{display:block;width:100%;height:auto}
.sm-community-box{
  margin-top:32px;background:#f7faf8;color:#18251f;border-radius:10px;padding:18px 24px;
  display:flex;align-items:center;gap:18px
}
.sm-community-icon{
  width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:#124437;
  color:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:900
}
.sm-community-copy{flex:1}
.sm-community-copy h3{margin:0 0 4px;font-size:20px}
.sm-community-copy p{margin:0;color:#5e6c66;font-size:13px}
.sm-community-btn{
  border:1px solid #1f5a4c;color:#1f5a4c;text-decoration:none;border-radius:7px;
  padding:11px 16px;font-size:13px;font-weight:800;white-space:nowrap
}

/* footer grid specifically requested */
.sm-site-footer .sm-footer-grid{
  grid-template-columns:1.35fr 1fr 1fr 1fr 1fr !important;
  gap:38px !important;
}
.sm-site-footer .sm-social-link{
  display:inline-flex!important;align-items:center!important;gap:8px!important;width:auto!important
}
.sm-site-footer .sm-social-link svg{
  width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;
  min-height:18px!important;max-height:18px!important;fill:#cfd9d5!important
}

/* mobile */
@media(max-width:1000px){
  .sm-home-nav{display:none}
  .sm-home-hero-inner{grid-template-columns:1fr;gap:28px;padding-top:20px}
  .sm-home-copy h1{font-size:48px}
  .sm-feature-grid{grid-template-columns:repeat(2,1fr)}
  .sm-showcase-grid{grid-template-columns:1fr}
  .sm-showcase-copy{text-align:center;max-width:540px;margin:auto}
  .sm-site-footer .sm-footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:680px){
  .sm-home-header,.sm-home-hero-inner,.sm-section-inner{width:min(100% - 28px,1320px)}
  .sm-home-header{height:84px}
  .sm-home-logo img{width:150px}
  .sm-home-hero{min-height:auto}
  .sm-home-hero-inner{padding-bottom:38px}
  .sm-home-copy h1{font-size:39px;letter-spacing:-1px}
  .sm-home-copy .sm-lead{font-size:16px}
  .sm-hero-actions{flex-direction:column;align-items:stretch}
  .sm-cta{width:100%}
  .sm-feature-grid,.sm-how-grid{grid-template-columns:1fr}
  .sm-feature-card{min-height:0}
  .sm-community-box{align-items:flex-start;flex-wrap:wrap}
  .sm-community-btn{width:100%;text-align:center}
  .sm-site-footer .sm-footer-grid{grid-template-columns:1fr!important}
}
