: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;
}

/* ---------- App window mockup (mirrors the real Fs3Browser desktop UI) ---------- */
.winapp {
  background: #fff;
  border-radius: .35rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  overflow: hidden;
  color: #212529;
  font-size: .78rem;
}

.winapp-titlebar {
  background: #fdfdfd;
  border-bottom: 1px solid #c9ced3;
  padding: .4rem .6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: .03em;
}

.winapp-titlebar .win-controls i {
  color: #6c757d;
  margin-left: .6rem;
  font-size: .8rem;
}

.winapp-menubar {
  background: #f1f2f4;
  border-bottom: 1px solid #c9ced3;
  padding: .3rem .6rem;
  font-weight: 600;
  font-size: .72rem;
}

.winapp-toolbar {
  background: #eceff1;
  border-bottom: 1px solid #c9ced3;
  padding: .4rem .6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
}

.winapp-btn {
  background: #1b2430;
  color: #fff;
  border: 1px solid #10161f;
  border-radius: 2px;
  padding: .25rem .55rem;
  font-size: .7rem;
  white-space: nowrap;
}

.winapp-btn.disabled {
  background: #e9ecef;
  color: #adb5bd;
  border-color: #ced4da;
}

.winapp-input {
  border: 1px solid #9aa0a6;
  border-radius: 2px;
  padding: .2rem .4rem;
  font-size: .7rem;
  background: #fff;
}

.winapp-label {
  font-size: .7rem;
  color: #495057;
}

.winapp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .72rem;
}

.winapp-table th {
  background: #dfe3e8;
  border: 1px solid #b9c0c7;
  padding: .3rem .5rem;
  text-align: left;
  font-weight: 600;
}

.winapp-table td {
  border: 1px solid #e1e4e8;
  padding: .3rem .5rem;
}

.winapp-table tr.current td {
  background: #fff6e5;
}

.winapp-tabs {
  border-top: 1px solid #c9ced3;
  border-bottom: 1px solid #c9ced3;
  background: #f8f9fa;
  padding: .3rem .6rem;
  display: flex;
  gap: 1rem;
  font-size: .72rem;
}

.winapp-tabs .active {
  font-weight: 700;
  text-decoration: underline;
}

.winapp-statusbar {
  border-top: 1px solid #c9ced3;
  background: #f1f2f4;
  padding: .25rem .6rem;
  font-size: .68rem;
  color: #495057;
}

/* ---------- 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 mockup wrapper ---------- */
.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;
}

/* 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;
}
