/* ===== Variables and local font ===== */

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/gilroy-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/gilroy-medium-webfont.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/gilroy-semibold-webfont.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/gilroy-semibold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/gilroy-black-webfont.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/gilroy-black-webfont.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

:root {
  --mint: #d4ffd4;
  --light-purple: #b6b8ff;
  --dark-purple: #605eb9;
  --dark-blue: #090b18;
  --white: #f4f3f0;
  --ink: #121422;
  --muted: #626579;
  --surface: #f6f6fb;
  --surface-2: #eeeeff;
  --border: #dedff0;
  --header: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(43, 43, 91, 0.12);
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

[data-theme="dark"] {
  --ink: #f7f7ff;
  --muted: #adafc6;
  --surface: #101327;
  --surface-2: #171a36;
  --border: #292d51;
  --header: rgba(9, 11, 24, 0.87);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

/* ===== Reset and typography ===== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f2f1ee;
  font-family: "Gilroy";
  font-size: 16px;
  line-height: 1.55;
  transition: color 0.3s, background-color 0.3s;
}

[data-theme="dark"] body {
  background: var(--dark-blue);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  color: inherit;
}

/* Shared directional icon used by links, buttons, and interface controls. */

.arrow-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  margin-left: 0.28em;
  vertical-align: -0.16em;
  transition: transform 180ms ease;
}

.arrow-icon::before,
.arrow-icon::after {
  position: absolute;
  top: 50%;
  display: block;
  content: "";
}

.arrow-icon::before {
  right: 0.12em;
  width: 0.78em;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
}

.arrow-icon::after {
  right: 0.12em;
  width: 0.38em;
  height: 0.38em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

.arrow-up-right {
  transform: rotate(-45deg);
}

.arrow-down {
  transform: rotate(90deg);
}

.arrow-up {
  transform: rotate(-90deg);
}

.arrow-left {
  margin-right: 0.28em;
  margin-left: 0;
  transform: rotate(180deg);
}

.arrow-return {
  transform: rotate(180deg);
}

.arrow-cycle {
  border: 1.5px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-25deg) scale(0.72);
}

.arrow-cycle::before {
  display: none;
}

.arrow-cycle::after {
  top: -0.08em;
  right: -0.03em;
  width: 0.3em;
  height: 0.3em;
}

a:hover .arrow-right,
button:hover .arrow-right {
  transform: translateX(3px);
}

a:hover .arrow-up-right,
button:hover .arrow-up-right {
  transform: translate(2px, -2px) rotate(-45deg);
}

a:hover .arrow-down,
button:hover .arrow-down {
  transform: translateY(3px) rotate(90deg);
}

a:hover .arrow-up,
button:hover .arrow-up {
  transform: translateY(-3px) rotate(-90deg);
}

/* Keep button labels centered; arrows sit independently on the right edge. */

.button.button:has(> .arrow-icon) {
  position: relative;
  padding-right: 2.9em;
  padding-left: 2.9em;
  text-align: center;
}

.button > .arrow-icon {
  position: absolute;
  top: 50%;
  right: 1.15em;
  margin: 0;
  transform: translateY(-50%);
}

.button > .arrow-up-right {
  transform: translateY(-50%) rotate(-45deg);
}

.button > .arrow-down {
  transform: translateY(-50%) rotate(90deg);
}

.button > .arrow-up {
  transform: translateY(-50%) rotate(-90deg);
}

.button:hover > .arrow-right {
  transform: translate(3px, -50%);
}

.button:hover > .arrow-up-right {
  transform: translate(2px, calc(-50% - 2px)) rotate(-45deg);
}

.button:hover > .arrow-down {
  transform: translate(0, calc(-50% + 3px)) rotate(90deg);
}

.button:hover > .arrow-up {
  transform: translate(0, calc(-50% - 3px)) rotate(-90deg);
}

img, svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.8rem, 7.4vw, 7.3rem);
}

h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.7rem);
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
  width: min(1320px, calc(100% - 40px));
  min-height: 820px;
  margin: auto;
  padding: 110px 0 80px;
}

.section-tint {
  background: var(--surface);
}

.section-dark {
  color: #f7f7ff;
  background: var(--dark-blue);
}

.section-dark .body-copy, .section-dark .section-head > p {
  color: #b8bad0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.kicker {
  margin-bottom: 16px;
  color: var(--dark-purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[data-theme="dark"] .kicker, .section-dark .kicker {
  color: var(--light-purple);
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.body-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.section-head > div {
  max-width: 760px;
}

.section-head > p, .section-head > .text-link {
  max-width: 360px;
  color: var(--muted);
}

.section-head h2 {
  margin-bottom: 0;
}

.centered {
  text-align: center;
}

.centered .lede {
  margin-inline: auto;
}

/* ===== Navigation, wordmark and buttons ===== */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: var(--header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.logo-send {
  color: #11131e;
}

.logo-rush {
  color: var(--dark-purple);
}

[data-theme="dark"] .logo-send, .section-dark .logo-send {
  color: #ffffff;
}

[data-theme="dark"] .logo-rush, .section-dark .logo-rush {
  color: var(--light-purple);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 600;
}

.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--ink);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--dark-purple);
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
}

.icon-button:hover {
  border-color: var(--dark-purple);
  transform: translateY(-2px);
}

.theme-toggle {
  position: relative;
  overflow: hidden;
}

.theme-toggle .sun, .theme-toggle .moon {
  position: absolute;
  transition: 0.3s;
}

.theme-toggle .moon {
  transform: translateY(35px);
}

[data-theme="dark"] .theme-toggle .sun {
  transform: translateY(-35px);
}

[data-theme="dark"] .theme-toggle .moon {
  transform: none;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 21px;
  color: #ffffff;
  background: var(--dark-purple);
  border: 1px solid var(--dark-purple);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.button:hover {
  box-shadow: 0 12px 28px rgba(96, 94, 185, 0.28);
  transform: translateY(-3px);
}

.button-small {
  padding: 11px 15px;
  font-size: 0.86rem;
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

.section-dark .button-ghost {
  color: #ffffff;
}

.button-light {
  color: #151729;
  background: #ffffff;
  border-color: #ffffff;
}

.button.full {
  width: 100%;
}

.text-link {
  font-weight: 700;
}

.text-link:hover {
  color: var(--dark-purple);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Shared filter controls used by Blogs and Case Studies. */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 18px;
}

.filter-bar button {
  padding: 9px 13px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.filter-bar button:hover,
.filter-bar button.active {
  color: #ffffff;
  background: var(--dark-purple);
  border-color: var(--dark-purple);
}

/* Shared featured-media canvas used by Case Studies and Blogs. */

.case-visual,
.article-visual {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  min-height: 420px;
  padding: 48px;
  color: #2a2c64;
  text-align: center;
  background: var(--light-purple);
}

.case-visual > span,
.article-visual > span {
  max-width: 340px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-visual > i,
.article-visual > i {
  max-width: 360px;
  color: #4d4a79;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.4;
}

/* Shared closing call-to-action panel. */

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  overflow: hidden;
  margin-top: 100px;
  margin-bottom: 100px;
  padding: clamp(44px, 5vw, 76px);
  color: #ffffff;
  background: var(--dark-purple);
  border-radius: var(--radius);
}

.final-cta > div {
  min-width: 0;
}

.final-cta .kicker {
  margin-bottom: 18px;
  color: currentColor;
  opacity: 0.78;
}

.final-cta h2 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.final-cta > .button {
  min-width: 220px;
  justify-self: end;
  white-space: nowrap;
}

/* ===== Footer ===== */

.site-footer {
  padding: 70px 0 25px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;
}

.footer-grid > div:first-child p {
  max-width: 350px;
  color: var(--muted);
}

.footer-grid b {
  margin-bottom: 8px;
}

.footer-grid a:not(.wordmark) {
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-grid a:hover {
  color: var(--dark-purple);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  margin-top: 55px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

.back-to-top {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ===== Focus and reveal effects ===== */

:focus-visible {
  outline: 3px solid var(--light-purple);
  outline-offset: 3px;
}

.placeholder-link[aria-disabled="true"] {
  cursor: not-allowed;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes panel-change {
  from {
    opacity: 0.5;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

/* ===== Dark-mode refinements ===== */

[data-theme="dark"] .button-ghost {
  color: var(--ink);
  background: transparent;
}

[data-theme="dark"] .product-placeholder, [data-theme="dark"] .contact-form, [data-theme="dark"] .price-card, [data-theme="dark"] .case-card, [data-theme="dark"] .article-card, [data-theme="dark"] .featured-case, [data-theme="dark"] .featured-article, [data-theme="dark"] .testimonial {
  background: #101327;
}

[data-theme="dark"] .window-bar, [data-theme="dark"] .send-preview, [data-theme="dark"] .allowance-note {
  background: #171a36;
}

[data-theme="dark"] .billing-toggle, [data-theme="dark"] .branch-switch {
  background: #101327;
}

[data-theme="dark"] .button-light {
  color: #151729;
  background: #ffffff;
}

[data-theme="dark"] .explorer-visual[data-visual="security"] {
  box-shadow: inset 0 0 0 3px rgba(212, 255, 212, 0.15);
}

[data-theme="dark"] select {
  color: var(--ink);
}

/* ===== Responsive: laptops ===== */

@media (max-width: 1080px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 0.8rem;
  }

  .login-link {
    display: none;
  }

  .section-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 100px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    width: 100%;
    max-width: 900px;
    margin: auto;
  }

  .feature-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card:last-child {
    grid-column: 1 / -1;
  }

  .security-grid, .article-grid, .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ===== Responsive: tablets ===== */

@media (max-width: 820px) {
  html {
    scroll-padding-top: 74px;
  }

  .shell, .section-grid {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .nav-wrap {
    height: 70px;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: 0.25s;
  }

  .menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle span:last-child {
    transform: translateY(4px);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: 0.25s;
  }

  [data-theme="dark"] .main-nav {
    background: #0e1122;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    padding: 12px;
    font-size: 1rem;
  }

  .main-nav a[aria-current="page"]::after {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-grid {
    padding: 75px 0;
  }

  .section-head {
    display: block;
  }

  .section-head > p, .section-head > .text-link {
    display: block;
    max-width: 620px;
    margin-top: 20px;
  }

  .split-section, .contact-layout, .newsletter-inner, .featured-case, .featured-article, .login-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-explorer {
    grid-template-columns: 1fr;
  }

  .explorer-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .explorer-tabs button {
    min-width: max-content;
  }

  .explorer-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .explorer-visual {
    aspect-ratio: 16 / 10;
  }

  .sequence-tabs {
    grid-template-columns: repeat(5, 170px);
    overflow-x: auto;
  }

  .journey-map {
    height: 240px;
  }

  .journey-map svg {
    height: 170px;
  }

  .journey-panel {
    align-items: start;
    flex-direction: column;
  }

  .analytics-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }

  .final-cta > .button {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }

  .wide-placeholder {
    aspect-ratio: 16 / 9;
  }

  .blog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .placeholder-mini-grid {
    grid-template-columns: 1fr;
  }

}

/* ===== Responsive: phones ===== */

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero h1 {
    letter-spacing: -0.05em;
  }

  .section-grid {
    width: 100%;
    padding-top: 55px;
  }

  .section-grid > .hero-copy {
    padding-inline: 14px;
  }

  .hero-visual {
    padding-left: 14px;
  }

  .dashboard-placeholder {
    border-radius: 14px 0 0 14px;
    transform: none;
  }

  .dash-main {
    padding: 15px;
  }

  .dash-table {
    display: none;
  }

  .activity-chart {
    height: 80px;
  }

  .metric-row div {
    padding: 8px;
  }

  .logo-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  .feature-grid, .analytics-grid, .process-grid, .pricing-grid, .role-grid, .security-grid, .article-grid, .case-grid {
    grid-template-columns: 1fr;
  }

  .price-card:last-child {
    grid-column: auto;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .schedule-demo {
    padding: 20px;
  }

  .demo-head {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .sequence-tabs {
    grid-template-columns: repeat(5, 145px);
  }

  .journey-game {
    padding: 14px;
  }

  .journey-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .journey-map {
    height: 185px;
  }

  .journey-map svg {
    top: 10px;
    height: 130px;
  }

  .plane {
    top: 91px;
    width: 31px;
    height: 31px;
  }

  .journey-nodes button {
    width: 16px;
    height: 16px;
  }

  .journey-panel {
    padding: 18px;
  }

  .inbox-placeholder {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

  .inbox-list {
    display: none;
  }

  .reply-box {
    left: 24px;
  }

  .testimonial {
    padding: 28px;
  }

  .testimonial-carousel {
    min-height: 410px;
  }

  .featured-case, .featured-article {
    padding: 18px;
  }

  .case-visual, .article-visual {
    min-height: 260px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .filter-bar button {
    white-space: nowrap;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .login-card {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .final-cta {
    width: calc(100% - 28px);
    margin-top: 70px;
    margin-bottom: 70px;
  }

  .mini-placeholder {
    padding: 20px;
  }

  .mini-placeholder .bars {
    font-size: 1.8rem;
  }

  .pricing-section {
    overflow: hidden;
  }

  .comparison-wrap {
    margin-right: -14px;
  }

  .newsletter form > div {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

}

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .dashboard-placeholder:hover, .feature-card:hover, .editorial-card:hover, .button:hover {
    transform: none;
  }

}

/* Brand, typography, workflow interaction, and copy-width corrections */

html, body, button, input, select, textarea {
  font-family: "Gilroy";
}

h1, h2, .wordmark {
  font-family: "Gilroy";
  font-weight: 500;
}

.wordmark {
  text-transform: none;
  letter-spacing: -.035em;
}

/* ==================================================
SOFT, ROUNDED SendRush REDESIGN
Add this at the bottom of style.css
================================================== */

:root {
  --radius: 28px;
  --radius-small: 18px;
  --soft-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --soft-shadow: 0 22px 60px rgba(64, 62, 145, 0.12);
}

/* ==================================================
Background decorations
================================================== */

body {
  position: relative;
  background-image: radial-gradient( circle at 8% 18%, rgba(182, 184, 255, 0.28) 0 7%, transparent 7.2% ), radial-gradient( circle at 92% 38%, rgba(96, 94, 185, 0.12) 0 9%, transparent 9.2% ), linear-gradient( 115deg, transparent 0 48%, rgba(182, 184, 255, 0.07) 48.2% 48.7%, transparent 49% );
  background-attachment: fixed;
}

body::before, body::after {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  top: 112px;
  right: -70px;
  width: 260px;
  height: 180px;
  border: 2px dashed rgba(96, 94, 185, 0.16);
  border-bottom: 0;
  border-left: 0;
  border-radius: 50% 50% 0 0;
  transform: rotate(-18deg);
}

body::after {
  bottom: 7%;
  left: -55px;
  width: 180px;
  height: 120px;
  background: radial-gradient( circle, rgba(96, 94, 185, 0.2) 0 3px, transparent 4px ) 0 0 / 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
}

[data-theme="dark"] body {
  background-image: radial-gradient( circle at 8% 18%, rgba(96, 94, 185, 0.22) 0 8%, transparent 8.2% ), radial-gradient( circle at 93% 42%, rgba(182, 184, 255, 0.1) 0 10%, transparent 10.2% ), linear-gradient( 115deg, transparent 0 48%, rgba(182, 184, 255, 0.035) 48.2% 48.7%, transparent 49% );
}

.section-tint, .journey-section, .security-section {
  background-image: radial-gradient( circle at 12% 16%, rgba(182, 184, 255, 0.2) 0 75px, transparent 77px ), radial-gradient( circle at 88% 78%, rgba(96, 94, 185, 0.1) 0 110px, transparent 112px );
}

/* ==================================================
Smaller titles
================================================== */

h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.8rem);
}

h3 {
  font-size: 1.25rem;
}

.page-hero h1 {
  max-width: 930px;
}

.explorer-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.featured-case h2, .featured-article h2 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

/* ==================================================
Smoother movement
================================================== */

button, a, input, select, textarea, .feature-card, .editorial-card, .case-card, .article-card, .price-card, .product-placeholder, .testimonial {
  transition-timing-function: var(--soft-ease) !important;
  transition-duration: 420ms !important;
}

/* ==================================================
Rounded navigation
================================================== */

.site-header {
  margin: 10px 14px 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(52, 50, 125, 0.08);
}

.nav-wrap {
  height: 68px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
}

.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--surface-2);
}

.main-nav a[aria-current="page"]::after {
  display: none;
}

.button, .button-small, .button-ghost, .button-light {
  border-radius: 999px;
}

/* ==================================================
Rounded panels and sections
================================================== */

.product-placeholder, .schedule-demo, .journey-game, .journey-panel, .testimonial, .editorial-card, .feature-explorer, .explorer-panel, .visual-sheet, .data-placeholder, .editor-placeholder, .wide-placeholder, .contact-form, .login-card, .featured-case, .featured-article, .newsletter-inner, .final-cta, .allowance-note, .case-card, .article-card, .empty-state {
  border-radius: var(--radius);
}

.placeholder-label, .status-dot, .dash-table mark, .column-map span, .column-map mark, .team-demo mark, .price-card > mark, .billing-toggle span {
  border-radius: 999px;
}

/* ==================================================
Bubble feature cards
================================================== */

.feature-grid, .pricing-grid, .process-grid, .analytics-grid {
  gap: 16px;
  border: 0;
}

.feature-card, .price-card, .process-grid article, .analytics-grid article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

[data-theme="dark"] .feature-card, [data-theme="dark"] .process-grid article {
  background: #101327;
}

.feature-card:hover, .editorial-card:hover, .case-card:hover, .article-card:hover, .price-card:hover {
  transform: translateY(-5px) scale(1.008);
  box-shadow: var(--soft-shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 22px;
  transform: rotate(-4deg);
}

.feature-card:hover .feature-icon {
  border-radius: 50%;
  transform: rotate(4deg) scale(1.06);
}

/* ==================================================
Follow-up bubbles
================================================== */

.followup-demo {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sequence-tabs {
  gap: 12px;
}

.sequence-tabs button {
  min-height: 128px;
  border: 1px solid var(--border) !important;
  border-radius: 24px;
  background: var(--surface);
}

.sequence-tabs button::after {
  top: 46%;
  right: -10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.sequence-tabs button[aria-selected="true"] {
  background: var(--light-purple);
  color: #202251;
  transform: translateY(-3px);
}

.sequence-detail {
  margin-top: 14px;
  border: 0;
  border-radius: 22px;
  background: var(--surface-2);
}

/* ==================================================
Inbox and interface bubbles
================================================== */

.inbox-list, .inbox-list > span, .reply-box, .analytics-grid article, .email-editor, .email-editor > div, .email-editor > p, .import-zone, .role-grid article, .security-grid article, .case-thumb, .article-art, .search-box input, .newsletter input {
  border-radius: var(--radius-small);
}

.inbox-list > span.selected {
  border-left: 0;
  box-shadow: inset 0 0 0 2px var(--dark-purple);
}

.email-bubble {
  border-radius: 8px 25px 25px 25px;
}

.reply-box button, .team-demo button, .import-zone button {
  border-radius: 999px;
}

/* ==================================================
Role, security, case study and blog cards
================================================== */

.role-grid, .security-grid, .editorial-grid, .case-grid, .article-grid {
  gap: 20px;
}

.role-grid article, .security-grid article, .case-card, .article-card, .editorial-card {
  border-radius: var(--radius);
}

/* ==================================================
Bubble controls
================================================== */

.billing-toggle, .branch-switch, .filter-bar button, .day-row button, .explorer-tabs button {
  border-radius: 999px;
}

.contact-points article, .check-list li {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.fake-input {
  height: 42px;
  border-radius: 999px;
}

/* ==================================================
Softer pricing cards and table
================================================== */

.pricing-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.price-card.featured {
  box-shadow: inset 0 0 0 2px var(--dark-purple), var(--soft-shadow);
}

.comparison-table {
  border-collapse: separate;
  border-spacing: 7px;
}

.comparison-table th, .comparison-table td {
  border: 1px solid var(--border);
  border-radius: 14px;
}

.faq-list details {
  margin-bottom: 10px;
  padding: 0 18px;
  border: 1px solid var(--border) !important;
  border-radius: 20px;
  background: var(--surface);
}

/* ==================================================
Interactive email journey
================================================== */

.journey-section {
  position: relative;
  overflow: hidden;
}

.journey-section::before {
  position: absolute;
  top: 8%;
  left: 3%;
  width: 82px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(96, 94, 185, 0.15);
  border-radius: 16px;
  color: rgba(96, 94, 185, 0.25);
  font-size: 1.6rem;
  content: "@";
  transform: rotate(-12deg);
}

.journey-section::after {
  position: absolute;
  right: 4%;
  bottom: 7%;
  width: 150px;
  height: 70px;
  border-top: 2px dashed rgba(96, 94, 185, 0.2);
  border-radius: 50%;
  content: "";
  transform: rotate(16deg);
}

.journey-game {
  position: relative;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.journey-map {
  cursor: none;
}

.plane {
  width: 46px;
  height: 46px;
  border: 5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(96, 94, 185, 0.34);
  transform: translate(-50%, -50%);
  transition: left 550ms var(--soft-ease), top 550ms var(--soft-ease), transform 300ms var(--soft-ease) !important;
}

.journey-map.pointer-active .plane {
  transform: translate(-50%, -50%) rotate(8deg) scale(1.08);
  transition: left 120ms linear, top 120ms linear, transform 250ms var(--soft-ease) !important;
}

.journey-nodes button {
  width: 24px;
  height: 24px;
  box-shadow: 0 5px 14px rgba(64, 62, 145, 0.12);
  transition: 400ms var(--soft-ease);
}

.path-base, .path-progress {
  stroke-width: 7;
}

.path-progress {
  transition: stroke-dashoffset 700ms var(--soft-ease);
}

/* ==================================================
Tablet adjustments
================================================== */

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card:last-child {
    grid-column: 1 / -1;
  }

}

@media (max-width: 820px) {
  .site-header {
    margin: 7px 8px 0;
    border-radius: 28px;
  }

  .main-nav {
    border-radius: 24px;
  }

  .feature-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-points article, .check-list li {
    border-radius: 20px;
  }

}

/* ==================================================
Mobile adjustments
================================================== */

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }

  .feature-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card:last-child {
    grid-column: auto;
  }

  .dashboard-placeholder {
    border-radius: 24px;
  }

  .journey-map {
    cursor: auto;
  }

  .sequence-tabs button {
    border-radius: 20px;
  }

  .final-cta {
    border-radius: 24px;
  }

}

/* ==================================================
Reduced motion
================================================== */

@media (prefers-reduced-motion: reduce) {
  .plane, .journey-map.pointer-active .plane {
    transition-duration: 0.01ms !important;
  }

  .feature-card:hover, .editorial-card:hover, .case-card:hover, .article-card:hover, .price-card:hover {
    transform: none;
  }

}

/* Shared site header */

.site-header, body[data-page="home"] .site-header {
  position:fixed;
  z-index:100;
  top: 12px;
  right:auto;
  left:50%;
  width: min(1440px,calc(100% - 28px));
  margin:0;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(218,217,226,.72);
  border-radius: 15px;
  box-shadow: 0 8px 28px rgba(30,31,47,.06);
  backdrop-filter: blur(7px) saturate(108%);
  -webkit-backdrop-filter: blur(7px) saturate(108%);
  transform:translateX(-50%)
}

[data-theme="dark"] .site-header,
[data-theme="dark"] body[data-page="home"] .site-header {
  background:rgba(30,30,39,.2);
  border-color:rgba(255,255,255,.1)
}

.nav-wrap, body[data-page="home"] .nav-wrap {
  display: grid;
  grid-template-columns: minmax(185px,1fr) auto minmax(185px,1fr);
  align-items: center;
  gap: 22px;
  height: 78px;
}

.nav-wrap > .wordmark {
  justify-self: start;
}

.nav-wrap > .main-nav {
  justify-self: center;
  margin: 0;
}

.nav-wrap > .nav-actions {
  justify-self: end;
}

.wordmark, body[data-page="home"] .wordmark {
  color: #090b18;
  font-size: 1.72rem;
  font-weight: 500;
  letter-spacing: -.045em;
}

.logo-send, [data-theme="dark"] .logo-send, .section-dark .logo-send {
  color: #090b18;
}

.logo-rush, [data-theme="dark"] .logo-rush, .section-dark .logo-rush {
  color: #605EB9;
}

.main-nav {
  gap: 7px;
}

.main-nav a {
  padding: 8px 10px;
  white-space: nowrap;
}

.nav-actions .button, body[data-page="home"] .site-header .button {
  min-height: 42px;
  padding: 0 18px;
  color: #171927;
  background: #D4FFD4;
  border: 1px solid #D4FFD4;
  border-radius: 12px;
  box-shadow: none;
}

.nav-actions .button:hover, body[data-page="home"] .site-header .button:hover {
  color:#171927;
  background:#DFDCD7;
  border-color:#DFDCD7;
}

@media(max-width:1080px) {
  .nav-wrap,body[data-page="home"] .nav-wrap {
    grid-template-columns:150px auto 150px;
    gap:12px
  }

  .main-nav a {
    padding:8px 7px;
    font-size:.82rem
  }

  .wordmark,body[data-page="home"] .wordmark {
    font-size:1.55rem
  }

  .nav-actions .button {
    padding:0 13px;
    font-size:.76rem
  }

}

@media(max-width:820px) {
  .site-header,body[data-page="home"] .site-header {
    top:8px;
    width:calc(100% - 16px);
    margin:8px auto 0;
    border-radius:18px
  }

  .nav-wrap,body[data-page="home"] .nav-wrap {
    display:flex;
    height:70px
  }

  .nav-wrap>.nav-actions {
    margin-left:auto
  }

  .main-nav {
    border-radius:18px
  }

}

/* Case Studies and Blogs — Home system with violet-led accents */

body[data-page="cases"],body[data-page="blogs"] {
  --editorial-violet:#605eb9;
  --editorial-soft:#efeeff;
  --editorial-paper:#faf9f7;
  --editorial-line:#dedbd7;
  color:#17171a;
  background-color:var(--editorial-paper);
  background-image:radial-gradient(rgba(55,50,75,.07) .65px,transparent .65px);
  background-size:5px 5px;
  background-attachment:fixed
}

body[data-page="cases"]::before,body[data-page="cases"]::after,body[data-page="blogs"]::before,body[data-page="blogs"]::after {
  display:none
}

body[data-page="cases"] .page-hero,body[data-page="blogs"] .page-hero {
  position:relative;
  isolation:isolate;
  max-width:none;
  width:100%;
  overflow:hidden;
  padding:125px max(24px,calc((100% - 1180px)/2)) 105px;
  background:linear-gradient(120deg,rgba(239,238,255,.93),rgba(255,255,255,.9) 52%,rgba(244,226,241,.72));
  border-bottom:1px solid var(--editorial-line)
}

body[data-page="cases"] .page-hero::before,body[data-page="blogs"] .page-hero::before {
  position:absolute;
  z-index:-1;
  top:-260px;
  left:44%;
  width:900px;
  height:640px;
  background:radial-gradient(circle,rgba(117,112,211,.3),transparent 49%);
  filter:blur(44px);
  content:""
}

body[data-page="cases"] .page-hero h1,body[data-page="blogs"] .page-hero h1 {
  max-width:1040px;
  margin:24px 0;
  font-size:clamp(3.8rem,6.2vw,6.3rem);
  line-height:.97
}

body[data-page="cases"] .page-hero h1 em,body[data-page="blogs"] .page-hero h1 em {
  color:#605eb9;
  font-style:normal
}

body[data-page="cases"] .eyebrow span,body[data-page="blogs"] .eyebrow span {
  background:#605eb9;
  box-shadow:0 0 0 4px rgba(96,94,185,.13)
}

body[data-page="cases"] .filter-bar button,body[data-page="blogs"] .filter-bar button {
  border-color:#d6d2df;
  background:rgba(255,255,255,.72)
}

body[data-page="cases"] .filter-bar button:hover,body[data-page="cases"] .filter-bar button.active,body[data-page="blogs"] .filter-bar button:hover,body[data-page="blogs"] .filter-bar button.active {
  color:#fff;
  background:#605eb9;
  border-color:#605eb9
}

body[data-page="cases"] .featured-case,body[data-page="blogs"] .featured-article {
  overflow:hidden;
  background:#f1f0ed;
  border:1px solid var(--editorial-line);
  border-radius:16px;
  box-shadow:0 24px 65px rgba(53,47,77,.09)
}

body[data-page="cases"] .case-visual,body[data-page="blogs"] .article-visual {
  color:#383568;
  background:linear-gradient(145deg,#d8d6ff,#f4e9f5 62%,#fff);
  border-radius:12px
}

body[data-page="cases"] .case-card,body[data-page="blogs"] .article-card {
  overflow:hidden;
  background:#fff;
  border-color:var(--editorial-line);
  border-radius:14px;
  transition:transform 260ms cubic-bezier(.22,1,.36,1),box-shadow 260ms ease,border-color 260ms ease!important
}

body[data-page="cases"] .case-card:hover,body[data-page="blogs"] .article-card:hover {
  border-color:#b8b4e2;
  box-shadow:0 20px 45px rgba(71,65,112,.13);
  transform:translateY(-6px)
}

body[data-page="cases"] .case-thumb {
  background:linear-gradient(135deg,#efeeff,#dedcff);
  border-radius:9px
}

body[data-page="cases"] .case-card>span,body[data-page="cases"] .featured-case .kicker,body[data-page="blogs"] .article-card>span,body[data-page="blogs"] .featured-article .kicker {
  color:#605eb9
}

body[data-page="blogs"] .article-art {
  color:#302e65;
  background:linear-gradient(135deg,#d8d6ff,#efeeff)
}

body[data-page="blogs"] .article-card:nth-child(3n + 2) .article-art {
  background:linear-gradient(135deg,#c7c4f6,#e5e3ff)
}

body[data-page="blogs"] .article-card:nth-child(3n + 3) .article-art {
  background:linear-gradient(135deg,#aaa7e8,#d3d1ff)
}

body[data-page="blogs"] .search-box input {
  background:#fff;
  border-color:var(--editorial-line)
}

body[data-page="blogs"] .newsletter {
  background:transparent
}

body[data-page="blogs"] .newsletter-inner {
  margin-bottom:90px;
  padding:60px;
  background:linear-gradient(120deg,#605eb9,#7e7bd2 56%,#aeaaf0);
  border-radius:16px;
  color:#fff
}

body[data-page="blogs"] .newsletter .kicker {
  color:#e5e3ff
}

body[data-page="blogs"] .newsletter p {
  color:rgba(255,255,255,.75)
}

body[data-page="cases"] .final-cta {
  background:linear-gradient(120deg,#4f4d9e,#6966c3 58%,#302e65);
  border-radius:16px
}

body[data-page="cases"] .final-cta .kicker {
  color:#e7e5ff
}

body[data-page="cases"] .site-footer,body[data-page="blogs"] .site-footer {
  background:#efeeeb;
  border-top:1px solid var(--editorial-line)
}

@media(max-width:820px) {
  body[data-page="cases"] .page-hero,body[data-page="blogs"] .page-hero {
    padding:95px 24px 80px
  }

  body[data-page="cases"] .featured-case,body[data-page="blogs"] .featured-article {
    grid-template-columns:1fr
  }

  .case-grid,.article-grid {
    grid-template-columns:1fr 1fr
  }

  body[data-page="blogs"] .newsletter-inner {
    padding:40px
  }

}

@media(max-width:560px) {
  body[data-page="cases"] .page-hero h1,body[data-page="blogs"] .page-hero h1 {
    font-size:3.6rem
  }

  .case-grid,.article-grid {
    grid-template-columns:1fr
  }

  body[data-page="blogs"] .newsletter-inner {
    margin-bottom:14px;
    padding:32px 24px
  }

  .blog-tools {
    align-items:stretch;
    flex-direction:column
  }

  .search-box {
    min-width:0
  }

}

/* Final shared header sizing and typography */

.nav-wrap, body[data-page="home"] .nav-wrap {
  grid-template-columns: minmax(220px,1fr) auto minmax(220px,1fr);
  gap: 28px;
  height: 72px;
}

.wordmark, body[data-page="home"] .wordmark {
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1;
}

.main-nav, body[data-page="home"] .main-nav {
  gap: 9px;
}

.main-nav a, body[data-page="home"] .main-nav a {
  padding: 12px 15px;
  color: #42414a;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}

.main-nav a[aria-current="page"], body[data-page="home"] .main-nav a[aria-current="page"] {
  color: #292832;
  background: #efeeff;
}

.main-nav a[aria-current="page"]::after, body[data-page="home"] .main-nav a[aria-current="page"]::after {
  display: none;
}

.nav-actions .button, body[data-page="home"] .site-header .button {
  min-height: 44px;
  min-width: 210px;
  padding: 0 48px;
  border-radius:12px;
  font-size: .95rem;
  font-weight: 500;
}

.nav-actions .button > .arrow-icon,
body[data-page="home"] .site-header .button > .arrow-icon {
  right: 20px;
}

@media(max-width:1180px) {
  .nav-wrap,body[data-page="home"] .nav-wrap {
    grid-template-columns:175px auto 175px;
    gap:14px
  }

  .main-nav a,body[data-page="home"] .main-nav a {
    padding:10px 9px;
    font-size:.87rem
  }

  .wordmark,body[data-page="home"] .wordmark {
    font-size:1.8rem
  }

  .nav-actions .button,body[data-page="home"] .site-header .button {
    padding:0 16px;
    font-size:.82rem
  }

}

@media(max-width:820px) {
  .nav-wrap,body[data-page="home"] .nav-wrap {
    display:flex;
    height:64px
  }

  .wordmark,body[data-page="home"] .wordmark {
    font-size:1.75rem
  }

  .nav-actions .button,body[data-page="home"] .site-header .button {
    min-height:44px
  }

}

@media(prefers-reduced-motion:reduce) {
  body[data-page="cases"] .case-card:hover,body[data-page="blogs"] .article-card:hover {
    transform:none
  }

}
