:root {
  --s3-orange: #FF9900;
  --s3-dark: #232F3E;
}

html {
  scroll-padding-top: 70px;
}

body {
  padding-top: 56px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--s3-dark) 0%, #37475A 100%);
  color: #fff;
  padding: 6rem 0 5rem;
}

.hero .badge-version {
  letter-spacing: .05em;
}

.hero-window {
  background: #1e1e1e;
  border-radius: .6rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  overflow: hidden;
}

.hero-window .window-bar {
  background: #2d2d2d;
  padding: .5rem .75rem;
  display: flex;
  gap: .4rem;
}

.hero-window .window-bar span {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  display: inline-block;
}

.hero-window .dot-red { background: #ff5f56; }
.hero-window .dot-yellow { background: #ffbd2e; }
.hero-window .dot-green { background: #27c93f; }

.hero-window .window-body {
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: .85rem;
  color: #d4d4d4;
}

.hero-window .tree-line i {
  color: var(--s3-orange);
  width: 1.2rem;
}

/* ---------- Feature icons ---------- */
.feature-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: .75rem;
  background: rgba(255,153,0,.12);
  color: var(--s3-orange);
  font-size: 1.5rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--s3-dark);
  color: #fff;
  font-weight: 700;
}

/* ---------- Screenshot mockups ---------- */
.mockup {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.08);
  overflow: hidden;
}

.mockup .mockup-toolbar {
  background: #f1f3f5;
  border-bottom: 1px solid #dee2e6;
  padding: .4rem .6rem;
  font-size: .75rem;
  color: #6c757d;
}

.mockup .mockup-body {
  padding: .9rem;
  font-size: .8rem;
  min-height: 220px;
}

/* Scrollbar with search-hit markers, illustrating the search-in-version feature */
.scrollbar-demo {
  position: relative;
  width: 14px;
  background: #e9ecef;
  border-radius: 6px;
  height: 220px;
}

.scrollbar-demo .thumb {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background: #adb5bd;
  border-radius: 6px;
}

.scrollbar-demo .hit {
  position: absolute;
  left: -3px;
  width: 20px;
  height: 4px;
  background: var(--s3-orange);
  border-radius: 2px;
}

.diff-add {
  background: #e6ffed;
  color: #22863a;
}

.diff-del {
  background: #ffeef0;
  color: #b31d28;
  text-decoration: line-through;
}

section {
  scroll-margin-top: 70px;
}

.section-title {
  font-weight: 700;
}

.section-eyebrow {
  color: var(--s3-orange);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}
