/* AMCP: ink, iris, apricot, and warm paper. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  background: var(--paper);
}
h1,
h2,
h3 {
  font-family: 'Aptos Display', 'Segoe UI', sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}
::selection {
  background: var(--surface-accent);
  color: var(--text);
}
.glyph {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.button {
  border-color: var(--border-control);
  border-radius: 10px;
  min-height: 40px;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.button:hover {
  background: var(--surface);
  border-color: var(--border-accent);
}
.button.primary {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--on-accent);
  box-shadow: 0 3px 6px color-mix(in srgb, var(--iris-700) 7%, transparent);
}
.button.primary:hover {
  background: var(--iris-700);
  border-color: var(--iris-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--iris) 15%, transparent);
}
.button.dark {
  background: var(--surface-inverse);
  border-color: var(--surface-inverse);
}
.button.large {
  padding: 15px 23px;
  font-size: 15px;
  min-height: 52px;
  border-radius: 12px;
}
.button.small {
  min-height: 33px;
}
.button.danger:hover {
  background: var(--danger-bg-subtle);
  border-color: var(--danger-line);
}
.status.online {
  background: var(--success-bg-subtle);
  color: var(--status-success-ink);
  border-color: var(--success-line);
}
.status.online i,
.readonly-indicator i {
  background: var(--success-dot);
}
.notice {
  background: var(--surface-subtle);
  border-color: var(--border);
  color: var(--text-soft);
}
.notice.warning {
  background: var(--warning-bg-subtle);
  border-color: var(--warning-line);
  color: var(--status-warning-ink);
}
.default-badge {
  color: var(--text-accent-strong);
  background: var(--surface-subtle);
  border-color: var(--border-accent);
}
.filter-tab.active {
  background: var(--surface-selected);
  color: var(--text-accent-strong);
}
.asset-tabs button.active {
  border-bottom-color: var(--iris);
}
.client-tab.active {
  background: var(--surface-selected);
  border-color: var(--border-accent);
}
.code-block {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-soft);
}
.step:before {
  background: var(--surface-selected);
  color: var(--text-accent);
  border-color: var(--border-accent);
}
.asset-table input,
input[type='checkbox'] {
  accent-color: var(--iris);
}
.callback-step.done {
  background: var(--success-bg-subtle);
  border-color: var(--success-line);
}
.callback-step .step-number {
  border-color: var(--border-accent);
}
.workspace-form input:not([type='checkbox']),
.workspace-form select,
.workspace-form textarea {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--white);
  border-radius: 10px;
}
.workspace-details summary {
  color: var(--text-accent);
}
.workspace-metrics article {
  background: var(--surface);
  border-color: var(--border);
}
.campaign-steps li {
  border-color: var(--border);
}
.platform-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 9px 30px var(--shadow-soft);
}
.platform-metrics {
  background: var(--surface-raised);
}
.stat-icon {
  background: var(--surface-subtle);
  color: var(--iris-soft);
}
.stat {
  border-radius: 16px;
}
.asset-count {
  background: var(--surface-subtle);
}
.manage-footer {
  background: var(--surface-raised);
}
.manage-dialog {
  border-radius: 22px;
}
.toast {
  background: var(--surface-inverse-raised);
  border-color: var(--border-on-inverse);
  border-radius: 14px;
}
.spinner {
  border-color: var(--surface-accent);
  border-top-color: var(--iris);
}
.empty {
  background: var(--surface-raised);
  border-color: var(--border);
  padding: 38px 22px;
  line-height: 1.8;
}
.connector-hero {
  background: linear-gradient(120deg, var(--surface-inverse), var(--surface-inverse-accent));
  border: 1px solid var(--border-on-inverse);
  border-radius: 22px;
  padding: 36px;
}
.connector-hero p,
.callback-top p {
  color: var(--text-on-inverse-secondary);
}
.endpoint-box {
  background: var(--fill-on-inverse);
  border-color: var(--border-on-inverse);
}
.endpoint-box small {
  color: var(--text-on-inverse-secondary);
}
.endpoint-box code {
  color: var(--text-on-inverse);
}
.callback-top {
  background: var(--surface-inverse);
}
.sidebar {
  background: var(--surface-inverse);
  width: 253px;
  padding: 30px 22px 22px;
  color: var(--text-on-inverse);
}
.brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.3px;
  gap: 11px;
}
.brand-note {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--text-on-inverse-muted);
  margin-top: 6px;
}
.workspace {
  margin-top: 35px;
  padding: 13px 10px;
  border-color: var(--border-on-inverse);
  background: var(--fill-on-inverse-subtle);
  border-radius: 12px;
  min-width: 0;
}
.workspace > div {
  min-width: 0;
}
.workspace strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 140px;
}
.workspace small {
  font-size: 10px;
  color: var(--text-on-inverse-muted);
}
.workspace-icon {
  background: var(--surface-inverse-accent);
  border-color: var(--border-on-inverse);
  color: var(--accent-on-inverse);
  border-radius: 9px;
  flex-shrink: 0;
}
.workspace-arrow {
  font-size: 13px;
  color: var(--text-on-inverse-secondary);
  margin-inline-start: auto;
}
/* WEB-06: the workspace card switches workspaces in place. */
.workspace-card {
  position: relative;
}
.workspace-card .workspace {
  padding-inline-end: 44px;
}
.workspace-card .workspace-arrow {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 32px;
  min-height: 32px;
  font-size: 15px;
}
.workspace-menu {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid var(--border-on-inverse);
  border-radius: 12px;
  background: var(--fill-on-inverse);
}
.workspace-menu button,
.workspace-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 2px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-on-inverse);
  font: inherit;
  font-size: 12px;
}
.workspace-menu button:not([disabled]):hover,
.workspace-menu a:hover {
  background: var(--fill-on-inverse);
}
.workspace-menu small {
  font-size: 10px;
  color: var(--text-on-inverse-muted);
}
.workspace-menu-title {
  margin: 4px 10px;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--text-on-inverse-muted);
}
.shell-alert {
  margin-bottom: 16px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--text-on-inverse-muted);
  margin: 30px 12px 14px;
}
.sidebar nav {
  gap: 3px;
  scrollbar-color: var(--text-on-inverse-muted) var(--surface-inverse);
}
.sidebar nav a {
  font-size: 13px;
  color: var(--text-on-inverse-secondary);
  padding: 11px 13px;
  gap: 13px;
  border-radius: 10px;
  font-weight: 450;
  min-height: 42px;
}
.sidebar nav a span {
  width: 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.sidebar nav a svg {
  width: 18px;
  height: 18px;
}
.sidebar nav a.active {
  background: var(--iris);
  color: var(--white);
  box-shadow: 0 5px 18px var(--shadow-strong);
}
.sidebar nav a:hover:not(.active) {
  background: var(--fill-on-inverse);
  color: var(--text-on-inverse);
}
.sidebar-bottom {
  padding-top: 22px;
}
.sidebar-note {
  border: 1px solid var(--border-on-inverse);
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--surface-inverse-accent) 60%, transparent),
    var(--surface-inverse-raised)
  );
  padding: 17px 14px;
  border-radius: 14px;
  margin-bottom: 22px;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 450;
  color: var(--text-on-inverse);
}
.mini-spark {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--accent-on-inverse);
  margin-bottom: 11px;
}
.sidebar-note a {
  font-size: 10px;
  display: block;
  color: var(--text-on-inverse-secondary);
  margin-top: 14px;
}
.readonly-indicator {
  font-size: 10px;
  color: var(--text-on-inverse-secondary);
  margin-inline-start: 8px;
}
.legal {
  border-color: var(--border-on-inverse);
  color: var(--text-on-inverse-muted);
  margin-top: 17px;
  padding-top: 15px;
  font-size: 10px;
}
.main-shell {
  margin-inline-start: 253px;
  width: calc(100% - 253px);
}
.topbar {
  height: 78px;
  background: var(--surface-raised);
  padding: 0 42px;
  border-color: var(--border);
  gap: 15px;
}
.top-leading {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.breadcrumb {
  font-size: 12px;
}
.breadcrumb b {
  color: var(--text-soft);
}
.avatar {
  background: var(--surface-peach);
  border-color: var(--warning-line);
  color: var(--text-warm);
  width: 35px;
  height: 35px;
}
.top-actions {
  gap: 12px;
}
.command-trigger {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 11px;
  min-height: 34px;
}
.command-trigger kbd {
  font:
    10px 'Segoe UI',
    sans-serif;
  padding: 2px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.topbar .button {
  font-size: 12px;
}
/* The top bar stays one row at every width in both languages (WEB-05): the avatar keeps its square, the breadcrumb
   shortens with an ellipsis, and the visible control labels give way before anything wraps. Every control keeps its
   accessible name (aria-label or aria-labelledby). */
.topbar {
  container: topbar / inline-size;
}
.breadcrumb {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.top-actions,
.top-actions > *,
.command-trigger,
.topbar .button {
  flex-shrink: 0;
  white-space: nowrap;
}
@container topbar (max-width: 800px) {
  .top-actions .language-control > span,
  .top-actions .theme-control > span {
    display: none;
  }
}
@container topbar (max-width: 690px) {
  #command-trigger-label {
    display: none;
  }
  .command-trigger {
    gap: 0;
  }
  .top-actions {
    gap: 8px;
  }
}
.page-heading {
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  font-weight: 600;
}
main {
  padding-top: 37px;
  max-width: 1580px;
}
.panel {
  border-radius: 17px;
  box-shadow: 0 5px 20px var(--shadow-soft);
  border-color: var(--border);
}
.initial-loading {
  display: grid;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding-top: 20vh;
}
.initial-loading img {
  margin: auto;
}
.command-dialog {
  width: min(580px, calc(100vw - 32px));
  border-radius: 20px;
  padding: 0;
}
.command-search {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.command-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  font-size: 16px;
  color: var(--ink);
}
#command-results {
  max-height: 390px;
  overflow: auto;
  padding: 8px;
}
#command-results button {
  width: 100%;
  display: flex;
  text-align: start;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--white);
  padding: 13px 15px;
  border-radius: 10px;
  color: var(--ink);
}
#command-results button:hover,
#command-results button:focus {
  background: var(--surface-subtle);
}
#command-results strong {
  font-size: 13px;
  font-weight: 550;
}
#command-results small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
/* WEB-09: this workspace's plans, reports, media and accounts, under the pages. */
.command-entities h3 {
  margin: 10px 15px 4px;
  font-size: 11px;
}
.command-entities .form-note {
  padding: 4px 15px;
}
.command-hint {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 14px 23px;
  font-size: 11px;
  color: var(--muted);
}
#menu-toggle {
  display: none;
}
dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(7px);
}
/* Public website */
body.public-view {
  background: var(--paper-warm);
}
.public-view .sidebar,
.public-view .topbar,
.public-view .page-footer {
  display: none;
}
.public-view .main-shell {
  margin: 0;
  width: 100%;
}
.public-view main {
  max-width: none;
  padding: 0;
  min-height: 100vh;
}
.public-nav {
  max-width: 1440px;
  margin: auto;
  padding: 27px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.public-nav .brand {
  color: var(--text);
}
.public-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.public-nav nav a {
  font-size: 12px;
  padding: 0;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 450;
}
.public-nav nav a:hover {
  background: none;
  color: var(--link);
}
.public-nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.public-nav .button {
  font-size: 12px;
  padding: 11px 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 550;
}
.text-link:hover {
  color: var(--link);
}
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1400px;
  margin: 25px auto 45px;
  padding: 40px 5% 35px;
  align-items: center;
  min-height: 650px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--iris-soft);
  box-shadow: 0 0 0 4px var(--surface-accent);
}
.hero-copy h1 {
  font-size: clamp(46px, 4.9vw, 75px);
  line-height: 1.08;
  letter-spacing: -3.8px;
  font-weight: 520;
  margin: 25px 0 25px;
  color: var(--text);
}
.hero-copy h1 > span {
  color: var(--iris-soft);
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.85;
  max-width: 440px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.hero-actions > .text-link {
  font-size: 12px;
}
/* Shown instead of a sign-up promise when registration cannot complete (WEB-02). */
.hero-access {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}
.hero-note svg {
  width: 14px;
  height: 14px;
}
.hero-stage {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 75% 30%, color-mix(in srgb, var(--surface-warm) 31%, transparent), transparent 55%),
    radial-gradient(ellipse at 20% 65%, color-mix(in srgb, var(--surface-accent) 25%, transparent), transparent 60%);
}
.stage-caption {
  position: absolute;
  top: 12px;
  inset-inline-start: 17%;
  letter-spacing: 1.45px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.orbit-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--iris-soft);
  border-radius: 50%;
}
.stage-orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 475px;
  height: 475px;
  transform: rotate(-30deg);
}
.stage-orbits {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: clip;
  pointer-events: none;
}
.orbit-two {
  width: 545px;
  height: 390px;
  transform: rotate(35deg);
  border-style: dashed;
  border-color: var(--border);
}
.stage-window {
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
  width: 380px;
  background: var(--surface-inverse);
  border: 1px solid var(--border-on-inverse);
  border-radius: 19px;
  box-shadow:
    8px 25px 50px var(--shadow),
    -8px -8px 0 color-mix(in srgb, var(--surface-accent) 50%, transparent);
  color: var(--text-on-inverse);
}
.stage-window-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 20px;
  border-bottom: 1px solid var(--border-on-inverse);
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--text-on-inverse-muted);
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  background: var(--text-on-inverse-muted);
  border-radius: 50%;
}
.window-dots i:first-child {
  background: var(--accent-on-inverse);
}
.stage-window-body {
  padding: 24px;
}
.stage-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--text-on-inverse-secondary);
}
.stage-window h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 460;
  margin: 12px 0 22px;
}
.stage-flow {
  display: grid;
  gap: 8px;
}
.stage-flow > div {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border-on-inverse);
  border-radius: 9px;
  padding: 11px 13px;
  background: var(--fill-on-inverse-subtle);
}
.stage-flow > div > span {
  font-size: 10px;
  color: var(--text-on-inverse-muted);
}
.stage-flow p {
  line-height: 1.45;
  margin: 0;
  font-size: 11px;
  flex: 1;
}
.stage-flow small {
  font-size: 8px;
  display: block;
  color: var(--text-on-inverse-muted);
  margin-top: 4px;
}
.stage-flow svg {
  width: 15px;
  color: var(--text-on-inverse-muted);
}
.stage-flow .flow-emphasis {
  background: color-mix(in srgb, var(--surface-inverse-accent) 60%, transparent);
  border-color: var(--border-on-inverse);
}
.flow-emphasis > span {
  color: var(--accent-on-inverse) !important;
}
.stage-window-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  letter-spacing: 1px;
}
.pill-dot {
  color: var(--accent-on-inverse);
}
.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 17px;
  box-shadow: 0 12px 30px var(--shadow-soft);
  font-size: 11px;
  color: var(--text-soft);
  white-space: nowrap;
}
.floating-chip small {
  display: block;
  margin-top: 5px;
}
.chip-one {
  inset-inline-start: -3%;
  top: 55px;
  transform: rotate(-6deg);
}
.chip-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.chip-icon.peach {
  background: var(--surface-peach);
  color: var(--apricot-700);
}
.chip-two {
  inset-inline-end: -1%;
  bottom: 43px;
  transform: rotate(4deg);
}
.chip-two > span {
  font-size: 30px;
  color: var(--iris-soft);
  margin-inline-start: 7px;
}
.stage-spark {
  position: absolute;
  inset-inline-end: 9%;
  top: 42px;
  font-size: 58px;
  line-height: 1;
  color: var(--apricot-700);
  transform: rotate(12deg);
}
.platform-ribbon {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 31px 6%;
  max-width: 1500px;
  margin: auto;
  flex-wrap: wrap;
}
.platform-ribbon > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  line-height: 1.7;
}
.platform-ribbon > div {
  font-size: 17px;
  letter-spacing: -0.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.platform-ribbon > div:last-child {
  font-size: 11px;
  font-weight: 450;
}
.possibilities {
  max-width: 1330px;
  margin: 100px auto 80px;
  padding: 0 5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-heading h2,
.how-section h2 {
  font-size: 43px;
  line-height: 1.18;
  letter-spacing: -1.8px;
  font-weight: 480;
  margin: 17px 0 0;
}
.section-heading p {
  max-width: 290px;
  font-size: 14px;
  margin: 0 0 4px;
}
.feature-bento {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 18px;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  overflow: hidden;
  position: relative;
  min-width: 0;
}
.feature-wide {
  grid-row: span 2;
  background: var(--surface-subtle);
}
.feature-icon {
  width: 39px;
  height: 39px;
  background: color-mix(in srgb, var(--surface-raised) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface-raised) 63%, transparent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--iris-soft);
  margin-bottom: 30px;
}
.feature-index {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.feature-card h3 {
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.7px;
  font-weight: 520;
  margin: 13px 0;
}
.feature-card p {
  line-height: 1.8;
}
.feature-creative {
  background: var(--surface-warm);
  grid-column: span 2;
  min-height: 290px;
  padding-inline-end: 48%;
}
.feature-creative .feature-icon {
  margin-bottom: 18px;
}
.feature-ai {
  background: var(--surface-raised);
}
.feature-ai .feature-icon,
.feature-reports .feature-icon {
  margin-bottom: 20px;
}
.feature-reports {
  background: var(--surface-cool);
}
.feature-card .text-link {
  font-size: 10px;
  margin-top: 24px;
}
.mini-plan {
  background: color-mix(in srgb, var(--surface-raised) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 18px 14px;
  margin-top: 35px;
  transform: rotate(-3deg);
  box-shadow: 0 12px 18px var(--shadow);
}
.mini-plan-label {
  letter-spacing: 1.3px;
  display: block;
  margin-bottom: 15px;
}
.mini-plan > div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-secondary);
}
.mini-plan > div > span:last-child {
  margin-inline-start: auto;
}
.mini-plan i {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--border-accent-strong);
  border-radius: 50%;
  flex-shrink: 0;
}
.mini-plan > div:first-of-type i {
  background: var(--iris-soft);
}
.mini-plan b {
  background: var(--surface-selected);
  padding: 4px 6px;
  border-radius: 5px;
  margin-inline-start: auto;
  font-weight: 450;
}
.creative-frames {
  position: absolute;
  inset-inline-end: 22px;
  top: 40px;
  width: 44%;
  height: 240px;
}
.creative-frames > div {
  position: absolute;
  border: 7px solid var(--art-highlight);
  border-radius: 13px;
  box-shadow: 0 12px 22px var(--shadow);
  overflow: hidden;
  background: linear-gradient(160deg, var(--art-frame), var(--art-lilac));
}
.frame-square {
  width: 140px;
  height: 140px;
  inset-inline-start: 0;
  top: 55px;
  transform: rotate(-10deg);
}
.frame-story {
  width: 118px;
  height: 210px;
  inset-inline-end: 0;
  transform: rotate(10deg);
  background: linear-gradient(180deg, var(--art-apricot), var(--art-cream)) !important;
}
.creative-frames span {
  font-size: 9px;
  color: var(--white);
  position: absolute;
  z-index: 2;
  inset-inline-start: 10px;
  top: 10px;
}
.creative-frames i {
  position: absolute;
  bottom: -23%;
  inset-inline-start: 5%;
  border-radius: 70px 70px 0 0;
  width: 100%;
  height: 94%;
  background: var(--art-mist);
}
.frame-story i {
  background: var(--art-plum);
  height: 63%;
  inset-inline-start: -5%;
  border-radius: 80px 80px 0 0;
}
.creative-frames .frame-spark {
  inset-inline-end: -4px;
  inset-inline-start: auto;
  top: 158px;
  font-size: 64px;
  color: var(--art-spark);
  line-height: 1;
  transform: rotate(-5deg);
}
.client-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.client-cloud span {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 10px;
}
.client-cloud b {
  margin: auto;
  color: var(--iris-soft);
  font-weight: 400;
}
.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 21px;
}
.evidence-tags span {
  background: color-mix(in srgb, var(--surface-raised) 58%, transparent);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 8px;
}
.how-section {
  max-width: 1195px;
  margin: 110px auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.how-section .button {
  margin-top: 30px;
  font-size: 12px;
}
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.how-steps li {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.how-steps li:first-child {
  padding-top: 0;
}
.how-steps li > span {
  font-size: 12px;
  margin-top: 4px;
}
.how-steps h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.how-steps p {
  font-size: 13px;
  margin: 8px 0;
}
.closing-note {
  margin: 0 5% 40px;
  padding: 45px;
  background: var(--surface-inverse);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  color: var(--text-on-inverse);
}
.closing-note > span {
  font-size: 75px;
  color: var(--accent-on-inverse);
  line-height: 1;
}
.closing-note h2 {
  font-size: 35px;
  font-weight: 430;
  letter-spacing: -1.2px;
  margin-block: 0;
  margin-inline: 0 auto;
  line-height: 1.22;
}
.closing-note .button {
  font-size: 12px;
}
.public-footer {
  padding: 35px 5%;
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 1440px;
  margin: auto;
}
.public-footer .brand {
  color: var(--text);
  font-size: 23px;
}
.public-footer .brand img {
  width: 30px;
  height: 30px;
}
.public-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-inline-start: auto;
}
/* Member sign-in and account screens */
.auth-page {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-warm);
}
.auth-brand {
  position: absolute;
  top: 32px;
  inset-inline-start: 4%;
  inset-inline-end: 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.auth-brand > .brand {
  color: var(--text);
}
.auth-brand > .text-link {
  font-size: 11px;
}
.auth-story {
  padding-block: 155px 35px;
  padding-inline: 13% 12%;
  display: flex;
  flex-direction: column;
  background: var(--surface-subtle);
  min-height: 900px;
  overflow: hidden;
}
.auth-story > .eyebrow {
  font-size: 9px;
}
.auth-story .auth-tagline {
  font-family: 'Aptos Display', 'Segoe UI', sans-serif;
  font-size: clamp(40px, 4.3vw, 68px);
  line-height: 1.12;
  letter-spacing: -2.8px;
  font-weight: 460;
  margin: 25px 0 0;
  z-index: 1;
}
.auth-story .auth-tagline em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 0.95em;
  letter-spacing: -2.5px;
}
.auth-story > p {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.8;
}
.auth-art {
  height: 285px;
  position: relative;
  margin-top: 30px;
  max-width: 380px;
}
.auth-arch {
  width: 165px;
  height: 225px;
  border-radius: 95px 95px 15px 15px;
  position: absolute;
  inset-inline-start: 40px;
  bottom: 16px;
  background: linear-gradient(140deg, var(--art-lilac), var(--art-iris));
  transform: rotate(-15deg);
  box-shadow: 8px 14px 0 color-mix(in srgb, var(--art-lilac) 25%, transparent);
}
.auth-disc {
  width: 170px;
  height: 170px;
  position: absolute;
  inset-inline-end: 12px;
  bottom: 15px;
  border: 42px solid var(--art-apricot);
  border-radius: 50%;
  box-shadow: 4px 12px 20px var(--shadow);
  background: var(--art-mist);
  transform: rotate(18deg);
}
.auth-art > span {
  font-size: 85px;
  color: var(--text-secondary);
  position: absolute;
  inset-inline-end: 12px;
  top: -7px;
  line-height: 1;
}
.auth-art-label {
  position: absolute;
  inset-inline-start: -10px;
  bottom: 2px;
  transform: rotate(-5deg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: color-mix(in srgb, var(--surface-raised) 79%, transparent);
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}
.auth-art-label b {
  font-weight: 400;
  display: block;
  margin-top: 10px;
  font-size: 6px;
}
.auth-story-footer {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 45px 50px;
}
.auth-form-card {
  width: 100%;
  max-width: 375px;
}
.auth-form-card > h1 {
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -1.7px;
  font-weight: 520;
  margin: 17px 0;
}
.auth-subtitle {
  margin-bottom: 24px;
  line-height: 1.75;
}
.social-buttons {
  display: grid;
  gap: 9px;
}
.social-button {
  width: 100%;
  border: 1px solid var(--border-control);
  background: var(--surface-raised);
  color: var(--text-secondary-strong);
  border-radius: 9px;
  min-height: 45px;
  display: flex;
  align-items: center;
  padding: 11px 17px;
  gap: 13px;
  text-align: start;
}
.social-button:hover:not(:disabled) {
  border-color: var(--border-accent);
  background: var(--surface);
}
.social-button:disabled {
  opacity: 0.65;
  background: var(--surface);
}
.social-button small {
  font-size: 8px;
  margin-inline-start: auto;
  color: var(--text-secondary);
}
.social-icon {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 22px;
  font:
    700 19px Arial,
    sans-serif;
  flex-shrink: 0;
}
.social-icon.google {
  color: #4285f4;
}
.social-icon.apple {
  color: #302936;
}
.social-icon.facebook {
  color: #1877f2;
  font-size: 25px;
}
.auth-divider {
  position: relative;
  text-align: center;
  font-size: 9px;
  margin: 25px 0;
}
.auth-divider:before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative;
  background: var(--paper-warm);
  padding: 0 12px;
}
.auth-form {
  display: grid;
  gap: 16px;
}
.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
}
.auth-form input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  border-radius: 9px;
  color: var(--text);
  font-size: 13px;
  min-height: 45px;
}
.auth-form input:focus {
  border-color: var(--iris);
}
.auth-form .form-note {
  margin: -7px 0 0;
  line-height: 1.7;
}
.auth-form .button {
  min-height: 46px;
}
.forgot-link {
  text-align: end;
  margin-top: -5px;
}
.auth-switch {
  text-align: center;
  margin-top: 24px;
}
.auth-switch a {
  font-weight: 550;
}
.auth-legal {
  text-align: center;
  line-height: 1.8;
  margin-top: 25px;
}
.auth-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.admin-link {
  display: block;
  margin: 20px auto 0;
  background: transparent;
  border: 0;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 28px;
}
.auth-form-card .error {
  font-size: 12px;
  line-height: 1.7;
}
.auth-form-card .error:empty {
  display: none;
}
.auth-success {
  background: var(--success-bg-subtle);
  border: 1px solid var(--success-line);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  color: var(--status-success-ink);
  margin: 20px 0;
  font-size: 13px;
}
.auth-success p {
  font-size: 12px;
}
.auth-success .button {
  font-size: 12px;
  margin-top: 10px;
}
.setup-note {
  font-size: 10px !important;
  margin: 15px 0;
  line-height: 1.7;
}
.account-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 27px;
  background: linear-gradient(110deg, var(--surface-selected), var(--surface-warm));
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 25px;
}
.account-monogram {
  height: 70px;
  width: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--surface-raised);
  box-shadow: 0 5px 20px var(--shadow);
  font-size: 27px;
}
.account-hero h2 {
  margin: 7px 0;
  font-size: 24px;
  font-weight: 550;
}
.account-hero p {
  margin: 0;
  font-size: 12px;
}
.account-hero > .status {
  margin-inline-start: auto;
}
.account-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.account-columns .panel {
  margin-bottom: 0;
}
.account-columns + .panel {
  margin-top: 25px;
}
.account-columns .auth-form {
  margin-top: 22px;
}
.identity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.identity-row:last-child {
  border: 0;
}
.identity-row > div {
  flex: 1;
  min-width: 0;
}
.identity-row strong {
  font-size: 12px;
  font-weight: 550;
}
.identity-row small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.6;
}
.session-icon {
  background: var(--surface-subtle);
  padding: 9px;
  border-radius: 10px;
  color: var(--iris-soft);
}
.account-columns .panel h2 {
  font-size: 19px;
}
.public-view .document {
  padding: 110px 25px 60px;
  margin: auto;
}
.public-view .document h1 {
  font-size: 35px;
}
@media (min-width: 1600px) {
  .landing-hero {
    padding-top: 65px;
    margin-bottom: 60px;
  }
  .hero-stage {
    min-height: 600px;
  }
  .stage-window {
    width: 420px;
  }
  .stage-window h2 {
    font-size: 32px;
  }
  .stage-flow p {
    font-size: 12px;
  }
  .stage-flow small {
    font-size: 9px;
  }
  .stage-flow > div {
    padding: 14px;
  }
  .feature-creative {
    padding-inline-end: 45%;
  }
}
@media (max-height: 900px) and (min-width: 851px) {
  .sidebar-note {
    display: none;
  }
  .sidebar-bottom {
    padding-top: 14px;
  }
  .workspace {
    margin-top: 26px;
  }
  .nav-label {
    margin-top: 24px;
  }
  .sidebar nav a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .auth-story {
    min-height: 800px;
  }
  .auth-story .auth-tagline {
    font-size: 56px;
  }
  .auth-art {
    height: 235px;
  }
  .auth-arch {
    height: 200px;
  }
  .auth-disc {
    width: 145px;
    height: 145px;
    border-width: 36px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 215px;
    padding: 27px 16px;
  }
  .main-shell {
    margin-inline-start: 215px;
    width: calc(100% - 215px);
  }
  .sidebar nav a {
    font-size: 12px;
  }
  .workspace strong {
    max-width: 107px;
  }
  .brand-note {
    font-size: 7px;
  }
  .hero-copy h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .landing-hero {
    gap: 15px;
    padding-inline-start: 5%;
    padding-inline-end: 3%;
    min-height: 580px;
  }
  .hero-stage {
    min-height: 520px;
  }
  .stage-window {
    width: 325px;
  }
  .stage-window-body {
    padding: 20px;
  }
  .stage-orbit {
    width: 360px;
    height: 360px;
  }
  .orbit-two {
    width: 390px;
    height: 300px;
  }
  .chip-one {
    inset-inline-start: -1%;
    font-size: 10px;
    top: 38px;
  }
  .chip-two {
    inset-inline-end: 1%;
    bottom: 36px;
    font-size: 9px;
  }
  .floating-chip {
    padding: 12px;
  }
  .stage-caption {
    top: 3px;
  }
  .stage-spark {
    inset-inline-end: 1%;
    top: 5px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 13px 16px;
  }
  .feature-card {
    padding: 23px;
  }
  .frame-story {
    width: 95px;
    height: 174px;
  }
  .frame-square {
    width: 120px;
    height: 120px;
  }
  .feature-card h3 {
    font-size: 23px;
  }
  .feature-bento {
    grid-template-columns: 1fr 1fr;
  }
  .feature-wide {
    grid-row: span 2;
  }
  .feature-creative {
    grid-column: auto;
    padding-inline-end: 23px;
    padding-bottom: 245px;
  }
  .creative-frames {
    width: 190px;
    inset-inline-end: calc(50% - 95px);
    top: auto;
    bottom: 15px;
    height: 215px;
  }
  .feature-reports {
    grid-column: span 2;
  }
  .public-nav nav {
    gap: 16px;
  }
  .public-nav nav a {
    font-size: 11px;
  }
  .public-nav-actions {
    gap: 14px;
  }
  .auth-form-side {
    padding-inline-start: 35px;
    padding-inline-end: 35px;
  }
  .auth-story {
    padding-inline-start: 11%;
    padding-inline-end: 11%;
  }
  .auth-story .auth-tagline {
    font-size: 49px;
  }
  .auth-art {
    transform: scale(0.88);
    transform-origin: left center;
  }
  .account-columns {
    gap: 15px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline: 0 auto;
    width: 250px;
    transform: translateX(-100%);
    z-index: 30;
    padding: 28px 20px;
    transition: transform 0.2s;
    overflow: auto;
  }
  .menu-open .sidebar {
    transform: none;
  }
  .sidebar .brand-note,
  .sidebar .workspace,
  .sidebar .nav-label,
  .sidebar .sidebar-bottom {
    display: block;
  }
  .sidebar .workspace {
    display: flex;
  }
  .sidebar nav {
    display: grid;
    overflow: visible;
    margin: 0;
    gap: 4px;
  }
  .sidebar nav a {
    padding: 11px 14px;
    font-size: 13px;
  }
  .sidebar .workspace strong {
    max-width: 140px;
  }
  .sidebar .brand-note {
    font-size: 8px;
  }
  .sidebar .sidebar-note {
    display: none;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 68px;
    padding: 0 22px;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  #menu-toggle {
    display: inline-flex;
    font-size: 21px;
  }
  .command-trigger span {
    display: none;
  }
  .command-trigger {
    padding: 6px 8px;
  }
  /* The 12px floor holds on phones too (WEB-01: these were 11px and 10px). */
  .topbar .button {
    font-size: 12px;
    padding: 6px;
  }
  .topbar .breadcrumb {
    font-size: 12px;
  }
  .public-nav {
    padding: 25px 5%;
    flex-wrap: wrap;
    gap: 16px;
  }
  .public-nav-actions {
    margin-inline-start: auto;
    max-width: 100%;
    flex-wrap: wrap;
  }
  /* The site links wrap onto their own row instead of disappearing, so About stays reachable on phones (WEB-02). */
  .public-nav nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .public-nav .brand {
    font-size: 26px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    max-width: 650px;
    padding: 32px 6% 0;
    margin: 10px auto 30px;
  }
  .hero-copy h1 {
    font-size: 64px;
    max-width: 580px;
  }
  .hero-copy > p {
    max-width: 460px;
  }
  .hero-stage {
    margin: 30px 0 0;
    min-height: 530px;
  }
  .stage-window {
    width: 360px;
  }
  .stage-orbit {
    width: 430px;
    height: 430px;
  }
  .orbit-two {
    width: 460px;
    height: 350px;
  }
  .chip-one {
    inset-inline-start: 0;
    top: 38px;
  }
  .chip-two {
    inset-inline-end: 0;
    bottom: 28px;
  }
  .stage-spark {
    inset-inline-end: 6%;
    top: 20px;
  }
  .stage-caption {
    top: 0;
  }
  .platform-ribbon {
    padding: 26px 6%;
    gap: 22px;
    justify-content: center;
  }
  .platform-ribbon > span {
    width: 100%;
    text-align: center;
  }
  .platform-ribbon > div {
    font-size: 16px;
  }
  .possibilities {
    margin-top: 70px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
    max-width: 400px;
  }
  .section-heading h2,
  .how-section h2 {
    font-size: 38px;
  }
  .feature-bento {
    gap: 13px;
  }
  .feature-card h3 {
    font-size: 23px;
  }
  .feature-wide {
    min-height: 550px;
  }
  .how-section {
    margin: 70px auto;
    gap: 30px;
  }
  .how-steps h3 {
    font-size: 17px;
  }
  .how-steps li {
    gap: 17px;
  }
  .how-steps p {
    font-size: 12px;
  }
  .closing-note {
    padding: 30px;
    gap: 25px;
    flex-wrap: wrap;
  }
  .closing-note h2 {
    font-size: 30px;
  }
  .closing-note > span {
    font-size: 60px;
  }
  .closing-note .button {
    margin-inline-start: 85px;
  }
  .auth-page {
    grid-template-columns: 0.85fr 1fr;
  }
  .auth-story {
    padding: 140px 10% 30px;
    min-height: 820px;
  }
  .auth-story .auth-tagline {
    font-size: 40px;
    letter-spacing: -2px;
  }
  .auth-story .eyebrow {
    font-size: 7px;
  }
  .auth-art {
    transform: scale(0.7);
    width: 330px;
    margin-inline-start: -20px;
    height: 260px;
  }
  .auth-story > p {
    font-size: 12px;
    margin-top: -15px;
  }
  .auth-story-footer {
    font-size: 7px;
    gap: 10px;
  }
  .auth-form-side {
    padding: 110px 26px 40px;
  }
  .auth-form-card h1 {
    font-size: 38px;
  }
  .auth-brand .brand {
    font-size: 25px;
  }
  .auth-brand .brand img {
    width: 33px;
    height: 33px;
  }
  .auth-brand > .text-link {
    font-size: 10px;
  }
  .account-columns {
    grid-template-columns: 1fr;
  }
  .account-hero {
    padding: 23px;
  }
  .account-hero .status {
    display: none;
  }
  .public-footer {
    flex-wrap: wrap;
  }
  .public-footer > div {
    gap: 16px;
  }
}
/* The main page heading supplies context when the phone header needs room for its controls. */
@media (max-width: 420px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    height: auto;
    min-height: 68px;
    padding-block: 10px;
  }
  .top-actions {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .topbar .breadcrumb {
    display: none;
  }
}
@media (max-width: 590px) {
  .topbar {
    padding: 0 15px;
    gap: 8px;
  }
  .top-leading {
    flex: 1 1 auto;
    gap: 8px;
  }
  #menu-toggle,
  .top-actions {
    flex-shrink: 0;
  }
  .topbar .breadcrumb {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .breadcrumb > span {
    display: none;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading {
    gap: 10px;
  }
  .account-hero {
    gap: 15px;
  }
  .account-monogram {
    width: 55px;
    height: 55px;
    font-size: 23px;
    flex-shrink: 0;
  }
  .account-hero h2 {
    font-size: 22px;
  }
  .identity-row {
    gap: 11px;
  }
  .identity-row .button {
    font-size: 10px;
    white-space: normal;
    padding: 6px 8px;
  }
  .identity-row small {
    font-size: 9px;
  }
  .hero-copy h1 {
    font-size: 51px;
    letter-spacing: -2.8px;
  }
  .hero-copy > .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .public-nav .brand img {
    height: 33px;
    width: 33px;
  }
  .public-nav .brand {
    font-size: 25px;
  }
  .public-nav-actions {
    gap: 15px;
  }
  .public-nav-actions .button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .public-nav-actions > .text-link {
    font-size: 11px;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.85;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 23px;
  }
  .hero-actions .button {
    min-height: 48px;
  }
  .hero-note {
    margin-top: 23px;
  }
  .hero-stage {
    min-height: 440px;
    margin-top: 40px;
  }
  .stage-window {
    width: 290px;
    border-radius: 15px;
  }
  .stage-window-top {
    padding: 15px 17px;
    font-size: 6px;
  }
  .stage-window-body {
    padding: 18px;
  }
  .stage-window h2 {
    font-size: 24px;
  }
  .stage-flow > div {
    padding: 9px 10px;
    gap: 10px;
  }
  .stage-flow p {
    font-size: 9px;
  }
  .stage-flow small {
    font-size: 7px;
  }
  .stage-orbit {
    width: 315px;
    height: 315px;
  }
  .orbit-two {
    width: 340px;
    height: 260px;
  }
  .floating-chip {
    gap: 8px;
    padding: 10px;
    max-width: 95%;
    font-size: 9px;
  }
  .chip-one {
    top: 4px;
    inset-inline-start: 0;
  }
  .chip-one .chip-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }
  .chip-one svg {
    width: 18px;
  }
  .chip-two {
    inset-inline-end: 0;
    bottom: 0;
  }
  .chip-two img {
    width: 27px;
    height: 27px;
  }
  .chip-two > span {
    font-size: 23px;
    margin-inline-start: 2px;
  }
  .stage-caption {
    top: -18px;
    inset-inline-start: 15%;
  }
  .stage-spark {
    font-size: 42px;
    inset-inline-end: 0;
    top: -3px;
  }
  .platform-ribbon {
    gap: 20px;
    padding: 25px 7%;
  }
  .platform-ribbon > div {
    font-size: 14px;
  }
  .possibilities {
    padding: 0 6%;
    margin: 65px auto;
  }
  .section-heading h2,
  .how-section h2 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .feature-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-wide,
  .feature-creative,
  .feature-ai,
  .feature-reports {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    padding: 27px;
  }
  .feature-creative {
    min-height: 460px;
    padding-bottom: 235px;
  }
  .feature-wide .mini-plan {
    max-width: 290px;
    margin: 30px auto 15px;
    transform: rotate(-2deg);
  }
  .feature-card h3 {
    font-size: 26px;
  }
  .feature-card p {
    max-width: 320px;
  }
  .feature-index {
    font-size: 8px;
  }
  .feature-icon {
    margin-bottom: 22px;
  }
  .feature-card .text-link {
    font-size: 12px;
    margin-top: 21px;
  }
  .creative-frames {
    width: 220px;
    height: 210px;
    bottom: 9px;
    inset-inline-end: calc(50% - 110px);
  }
  .frame-square {
    width: 132px;
    height: 132px;
  }
  .frame-story {
    width: 100px;
    height: 180px;
  }
  .how-section {
    grid-template-columns: 1fr;
    padding: 0 7%;
    gap: 35px;
  }
  .how-steps h3 {
    font-size: 19px;
  }
  .closing-note {
    padding: 30px 25px;
    gap: 20px;
  }
  .closing-note > span {
    font-size: 49px;
  }
  .closing-note h2 {
    font-size: 25px;
  }
  .closing-note .button {
    margin-inline-start: 0;
    width: 100%;
  }
  .public-footer {
    gap: 16px;
  }
  .public-footer > div {
    width: 100%;
    margin: 8px 0 0;
  }
  .auth-page {
    display: block;
  }
  .auth-brand {
    position: static;
    padding: 24px 6%;
  }
  .auth-story {
    display: none;
  }
  .auth-form-side {
    padding: 40px 7% 55px;
    min-height: calc(100vh - 95px);
    align-items: flex-start;
  }
  .auth-form-card {
    max-width: 380px;
  }
  .auth-form-card > h1 {
    font-size: 42px;
  }
  .auth-form input {
    font-size: 16px;
  }
  .social-button {
    min-height: 48px;
  }
  .auth-form .button {
    min-height: 48px;
  }
  .auth-brand > .text-link {
    font-size: 11px;
  }
  .admin-link {
    font-size: 11px;
  }
  .connector-hero {
    padding: 25px;
  }
  .account-hero p {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .platform-metrics small {
    font-size: 8px;
  }
  .workspace-form {
    padding: 20px;
  }
  .public-view .document {
    padding-top: 45px;
  }
}
.overview-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: linear-gradient(110deg, var(--surface-selected), var(--surface-warm));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 36px;
  overflow: hidden;
  margin-bottom: 22px;
}
.overview-welcome h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.25;
  font-weight: 500;
  margin-top: 13px;
}
.overview-welcome p {
  font-size: 13px;
  max-width: 510px;
  color: var(--text-secondary);
}
.overview-welcome .button {
  font-size: 12px;
  margin-top: 8px;
}
.welcome-orbit {
  position: relative;
  width: 220px;
  height: 200px;
  flex-shrink: 0;
}
.welcome-orbit i {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  inset-inline-end: 0;
  bottom: 0;
}
.welcome-orbit b {
  position: absolute;
  width: 90px;
  height: 110px;
  border-radius: 50px 50px 15px 15px;
  bottom: 10px;
  inset-inline-start: 20px;
  display: grid;
  place-items: center;
  background: var(--iris);
  color: var(--on-accent);
  font-size: 48px;
  font-weight: 450;
  transform: rotate(-16deg);
}
.welcome-orbit > span {
  position: absolute;
  inset-inline-end: 5px;
  top: 0;
  color: var(--apricot-700);
  font-size: 75px;
  line-height: 1;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 20px 0 28px;
}
.quick-actions > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--iris-soft);
  font-size: 13px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.quick-actions > a:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent-strong);
}
.quick-actions > a > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-subtle);
  flex-shrink: 0;
}
.quick-actions > a > div {
  flex: 1;
}
.quick-actions strong {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 550;
}
.quick-actions small {
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.hero-copy > p,
.section-heading p,
.feature-card p,
.how-steps p,
.auth-subtitle,
.auth-story > p,
.auth-switch,
.auth-form .form-note,
.auth-legal,
.auth-legal a,
.setup-note,
.identity-row small,
.account-hero p {
  color: var(--text-secondary);
}
.eyebrow,
.hero-note,
.public-footer,
.auth-divider,
.auth-brand > .text-link,
.auth-brand .text-link,
.admin-link,
.forgot-link {
  color: var(--text-secondary);
}
.auth-switch {
  font-size: 13px;
}
.auth-form label {
  font-size: 13px;
}
.auth-subtitle {
  font-size: 14px;
}
.social-button {
  font-size: 14px;
}
.auth-form .button {
  font-size: 14px;
}
.auth-form-card .eyebrow {
  font-size: 10px;
}
.feature-card p {
  font-size: 13px;
}
.hero-note {
  font-size: 11px;
}
.feature-index {
  color: var(--text-secondary);
}
.platform-ribbon > span {
  color: var(--text-secondary);
}
.public-footer > span,
.public-footer > div {
  font-size: 12px;
}
.auth-story-footer {
  color: var(--text-secondary);
}
.account-columns .panel p {
  font-size: 13px;
}
@media (max-width: 1050px) {
  .quick-actions {
    grid-template-columns: 1fr;
  }
  .quick-actions > a {
    padding: 16px;
  }
  .welcome-orbit {
    width: 160px;
    transform: scale(0.8);
    transform-origin: right center;
  }
}
@media (max-width: 590px) {
  .overview-welcome {
    padding: 26px;
  }
  .overview-welcome h2 {
    font-size: 26px;
  }
  .welcome-orbit {
    display: none;
  }
  .overview-welcome p {
    font-size: 12px;
  }
  .quick-actions {
    gap: 10px;
  }
  .public-footer > div {
    font-size: 11px;
  }
  .social-button {
    font-size: 13px;
  }
}
#navigation-scrim,
.sidebar-close {
  display: none;
}
@media (max-width: 850px) {
  .sidebar-close {
    display: block;
    position: absolute;
    inset-inline-end: 9px;
    top: 10px;
    color: var(--text-on-inverse);
    font-size: 27px;
    z-index: 1;
  }
  .menu-open #navigation-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--overlay);
    border: 0;
    z-index: 29;
    backdrop-filter: blur(2px);
  }
}
/* Keep the decorative orbits inside the mobile canvas without creating sideways scroll. */
@media (max-width: 850px) {
  .landing-hero {
    overflow-x: clip;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Owner setup is how a deployment is claimed, so it is a destination on this page, not a footnote. */
.owner-entry {
  margin: 26px 0 4px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--iris) 28%, transparent);
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--iris) 8%, transparent),
    color-mix(in srgb, var(--iris) 2%, transparent)
  );
  text-align: start;
}
.owner-entry .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.owner-entry h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.owner-entry p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary-strong);
}
@media (max-width: 520px) {
  .owner-entry {
    padding: 18px;
  }
  .owner-entry h2 {
    font-size: 22px;
  }
}
