:root:has(.landing-page) {
  color-scheme: light;
  background: #fcfbff;
  scroll-behavior: smooth;
}

.landing-page {
  --page: #fcfbff;
  --ink: #1d1930;
  --secondary: #59546c;
  --purple: #6533ad;
  --purple-hover: #50258e;
  --purple-soft: #f1e9fb;
  --rule: #e6e0ee;
  --white: #fff;
  display: block;
  place-items: normal;
  padding: 0;
  background: var(--page);
  color: var(--ink);
}

.landing-container { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.landing-page a { text-underline-offset: .2em; }
.landing-page :focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.landing-page [id] { scroll-margin-top: 5rem; }

.landing-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--rule);
  background: #fcfbfff0;
  backdrop-filter: blur(16px);
}

.landing-header-inner, .landing-footer > div { display: flex; min-height: 66px; align-items: center; gap: 1.5rem; }
.landing-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font: 750 1.25rem/1 Oxanium, sans-serif; text-decoration: none; white-space: nowrap; }
.landing-brand img { object-fit: contain; }
.landing-brand strong { color: var(--purple); }
.landing-nav, .landing-footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); margin-inline-start: auto; }
.landing-nav a, .landing-footer nav a { color: var(--secondary); font-size: .875rem; font-weight: 600; text-decoration: none; }
.landing-nav a:hover, .landing-footer nav a:hover { color: var(--purple); }
.landing-sign-in, .landing-text-link { display: inline-flex; align-items: center; justify-content: center; gap: .55em; color: var(--purple); font-weight: 650; text-decoration: none; }
.landing-sign-in { padding: .5rem .9rem; border: 1px solid #dfd1ee; border-radius: 9px; background: var(--white); font-size: .875rem; white-space: nowrap; }
.landing-sign-in:hover { background: var(--purple-soft); }
.landing-sign-in i, .landing-text-link i, .landing-button i { font-size: .78em; }
.landing-header-actions { display: flex; align-items: center; gap: .5rem; }
.landing-header-actions a { min-height: 38px; padding: .5rem .9rem; font-size: .875rem; }
.landing-header-actions .landing-button { border-radius: 9px; box-shadow: none; }

.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.4rem, 5vw, 4.5rem) clamp(2.5rem, 6.5vw, 5.1rem);
  background: radial-gradient(ellipse 65% 55% at 50% 82%, #e8daf9 0%, #fcfbff 100%);
}
.landing-hero::before {
  position: absolute;
  z-index: -1;
  inset: 35% 0 0;
  background: radial-gradient(circle, #a68bbd 1px, transparent 1.2px) 0 0 / 21px 21px;
  mask-image: radial-gradient(ellipse 70% 68% at 50% 60%, #0007, transparent);
  content: "";
}
.landing-hero-copy { text-align: center; }
.landing-hero h1 { font-size: clamp(3rem, 7.8vw, 6.25rem); font-weight: 750; line-height: .95; letter-spacing: -.075em; }
.landing-hero h1 em { display: inline-block; font-style: normal; color: #763fb7; background: linear-gradient(108deg, #5726a1, #9e448a); background-clip: text; -webkit-text-fill-color: transparent; }
.landing-hero-copy > p { max-width: 36rem; margin: 1.55rem auto 0; color: var(--secondary); font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.55; }
.landing-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.35rem; margin-top: 1.65rem; }
.landing-button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 46px; padding: .72rem 1.15rem; border: 1px solid transparent; border-radius: 10px; background: var(--purple); color: #fff; box-shadow: 0 5px 16px #6533ad38; font-size: .95rem; font-weight: 650; text-decoration: none; }
.landing-button:hover { background: var(--purple-hover); }
.landing-text-link { min-height: 44px; }
.landing-text-link:hover { text-decoration: underline; }

.landing-showcase { position: relative; max-width: 67rem; margin-block: clamp(2.5rem, 4.6vw, 4rem) 0; padding-inline-end: 4rem; }
.sample-window { overflow: hidden; border: 1px solid #dbd0e9; border-radius: 17px; background: #f7f5fb; box-shadow: 0 28px 70px #4b2a7430, 0 4px 10px #38215512; }
.sample-window-header { display: grid; grid-template-columns: 1fr minmax(7rem, 20rem) 1fr; align-items: center; gap: .5rem; min-height: 41px; padding: .4rem .85rem; border-bottom: 1px solid var(--rule); background: #f0edf5; }
.sample-window-controls { display: flex; gap: .35rem; }
.sample-window-controls span { width: 8px; height: 8px; border-radius: 50%; background: #d6cbe3; }
.sample-window-controls span:first-child { background: #bca7d2; }
.sample-address { overflow: hidden; padding: .23rem .35rem; border-radius: 5px; background: #e7e1ee; color: #4e465d; text-align: center; font-size: .66rem; font-weight: 600; white-space: nowrap; }
.sample-address i { margin-inline-end: .25em; font-size: .85em; }
.sample-caption { justify-self: end; color: var(--secondary); text-align: end; font-size: .64rem; }
.sample-app { display: grid; grid-template-columns: minmax(8rem, 17%) minmax(0, 1fr); }
.sample-sidebar { display: flex; flex-direction: column; gap: .28rem; padding: .9rem .6rem; border-right: 1px solid var(--rule); background: #fff; color: #575169; font-size: .75rem; }
.sample-sidebar > div { display: flex; align-items: center; gap: .48rem; min-height: 32px; padding: .3rem .48rem; white-space: nowrap; }
.sample-sidebar .sample-brand { margin-bottom: .52rem; padding: 0 .2rem; color: var(--ink); font: 720 .83rem/1 Oxanium, sans-serif; }
.sample-sidebar i { flex: 0 0 13px; text-align: center; }
.sample-sidebar .sample-nav-active { border-radius: 6px; background: var(--purple-soft); color: var(--purple); font-weight: 700; }
.sample-content { display: grid; gap: .85rem; min-width: 0; padding: clamp(.9rem, 2.6vw, 1.8rem); }
.sample-heading { display: flex; justify-content: space-between; align-items: start; gap: .65rem; }
.sample-heading h2 { margin: 0; font-size: clamp(1.1rem, 2.25vw, 1.6rem); letter-spacing: -.035em; }
.sample-heading p { margin-top: .23rem; color: var(--secondary); font-size: .74rem; }
.sample-heading > span { padding: .37rem .48rem; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: var(--secondary); font-size: .64rem; white-space: nowrap; }
.sample-heading > span i { margin-inline-start: .2rem; font-size: .75em; }
.sample-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.sample-stats > div, .sample-chart, .sample-orders { min-width: 0; padding: .75rem .9rem; border: 1px solid var(--rule); border-radius: 9px; background: #fff; }
.sample-orders { margin-inline-end: 13rem; }
.sample-stats dt { color: var(--secondary); font-size: .7rem; }
.sample-stats dd { margin: .15rem 0 0; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 750; font-variant-numeric: tabular-nums; }
.sample-chart h3, .sample-orders h3 { margin: 0 0 .55rem; font-size: .8rem; }
.sample-bars { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); align-items: end; gap: 3%; height: clamp(65px, 12vw, 112px); padding-inline: .45rem; border-bottom: 1px solid var(--rule); background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #eee9f3 calc(25% - 1px) 25%); }
.sample-bars span { height: var(--level); border-radius: 4px 4px 0 0; background: linear-gradient(0deg, #e0cafa, #9d6ad7); }
.sample-bars span:last-child { background: linear-gradient(0deg, #bd8ce1, #7539b4); }
.sample-chart-dates { display: flex; justify-content: space-between; margin-top: .28rem; color: var(--secondary); font-size: .62rem; }
.sample-order { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: .45rem; min-height: 32px; border-top: 1px solid var(--rule); font-size: .72rem; }
.sample-order img { padding: 3px; object-fit: contain; }
.sample-badge { flex: none; padding: .16rem .36rem; border-radius: 4px; font-size: .63rem; font-weight: 700; white-space: nowrap; }
.sample-purple { background: var(--purple-soft); color: var(--purple); }
.sample-green { background: #e4f6ed; color: #11664e; }
.sample-inboxes { position: absolute; right: 0; bottom: 6%; width: min(17.5rem, 37%); padding: .85rem; border: 1px solid #dfd4ed; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px #49306438; }
.sample-inbox-heading { display: flex; align-items: center; gap: .45rem; padding-bottom: .55rem; color: var(--purple); font-size: .78rem; }
.sample-inbox-heading h3 { margin: 0; color: var(--ink); font-size: .85rem; }
.sample-inbox { display: flex; justify-content: space-between; gap: .35rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--rule); color: var(--secondary); font-size: .7rem; }
.sample-inbox > span:first-child { min-width: 0; overflow-wrap: anywhere; }

.landing-retailers { padding-block: 1.85rem; border-block: 1px solid var(--rule); background: #fff; text-align: center; }
.landing-retailers h2 { margin: 0 0 1rem; color: var(--secondary); font-size: .9rem; font-weight: 650; }
.landing-retailers ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem clamp(1.25rem, 5vw, 3.6rem); margin: 0; padding: 0; list-style: none; }
.landing-retailers li { display: flex; align-items: center; gap: .5rem; color: #393349; font-weight: 650; white-space: nowrap; }
.landing-retailers img { object-fit: contain; }

.landing-features { padding-block: clamp(3.5rem, 8vw, 6.75rem); }
.landing-features h2, .landing-workspace h2, .landing-cta h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.06em; }
.landing-features h2 { max-width: 21ch; }
.landing-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.landing-feature-grid article { padding: clamp(1rem, 3vw, 1.65rem); border: 1px solid var(--rule); border-radius: 13px; background: #fff; }
.landing-feature-grid i, .landing-domain i { display: inline-grid; align-items: center; justify-items: center; width: 37px; height: 37px; border-radius: 8px; background: var(--purple-soft); color: var(--purple); font-size: 1rem; }
.landing-feature-grid h3 { margin: .95rem 0 .4rem; font-size: 1.08rem; }
.landing-feature-grid p, .landing-workspace p { color: var(--secondary); line-height: 1.6; }
.landing-workspace { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem; padding: clamp(1.5rem, 6vw, 4rem); border: 1px solid #e5d9f2; border-radius: 18px; background: linear-gradient(130deg, #f3eafb, #faf6fd 68%, #f4e8f2); }
.landing-workspace p { max-width: 35rem; margin-top: .9rem; }
.landing-domain { padding: .6rem 1rem; border: 1px solid #e6daef; border-radius: 12px; background: #fff; }
.landing-domain div { display: flex; align-items: center; gap: .7rem; padding-block: .55rem; font-size: .94rem; font-weight: 650; }
.landing-domain div + div { border-top: 1px solid var(--rule); }
.landing-cta { padding-block: clamp(3rem, 8vw, 6.5rem); text-align: center; }
.landing-cta .landing-button { margin-top: 1.3rem; }
.landing-footer { border-top: 1px solid var(--rule); background: #fff; }
.landing-footer > div { min-height: 86px; }

@media (max-width: 900px) {
  .landing-showcase { padding: 0; }
  .sample-inboxes { display: none; }
  .sample-orders { margin-inline-end: 0; }
}

@media (max-width: 680px) {
  .landing-container { width: calc(100% - 2rem); }
  .landing-header-inner { min-height: 59px; justify-content: space-between; gap: .65rem; }
  .landing-nav { display: none; }
  .sample-app { grid-template-columns: minmax(0, 1fr); }
  .sample-sidebar { display: none; }
  .sample-stats > div, .sample-chart, .sample-orders { padding-inline: .55rem; }
  .landing-feature-grid, .landing-workspace { grid-template-columns: minmax(0, 1fr); }
  .landing-workspace { gap: 1.25rem; }
  .landing-footer > div { flex-wrap: wrap; gap: .75rem 1rem; padding-block: 1.2rem; }
  .landing-footer nav { margin-inline-start: 0; }
}

@media (max-width: 360px) {
  .sample-heading > span { display: none; }
  .landing-hero h1 { font-size: 2.85rem; }
}

@media (max-width: 430px) {
  .landing-header .landing-brand { gap: .35rem; font-size: 1.05rem; }
  .landing-header .landing-brand img { width: 25px; height: 25px; }
  .landing-header-actions a { padding-inline: .65rem; }
  .landing-sign-in i { display: none; }
}

@media (max-width: 360px) {
  .landing-header-inner { width: calc(100% - 1rem); gap: .4rem; }
  .landing-header .landing-brand { font-size: .9rem; }
  .landing-header-actions { gap: .25rem; }
  .landing-header-actions a { padding-inline: .4rem; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root:has(.landing-page) { scroll-behavior: auto; }
}
