
:root{
  --bg: #f4f8f5;
  --surface: #ffffff;
  --surface-2: #f8fbf9;
  --surface-dark: #0c1712;
  --ink: #0f1f17;
  --ink-soft: #496057;
  --line: rgba(15,31,23,.10);
  --line-strong: rgba(15,31,23,.16);
  --green: #009a44;
  --green-deep: #007533;
  --green-dark: #13322b;
  --green-soft: #82ba74;
  --shadow-lg: 0 24px 60px rgba(15, 31, 23, .10);
  --shadow-md: 0 16px 32px rgba(15, 31, 23, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: min(1200px, calc(100% - 40px));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter", system-ui, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(130,186,116,.18), transparent 30%),
    radial-gradient(circle at top right, rgba(0,154,68,.08), transparent 24%),
    var(--bg);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:var(--container);margin:0 auto}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
}
.skip-link:focus{
  left:20px;
  top:20px;
  z-index:1000;
  background:#fff;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line-strong);
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter: blur(14px);
  background:rgba(244,248,245,.82);
  border-bottom:1px solid var(--line);
}
.header-row{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand img{
  height:160px;
  width:auto;
}
.desktop-nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:14px;
  font-weight:600;
  color:var(--ink-soft);
}
.desktop-nav a:hover{color:var(--ink)}
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg, var(--green), var(--green-soft));
  color:#082015;
  box-shadow: var(--shadow-md);
}
.btn-secondary{
  background:rgba(255,255,255,.75);
  border-color:var(--line-strong);
  color:var(--ink);
}
.menu-toggle{
  display:none;
  width:48px;
  height:48px;
  border-radius:14px;
  border:1px solid var(--line-strong);
  background:#fff;
  padding:0;
}
.menu-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--ink);
  margin:4px auto;
}
.mobile-nav{
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.95);
}
.mobile-nav-inner{
  display:grid;
  gap:10px;
  padding:16px 0 20px;
}
.mobile-nav a{
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-weight:600;
}

.hero{
  position:relative;
  padding:74px 0 56px;
  overflow:hidden;
}
.hero-backdrop{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)),
    url("assets/stackally-accent.png") no-repeat right -80px top 0 / min(560px, 44vw);
  pointer-events:none;
  opacity:.18;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:44px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15,31,23,.08);
  color:var(--green-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
h1,h2,h3{
  margin:0;
  font-family:"Manrope","Inter",system-ui,sans-serif;
  letter-spacing:-.03em;
}
h1{
  margin-top:18px;
  font-size:clamp(2.6rem, 5vw, 4.7rem);
  line-height:1.02;
  max-width:12ch;
}
.hero-text,
.section-heading p,
.capability-card p,
.step-card p,
.showcase-copy p,
.security-card p,
.use-card p,
.callout p,
.contact-copy p,
.footer-text,
.contact-points span{
  color:var(--ink-soft);
}
.hero-text{
  margin:18px 0 0;
  max-width:64ch;
  font-size:1.06rem;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.hero-highlights{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:34px;
}
.highlight-card{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15,31,23,.08);
  box-shadow:var(--shadow-md);
}
.highlight-card strong{
  display:block;
  margin-bottom:8px;
  font-size:15px;
}
.highlight-card span{
  display:block;
  color:var(--ink-soft);
  font-size:14px;
  line-height:1.5;
}

.visual-shell{
  position:relative;
  padding:18px;
  border-radius:32px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.8));
  border:1px solid rgba(15,31,23,.08);
  box-shadow:var(--shadow-lg);
}
.visual-topbar{
  display:flex;
  gap:8px;
  margin-bottom:16px;
}
.visual-topbar span{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#cfd7d1;
}
.visual-topbar span:first-child{background:#ff6257}
.visual-topbar span:nth-child(2){background:#febc2e}
.visual-topbar span:last-child{background:#28c840}
.visual-shell img{
  width:100%;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.25);
}
.floating-note{
  position:absolute;
  max-width:230px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(12,23,18,.92);
  color:#eff7f2;
  box-shadow:0 22px 40px rgba(6,14,10,.24);
}
.note-kicker{
  color:#9ad28e;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:6px;
}
.note-title{
  font-size:13px;
  line-height:1.5;
}
.note-a{left:-24px;bottom:54px}
.note-b{right:-24px;top:96px}

.proof-bar{
  padding:18px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.54);
}
.proof-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:10px;
  font-size:13px;
  font-weight:800;
  color:var(--green-dark);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.proof-grid div{
  text-align:center;
  padding:8px 10px;
}

.section{padding:88px 0}
.section-tint{background:linear-gradient(180deg, rgba(130,186,116,.10), rgba(255,255,255,0))}
.section-dark{
  background:
    linear-gradient(180deg, rgba(8,18,13,.98), rgba(12,23,18,.98)),
    url("assets/stackally-accent.png") no-repeat right -60px top 30px / 420px;
  color:#eff7f2;
}
.section-dark .section-heading p,
.section-dark .security-copy p,
.section-dark .security-card p{color:rgba(239,247,242,.72)}
.section-accent{
  padding:40px 0 88px;
}
.section-heading{
  max-width:760px;
  margin-bottom:34px;
}
.section-heading h2{
  margin-top:16px;
  font-size:clamp(2rem, 3vw, 3.1rem);
  line-height:1.08;
}
.section-heading p{
  margin-top:16px;
  font-size:1rem;
}

.capability-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.capability-card{
  padding:24px;
  border-radius:24px;
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}
.card-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(0,154,68,.08);
  color:var(--green-deep);
  margin-bottom:16px;
}
.card-icon svg{
  width:24px;
  height:24px;
}
.capability-card h3,
.step-card h3,
.showcase-copy h3,
.security-card h3,
.use-card h3{
  font-size:1.2rem;
  margin-bottom:10px;
}

.how-it-works-flow{
  position:relative;
  display:grid;
  gap:18px;
}
.how-it-works-flow::before{
  content:"";
  position:absolute;
  left:23px;
  top:20px;
  bottom:20px;
  width:2px;
  background:linear-gradient(180deg, rgba(0,154,68,.22), rgba(0,154,68,.05));
}
.flow-step{
  position:relative;
  display:grid;
  grid-template-columns:64px 1fr;
  gap:20px;
  align-items:start;
}
.flow-marker{
  position:relative;
  z-index:1;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:linear-gradient(135deg, var(--green), var(--green-soft));
  color:#082015;
  font-size:13px;
  font-weight:800;
  box-shadow:var(--shadow-md);
}
.flow-content{
  padding:24px 26px;
  border-radius:24px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}
.flow-content p{
  margin:0;
}
.resource-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
}
.resource-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:center;
  padding:24px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}
.resource-icon{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(0,154,68,.10);
  color:var(--green-deep);
}
.resource-icon svg{
  width:28px;
  height:28px;
}
.resource-kicker{
  margin-bottom:8px;
  color:var(--green-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.resource-body h3{
  font-size:1.3rem;
  margin:0 0 8px;
}
.resource-body p{
  margin:0;
  color:var(--ink-soft);
}
.resource-actions{
  display:flex;
  align-items:center;
}

.showcase-grid{
  display:grid;
  gap:26px;
}
.showcase-card{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:26px;
  align-items:center;
  padding:24px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}
.showcase-card:nth-child(even){
  grid-template-columns:.85fr 1.15fr;
}
.showcase-card:nth-child(even) .showcase-media{order:2}
.showcase-media{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid var(--line);
  background:#0d1a13;
}
.showcase-media img{
  width:100%;
  aspect-ratio: 16 / 10;
  object-fit:cover;
}
.media-badge{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(12,23,18,.84);
  color:#edf7ef;
  font-size:12px;
  font-weight:600;
}
.showcase-copy h3{
  font-size:1.45rem;
  margin-bottom:12px;
}
.showcase-copy p{
  font-size:1rem;
}

.security-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
  align-items:start;
}
.security-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}
.security-card{
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

.routine-section{
  background:
    linear-gradient(180deg, rgba(19,50,43,.05), rgba(255,255,255,.75)),
    radial-gradient(circle at right top, rgba(130,186,116,.18), transparent 34%);
}
.routine-layout{
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  gap:34px;
  align-items:start;
}
.routine-intro{
  position:sticky;
  top:126px;
  padding:28px;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(19,50,43,.96), rgba(0,117,51,.92)),
    url("assets/stackally-accent.png") no-repeat right -70px bottom -80px / 300px;
  color:#f1f8f3;
  box-shadow:var(--shadow-lg);
}
.routine-intro .eyebrow{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.18);
  color:#bfe8b6;
}
.routine-intro h2{
  margin-top:18px;
  font-size:clamp(2rem, 3vw, 3.1rem);
  line-height:1.08;
}
.routine-intro p{
  margin-top:18px;
  color:rgba(241,248,243,.82);
}
.routine-note{
  display:grid;
  gap:8px;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.18);
}
.routine-note strong{
  font-size:1rem;
}
.routine-note span{
  color:rgba(241,248,243,.78);
}
.routine-list{
  display:grid;
  border-top:1px solid var(--line-strong);
}
.routine-item{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:20px;
  padding:24px 0;
  border-bottom:1px solid var(--line-strong);
}
.routine-number{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(0,154,68,.10);
  color:var(--green-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}
.routine-item h3{
  margin:0 0 8px;
  font-size:1.18rem;
}
.routine-item p{
  margin:0;
  color:var(--ink-soft);
}

.use-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}
.use-card{
  padding:24px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.74));
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}

.callout{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:24px;
  padding:28px;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(19,50,43,.96), rgba(0,117,51,.92)),
    url("assets/stackally-accent.png") no-repeat right center / 300px;
  color:#f1f8f3;
  box-shadow:var(--shadow-lg);
}
.callout p{color:rgba(241,248,243,.80)}
.callout h2{
  margin-top:14px;
  font-size:clamp(1.9rem, 3vw, 2.8rem);
}
.callout-points{
  display:grid;
  gap:14px;
  align-content:center;
}
.callout-points div{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  font-weight:600;
}

.contact-section{padding-top:70px}
.contact-layout{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:28px;
  align-items:start;
}
.contact-copy{
  position:sticky;
  top:120px;
}
.contact-copy h2{
  margin-top:14px;
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.08;
}
.contact-points{
  display:grid;
  gap:16px;
  margin-top:26px;
}
.contact-points div{
  padding:18px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
}
.contact-points strong{
  display:block;
  margin-bottom:8px;
}
.contact-form-shell{
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}

/* FormAssembly refinements */
.wFormContainer{width:100% !important}
.wFormContainer .wForm{
  background:transparent !important;
}
.wFormContainer form{
  width:100% !important;
}
.wFormContainer h2,
.wFormContainer .htmlContent h2{
  font-family:"Manrope","Inter",system-ui,sans-serif;
  font-size:1.7rem;
  line-height:1.1;
  margin:0 0 10px;
  color:var(--ink);
}
.wFormContainer .htmlContent{
  color:var(--ink-soft);
  margin-bottom:18px;
}
.wForm .section.inline.group{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.wForm .oneField{
  margin-bottom:18px !important;
}
.wForm label{
  display:block;
  font-weight:700;
  font-size:14px;
  color:var(--ink);
  margin-bottom:8px;
}
.wForm input[type="text"],
.wForm textarea{
  width:100% !important;
  max-width:100% !important;
  border-radius:14px !important;
  border:1px solid var(--line-strong) !important;
  background:#fff !important;
  padding:14px 14px !important;
  font-size:15px !important;
  color:var(--ink) !important;
  box-shadow:none !important;
}
.wForm textarea{
  min-height:150px;
}
.wForm .hint,
.wForm .field-hint-inactive{
  color:var(--ink-soft) !important;
  font-size:12px !important;
}
.wForm .actions{
  margin-top:10px !important;
}
.wForm .primaryAction{
  min-height:48px;
  padding:0 18px !important;
  border-radius:999px !important;
  border:0 !important;
  background:linear-gradient(135deg, var(--green), var(--green-soft)) !important;
  color:#082015 !important;
  font-weight:800 !important;
  box-shadow:var(--shadow-md) !important;
}
.wForm .captchaHelp{
  color:var(--ink-soft) !important;
}
.supportInfo{display:none !important}

.site-footer{
  padding:28px 0 42px;
  border-top:1px solid var(--line);
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:16px;
}
.footer-brand img{
  height:72px;
  width:auto;
}
.footer-title{
  font-weight:800;
  margin-bottom:4px;
}
.footer-meta{
  color:var(--ink-soft);
  font-size:14px;
}

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (max-width: 1080px){
  .hero-grid,
  .security-layout,
  .contact-layout,
  .routine-layout,
  .callout{
    grid-template-columns:1fr;
  }
  .routine-intro{position:static}
  .hero-highlights,
  .capability-grid,
  .proof-grid,
  .resource-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  .resource-card{
    grid-template-columns:1fr;
    align-items:start;
  }
  .contact-copy{position:static}
}

@media (max-width: 820px){
  .desktop-nav,
  .header-actions .btn{display:none}
  .menu-toggle{display:block}
  .hero{padding-top:48px}
  h1{max-width:15ch}
  .hero-highlights,
  .capability-grid,
  .security-grid,
  .use-grid,
  .proof-grid,
  .resource-grid,
  .wForm .section.inline.group{
    grid-template-columns:1fr;
  }
  .flow-step{
    grid-template-columns:52px 1fr;
    gap:14px;
  }
  .flow-content{
    padding:20px;
  }
  .showcase-card,
  .showcase-card:nth-child(even){
    grid-template-columns:1fr;
  }
  .showcase-card:nth-child(even) .showcase-media{order:0}
  .floating-note{
    position:static;
    margin-top:-14px;
    max-width:none;
  }
  .visual-shell{padding:16px}
  .footer-row{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 560px){
  .container{width:min(100% - 28px, 1200px)}
  .section{padding:72px 0}
  .contact-form-shell,
  .callout,
  .showcase-card,
  .capability-card,
  .use-card,
  .security-card,
  .flow-content,
  .resource-card,
  .routine-intro{
    padding:20px;
  }
  .routine-item{
    grid-template-columns:1fr;
    gap:10px;
  }
  .routine-number{
    width:38px;
    height:38px;
  }
  .how-it-works-flow::before{
    left:19px;
  }
  .flow-marker{
    width:40px;
    height:40px;
  }
}
