:root {
  --arc-bg: #ece8f5;
  --arc-bg-strong: #e7e2f2;
  --arc-page-bg:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 38%),
    linear-gradient(180deg, #efebf8 0%, var(--arc-bg) 100%);
  --arc-page-bg-bottom:
    linear-gradient(180deg, rgba(236, 232, 245, 0) 0%, rgba(236, 232, 245, 0.92) 30%, rgba(231, 226, 242, 0.98) 66%, var(--arc-bg) 100%);
  --arc-panel: rgba(255, 255, 255, 0.72);
  --arc-panel-strong: rgba(255, 255, 255, 0.94);
  --arc-text: #1f2554;
  --arc-subtle: #7f7a99;
  --arc-line: rgba(70, 63, 101, 0.14);
  --arc-hover: rgba(255, 255, 255, 0.34);
  --arc-action-hover: rgba(73, 67, 100, 0.08);
  --site-accent: #ff9d26;
  --site-accent-strong: #ff6d2a;
  --content-max: 920px;
  --sidebar-width: 386px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--arc-page-bg);
  color: var(--arc-text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

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

code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--arc-text);
  font-family: inherit;
  font-size: 12px;
}

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

.page-content {
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  padding: 24px 56px 96px;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 20px;
  background: linear-gradient(180deg, rgba(239, 235, 248, 0.94), rgba(239, 235, 248, 0.78), rgba(239, 235, 248, 0));
  backdrop-filter: blur(16px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 14px 26px rgba(255, 128, 41, 0.18);
}

.site-brand span,
.site-cta,
.button-primary,
.button-secondary {
  font-size: 14px;
  font-weight: 600;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--arc-subtle);
}

.site-nav a {
  font-size: 13px;
}

.site-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.site-cta,
.button-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 10px 28px rgba(78, 66, 122, 0.08);
}

.button-secondary {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(70, 63, 101, 0.12);
  color: var(--arc-subtle);
}

.site-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.page-section {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 110px 0;
  scroll-margin-top: 88px;
}

.page-section + .page-section {
  border-top: 1px solid rgba(70, 63, 101, 0.08);
}

.hero-section {
  padding-top: 68px;
  text-align: center;
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 46px rgba(78, 66, 122, 0.08);
}

.hero-mark img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--arc-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section h1,
.section-heading h2,
.preview-canvas h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-section h1 {
  width: min(11ch, 100%);
  margin: 0 auto;
  font-size: clamp(2.7rem, 6.8vw, 4.8rem);
}

.hero-copy,
.section-copy,
.split-copy p,
.feature-grid p,
.pricing-panel li,
.timeline-list p,
.site-footer,
.preview-canvas p,
.mini-children,
.command-strip small,
.step-list,
.site-nav,
.hero-proof {
  color: var(--arc-subtle);
}

.hero-copy,
.section-copy {
  width: min(100%, 720px);
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.65;
}

.hero-note {
  width: min(100%, 640px);
  margin: 22px auto 0;
  color: var(--arc-subtle);
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-preview {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at bottom center, rgba(255, 157, 38, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 243, 252, 0.9));
  box-shadow: 0 34px 90px rgba(78, 66, 122, 0.12);
}

.hero-preview::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background-image: radial-gradient(rgba(255, 157, 38, 0.12) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.95));
  pointer-events: none;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(89, 81, 121, 0.2);
}

.preview-pill {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--arc-subtle);
  font-size: 12px;
}

.preview-body {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 0;
  min-height: 430px;
}

.preview-rail {
  padding: 18px;
  border-right: 1px solid rgba(70, 63, 101, 0.08);
}

.preview-search,
.preview-row,
.mini-group-preview,
.command-strip,
.pricing-panel {
  background: rgba(255, 255, 255, 0.56);
}

.preview-search,
.preview-row {
  padding: 12px 14px;
  border-radius: 16px;
}

.preview-search {
  margin-bottom: 12px;
  color: var(--arc-subtle);
  text-align: left;
}

.preview-row {
  text-align: left;
}

.preview-row + .preview-row {
  margin-top: 6px;
}

.preview-row strong,
.feature-grid h3,
.split-copy h3,
.pricing-panel h3,
.timeline-list h3,
.step-list li,
.mini-group strong {
  display: block;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.preview-row strong,
.feature-grid h3,
.split-copy h3,
.pricing-panel h3,
.timeline-list h3,
.mini-group strong,
.step-list li,
.site-brand span,
.preview-canvas h2 {
  color: var(--arc-text);
}

.preview-row strong {
  font-size: 14px;
}

.preview-row small,
.mini-group small {
  display: block;
  margin-top: 2px;
  color: var(--arc-subtle);
  font-size: 12px;
}

.preview-row-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 14px -10px rgba(60, 46, 114, 0.28),
    0 -2px 4px -5px rgba(60, 46, 114, 0.16);
}

.preview-label {
  margin: 14px 0 8px;
  padding-left: 6px;
  color: var(--arc-subtle);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.preview-canvas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 40px 48px;
  text-align: left;
}

.preview-kicker,
.pricing-label {
  margin: 0 0 12px;
  color: var(--site-accent-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-canvas h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 11ch;
}

.preview-canvas p {
  max-width: 40ch;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 12ch;
}

.feature-grid,
.split-copy,
.timeline-list,
.pricing-panel {
  margin-top: 34px;
}

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

.feature-grid article,
.split-copy > div,
.timeline-list article {
  padding-top: 4px;
}

.feature-grid h3,
.split-copy h3,
.timeline-list h3,
.pricing-panel h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.feature-grid p,
.split-copy p,
.timeline-list p,
.pricing-panel li,
.mini-children,
.step-list,
.command-strip small {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

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

.mini-group-preview {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 24px;
}

.mini-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-group strong {
  font-size: 16px;
}

.mini-group small {
  margin: 0 0 0 auto;
}

.mini-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mini-dot-blue {
  background: #5d8eff;
}

.mini-children {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-left: 19px;
}

.command-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.command-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.command-list span {
  color: var(--arc-subtle);
  font-size: 15px;
  line-height: 1.65;
}

.pricing-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(70, 63, 101, 0.1);
}

.pricing-panel > div {
  padding: 28px 30px 30px;
}

.pricing-panel > div + div {
  border-left: 1px solid rgba(70, 63, 101, 0.08);
}

.pricing-panel ul,
.timeline-list,
.step-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-panel li + li,
.timeline-list article + article,
.step-list li + li {
  margin-top: 12px;
}

.step-list {
  counter-reset: steps;
  margin: 34px 0 26px;
}

.step-list li {
  position: relative;
  padding-left: 40px;
  font-size: 17px;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  color: var(--arc-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.timeline-list {
  display: grid;
  gap: 26px;
}

.site-footer {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 42px 0 12px;
  border-top: 1px solid rgba(70, 63, 101, 0.08);
  text-align: center;
}

.site-footer img {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
  border-radius: 10px;
}

.site-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
}

.sidebar-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--sidebar-width);
  border-left: 1px solid var(--arc-line);
  background: var(--arc-page-bg);
  z-index: 10;
}

.app-shell,
.search-wrap,
.tab-list-shell,
.tab-list,
.sticky-tab-shell,
.search-command-menu {
  color: var(--arc-text);
}

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 8px 12px;
  gap: 10px;
  background: var(--arc-page-bg);
}

.search-wrap {
  position: relative;
  padding: 8px 6px 2px;
}

.search-meta {
  display: flex;
  justify-content: space-between;
  color: var(--arc-subtle);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  padding-bottom: 6px;
  text-transform: lowercase;
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--arc-text);
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  padding: 4px 0 10px;
}

.search-input::placeholder {
  color: var(--arc-subtle);
}

.search-command-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 6px;
  right: 6px;
  z-index: 24;
  background: rgba(247, 244, 251, 0.98);
  border: 1px solid rgba(109, 99, 146, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(63, 48, 110, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: min(260px, calc(100vh - 96px));
  overflow-y: auto;
  padding: 6px;
}

.search-command-menu[hidden] {
  display: none;
}

.search-command-item {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--arc-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  text-align: left;
}

.search-command-item-active,
.search-command-item:hover {
  background: rgba(255, 255, 255, 0.58);
}

.search-command-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-command-name {
  color: var(--arc-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.search-command-description {
  color: var(--arc-subtle);
  font-size: 10.5px;
  line-height: 1.35;
}

.search-command-value {
  color: #5f5980;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.search-command-empty,
.empty-state {
  color: var(--arc-subtle);
  font-size: 11px;
  padding: 8px 10px;
}

.tab-list-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--arc-page-bg);
  background-attachment: fixed;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  min-height: 0;
  overflow: auto;
  position: relative;
  padding-bottom: 0;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.sticky-tab-shell {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0;
  margin: 0;
  overflow: visible;
  pointer-events: none;
  background: transparent;
}

.sticky-tab-shell[hidden] {
  display: none;
}

.sticky-tab-shell-top {
  top: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  background: var(--arc-page-bg);
  background-attachment: fixed;
}

.sticky-tab-shell .tab-row,
.sticky-tab-shell .tab-main-shell,
.sticky-tab-shell .tab-main {
  pointer-events: auto;
  background: transparent;
  backdrop-filter: none;
}

.tab-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tab-section + .tab-section {
  margin-top: 10px;
}

.tab-section-label {
  color: var(--arc-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 8px 4px;
  text-transform: uppercase;
}

.tab-row {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: inherit;
  display: flex;
  gap: 4px;
  min-height: 40px;
  padding: 0 2px;
  width: 100%;
  position: relative;
}

.tab-main-shell {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
}

.tab-main {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 13px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex: 1;
  gap: 10px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  padding-right: 42px;
  text-align: left;
  transition: background-color 140ms ease, box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-main:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(73, 67, 100, 0.16);
}

.tab-row:hover .tab-main {
  background: var(--arc-hover);
}

.tab-row-active .tab-main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 14px -10px rgba(60, 46, 114, 0.28),
    0 -2px 4px -5px rgba(60, 46, 114, 0.16);
}

.sticky-tab-shell .tab-row-active .tab-main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 14px -10px rgba(60, 46, 114, 0.28),
    0 -2px 4px -5px rgba(60, 46, 114, 0.16);
}

.tab-favicon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
}

.tab-favicon-fallback {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  background: rgba(84, 76, 117, 0.1);
  color: #665f83;
  font-size: 10px;
  font-weight: 600;
}

.tab-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.tab-title {
  color: var(--arc-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-row-active .tab-title {
  font-weight: 600;
}

.tab-domain {
  color: var(--arc-subtle);
  font-size: 11px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-action {
  align-items: center;
  align-self: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #6b6681;
  display: inline-flex;
  justify-content: center;
  height: 32px;
  opacity: 0;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  width: 32px;
  pointer-events: none;
  transition: opacity 120ms ease, background-color 120ms ease, color 120ms ease;
}

.tab-row:hover .tab-action,
.tab-row:focus-within .tab-action {
  opacity: 1;
}

.tab-action-icon {
  width: 16px;
  height: 16px;
}

.tab-row-new-tab {
  margin-top: 12px;
  padding-bottom: 8px;
}

.tab-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tab-group-row-shell {
  padding: 0 2px;
}

.tab-group-button {
  padding-right: 12px;
}

.tab-group-folder {
  align-items: center;
  color: #6f86e8;
  display: inline-flex;
  flex-shrink: 0;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.tab-group-folder-icon {
  width: 18px;
  height: 18px;
}

.tab-group-folder-grey,
.tab-group-folder-gray {
  color: #8f8f8f;
}

.tab-group-folder-blue {
  color: #5d8eff;
}

.tab-group-folder-red {
  color: #ff6b63;
}

.tab-group-folder-yellow {
  color: #d5a219;
}

.tab-group-folder-green {
  color: #53a26a;
}

.tab-group-folder-pink {
  color: #df6ba9;
}

.tab-group-folder-purple {
  color: #8e6bff;
}

.tab-group-folder-cyan {
  color: #3aa8b8;
}

.tab-group-folder-orange {
  color: #ef8b32;
}

.tab-group-title {
  font-size: 13px;
}

.tab-group-children {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 18px;
}

.tab-new-tab-button {
  min-height: 36px;
}

.tab-new-tab-icon {
  align-items: center;
  color: #69637f;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

.tab-new-tab-title {
  color: #6f6984;
  font-size: 12.5px;
  font-weight: 500;
}

.sidebar-install-row {
  padding: 0 2px;
}

@media (max-width: 1220px) {
  .page-content {
    padding-left: 34px;
    padding-right: 34px;
  }

  .site-nav {
    gap: 16px;
  }

  .preview-body {
    grid-template-columns: 256px minmax(0, 1fr);
  }
}

@media (max-width: 1080px) {
  .page-content {
    width: 100%;
    padding-right: 24px;
    padding-bottom: 28px;
  }

  .sidebar-rail {
    position: static;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--arc-line);
  }

  .app-shell {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .site-topbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow: auto;
    padding-bottom: 4px;
  }

  .page-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section {
    padding-top: 34px;
  }

  .feature-grid,
  .split-copy,
  .command-list,
  .pricing-panel,
  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-rail {
    border-right: none;
    border-bottom: 1px solid rgba(70, 63, 101, 0.08);
  }

  .section-heading h2,
  .preview-canvas h2 {
    max-width: none;
  }
}

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

  .site-cta,
  .button-primary,
  .button-secondary,
  .tab-main {
    transition: none;
  }
}
