/* NAV — index overrides */
nav {
  transition: all .3s
}

nav.scrolled {
  background: rgba(245, 240, 232, .95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px)
}

.nav-main {
  display: inline-flex;
  justify-content: center;
  align-items:baseline;
  gap: 40px;
  flex-grow: 1;
}

.nav-main a {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.5px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.nav-main a:hover {
  scale: 1.2;
}

.nav-links {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(245, 240, 232, .98);
  backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: stretch;
  padding: 16px 20px;
  gap: 0;
  border-bottom: 1px solid var(--border);
  display: none
}

.nav-links.open {
  display: flex
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  font-family: var(--mono);
  transition: color .15s
}

.nav-links a:not(.nav-cta) {
  padding: 12px 0;
  border-bottom: 1px solid var(--border)
}

.nav-links a:not(.nav-cta):last-of-type {
  border-bottom: none
}

.nav-links a:hover {
  color: var(--ink)
}

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 500 !important;
  text-align: center;
  margin-top: 8px
}

.nav-cta:hover {
  background: var(--orange) !important;
  color: var(--cream) !important
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 101
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all .2s
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

@media(min-width:769px) {
  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    border-bottom: none;
    background: none;
    backdrop-filter: none
  }

  .nav-links a:not(.nav-cta) {
    font-size: 13px;
    padding: 0;
    border-bottom: none
  }

  .nav-cta {
    margin-top: 0;
    padding: 8px 18px
  }

  .hamburger {
    display: none
  }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 88px 20px 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center
}

.hero-left {
  padding-right: 0;
  padding-top: 0
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  border: 1px solid var(--orange-mid);
  border-radius: 2px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  margin-bottom: 28px;
  letter-spacing: .04em;
  animation: fadeUp .5s ease both
}

.hero-badge .blink {
  animation: blink 1.2s step-end infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 62px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  animation: fadeUp .5s .08s ease both;
}

h1 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

h1 .orange {
  font-weight: 400;
  color: var(--orange) !important;
}

.hero-sub {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 32px;
  animation: fadeUp .5s .16s ease both;
  font-weight: 600
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
  animation: fadeUp .5s .24s ease both
}

.hero-actions a svg {
  width: 30px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .15s;
  border: 2px solid var(--orange)
}

.btn-primary:hover {
  background: transparent;
  color: var(--orange)
}

.btn-secondary {
  background: var(--orange-light);
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  border: 2px solid var(--border2);
  transition: all .15s;
  text-align: center;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: var(--orange-mid);
  border-color: var(--ink)
}

.btn-tertiary {
  background: transparent;
  color: var(--muted);
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .15s;
  text-align: center
}

.btn-tertiary:hover {
  color: var(--ink);
  border-color: var(--border2);
}

.hero-right {
  position: relative;
  animation: fadeUp .5s .32s ease both;
  padding-top: 32px
}

@media(min-width:769px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 60px 48px 0;
    padding-top: 60px
  }

  .hero-left {
    padding-right: 48px;
    padding-top: 48px
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 36px
  }

  h1 {
    margin-bottom: 24px
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 40px
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap
  }

  .hero-right {
    padding-top: 48px
  }
}

/* SLACK DEMO */
.slack-window {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .04), 0 12px 40px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .06);
  overflow: hidden
}

.slack-titlebar {
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px
}

.slack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.slack-channel {
  font-family: var(--mono);
  font-size: 10px;
  color: #888;
  margin-left: 6px
}

.slack-body-wrap {
  padding: 12px 14px
}

.slack-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 12px
}

.slack-av {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #000000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px
}

.slack-meta {
  font-size: 11px;
  margin-bottom: 5px
}

.slack-meta strong {
  color: #1d1c1d;
  font-size: 12px
}

.slack-meta span {
  color: #888;
  margin-left: 6px;
  font-size: 10px
}

.slack-text {
  font-size: 12px;
  color: #1d1c1d;
  line-height: 1.6
}

.slack-text .err {
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  word-break: break-all
}

.slack-fields {
  background: #f8f8f8;
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
  padding: 8px 10px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px
}

.slack-field-label {
  font-size: 9px;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--mono)
}

.slack-field-val {
  font-size: 11px;
  color: #1d1c1d;
  font-family: var(--mono)
}

.slack-btns {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap
}

.sbt {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  color: #1d1c1d;
  cursor: pointer;
  font-family: var(--mono);
  transition: all .15s
}

.sbt:hover {
  border-color: #aaa
}

.sbt.primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange)
}

.sbt.primary:hover {
  background: #c44f00
}

.analysis-box {
  background: #fffbf7;
  border: 1px solid #ffd4b3;
  border-radius: 6px;
  padding: 12px;
  margin-top: 12px;
  display: none
}

.analysis-box.show {
  display: block;
  animation: fadeUp .3s ease
}

.analysis-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500
}

.analysis-row {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: #1d1c1d
}

.analysis-row strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
  font-family: var(--mono);
  margin-bottom: 3px
}

code {
  background: #f0ede8;
  font-size: 10px;
  color: #333;
  word-break: break-all
}

@media(min-width:769px) {
  .slack-titlebar {
    padding: 10px 16px;
    gap: 8px
  }

  .slack-dot {
    width: 10px;
    height: 10px
  }

  .slack-channel {
    font-size: 11px;
    margin-left: 8px
  }

  .slack-body-wrap {
    padding: 16px 20px
  }

  .slack-msg {
    gap: 12px
  }

  .slack-av {
    width: 34px;
    height: 34px;
    font-size: 16px
  }

  .slack-meta {
    font-size: 12px
  }

  .slack-meta strong {
    font-size: 13px
  }

  .slack-meta span {
    font-size: 11px
  }

  .slack-text {
    font-size: 13px
  }

  .slack-text .err {
    font-size: 12px;
    word-break: normal
  }

  .slack-fields {
    padding: 10px 14px;
    gap: 6px
  }

  .slack-field-label {
    font-size: 10px
  }

  .slack-field-val {
    font-size: 12px
  }

  .sbt {
    padding: 5px 12px;
    font-size: 12px
  }

  .analysis-box {
    padding: 14px;
    margin-top: 14px
  }

  .analysis-row {
    font-size: 12px;
    margin-bottom: 10px
  }

  code {
    font-size: 11px;
    word-break: normal
  }
}

/* DIVIDER */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0
}

/* SECTIONS */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px
}

h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 10px
}

h2 em {
  font-style: italic;
  font-weight: 400
}

.section-sub {
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
  margin-bottom: 0
}

/* HOW IT WORKS GRID */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: transparent;
  overflow: hidden;
  margin-top: 36px
}

.how-step {
  /* background: var(--cream); */
  background: var(--orange-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: background .5s;
}

.how-step:hover {
  background: var(--orange-mid);
}

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted2);
  margin-bottom: 20px;
  letter-spacing: .06em
}

.step-glyph {
  font-family: var(--mono);
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 500
}

.how-step h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink)
}

.how-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65
}

.how-step code {
  background: var(--cream2);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--ink2)
}

@media(min-width:641px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 56px
  }

  .how-step {
    padding: 36px 32px
  }
}

@media(min-width:769px) {
  .section {
    padding: 100px 48px
  }

  .section-eyebrow {
    margin-bottom: 16px
  }

  h2 {
    margin-bottom: 12px
  }

  .section-sub {
    font-size: 15px
  }
}

/* PROOF STRIP */
.proof-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 20px
}

.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.proof-divider {
  display: none
}

.proof-stat .num {
  /* font-family: var(--serif); */
  font-size: 36px;
  /* font-style: italic; */
  color: var(--orange);
  line-height: 1
}

.proof-stat .lbl {
  /* font-family: var(--mono); */
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  margin-top: 6px;
  letter-spacing: .06em;
  text-transform: uppercase
}

.proof-quote-wrap {
  /* Spans one grid column by default */
  grid-column: span 2
}

.proof-quote {
  /* font-family: var(--serif); */
  font-size: 16px;
  text-align: left;
  /* font-style: italic; */
  color: rgba(255, 255, 255, .85);
  line-height: 1.5;
  margin-bottom: 10px
}

.proof-author {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .4)
}

@media(min-width:769px) {
  .proof-strip {
    padding: 56px 48px
  }

  .proof-inner {
    grid-template-columns: 1fr 1px 1fr 1px;
    gap: 40px
  }

  .proof-divider {
    display: block;
    background: rgba(255, 255, 255, .1);
    height: 60px;
    align-self: center
  }

  .proof-stat .num {
    font-size: 42px
  }

  .proof-quote {
    font-size: 18px;
    margin-bottom: 12px
  }
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* PAYLOAD SECTION */
.payload-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center
}

.code-window {
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .06), 0 20px 60px rgba(0, 0, 0, .12)
}

.code-titlebar {
  background: #2a2520;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #3a3530
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.code-filename {
  font-family: var(--mono);
  font-size: 10px;
  color: #665e55;
  margin-left: 6px
}

.code-body {
  padding: 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: #c8b9a8;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

@media(min-width:769px) {
  .payload-section {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 48px
  }

  .code-titlebar {
    padding: 10px 16px
  }

  .code-dot {
    width: 9px;
    height: 9px
  }

  .code-filename {
    font-size: 11px;
    margin-left: 8px
  }

  .code-body {
    padding: 24px;
    font-size: 12px;
    line-height: 1.8
  }
}

/* PRICING */
.pricing-section {
  background: var(--cream2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 20px
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 36px
}

.plan {
  background: var(--cream);
  padding: 32px 24px
}

.plan.featured {
  background: #fff;
  position: relative
}

.plan-tag {
  position: absolute;
  top: 0;
  right: 24px;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 0 0 5px 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500
}

.plan-name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px
}

.plan-price {
  margin-bottom: 6px
}

.plan-price .amount {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1
}

.plan-price .period {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono)
}

.plan-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  margin-top: 8px
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  border-top: 1px solid var(--border)
}

.plan-features li {
  font-size: 13px;
  color: var(--ink2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4
}

.plan-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted2);
  flex-shrink: 0;
  margin-top: 6px
}

.plan.featured .plan-features li::before {
  background: var(--orange)
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s
}

.plan-btn.outline {
  border: 2px solid var(--border2);
  color: var(--ink)
}

.plan-btn.outline:hover {
  border-color: var(--ink)
}

.plan-btn.solid {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange)
}

.plan-btn.solid:hover {
  background: transparent;
  color: var(--orange)
}

@media(min-width:641px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 56px
  }

  .plan {
    padding: 40px 36px
  }

  .plan-tag {
    right: 36px
  }

  .plan-price .amount {
    font-size: 52px
  }

  .plan-price .period {
    font-size: 14px
  }

  .plan-name {
    margin-bottom: 20px
  }

  .plan-desc {
    margin-bottom: 28px
  }

  .plan-features {
    margin-bottom: 36px
  }
}

@media(min-width:769px) {
  .pricing-section {
    padding: 100px 48px
  }
}

/* CTA */
.cta-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 20px;
  text-align: center
}

.cta-section h2 {
  max-width: 560px;
  margin: 0 auto 16px
}

.cta-section p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto
}

.setup-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 36px
}

.setup-step {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--cream2);
  position: relative
}

.setup-step:first-child {
  border-radius: 4px 0 0 0
}

.setup-step:nth-child(2) {
  border-radius: 0 4px 0 0;
  border-left: none
}

.setup-step:nth-child(3) {
  border-radius: 0 0 0 4px;
  border-top: none
}

.setup-step:last-child {
  border-radius: 0 0 4px 0;
  border-left: none;
  border-top: none
}

.setup-step .num {
  display: block;
  font-size: 10px;
  color: var(--orange);
  margin-bottom: 2px;
  letter-spacing: .06em
}

.cta-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted2);
  margin-top: 16px
}

@media(min-width:641px) {
  .setup-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-template-columns: none
  }

  .setup-step {
    font-size: 12px;
    padding: 8px 20px
  }

  .setup-step:first-child {
    border-radius: 4px 0 0 4px
  }

  .setup-step:nth-child(2) {
    border-radius: 0;
    border-left: none;
    border-top: 1px solid var(--border)
  }

  .setup-step:nth-child(3) {
    border-radius: 0;
    border-top: 1px solid var(--border);
    border-left: none
  }

  .setup-step:last-child {
    border-radius: 0 4px 4px 0;
    border-left: none;
    border-top: 1px solid var(--border)
  }
}

@media(min-width:769px) {
  .cta-section {
    padding: 120px 48px
  }

  .cta-section h2 {
    margin-bottom: 20px
  }

  .cta-section p {
    font-size: 16px;
    margin-bottom: 40px
  }

  .setup-steps {
    margin-bottom: 48px
  }
}

/* DECORATIVE */
.hero-decorator {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border: 1.5px solid var(--orange-mid);
  border-radius: 50%;
  opacity: .5;
  pointer-events: none
}

.hero-decorator2 {
  position: absolute;
  bottom: 20px;
  left: -15px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  opacity: .6;
  pointer-events: none
}

@media(min-width:769px) {
  .hero-decorator {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px
  }

  .hero-decorator2 {
    bottom: 40px;
    left: -30px;
    width: 60px;
    height: 60px
  }
}



.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.tabs-header {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  white-space: nowrap;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.tab-content {
  display: block;
  animation: fadeUp 0.3s ease;
}

.tab-content.hidden {
  display: none;
}

@media(min-width: 769px) {
  .tabs-header {
    gap: 12px;
    justify-content: center;
  }
  
  .tab-btn {
    font-size: 13px;
    padding: 10px 20px;
  }
}
