:root {
  --bg: #070707;
  --surface: #111111;
  --surface-2: #191918;
  --surface-3: #222220;
  --text: #fffaf5;
  --muted: #a7a29e;
  --line: rgba(255, 255, 255, 0.1);
  --orange: #ff5a13;
  --orange-2: #ff8a00;
  --pink: #dd1545;
  --green: #a8ff3e;
  --blue: #55a8ff;
  --gradient: linear-gradient(118deg, var(--orange-2) 0%, var(--orange) 42%, var(--pink) 100%);
  --display: "Bricolage Grotesque", "Arial Black", "Trebuchet MS", sans-serif;
  --ui: "Wix Madefor Display", "Trebuchet MS", sans-serif;
  --sidebar: 280px;
  --radius-xl: 34px;
  --radius-lg: 25px;
  --radius-md: 17px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffae7d;
  outline-offset: 3px;
}

::selection {
  background: var(--orange);
  color: white;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: black;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__spark {
  color: var(--orange);
  font-size: 26px;
  filter: drop-shadow(0 0 12px rgba(255, 90, 19, 0.55));
}

.wordmark__text {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.wordmark__text b {
  color: var(--orange);
}

.wordmark--large .wordmark__spark {
  font-size: 34px;
}

.wordmark--large .wordmark__text {
  font-size: 25px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(168, 255, 62, 0.09), 0 0 18px rgba(168, 255, 62, 0.55);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #242422;
  color: white;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.button--primary {
  background: var(--gradient);
  box-shadow: 0 14px 35px rgba(221, 21, 69, 0.2);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button--wide {
  width: 100%;
}

.button--small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 14px;
}

code,
pre {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

/* Login */

.login-body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 25% 70%, rgba(255, 90, 19, 0.14), transparent 27%),
    radial-gradient(circle at 70% 10%, rgba(221, 21, 69, 0.08), transparent 30%),
    #070707;
}

.login-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.2fr) minmax(410px, 0.8fr);
}

.login-story {
  position: relative;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 70px);
  overflow: hidden;
}

.login-story::after {
  position: absolute;
  right: 0;
  bottom: -110px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.login-story__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: auto;
  margin-bottom: 48px;
}

.login-story h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

.login-story h1 span {
  display: block;
  color: var(--orange);
}

.login-story__copy > p:last-child {
  max-width: 590px;
  margin: 28px 0 0;
  color: #c7c2bd;
  font-size: 18px;
  line-height: 1.65;
}

.login-orbit {
  position: absolute;
  z-index: 1;
  top: 12%;
  right: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 19, 0.19), rgba(255, 90, 19, 0) 66%);
}

.login-orbit__ring {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(255, 90, 19, 0.08);
}

.login-orbit__core {
  position: absolute;
  inset: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 30px 90px rgba(221, 21, 69, 0.28);
  font-family: var(--display);
  font-size: 33px;
  font-weight: 800;
}

.login-orbit__chip {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(25, 25, 24, 0.84);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.login-orbit__chip--one {
  top: 27px;
  left: 57px;
}

.login-orbit__chip--two {
  right: 11px;
  bottom: 94px;
}

.login-orbit__chip--three {
  bottom: 24px;
  left: 55px;
}

.login-panel {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 30px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.015) 22px 23px);
}

.login-card {
  width: min(100%, 480px);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(19, 19, 18, 0.92);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.login-card__number {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.login-card h2 {
  margin: 55px 0 13px;
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 58px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.login-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.login-form label {
  font-size: 13px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: #090909;
  color: white;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.login-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 19, 0.12);
}

.login-form input::placeholder {
  color: #6e6b68;
}

.login-form .button {
  margin-top: 5px;
  border: 0;
  cursor: pointer;
}

.login-card .login-card__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  font-size: 12px;
}

.alert {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 19, 0.35);
  border-radius: 12px;
  background: rgba(255, 90, 19, 0.1);
  color: #ffd1bd;
  font-size: 14px;
}

/* App shell */

.app-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 90, 19, 0.08), transparent 32%),
    var(--bg);
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(18px);
  transition: width 220ms ease, transform 220ms ease;
}

.sidebar__top {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #161615;
  color: white;
  cursor: pointer;
}

.sidebar__collapse span {
  margin-top: -2px;
  font-size: 28px;
  line-height: 1;
}

.sidebar__scroll {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 25px 17px;
  scrollbar-color: #3b3937 transparent;
  scrollbar-width: thin;
}

.sidebar__label {
  margin: 0 10px 12px;
  color: #6f6b68;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar__nav {
  display: grid;
  gap: 6px;
}

.nav-item {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #aaa5a1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.nav-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.045);
}

.nav-item.is-active {
  border-color: rgba(255, 90, 19, 0.15);
  background: linear-gradient(100deg, rgba(255, 90, 19, 0.2), rgba(221, 21, 69, 0.06));
  color: white;
}

.nav-item__icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.is-active .nav-item__icon {
  background: var(--orange);
  color: white;
}

.nav-item__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sidebar__future {
  display: flex;
  gap: 13px;
  margin-top: 28px;
  padding: 17px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #121211;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar__future .status-dot {
  margin-top: 5px;
}

.sidebar__future strong {
  font-size: 12px;
}

.sidebar__future p {
  margin: 5px 0 0;
  color: #77726f;
  font-size: 10px;
}

.sidebar__logout {
  padding: 17px;
  border-top: 1px solid var(--line);
}

.nav-item--button {
  width: 100%;
  border: 0;
  background: none;
  cursor: pointer;
}

.app-canvas {
  min-height: 100vh;
  margin-left: var(--sidebar);
  transition: margin-left 220ms ease;
}

.mobile-header {
  display: none;
}

.app-shell.is-collapsed .sidebar {
  width: 86px;
}

.app-shell.is-collapsed .app-canvas {
  margin-left: 86px;
}

.app-shell.is-collapsed .sidebar__top {
  padding-inline: 17px;
}

.app-shell.is-collapsed .sidebar__top .wordmark {
  display: none;
}

.app-shell.is-collapsed .sidebar__collapse span {
  transform: rotate(180deg);
}

.app-shell.is-collapsed .sidebar__label,
.app-shell.is-collapsed .nav-item__label,
.app-shell.is-collapsed .sidebar__future,
.app-shell.is-collapsed .sidebar__logout .nav-item__label {
  display: none;
}

.app-shell.is-collapsed .nav-item {
  justify-content: center;
  padding-inline: 0;
}

.sidebar-backdrop {
  display: none;
}

.page {
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: 32px clamp(24px, 4vw, 64px) 90px;
}

/* Home */

.hero {
  position: relative;
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 30px;
  align-items: center;
  padding: clamp(42px, 6vw, 88px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), transparent 50%),
    #10100f;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.32);
}

.hero::before {
  position: absolute;
  right: -100px;
  bottom: -260px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 19, 0.27), rgba(221, 21, 69, 0.1) 35%, transparent 67%);
  content: "";
  filter: blur(7px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 15px 25px;
  margin-bottom: 26px;
}

.hero__meta .eyebrow {
  margin: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d0cbc6;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6.7vw, 112px);
  font-weight: 800;
  letter-spacing: -0.074em;
  line-height: 0.86;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero__lede {
  max-width: 690px;
  margin: 30px 0 0;
  color: #b9b4af;
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__visual {
  position: relative;
  z-index: 2;
  min-height: 450px;
}

.signal-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.signal-orbit--outer {
  inset: 10px -50px 10px 15px;
  box-shadow: inset 0 0 100px rgba(255, 90, 19, 0.05);
}

.signal-orbit--inner {
  inset: 80px 20px 80px 85px;
  border-style: dashed;
  border-color: rgba(255, 90, 19, 0.45);
}

.signal-core {
  position: absolute;
  top: 50%;
  left: 54%;
  display: flex;
  width: 190px;
  height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 10px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 35px 90px rgba(221, 21, 69, 0.35), inset 0 0 40px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
}

.signal-core span,
.signal-core small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.signal-core strong {
  margin: 4px 0;
  font-family: var(--display);
  font-size: 55px;
  letter-spacing: -0.08em;
  line-height: 1;
}

.signal-card {
  position: absolute;
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(17, 17, 16, 0.82);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(15px);
}

.signal-card--top {
  top: 43px;
  left: 0;
}

.signal-card--bottom {
  right: -15px;
  bottom: 54px;
}

.signal-card small {
  display: block;
  margin-bottom: 4px;
  color: #8c8783;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  max-width: 180px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-card__icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: var(--orange);
  font-size: 18px;
}

.signal-spark {
  position: absolute;
  color: var(--orange);
  text-shadow: 0 0 18px currentColor;
}

.signal-spark--one {
  top: 90px;
  right: 20px;
  font-size: 30px;
}

.signal-spark--two {
  bottom: 80px;
  left: 75px;
  color: #ffbb91;
  font-size: 18px;
}

.event-strip,
.capabilities {
  padding-top: 90px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(39px, 5vw, 68px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.section-heading h2 span {
  color: var(--orange);
}

.section-heading--inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  color: #ddd7d2;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.event-list {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.event-row {
  display: grid;
  grid-template-columns: 16px minmax(220px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #111110;
}

.event-row__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 17px rgba(255, 90, 19, 0.8);
}

.event-row__name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.event-row__name strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-row__name code,
.event-row__time {
  color: #7f7a76;
  font-size: 11px;
}

.status-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(168, 255, 62, 0.2);
  border-radius: 999px;
  background: rgba(168, 255, 62, 0.07);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.empty-state {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 28px;
  padding: 26px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.018);
}

.empty-state__icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 90, 19, 0.11);
  color: var(--orange);
  font-size: 28px;
}

.empty-state div {
  flex: 1;
}

.empty-state h3 {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 21px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.92fr;
  grid-template-rows: 340px 340px;
  gap: 14px;
  margin-top: 30px;
}

.bento-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-2);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card--orange {
  grid-row: span 2;
  border-color: transparent;
  background: var(--orange);
}

.bento-card--dark {
  background: #131312;
}

.bento-card--pink {
  border-color: transparent;
  background: linear-gradient(150deg, #9f0c4b, #e0164b 65%, #ff4e38);
}

.bento-card__index {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.bento-card__copy {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.bento-card__copy h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(29px, 3vw, 44px);
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.bento-card__copy p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.bento-card--orange .bento-card__copy p,
.bento-card--pink .bento-card__copy p {
  color: rgba(255, 255, 255, 0.82);
}

.bento-graphic--database {
  position: absolute;
  right: 8%;
  bottom: 17%;
  width: 190px;
  height: 130px;
  transform: rotate(-8deg);
}

.bento-graphic--database span {
  position: absolute;
  right: 0;
  width: 150px;
  height: 65px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: linear-gradient(180deg, #44413e, #1e1d1c);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.33);
}

.bento-graphic--database span:nth-child(1) {
  top: 0;
}

.bento-graphic--database span:nth-child(2) {
  top: 31px;
}

.bento-graphic--database span:nth-child(3) {
  top: 62px;
  background: linear-gradient(180deg, var(--orange), #b02b12);
}

.bento-graphic--lock {
  position: absolute;
  right: -50px;
  bottom: -60px;
  display: grid;
  width: 270px;
  height: 250px;
  place-items: center;
  border-radius: 52px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(119, 0, 26, 0.15));
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
  transform: rotate(-12deg);
}

.bento-graphic--lock strong {
  font-family: var(--display);
  font-size: 85px;
}

.lock-shackle {
  position: absolute;
  top: -73px;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(255, 255, 255, 0.32);
  border-bottom: 0;
  border-radius: 70px 70px 0 0;
}

.waveform {
  position: absolute;
  right: 25px;
  bottom: 30px;
  display: flex;
  height: 100px;
  align-items: end;
  gap: 8px;
  opacity: 0.65;
}

.waveform i {
  display: block;
  width: 11px;
  border-radius: 999px;
  background: var(--orange);
}

.waveform i:nth-child(1),
.waveform i:nth-child(7) { height: 25%; }
.waveform i:nth-child(2),
.waveform i:nth-child(6) { height: 48%; }
.waveform i:nth-child(3),
.waveform i:nth-child(5) { height: 77%; }
.waveform i:nth-child(4) { height: 100%; background: var(--pink); }

.scenario-stack {
  position: absolute;
  right: 24px;
  bottom: 25px;
  display: grid;
  gap: 8px;
  width: 165px;
  transform: rotate(-4deg);
}

.scenario-stack span {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-weight: 700;
}

/* Utility pages */

.page--utility {
  max-width: 1320px;
  padding-top: 65px;
}

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

.page-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 98px);
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.page-header h1 span {
  color: var(--orange);
}

.page-header > div > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.notice {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 90, 19, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 90, 19, 0.07);
}

.notice__icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-family: serif;
  font-weight: 800;
}

.notice p {
  margin: 1px 0 0;
  color: #d7cec8;
  font-size: 13px;
  line-height: 1.6;
}

.endpoint-card {
  padding: clamp(23px, 3.5vw, 45px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #111110;
}

.endpoint-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.method-badge {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.endpoint-card__header > code {
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.endpoint-card__name {
  margin-left: auto;
  color: #7f7a76;
  font-size: 12px;
}

.endpoint-card__summary {
  max-width: 780px;
  margin: 20px 0 35px;
  color: var(--muted);
  line-height: 1.6;
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.endpoint-grid > section {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0b0b0b;
}

.endpoint-grid h2,
.example-block h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.definition-list {
  margin: 0 0 20px;
}

.definition-list > div {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.definition-list dt {
  color: #77726e;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.definition-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #cec8c3;
  font-size: 12px;
}

.definition-list code {
  color: #ffb58f;
}

.required {
  display: inline-block;
  margin-left: 5px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.code-panel,
.example-block {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #050505;
}

.code-panel__top {
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  color: #77726f;
  font-size: 10px;
  font-weight: 700;
}

.code-panel pre,
.example-block pre {
  margin: 0;
  padding: 17px;
  overflow-x: auto;
  color: #f3b397;
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.response-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.response-notes span {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #8f8a86;
  font-size: 9px;
}

.response-notes b {
  color: #dbd5d0;
}

.examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.example-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.example-block__header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.example-block h2 {
  margin: 0;
  font-size: 13px;
}

.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 90, 19, 0.6);
}

.platform-dot--blue {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(85, 168, 255, 0.6);
}

.copy-button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171716;
  color: #c2bdb9;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.copy-button:hover {
  border-color: rgba(255, 90, 19, 0.45);
  color: white;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.setting-card {
  position: relative;
  min-height: 220px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #131312;
}

.setting-card--feature {
  grid-row: span 2;
  min-height: 455px;
  background:
    radial-gradient(circle at 85% 85%, rgba(255, 90, 19, 0.35), transparent 36%),
    #1a1917;
}

.setting-card--feature::after {
  position: absolute;
  right: -85px;
  bottom: -95px;
  width: 300px;
  height: 300px;
  border: 40px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.setting-card__eyebrow {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.setting-card--feature h2 {
  margin: 78px 0 12px;
  font-family: var(--display);
  font-size: clamp(45px, 6vw, 82px);
  letter-spacing: -0.07em;
}

.setting-card h2 {
  margin: 42px 0 8px;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.setting-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.setting-card .status-badge {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 27px;
}

.setting-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.setting-state {
  position: absolute;
  bottom: 25px;
  left: 27px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #8e8985;
  font-size: 10px;
  font-weight: 700;
}

.setting-state--ok {
  background: rgba(168, 255, 62, 0.08);
  color: var(--green);
}

.settings-note {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-top: 15px;
  padding: 24px 27px;
  border-radius: 22px;
  background: var(--gradient);
}

.settings-note > span {
  font-size: 35px;
}

.settings-note h2 {
  margin: 0 0 3px;
  font-family: var(--display);
  font-size: 21px;
}

.settings-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.settings-note code {
  color: white;
}

.error-page {
  display: flex;
  min-height: 90vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-page__code {
  color: rgba(255, 90, 19, 0.17);
  font-family: var(--display);
  font-size: clamp(140px, 22vw, 300px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.65;
}

.error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(45px, 7vw, 90px);
  letter-spacing: -0.065em;
}

.error-page > p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sidebar__label--scenario {
  display: block;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.endpoint-card + .endpoint-card {
  margin-top: 22px;
}

/* Account creation scenario */

.page--scenario,
.page--scenario-detail {
  max-width: 1480px;
}

.page--scenario {
  padding-top: 34px;
}

.page--scenario-detail {
  padding-top: 58px;
}

.detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.detail-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

.detail-header > div > p:last-child {
  max-width: 690px;
  margin: 25px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.crm-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 31px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 90, 19, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(221, 21, 69, 0.15), transparent 38%),
    linear-gradient(115deg, rgba(255, 90, 19, 0.09), rgba(255, 255, 255, 0.02));
}

.crm-header::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 3px;
  background: var(--gradient);
  content: "";
}

.crm-header__intro {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.crm-header__intro .eyebrow {
  margin-bottom: 9px;
}

.crm-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.crm-header__intro > p:last-child {
  max-width: 680px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.crm-header__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.crm-listening {
  border-color: rgba(255, 90, 19, 0.25);
  background: rgba(7, 7, 7, 0.58);
}

.crm-listening.is-reconnecting {
  color: #d9b88c;
}

.crm-listening.is-reconnecting .status-dot {
  background: var(--orange-2);
  box-shadow: 0 0 0 5px rgba(255, 138, 0, 0.08);
}

.webhook-cta {
  display: grid;
  grid-template-columns: auto minmax(220px, 0.75fr) minmax(380px, 1.25fr);
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0c0c0b;
}

.webhook-cta__mark {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  border: 1px solid rgba(255, 90, 19, 0.24);
  border-radius: 17px;
  background: rgba(255, 90, 19, 0.08);
  color: var(--orange);
  font-size: 28px;
}

.webhook-cta__copy .eyebrow {
  margin-bottom: 6px;
}

.webhook-cta__copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.webhook-cta__copy > p:last-child {
  margin: 7px 0 0;
  color: #a7a09a;
  font-size: 11px;
  line-height: 1.5;
}

.webhook-cta__endpoint {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 10px 11px 10px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #090909;
}

.webhook-cta__endpoint > span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.webhook-cta__endpoint code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #f0b093;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-section {
  padding-top: 0;
}

.customer-count {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aaa39e;
  font-size: 11px;
  font-weight: 700;
}

.customer-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111110;
}

.search-field {
  display: flex;
  min-width: 220px;
  flex: 1;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #090909;
  color: #77716d;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
}

.search-field:focus-within,
.sort-field:focus-within {
  border-color: rgba(255, 90, 19, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 90, 19, 0.09);
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #090909;
}

.sort-field > span {
  color: #77716d;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.sort-field select {
  border: 0;
  outline: 0;
  background: #090909;
  color: white;
  font-size: 13px;
  cursor: pointer;
}

.filter-reset {
  padding: 8px;
  color: #9c9691;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.filter-reset:hover {
  color: var(--orange);
}

.customer-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.customer-card {
  display: grid;
  grid-template-columns: auto minmax(220px, 1.3fr) minmax(210px, 0.75fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111110;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.customer-card:hover {
  border-color: rgba(255, 90, 19, 0.35);
  background: #171614;
  transform: translateX(3px);
}

.customer-avatar,
.mock-message-avatar {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--orange), var(--pink));
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
}

.customer-card__identity,
.customer-card__date {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.customer-card__identity strong,
.customer-card__identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-card__identity strong {
  font-size: 14px;
}

.customer-card__identity span,
.customer-card__date time {
  color: #918b86;
  font-size: 11px;
}

.customer-card__date small {
  color: #625e5b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-card__arrow {
  color: #6f6964;
  font-size: 22px;
  transition: color 150ms ease, transform 150ms ease;
}

.customer-card:hover .customer-card__arrow {
  color: var(--orange);
  transform: translateX(3px);
}

.empty-state--scenario {
  min-height: 180px;
}

.tester-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.tester-crm,
.sent-mail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.tester-crm {
  padding: 23px;
  background: rgba(17, 17, 16, 0.88);
}

.tester-crm .section-heading h2 {
  font-size: clamp(34px, 3.3vw, 48px);
}

.tester-crm .customer-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.tester-crm .search-field {
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
}

.tester-crm .customer-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 13px;
  padding: 15px;
}

.tester-crm .customer-card__date {
  grid-column: 2;
}

.tester-crm .customer-card .status-badge {
  grid-column: 2;
}

.tester-crm .customer-card__arrow {
  grid-column: 3;
  grid-row: 1;
}

.tester-crm .empty-state--scenario {
  min-height: 260px;
  align-content: center;
}

.sent-mail {
  background: #f6f8fc;
  color: #202124;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.sent-mail__topbar {
  display: grid;
  min-height: 72px;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 11px 17px;
  border-bottom: 1px solid #dfe3e7;
  background: #f8fafd;
}

.sent-mail__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sent-mail__brand > div {
  display: grid;
  gap: 2px;
}

.sent-mail__brand strong {
  font-size: 13px;
  white-space: nowrap;
}

.sent-mail__brand small {
  color: #747982;
  font-size: 8px;
}

.sent-mail__gmail-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, #e94235, #f4b400);
  color: white;
  font-weight: 900;
}

.sent-mail__search {
  display: flex;
  min-width: 0;
  height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 22px;
  background: #eaf1fb;
  color: #6f747b;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.sent-mail .mock-label {
  border-color: rgba(197, 34, 31, 0.18);
  background: rgba(197, 34, 31, 0.07);
  color: #b3261e;
}

.sent-mail__layout {
  display: grid;
  min-height: 750px;
  grid-template-columns: 120px minmax(0, 1fr);
}

.sent-mail__folders {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 15px 8px;
  border-right: 1px solid #dde2e7;
  background: #eef3f8;
}

.sent-mail__folders > span {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 0 18px 18px 0;
  color: #5f6368;
  font-family: Arial, sans-serif;
  font-size: 10px;
  white-space: nowrap;
}

.sent-mail__folders i {
  width: 14px;
  flex: 0 0 auto;
  font-style: normal;
  text-align: center;
}

.sent-mail__folders b {
  margin-left: auto;
  font-size: 8px;
}

.sent-mail__folders .sent-mail__compose {
  min-height: 44px;
  margin: 0 5px 9px 0;
  justify-content: center;
  border-radius: 14px;
  background: #c2e7ff;
  box-shadow: 0 2px 5px rgba(60, 64, 67, 0.12);
  color: #263238;
  font-size: 20px;
}

.sent-mail__folders .is-active {
  background: #f5d2d0;
  color: #8d241f;
  font-weight: 700;
}

.sent-mail__main {
  min-width: 0;
  background: white;
}

.sent-mail__list-header {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 16px;
  border-bottom: 1px solid #e2e5e9;
  background: #fff;
  font-family: Arial, sans-serif;
}

.sent-mail__list-header > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sent-mail__list-header strong {
  font-size: 14px;
}

.sent-mail__list-header span {
  color: #7c8188;
  font-size: 8px;
}

.sent-mail__rows {
  max-height: 235px;
  overflow-y: auto;
  border-bottom: 1px solid #dfe3e7;
  scrollbar-color: #b8bdc3 #f2f4f6;
  scrollbar-width: thin;
}

.sent-mail-row {
  display: grid;
  min-width: 0;
  min-height: 54px;
  grid-template-columns: 18px minmax(105px, 0.75fr) minmax(145px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #edf0f2;
  background: #f7f9fc;
  color: #303134;
  font-family: Arial, sans-serif;
  text-decoration: none;
  transition: background 120ms ease, box-shadow 120ms ease;
}

.sent-mail-row:hover {
  background: #eef3f8;
  box-shadow: inset 0 0 0 1px #d9dde2;
}

.sent-mail-row:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid #1a73e8;
  outline-offset: -3px;
}

.sent-mail-row.is-selected {
  background: #d3e3fd;
  box-shadow: inset 4px 0 #d93025;
}

.sent-mail-row__check {
  color: #777c82;
  font-size: 15px;
}

.sent-mail-row__recipient {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.sent-mail-row__recipient strong,
.sent-mail-row__recipient small,
.sent-mail-row__subject {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sent-mail-row__recipient strong {
  font-size: 10px;
}

.sent-mail-row__recipient small {
  color: #73777d;
  font-size: 8px;
}

.sent-mail-row__subject {
  font-size: 10px;
}

.sent-mail-row time {
  color: #747980;
  font-size: 8px;
  white-space: nowrap;
}

.sent-mail__open {
  min-width: 0;
  background: white;
}

.sent-mail__toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 18px;
  padding: 0 17px;
  border-bottom: 1px solid #e5e7ea;
  color: #70757a;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.sent-mail__message-header {
  display: flex;
  min-width: 0;
  gap: 11px;
  align-items: flex-start;
  padding: 17px 20px;
  border-bottom: 1px solid #eceff1;
  font-family: Arial, sans-serif;
}

.sent-mail__message-header > div {
  min-width: 0;
  flex: 1;
}

.sent-mail__message-header h3 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.3;
}

.sent-mail__message-header p {
  margin: 2px 0;
  color: #73777c;
  font-size: 9px;
}

.sent-mail__message-header p strong {
  color: #303338;
}

.sent-mail__message-header time {
  color: #84888e;
  font-size: 8px;
  white-space: nowrap;
}

.sent-mail__email-card {
  width: min(100% - 32px, 500px);
  margin: 20px auto 32px;
  padding: clamp(22px, 3vw, 34px);
}

.email-credential-note {
  color: #7e8288;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.4;
}

.sent-mail__empty {
  display: grid;
  min-height: 680px;
  place-content: center;
  justify-items: center;
  padding: 35px;
  text-align: center;
}

.sent-mail__empty > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #e9eef6;
  color: #6d747c;
  font-size: 27px;
}

.sent-mail__empty h3 {
  margin: 19px 0 7px;
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.sent-mail__empty p {
  max-width: 370px;
  margin: 0;
  color: #73777d;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.55;
}

.developer-drawer {
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
}

.developer-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #aaa39e;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 150ms ease, color 150ms ease;
}

.developer-drawer > summary::-webkit-details-marker {
  display: none;
}

.developer-drawer > summary:hover {
  background: rgba(255, 255, 255, 0.025);
  color: white;
}

.developer-drawer > summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -3px;
}

.developer-drawer__summary-copy {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.developer-drawer__summary-copy strong {
  color: #d1cbc6;
  font-size: 13px;
}

.developer-drawer__summary-copy > span {
  color: #726c68;
  font-size: 11px;
}

.developer-drawer__affordance {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange);
}

.developer-drawer__affordance::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.developer-drawer[open] .developer-drawer__affordance::before {
  content: "−";
}

.developer-drawer__content {
  padding: 22px;
  border-top: 1px solid var(--line);
}

.developer-contract {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.developer-contract > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0c0b;
}

.developer-contract__label {
  display: block;
  margin-bottom: 8px;
  color: #77716d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.developer-contract p {
  margin: 0;
  color: #aaa39e;
  font-size: 12px;
  line-height: 1.55;
}

.developer-contract code {
  color: #e0a085;
  font-size: 11px;
}

.developer-drawer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
}

.developer-drawer__footer p {
  margin: 0;
  color: #77716d;
  font-size: 11px;
}

.developer-drawer__footer strong {
  color: #9e9791;
}

/* Account detail */

.detail-header {
  align-items: center;
}

.detail-header h1 {
  margin-top: 15px;
  font-size: clamp(52px, 6vw, 86px);
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: #aaa39e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.detail-back:hover {
  color: var(--orange);
}

.status-badge--large {
  padding: 10px 14px;
  font-size: 11px;
}

.account-story {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(600px, 1.35fr);
  gap: 18px;
  align-items: start;
}

.account-profile {
  display: grid;
  gap: 14px;
}

.credential-panel,
.metadata-panel,
.invitation-timeline,
.mock-inbox {
  border: 1px solid var(--line);
  border-radius: 27px;
  background: #121211;
}

.credential-panel,
.metadata-panel {
  padding: clamp(23px, 3vw, 34px);
}

.credential-panel {
  border-color: rgba(255, 90, 19, 0.24);
  background:
    radial-gradient(circle at 105% -5%, rgba(255, 90, 19, 0.21), transparent 33%),
    #131211;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading .eyebrow {
  margin-bottom: 7px;
}

.panel-heading h2,
.invitation-timeline h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.045em;
}

.demo-tag,
.mock-label {
  padding: 6px 9px;
  border: 1px solid rgba(255, 90, 19, 0.28);
  border-radius: 999px;
  background: rgba(255, 90, 19, 0.09);
  color: #ff9c6e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credential-warning {
  margin: 17px 0 0;
  padding: 11px 13px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 90, 19, 0.06);
  color: #b9b0aa;
  font-size: 11px;
  line-height: 1.55;
}

.credential-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.credential-item {
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: #090909;
}

.credential-item > span {
  display: block;
  margin-bottom: 9px;
  color: #77716d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential-item > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.credential-item code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff2eb;
  font-size: 14px;
  font-weight: 750;
}

.credential-item--password code {
  color: #ffad87;
}

.invitation-timeline {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  border-color: rgba(168, 255, 62, 0.22);
  background: linear-gradient(110deg, rgba(168, 255, 62, 0.09), #121211 60%);
}

.invitation-timeline::after {
  position: absolute;
  top: 50%;
  right: -28px;
  width: 100px;
  height: 100px;
  border: 18px solid rgba(168, 255, 62, 0.05);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.timeline-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 30px rgba(168, 255, 62, 0.18);
  color: #091000;
  font-weight: 900;
}

.invitation-timeline .eyebrow {
  margin-bottom: 5px;
  color: var(--green);
}

.invitation-timeline h2 {
  font-size: 23px;
}

.invitation-timeline p {
  margin: 7px 0 2px;
  color: #aaa49e;
  font-size: 11px;
}

.invitation-timeline time {
  color: #746f6b;
  font-size: 10px;
}

.metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
}

.metadata-grid > div {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.metadata-grid dt {
  margin-bottom: 6px;
  color: #6f6a66;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.metadata-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #c4bdb8;
  font-size: 12px;
  line-height: 1.5;
}

.mock-inbox {
  min-width: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.13);
  background: #eceff3;
  color: #25272a;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
}

.mock-inbox__topbar {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  border-bottom: 1px solid #d9dde2;
  background: #f7f8fa;
}

.mock-gmail-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mock-gmail-brand > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, #e53935, #f7b529);
  color: white;
  font-weight: 900;
}

.mock-gmail-brand div {
  display: grid;
}

.mock-gmail-brand strong {
  font-size: 14px;
}

.mock-gmail-brand small {
  margin-top: 2px;
  color: #73777e;
  font-size: 9px;
}

.mock-inbox .mock-label {
  border-color: rgba(214, 45, 45, 0.2);
  background: rgba(214, 45, 45, 0.07);
  color: #c12626;
}

.mock-inbox__body {
  display: grid;
  min-height: 760px;
  grid-template-columns: 56px 210px minmax(390px, 1fr);
}

.mock-inbox__rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  padding-top: 16px;
  border-right: 1px solid #dde0e4;
  background: #f3f5f7;
}

.mock-inbox__rail span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #6d7278;
  font-size: 13px;
}

.mock-inbox__rail .mock-compose {
  margin-bottom: 7px;
  background: #c6e7ff;
  color: #263238;
  font-size: 22px;
}

.mock-inbox__rail .is-active {
  background: #f5d1ce;
  color: #a52323;
}

.mock-inbox__messages {
  border-right: 1px solid #dfe2e6;
  background: #f7f8fa;
}

.mock-inbox__folder {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid #e0e3e7;
}

.mock-inbox__folder strong {
  font-size: 13px;
}

.mock-inbox__folder span {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 10px;
  background: #e2e5e9;
  color: #61666d;
  font-size: 9px;
}

.mock-message-row {
  display: flex;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: 1px solid #e0e3e7;
}

.mock-message-row.is-selected {
  border-left: 3px solid #d6332c;
  background: #fff;
}

.mock-message-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  font-size: 8px;
}

.mock-message-row > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mock-message-row strong {
  font-size: 10px;
}

.mock-message-row span {
  overflow: hidden;
  color: #45494f;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-message-row small {
  color: #93979d;
  font-size: 8px;
}

.mock-email {
  min-width: 0;
  background: white;
}

.mock-email__toolbar {
  display: flex;
  height: 43px;
  align-items: center;
  gap: 17px;
  padding: 0 17px;
  border-bottom: 1px solid #e4e6e9;
  color: #70747a;
  font-size: 13px;
}

.mock-email__header {
  display: flex;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid #eceef0;
}

.mock-email__avatar {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
}

.mock-email__header h2 {
  margin: 0 0 9px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.mock-email__header p {
  margin: 2px 0;
  color: #73777c;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.mock-email__header p strong {
  color: #303338;
}

.mock-email__content {
  width: min(100% - 40px, 480px);
  margin: 26px auto 45px;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 90, 19, 0.1), transparent 30%),
    #fff;
  box-shadow: 0 18px 45px rgba(26, 28, 31, 0.09);
  font-family: Arial, sans-serif;
}

.email-wordmark {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 750;
}

.email-wordmark span,
.email-wordmark b {
  color: var(--orange);
}

.email-kicker {
  margin: 34px 0 8px;
  color: var(--orange);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mock-email__content h3 {
  margin: 0;
  color: #171717;
  font-family: var(--display);
  font-size: 33px;
  letter-spacing: -0.055em;
}

.mock-email__content > p:not(.email-kicker, .email-footnote) {
  color: #62666b;
  font-size: 11px;
  line-height: 1.6;
}

.email-credentials {
  display: grid;
  gap: 1px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #e7e7e7;
}

.email-credentials div {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  background: #f8f8f8;
}

.email-credentials span {
  color: #888b8f;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-credentials strong {
  overflow-wrap: anywhere;
  color: #242629;
  font-size: 11px;
}

.email-metadata {
  margin: 18px 0;
}

.email-metadata > strong,
.email-playlist > strong,
.email-usage > strong {
  color: #474a4f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-metadata dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 9px 0 0;
}

.email-metadata dl div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e7e8ea;
  border-radius: 9px;
  background: #f8f9fa;
}

.email-metadata dt {
  color: #888b8f;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.email-metadata dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #303338;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.email-playlist {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: clamp(16px, 3vw, 21px);
  border: 2px solid #f0a17e;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 90, 19, 0.14), transparent 42%),
    #fff7f2;
}

.email-playlist > strong {
  color: #a63a10;
  font-size: 11px;
}

.email-playlist > span {
  color: #55595e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.email-playlist code {
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #efc3af;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.84);
  word-break: break-all;
  overflow-wrap: anywhere;
  color: #7c2607;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 800;
  line-height: 1.55;
}

.email-playlist small {
  color: #686d73;
  font-size: 9px;
  line-height: 1.5;
}

.email-usage {
  margin: 18px 0;
  padding: 15px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: #f7f8fa;
}

.email-usage ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #62666b;
  font-size: 10px;
  line-height: 1.55;
}

.email-usage li + li {
  margin-top: 6px;
}

.email-usage b {
  color: #303338;
}

.email-inert-path {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 4px;
  background: #e9edf2;
  color: #35383c;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.email-usage li small {
  color: #8a8e93;
  font-size: 8px;
}

.email-login-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 20px;
  padding: 0 17px;
  border-radius: 10px;
  background: var(--gradient);
  box-shadow: 0 10px 25px rgba(221, 21, 69, 0.18);
  color: white;
  font-size: 10px;
  font-weight: 750;
  cursor: not-allowed;
}

.mock-email__content .email-footnote {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eeeeee;
  color: #9a9da1;
  font-size: 8px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 370px;
  }

  .signal-orbit--outer {
    inset: 0 8% 0 8%;
  }

  .signal-orbit--inner {
    inset: 55px 18% 55px 18%;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 320px);
  }

  .bento-card--orange {
    grid-row: span 1;
  }

  .bento-card--dark,
  .bento-card--pink {
    grid-column: span 1;
  }

  .webhook-cta {
    grid-template-columns: auto 1fr auto;
  }

  .webhook-cta__endpoint {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .account-story {
    grid-template-columns: minmax(340px, 0.75fr) minmax(520px, 1.25fr);
  }

  .tester-workspace {
    grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
    gap: 14px;
  }

  .tester-crm {
    padding: 19px;
  }

  .sent-mail__layout {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .sent-mail__folders > span {
    padding-inline: 7px;
  }

  .mock-inbox__body {
    grid-template-columns: 50px 170px minmax(350px, 1fr);
  }
}

@media (max-width: 900px) {
  .login-layout {
    display: block;
  }

  .login-story {
    min-height: 590px;
  }

  .login-panel {
    min-height: 650px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .sidebar {
    width: min(86vw, 300px);
    transform: translateX(-102%);
  }

  .sidebar__collapse {
    display: none;
  }

  .app-canvas,
  .app-shell.is-collapsed .app-canvas {
    margin-left: 0;
  }

  .app-shell.is-collapsed .sidebar {
    width: min(86vw, 300px);
  }

  .app-shell.is-mobile-open .sidebar {
    width: min(86vw, 300px);
    transform: translateX(0);
  }

  .app-shell.is-collapsed .sidebar__top .wordmark {
    display: inline-flex;
  }

  .app-shell.is-collapsed .sidebar__label,
  .app-shell.is-collapsed .nav-item__label,
  .app-shell.is-collapsed .sidebar__logout .nav-item__label {
    display: inline;
  }

  .app-shell.is-collapsed .sidebar__future {
    display: flex;
  }

  .app-shell.is-collapsed .nav-item {
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .app-shell.is-mobile-open .sidebar-backdrop {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.67);
    backdrop-filter: blur(3px);
  }

  .mobile-header {
    display: flex;
    height: 72px;
    align-items: center;
    gap: 17px;
    padding: 0 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 7, 0.88);
    backdrop-filter: blur(16px);
  }

  .page {
    padding-top: 22px;
  }

  .endpoint-grid,
  .examples {
    grid-template-columns: 1fr;
  }

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

  .setting-card--feature {
    grid-row: auto;
    min-height: 320px;
  }

  .detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-story {
    grid-template-columns: 1fr;
  }

  .tester-workspace {
    grid-template-columns: 1fr;
  }

  .tester-crm {
    padding: 23px;
  }

  .sent-mail__layout {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .mock-inbox__body {
    min-height: 700px;
    grid-template-columns: 50px 190px minmax(390px, 1fr);
  }
}

@media (max-width: 680px) {
  .login-story {
    min-height: 560px;
    padding: 28px 22px 42px;
  }

  .login-story h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  .login-orbit {
    top: 8%;
    right: -160px;
    opacity: 0.58;
  }

  .login-story__copy {
    margin-bottom: 0;
  }

  .login-panel {
    min-height: 590px;
    padding: 22px;
  }

  .login-card {
    padding: 30px 24px;
  }

  .login-card h2 {
    margin-top: 38px;
  }

  .page {
    padding-inline: 16px;
  }

  .hero {
    min-height: 0;
    padding: 37px 23px 25px;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

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

  .hero__visual {
    min-height: 315px;
  }

  .signal-core {
    left: 50%;
    width: 155px;
    height: 155px;
  }

  .signal-core strong {
    font-size: 44px;
  }

  .signal-card {
    min-width: 175px;
  }

  .signal-card--top {
    top: 18px;
  }

  .signal-card--bottom {
    right: -9px;
    bottom: 18px;
  }

  .event-strip,
  .capabilities {
    padding-top: 65px;
  }

  .section-heading--inline,
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-row {
    grid-template-columns: 14px 1fr auto;
    gap: 11px;
  }

  .event-row__name {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .event-row__time {
    display: none;
  }

  .empty-state {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .empty-state div {
    min-width: calc(100% - 75px);
  }

  .bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--dark,
  .bento-card--pink {
    min-height: 340px;
    grid-column: auto;
  }

  .bento-graphic--database {
    right: -10px;
    bottom: 20px;
    opacity: 0.6;
  }

  .page--utility {
    padding-top: 43px;
  }

  .page-header h1 {
    font-size: 62px;
  }

  .endpoint-card__name {
    width: 100%;
    margin-left: 0;
  }

  .endpoint-grid > section {
    padding: 17px;
  }

  .definition-list > div {
    grid-template-columns: 1fr;
  }

  .settings-note {
    align-items: flex-start;
  }

  .page--scenario {
    padding-top: 20px;
  }

  .page--scenario-detail {
    padding-top: 38px;
  }

  .detail-header h1 {
    font-size: 56px;
  }

  .crm-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
    margin-bottom: 25px;
    padding: 22px 19px;
    border-radius: 19px;
  }

  .crm-header h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .crm-header__intro > p:last-child {
    margin-top: 10px;
    font-size: 13px;
  }

  .crm-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .webhook-cta {
    grid-template-columns: auto 1fr;
  }

  .webhook-cta > .button {
    grid-column: 1 / -1;
  }

  .webhook-cta__endpoint {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .webhook-cta__endpoint code {
    width: calc(100% - 48px);
    flex: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .customer-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .tester-crm .customer-filters {
    display: flex;
  }

  .sort-field {
    justify-content: space-between;
  }

  .customer-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .customer-card__date {
    grid-column: 2 / -1;
  }

  .customer-card .status-badge {
    grid-column: 2;
  }

  .customer-card__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .sent-mail__topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sent-mail__search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .sent-mail__layout {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .sent-mail__folders {
    padding-inline: 5px;
  }

  .sent-mail__folders > span {
    justify-content: center;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
  }

  .sent-mail__folders i {
    font-size: 12px;
  }

  .sent-mail__folders b {
    display: none;
  }

  .sent-mail__folders .sent-mail__compose {
    margin-right: 0;
    font-size: 19px;
  }

  .sent-mail-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 9px;
    padding: 9px 12px;
  }

  .sent-mail-row__check {
    display: none;
  }

  .sent-mail-row__subject {
    grid-column: 1 / -1;
  }

  .sent-mail-row time {
    grid-column: 2;
    grid-row: 1;
  }

  .sent-mail__message-header {
    flex-wrap: wrap;
    padding: 15px;
  }

  .sent-mail__message-header time {
    margin-left: 50px;
  }

  .sent-mail__email-card {
    width: calc(100% - 20px);
    margin: 10px auto 22px;
    padding: 20px;
  }

  .sent-mail__empty {
    min-height: 480px;
    padding: 24px;
  }

  .developer-drawer {
    margin-top: 35px;
  }

  .developer-drawer > summary {
    padding: 16px;
  }

  .developer-drawer__summary-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .developer-drawer__content {
    padding: 14px;
  }

  .developer-contract {
    grid-template-columns: 1fr;
  }

  .developer-drawer__footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .mock-inbox__body {
    min-height: 0;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .mock-inbox__messages {
    display: none;
  }

  .mock-email {
    min-width: 0;
  }

  .mock-email__content {
    width: calc(100% - 24px);
    margin: 12px auto 24px;
    padding: 22px;
  }

  .mock-email__header {
    padding: 16px;
  }

  .mock-email__content h3 {
    font-size: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
