.agency-suite {
  color-scheme: dark;
  --suite-paper: #101018;
  --suite-panel: #191824;
  --suite-ink: #f4f0fa;
  --suite-violet: #c0adff;
  --suite-muted: #bcb4cd;
  --suite-line: #363049;
  --suite-night: #0d0c14;
  background: var(--suite-paper);
  color: var(--suite-ink);
}

.suite-shell { width: min(1240px, calc(100% - 6.5vw)); margin-inline: auto; }
.suite-header { background: var(--suite-night); border-bottom: 1px solid var(--suite-line); }
.suite-navigation, .suite-footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.suite-navigation { min-height: 4.8rem; }
.suite-brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  flex-shrink: 0;
  text-decoration: none;
  font-size: 1.76rem;
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: 1;
}
.suite-mark {
  display: grid;
  place-items: center;
  inline-size: 2.58rem;
  block-size: 2.58rem;
  border-radius: .78rem;
  background: #6347b9;
}
.suite-mark img { width: 2.11rem; height: auto; }
.suite-nav, .suite-footer nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.75rem); }
.suite-nav a, .suite-footer nav a { font-size: .94rem; font-weight: 650; text-decoration: none; color: var(--suite-muted); }
.suite-nav a:hover, .suite-footer nav a:hover { color: var(--suite-violet); text-decoration: underline; }

.suite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  width: fit-content;
  padding: .68rem 1.22rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  background: var(--suite-violet);
  color: #1b1230;
  font-size: .98rem;
  font-weight: 740;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease;
}
.suite-button:hover { background: #d5c8ff; }
.suite-button-small { min-height: 2.8rem; padding-inline: .96rem; font-size: .9rem; }
.suite-link { color: #d2c3ff; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.suite-link:hover { color: var(--suite-ink); }
.suite-kicker {
  color: #c9baff;
  margin: 0 0 1.15rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 650;
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.agency-suite h1, .agency-suite h2 {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -.056em;
  margin: 0;
  line-height: 1.05;
}
.agency-suite h1 { font-size: clamp(3.25rem, 4.65vw, 4.4rem); }
.agency-suite h1 em { display: block; color: var(--suite-violet); font-style: normal; }
.agency-suite h2 { font-size: clamp(2.65rem, 4.3vw, 3.85rem); }
.agency-suite h3 {
  margin: 0;
  color: var(--suite-ink);
  font-family: var(--sans);
  font-size: clamp(1.16rem, 2vw, 1.41rem);
  font-weight: 740;
  letter-spacing: -.025em;
  line-height: 1.24;
}

.suite-hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 82% 45%, #28203d 0%, #161322 44%, #101018 77%);
  border-bottom: 1px solid var(--suite-line);
}
.suite-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: linear-gradient(#e6d8ff12 1px, transparent 1px), linear-gradient(90deg, #e6d8ff12 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 76% 52%, #000 4%, transparent 68%);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2rem, 4.35vw, 4rem);
  padding-block: clamp(3.25rem, 5.55vw, 5.3rem) clamp(2.9rem, 4.8vw, 4.4rem);
}
.hero-words { padding-bottom: 1.05rem; }
.hero-description, .portal-words > p:not(.suite-kicker) {
  color: var(--suite-muted);
  font-size: clamp(1rem, 1.52vw, 1.18rem);
  line-height: 1.55;
  max-width: 36rem;
  margin: 1.35rem 0 0;
}
.suite-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.3rem; margin-top: 1.8rem; }
.workspace-figure, .portal-figure { margin: 0; min-width: 0; }
.workspace-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-width: 0;
  padding: clamp(1.03rem, 2.5vw, 2.2rem);
  border: 1px solid #5a487c;
  border-radius: 1.15rem;
  background: radial-gradient(ellipse at 88% 7%, #3d2d5c 0%, #21192f 50%, #16131f 100%);
  box-shadow: 0 25px 70px #05030b9c;
}
.workspace-stage::before, .portal-figure::before {
  position: absolute;
  z-index: -1;
  content: "";
  inline-size: 34rem;
  block-size: 34rem;
  border: 1px solid #e3d5ff36;
  border-radius: 50%;
  box-shadow: 0 0 0 32px #e3d5ff14, 0 0 0 66px #e3d5ff10, 0 0 0 100px #e3d5ff12;
  right: -23rem;
  top: -19rem;
  transform: rotate(-22deg) scaleX(1.75);
}
.workspace-frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 1280 / 830;
  border: 1px solid #b5a3da80;
  border-radius: .72rem;
  background: #f7f4fc;
  box-shadow: 0 17px 45px #08050d85;
}
.workspace-shot { width: 100%; height: 100%; object-fit: contain; }
.workspace-slide-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.workspace-slide-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem .7rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  line-height: 1.4;
}
.workspace-slide-label > span { color: #e5d8ff; font-size: .875rem; text-underline-offset: .22em; }
.workspace-slide-link:hover .workspace-slide-label > span, .workspace-slide-link:focus-visible .workspace-slide-label > span { text-decoration: underline; }
.workspace-tours {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
  margin-top: .8rem;
}
.workspace-tours a, .workspace-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .4rem .6rem;
  border: 1px solid #49405d;
  border-radius: .5rem;
  background: #1b1729;
  color: #e8def8;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.workspace-tours a { flex: 1 1 auto; }
.workspace-tours a:hover, .workspace-control:hover { background: #2f2545; }
.workspace-tours a[aria-current="true"] { border-color: var(--suite-violet); background: var(--suite-violet); color: #1b1230; }
.workspace-figure figcaption, .portal-figure figcaption {
  color: var(--suite-muted);
  margin-top: .8rem;
  text-align: center;
  font-size: .86rem;
  line-height: 1.4;
}
.workspace-sample { color: #d7cced; white-space: nowrap; }
.workspace-dialog {
  box-sizing: border-box;
  width: min(78rem, calc(100% - 1.25rem));
  max-width: none;
  max-height: calc(100% - 1.25rem);
  margin: auto;
  padding: clamp(.6rem, 2vw, 1.2rem);
  border: 1px solid #6a5888;
  border-radius: .95rem;
  color: var(--suite-ink);
  background: var(--suite-panel);
  box-shadow: 0 20px 75px #0009;
}
.workspace-dialog:not([open]) { display: none; }
.workspace-dialog::backdrop { background: #090610dc; }
.workspace-dialog-heading, .workspace-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
.workspace-dialog-heading { margin-bottom: .65rem; }
.agency-suite .workspace-dialog h2 { font-size: clamp(1.1rem, 3vw, 1.6rem); letter-spacing: -.025em; }
.workspace-dialog img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  aspect-ratio: 1280 / 830;
  object-fit: contain;
  border-radius: .5rem;
  background: var(--suite-night);
}
.workspace-dialog-actions { margin-top: .65rem; }
.workspace-dialog-actions a { color: #e5d8ff; font-size: .875rem; text-underline-offset: .22em; }
.workspace-dialog-caption { margin: .45rem 0 0; color: var(--suite-muted); font-size: .875rem; text-align: center; }

.suite-section { padding-block: clamp(3.8rem, 6.7vw, 6.8rem); }
.wide-heading { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .75fr); align-items: end; gap: 1.15rem 2.6rem; margin-bottom: clamp(1.65rem, 3.6vw, 3rem); }
.wide-heading > p { margin: 0; padding-bottom: .25rem; color: var(--suite-muted); font-size: 1.06rem; max-width: 35rem; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.suite-module, .roadmap-card {
  padding: clamp(1.3rem, 3vw, 2.05rem);
  border: 1px solid var(--suite-line);
  border-radius: 1rem;
  background: var(--suite-panel);
}
.suite-module { border-top: 2px solid #8c71cf; }
.suite-module p, .roadmap-card p { margin: .72rem 0 0; color: var(--suite-muted); line-height: 1.6; }

.portal-section { background: #151320; border-block: 1px solid var(--suite-line); padding-block: clamp(2rem, 5vw, 4.6rem); }
.portal-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6.4vw, 6.1rem); }
.portal-figure {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 27rem;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 1.4rem 1rem 1.05rem;
  border: 1px solid #433658;
  border-radius: 1.15rem;
  background: radial-gradient(ellipse at 7% 72%, #3a2b56, #20172f 60%, #171320);
}
.portal-figure::before { top: 13rem; right: auto; left: -28rem; transform: scaleX(1.8); }
.portal-figure figcaption { color: #e1d7ef; }
.phone-preview {
  border: 7px solid #100b19;
  width: min(13.7rem, 100%);
  border-radius: 1.62rem;
  overflow: hidden;
  box-shadow: 0 18px 35px #110819a8;
  background: #f4f0fa;
}
.phone-preview img { width: 100%; height: auto; }
.portal-list { list-style: none; margin: 1.55rem 0 0; padding: 0; }
.portal-list li {
  display: grid;
  gap: .15rem;
  padding-block: .8rem;
  border-top: 1px solid var(--suite-line);
}
.portal-list strong { font-weight: 760; line-height: 1.35; }
.portal-list span { color: var(--suite-muted); }

.roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.roadmap-card { background: #171522; }

.questions-section { border-block: 1px solid var(--suite-line); background: #13121b; padding-block: clamp(3rem, 6vw, 5.4rem); }
.questions-layout { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1.12fr); gap: 1.8rem 3.5rem; }
.question-list { border-top: 1px solid var(--suite-line); }
.question-list details { border-bottom: 1px solid var(--suite-line); }
.question-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.8rem;
  padding: .84rem .12rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.42;
}
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: "+"; flex: none; color: var(--suite-violet); font-size: 1.4rem; font-weight: 500; }
.question-list details[open] summary::after { content: "−"; }
.question-list details p { margin: 0 0 1rem; color: var(--suite-muted); }

.demo-section { background: linear-gradient(115deg, #241936, #161220); padding-block: clamp(3.2rem, 6.7vw, 6.2rem); }
.demo-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.04fr); gap: 1.75rem clamp(2rem, 7vw, 6rem); align-items: center; }
.demo-words p { color: #e3d5f3; max-width: 29rem; font-size: 1.08rem; margin: 1.1rem 0 0; }
.demo-form { background: #1a1625; border: 1px solid #4e3e65; padding: clamp(1rem, 3.3vw, 2.18rem); border-radius: 1rem; }
.demo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.demo-fields label { min-width: 0; display: grid; align-content: start; gap: .32rem; font-size: .92rem; font-weight: 700; }
.demo-fields input, .demo-fields select {
  min-width: 0;
  width: 100%;
  min-height: 2.9rem;
  padding: .58rem .65rem;
  border: 1px solid #645474;
  border-radius: .48rem;
  color: var(--suite-ink);
  background: #110e19;
  font-size: 1rem;
  line-height: 1.25;
}
.demo-fields select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 48%, #c7b4ef 50% 62%, transparent 64%),
                    linear-gradient(-45deg, transparent 48%, #c7b4ef 50% 62%, transparent 64%);
  background-position: right .95rem center, right .59rem center;
  background-repeat: no-repeat;
  background-size: .4rem .4rem;
}
.demo-consent { display: flex; align-items: flex-start; gap: .65rem; margin-block: 1.05rem; font-size: .92rem; }
.demo-consent input { flex: none; margin: .18rem 0 0; inline-size: 1.06rem; block-size: 1.06rem; accent-color: var(--suite-violet); }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; }
.demo-actions > a { color: #d2c3ff; font-size: .9rem; text-underline-offset: .24em; }
.demo-status { margin: .88rem 0 0; padding: .68rem .8rem; background: #302447; border-radius: .52rem; color: #efe7ff; font-size: .94rem; }
.demo-status.error { background: #452033; color: #ffcfdd; }

.suite-footer { padding-block: 1.28rem; background: var(--suite-paper); }
.suite-footer .suite-brand { font-size: 1.5rem; }
.suite-footer nav { gap: .75rem 1.35rem; justify-content: end; }

@media (max-width: 960px) {
  .hero-layout { gap: 1.7rem; }
  .agency-suite h1 { font-size: clamp(2.9rem, 5.15vw, 4.4rem); }
  .workspace-tours { gap: .25rem; }
  .workspace-tours a { padding-inline: .3rem; }
}
@media (max-width: 745px) {
  .suite-shell { width: calc(100% - 2rem); }
  .suite-nav { display: none; }
  .suite-navigation { min-height: 4.25rem; gap: .5rem; }
  .hero-layout, .wide-heading, .portal-layout, .questions-layout, .demo-layout { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 2.75rem 2.25rem; gap: 1.55rem; }
  .hero-words { padding: 0; }
  .agency-suite h1 { font-size: clamp(3rem, 8vw, 4.1rem); }
  .workspace-stage { border-radius: 1rem; }
  .module-grid { grid-template-columns: 1fr; }
  .portal-words { order: -1; }
  .portal-layout { gap: 1.3rem; }
  .portal-figure { min-height: 0; }
  .suite-section { padding-block: 3.7rem; }
}
@media (max-width: 480px) {
  .agency-suite h1 { font-size: clamp(2.55rem, 10.7vw, 3.2rem); }
  .agency-suite h2 { font-size: clamp(2.35rem, 9.7vw, 3.15rem); }
  .hero-description { margin-top: 1.1rem; }
  .suite-actions { margin-top: 1.45rem; }
  .roadmap-grid, .demo-fields { grid-template-columns: 1fr; }
  .suite-footer-layout { flex-wrap: wrap; }
  .suite-footer nav { justify-content: start; }
}
@media (max-width: 385px) {
  .workspace-tours a { flex-basis: 28%; }
}
