/* Home page redesign based on the supplied NEF reference. Header/footer intentionally excluded. */
.nef-home-main {
  background:#fff;
  color:rgba(0,0,0,.7);
}

.nef-home-main h1,
.nef-home-main h2,
.nef-home-main h3 {
  font-family:Georgia, "Times New Roman", serif;
  color:#123D2A;
  font-weight:400;
}

.nef-home-kicker {
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#123D2A;
  font-size:10px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:2.2px;
  text-transform:uppercase;
}

.nef-home-kicker::before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:#A8C93A;
  flex:0 0 5px;
}

.nef-home-kicker--light { color:rgba(255,255,255,.7); }
.nef-home-kicker--lime { color:#A8C93A; }

.nef-home-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:0 25px;
  border:1px solid #123D2A;
  border-radius:999px;
  background:#123D2A;
  color:#fff !important;
  font-family:"Plus Jakarta Sans", sans-serif;
  font-size:10px;
  line-height:1;
  font-weight:600;
  letter-spacing:1.1px;
  text-decoration:none !important;
  text-transform:uppercase;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.nef-home-button:hover,
.nef-home-button:focus-visible {
  background:#A8C93A;
  border-color:#A8C93A;
  color:#123D2A !important;
  transform:translateY(-1px);
}

.nef-home-button--compact {
  min-height:40px;
  padding:0 27px;
}

.nef-home-button--lime {
  min-height:44px;
  padding:0 28px;
  background:#A8C93A;
  border-color:#A8C93A;
  color:#fff !important;
}

.nef-home-button--lime:hover,
.nef-home-button--lime:focus-visible {
  background:#A8C93A;
  border-color:#A8C93A;
  color:#123D2A !important;
}

/* Hero */
.nef-home-hero {
  padding:74px 0 84px;
  background:#FFF8E8;
}

.nef-home-hero__grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px, .93fr);
  gap:82px;
  align-items:center;
}

.nef-home-hero__content {
  padding-left:0;
  max-width:540px;
}

.nef-home-hero h1 {
  margin:24px 0 19px;
  font-size:clamp(46px,4.25vw,68px);
  line-height:.98;
  letter-spacing:-2.3px;
}

.nef-home-hero h1 em {
  font-weight:400;
  font-style:italic;
}

.nef-home-hero__content > p {
  width:min(470px,100%);
  margin:0 0 29px;
  color:rgba(0,0,0,.7);
  font-size:14px;
  line-height:1.7;
}

.nef-home-hero__visual {
  width:100%;
  max-width:470px;
  justify-self:end;
  overflow:hidden;
  border-radius:7px;
  background:#FFF8E8;
}

.nef-home-hero__visual img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1.197 / 1;
  object-fit:cover;
}

/* Why NEF */
.nef-home-why {
  padding:78px 0 82px;
  background:#123D2A;
}

.nef-home-why h2 {
  margin:16px 0 49px;
  color:#fff;
  font-size:clamp(34px,3.1vw,47px);
  line-height:1.02;
  letter-spacing:-1px;
}

.nef-home-why__grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:38px;
}

.nef-home-value-card {
  min-height:151px;
  padding:24px 18px 22px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:5px;
  background:#123D2A;
}

.nef-home-value-card__number,
.nef-home-process-card__number {
  margin-bottom:14px;
  color:#A8C93A;
  font-family:Georgia, "Times New Roman", serif;
  font-size:23px;
  line-height:1;
  font-weight:700;
}

.nef-home-value-card h3 {
  margin:0 0 13px;
  color:#fff;
  font-size:19px;
  line-height:1.2;
}

.nef-home-value-card p {
  margin:0;
  color:rgba(255,255,255,.7);
  font-size:11px;
  line-height:1.55;
}

.nef-home-value-card--featured {
  border-color:#fff;
  background:#fff;
}

.nef-home-value-card--featured h3 { color:#123D2A; }
.nef-home-value-card--featured p { color:rgba(0,0,0,.7); }

/* Featured products */
.nef-home-products {
  padding:82px 0 98px;
  background:#fff;
}

.nef-home-products__heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:42px;
}

.nef-home-products h2 {
  margin:14px 0 0;
  font-size:clamp(38px,3.25vw,50px);
  line-height:1;
  letter-spacing:-1px;
}

/* How it works */
.nef-home-process {
  padding:74px 0 80px;
  background:#F3F3F3;
}

.nef-home-process__heading {
  margin-bottom:45px;
  text-align:center;
}

.nef-home-process__heading .nef-home-kicker { justify-content:center; }

.nef-home-process h2 {
  margin:13px 0 0;
  font-size:clamp(38px,3.3vw,50px);
  line-height:1;
}

.nef-home-process__grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.nef-home-process-card {
  min-height:174px;
  padding:26px 23px;
  border-radius:8px;
  background:#FFF8E8;
}

.nef-home-process-card h3 {
  margin:0 0 13px;
  font-size:20px;
  line-height:1.2;
}

.nef-home-process-card p {
  margin:0;
  color:rgba(0,0,0,.7);
  font-size:11px;
  line-height:1.55;
}

/* Need help */
.nef-home-help {
  padding:52px 0 54px;
  background:#123D2A;
}

.nef-home-help__inner {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.nef-home-help h2 {
  margin:15px 0 8px;
  color:#fff;
  font-size:clamp(39px,3.2vw,50px);
  line-height:1;
}

.nef-home-help p {
  max-width:520px;
  margin:0 0 24px;
  color:rgba(255,255,255,.7);
  font-size:12px;
  line-height:1.6;
}

@media (max-width:900px) {
  .nef-home-hero { padding:56px 0 66px; }
  .nef-home-hero__grid { grid-template-columns:1fr; gap:42px; }
  .nef-home-hero__content { max-width:650px; }
  .nef-home-hero__visual { max-width:650px; justify-self:start; }
  .nef-home-why__grid,
  .nef-home-process__grid { grid-template-columns:1fr; gap:18px; }
  .nef-home-value-card,
  .nef-home-process-card { min-height:0; }
}

@media (max-width:600px) {
  .nef-home-hero { padding:42px 0 50px; }
  .nef-home-hero h1 { font-size:42px; letter-spacing:-1.6px; }
  .nef-home-why,
  .nef-home-products,
  .nef-home-process { padding:58px 0; }
  .nef-home-why h2 br { display:none; }
  .nef-home-products__heading { align-items:flex-start; flex-direction:column; margin-bottom:28px; }
  .nef-home-products h2,
  .nef-home-process h2,
  .nef-home-help h2 { font-size:36px; }
  .nef-home-help { padding:48px 0; }
}
