.landing-next {
  --paper: #f8fbf8;
  --ink: #102e25;
  --muted: #426152;
  --green: #135e49;
  --green-hover: #0e4939;
  --mint: #e6f4e9;
  --line: #d6e5da;
  --dark: #122f26;
  --lime: #dcf6a8;
  --container: 1280px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

.landing-next .container { width: min(var(--container), calc(100% - clamp(36px, 8vw, 104px))); }
.landing-next .site-header {
  background: rgb(248 251 248 / .92);
  backdrop-filter: blur(14px);
  border-color: #e3ece4;
}
.landing-next .header-inner { min-height: 74px; }
.landing-next .brand { font-weight: 800; }
.landing-next .brand-max { font-weight: 750; }
.landing-next .site-nav { gap: clamp(14px, 2.1vw, 29px); }
.landing-next .site-nav .button span { display: none; }
.landing-next .button { border-radius: 999px; padding-inline: 23px; }
.landing-next .next-secondary {
  display: inline-flex;
  gap: 8px;
  min-height: 48px;
  padding: 10px 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid #91ab9e;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.landing-next .next-secondary:hover { background: #e1f0e3; border-color: var(--green); }

.next-hero { margin-top: 26px; }
.next-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(25px, 4vw, 58px);
  min-height: 480px;
  padding: clamp(27px, 5vw, 72px);
  border: 1px solid #d8eade;
  border-radius: clamp(24px, 3vw, 46px);
  background:
    radial-gradient(ellipse at 91% 79%, #bdedd3 0, transparent 53%),
    radial-gradient(ellipse at 77% 0%, #e6f6db 0, transparent 50%),
    #edf6ee;
}
.next-hero-copy { min-width: 0; }
.next-label {
  color: var(--green);
  font-size: .87rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.next-hero h1 {
  margin: 14px 0 19px;
  font-size: clamp(3rem, 5.05vw, 5rem);
  font-weight: 740;
  line-height: .99;
  letter-spacing: -.075em;
}
.next-hero h1 em { display: block; color: var(--green); font-style: normal; }
.next-hero-copy > p:not(.next-label) { max-width: 36rem; font-size: clamp(1.03rem, 1.35vw, 1.19rem); }
.landing-next .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 27px; }
.next-hero-visual { position: relative; min-width: 0; }
.next-dashboard-frame {
  display: block;
  padding: 7px;
  background: #fff;
  border: 1px solid #b6cfbd;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 31px 72px -31px #173e3580, 0 12px 25px -19px #124c3540;
  transition: transform .22s, box-shadow .22s;
}
.next-dashboard-frame:hover { transform: translateY(-4px); box-shadow: 0 34px 75px -31px #173e35a0; }
.next-frame-bar { display: flex; justify-content: space-between; gap: 8px; padding: 6px 7px 10px; color: #426152; font-size: .78rem; }
.next-frame-bar span:first-child { color: var(--green); font-weight: 800; }
.next-dashboard-frame img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.next-hero figcaption { margin-top: 11px; color: #426152; font-size: .83rem; text-align: center; }
.next-product-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 9px;
  margin-top: 13px;
}
.next-product-nav a {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.next-product-nav a:hover { background: var(--mint); border-color: #98bba7; }
.next-product-nav span { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 10px; background: var(--mint); color: var(--green); font-size: 1.12rem; }

.next-section { padding-block: clamp(60px, 8vw, 112px); }
.next-section-head { max-width: 700px; margin-bottom: 31px; }
.next-section-head h2, .next-workflow h2, .next-faq h2, .next-closing h2 {
  margin: 9px 0 11px;
  font-size: clamp(2.2rem, 4.3vw, 3.7rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.062em;
}
.next-section-head > p:last-child { max-width: 56ch; }
.next-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.next-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: span 4;
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 27px;
  background: #fff;
}
.next-feature h3 { margin: 16px 0 9px; font-size: clamp(1.38rem, 2.4vw, 2rem); font-weight: 700; }
.next-feature p { max-width: 48ch; }
.next-feature-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 14px; background: #e3f1e7; color: var(--green); font-size: 1.35rem; font-weight: 700; }
.next-feature-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-column: span 8;
  align-items: center;
  gap: 26px;
  background: #143e31;
  border-color: #143e31;
  color: #fff;
}
.next-feature-search p { color: #d7e9df; }
.next-feature-search .next-feature-icon { background: #e7f3e9; }
.next-feature-search h3 { font-size: clamp(1.6rem, 2.7vw, 2.35rem); }
.next-card-link { display: inline-block; margin-top: 15px; color: var(--green); font-weight: 700; text-decoration-thickness: 1px; }
.next-feature-search .next-card-link { color: #e8f7c9; }
.next-feature-search .next-card-link:focus-visible, .next-showcase :focus-visible, .next-closing :focus-visible { outline-color: #d8f3b9; }
.next-feature-pdf { background: #e9f4e9; }
.next-feature-pdf .next-feature-icon { background: #fff; }
.next-feature-insights { background: #edf3eb; }
.next-search-example { padding: 17px; border: 1px solid #5c8373; border-radius: 20px; background: #20503f; }
.next-search-example > span { color: #e4eee6; font-size: .88rem; font-weight: 650; }
.next-search-text { margin: 10px 0; padding: 10px 11px; border: 1px solid #b9d7c6; border-radius: 11px; background: #f3faf3; color: #16392c; font-weight: 650; }
.next-search-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.next-search-filters span { padding: 3px 8px; border: 1px solid #81a78e; border-radius: 999px; color: #f0f8ef; font-size: .84rem; }

.next-showcase { background: #112e25; color: #fff; }
.next-showcase .next-label { color: #ccedba; }
.next-showcase p { color: #d1e4d8; }
.next-explorer {
  overflow: hidden;
  padding: clamp(12px, 2.4vw, 27px);
  border: 1px solid #43695a;
  border-radius: 28px;
  background: #1b3f32;
}
.next-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.next-tabs button {
  min-height: 43px;
  padding: 7px 17px;
  border: 1px solid #739889;
  border-radius: 999px;
  background: transparent;
  color: #f1fff4;
  font-size: .97rem;
  font-weight: 650;
}
.next-tabs button[aria-selected="true"] { border-color: #e4f4e6; background: #e4f4e6; color: #153e30; }
.next-tabs button:hover:not([aria-selected="true"]) { background: #315746; }
.next-screen { margin: 0; }
.next-screen + .next-screen:not([role]) { margin-top: 24px; }
.next-screen figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 15px; margin: 0 0 12px; color: #dbece0; line-height: 1.45; }
.next-screen figcaption strong { color: #fff; }
.next-screen a, .next-import figure a { display: block; border-radius: 17px; background: #f0f6ef; }
.next-screen img, .next-import img { width: 100%; height: auto; border-radius: inherit; }
.next-import { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 26px; align-items: center; margin-top: clamp(28px, 5vw, 65px); }
.next-import h3 { margin: 7px 0 10px; font-size: clamp(1.5rem, 3vw, 2.55rem); font-weight: 690; }

.next-workflow { background: #edf5ed; }
.next-workflow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 6vw, 80px); align-items: start; }
.next-steps { display: grid; gap: 0; margin: 21px 0 0; padding: 0; list-style: none; }
.next-steps li { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding-bottom: 20px; }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; top: 14px; bottom: 0; left: 7px; width: 1px; background: #a6c8b3; }
.next-steps li::before { z-index: 1; content: ""; width: 15px; height: 15px; margin-top: 3px; border: 4px solid #d7ebe0; border-radius: 50%; background: #206149; }
.next-steps h3 { margin-bottom: 4px; font-size: 1.21rem; }
.next-steps p { max-width: 48ch; }
.landing-next .cost-demo { padding: clamp(20px, 3vw, 33px); border-radius: 27px; background: #fff; box-shadow: 0 12px 36px #1d513613; }
.landing-next .cost-demo h3 { margin-top: 8px; }
.landing-next .cost-demo .demo-options > div { border-radius: 13px; background: #f8fbf8; }

.next-faq { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: clamp(25px, 6vw, 81px); align-items: start; }
.landing-next .faq-list { display: grid; gap: 8px; }
.landing-next .faq-list details { border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.landing-next .faq-list summary { padding: 16px 19px; }
.landing-next .faq-list details p { padding: 0 19px 16px; }
.next-closing { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-bottom: clamp(38px, 6vw, 72px); padding: clamp(24px, 5vw, 60px); border-radius: 30px; background: #143e31; color: #fff; }
.next-closing h2 { max-width: 17ch; }
.next-closing p { max-width: 45ch; color: #d9eade; }
.next-closing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.next-closing .next-secondary { color: #fff; border-color: #91b3a1; }
.next-closing .next-secondary:hover { background: #255841; }

.next-preview {
  width: min(1080px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 13px;
  border: 1px solid #698b7c;
  border-radius: 19px;
  background: #fff;
  color: var(--ink);
}
.next-preview::backdrop { background: rgb(7 27 21 / .78); }
.next-preview-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 0 3px 7px; }
.next-preview-bar h2 { font-size: 1.16rem; letter-spacing: -.025em; }
.next-preview-bar button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 1.45rem; }
.next-preview img { width: 100%; height: auto; border-radius: 10px; }

@media (max-width: 1050px) {
  .next-hero-layout { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); min-height: 410px; }
  .next-hero h1 { font-size: clamp(2.65rem, 5.7vw, 4.4rem); }
}
@media (max-width: 830px) {
  .next-hero-layout, .next-workflow-grid, .next-faq { grid-template-columns: minmax(0, 1fr); }
  .next-hero h1 { max-width: 11ch; font-size: clamp(3.25rem, 8.3vw, 5rem); }
  .next-hero-layout { gap: 28px; }
  .next-feature { grid-column: span 6; }
  .next-feature-search { grid-column: 1 / -1; }
  .next-closing { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
  .landing-next .header-inner { min-height: 66px; }
  .next-hero { margin-top: 14px; }
  .next-hero-layout { min-height: auto; padding: 24px 18px 15px; }
  .next-hero h1 { font-size: clamp(2.42rem, 10vw, 3.55rem); }
  .next-product-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .next-product-nav a { gap: 6px; padding: 6px; border-radius: 12px; font-size: .88rem; line-height: 1.28; }
  .next-product-nav span { width: 25px; height: 25px; border-radius: 8px; }
  .next-feature, .next-feature-search { grid-column: 1 / -1; }
  .next-feature-search, .next-import { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .next-feature, .next-explorer { border-radius: 20px; }
  .next-tabs { gap: 5px; }
  .next-tabs button { min-height: 39px; padding-inline: 11px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-next *, .landing-next *::before, .landing-next *::after { scroll-behavior: auto; transition-duration: .01ms !important; }
}
